1 2009-09-20 Sebastien Pouliot <sebastien@ximian.com>
3 * MarshalAsAttribute.cs: Remove VarEnum field for NET_2_1
5 2009-09-19 Sebastien Pouliot <sebastien@ximian.com>
7 * Marshal.cs: Avoid depending on COM stuff for NET_2_1
9 2009-09-04 Zoltan Varga <vargaz@gmail.com>
11 * SafeBuffer.cs: Mark specific methods as non-cls compliant instead of
14 * SafeBuffer.cs: New net 4.0 class.
16 2009-04-17 Tom Hindle <tom_hindle@sil.org>
18 * Marshal.cs: Improved GetExceptionForHR to return real C# exceptions in
19 certain cases instead of always COMException.
21 2009-02-24 Sebastien Pouliot <sebastien@ximian.com>
23 * SafeHandle.cs: Add default ctor in 2.1 profile (needed to compile
24 new unit tests in moonlight).
26 2009-03-05 Tom Hindle <tom_hindle@sil.org>
28 * Marshal.cs: Implemented GenerateGuidForType
30 2008-06-21 Gert Driesen <drieseng@users.sourceforge.net>
32 * Marshal.cs: Fixed order of arguments for ArgumentException in
33 GetComSlotForMethodInfo.
35 2008-06-19 Kornél Pál <kornelpal@gmail.com>
37 * Marshal.cs: Implement GetHINSTANCE.
39 2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
49 * BestFitMappingAttribute.cs
50 * Marshal.cs: Fix parameter names
52 2008-02-20 Zoltan Varga <vargaz@gmail.com>
54 * Marshal.cs (GetDelegateForFunctionPointer): Add a nullref check.
56 2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
58 * COMException.cs: Fix new-line literal and use of "" detected by
61 2008-01-13 Gert Driesen <drieseng@users.sourceforge.net>
63 * COMException.cs: Added missing colon in ToString.
65 2007-12-04 Gert Driesen <drieseng@users.sourceforge.net>
67 * ExternalException.cs: Set HResult to match MS.
69 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
71 * ComVisible.cs: Fix parameter name (part of #322850).
73 2007-09-14 Zoltan Varga <vargaz@gmail.com>
75 * GCHandle.cs (AddrOfPinnedObject): Use -2 to communicate that the handle is not
76 pinned. Correct exception message. Fixes #82848.
78 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
80 * SafeHandle.cs CriticalHandle.cs TypeLibImporterFlags.cs
81 RegistrationClassContext.cs ArrayWithOffset.cs :
82 * ComObjectInUseException.cs ExposeAsClassToComAttribute.cs :
83 removed obsoleted files.
85 2007-07-18 Miguel de Icaza <miguel@novell.com>
87 * SafeHandle.cs: Harden this, do not call ReleaseHandle if the
90 * CriticalHandle.cs: Harden this, do not call ReleaseHandle if the
93 2007-07-06 Jonathan Chambers <joncham@gmail.com>
95 * ExtensibleClassFactory.cs: Fix ExtensibleClassFactory.
97 2007-06-22 Jonathan Chambers <joncham@gmail.com>
99 * Marshal.cs (ThrowExceptionForHR): Implement/consolidate.
100 * Marshal.cs (GetExceptionForHR): Implement/consolidate.
102 2007-05-11 Jonathan Chambers <joncham@gmail.com>
104 * Marshal.cs (SecureStringToBSTR): BSTR header is size in bytes,
107 2007-05-02 Jonathan Chambers <joncham@gmail.com>
109 * ExtensibleClassFactory.cs: Don't use un-implemented overload.
111 2007-05-02 Dick Porter <dick@ximian.com>
113 * _ConstructorInfo.cs:
123 * AutomationProxyAttribute.cs:
124 * BestFitMappingAttribute.cs:
126 * ClassInterfaceAttribute.cs:
127 * CoClassAttribute.cs:
128 * ComAliasNameAttribute.cs:
129 * ComCompatibleVersionAttribute.cs:
130 * ComConversionLossAttribute.cs:
131 * ComDefaultInterfaceAttribute.cs:
132 * ComEventInterfaceAttribute.cs:
134 * ComImportAttribute.cs:
135 * ComObjectInUseException.cs:
136 * ComRegisterFunctionAttribute.cs:
137 * ComUnregisterFunctionAttribute.cs:
140 * CurrencyWrapper.cs:
141 * DefaultCharSetAttribute.cs:
142 * DispatchWrapper.cs:
143 * DispIdAttribute.cs:
145 * ExtensibleClassFactory.cs:
146 * ExternalException.cs:
149 * StructLayoutAttribute.cs:
150 * TypeLibConverter.cs:
151 * ArrayWithOffset.cs:
162 * CallingConvention.cs:
164 * ClassInterfaceType.cs:
165 * ComInterfaceType.cs:
168 * ExporterEventKind.cs:
170 * RegistrationClassContext.cs:
172 * TypeLibImporterFlags.cs:
174 * VARFLAGS.cs: Update to 2.0 profile
176 2007-04-15 Alp Toker <alp@atoker.com>
178 * Marshal.cs: Add new 2.0 Copy() from IntPtr[] overload.
180 2007-03-12 Raja R Harinath <rharinath@novell.com>
182 * DefaultParameterValueAttribute.cs: Move to System.dll.
184 2007-02-08 Jonathan Chambers <joncham@gmail.com>
186 * Marshal.cs: Throw exceptions for AddRef, Release,
187 and QueryInterface in managed code. Implement GetComInterfaceForObject,
188 GetIDispatchForObject, GetIUnknownForObject, GetObjectForIUnknown,
189 GetObjectsForNativeVariants, IsComObject, ReleaseComObject, and
190 FinalReleaseComObject. Unimplement GetComObjectData and SetComObjectData
191 for now to save space and simplify __ComObject for now. MSDN states the
192 user should never call these methods anyway.
194 2007-01-29 Marek Habersack <grendello@gmail.com>
196 * Marshal.cs: Implement a missing Marshal.Copy overload.
198 2007-01-11 Jonathan Chambers <joncham@gmail.com>
200 * Marshal.cs: Implement Marshal.ReAllocCoTaskMem.
202 2007-01-03 Miguel de Icaza <miguel@novell.com>
204 * SafeHandle.cs: Do not use locks in SafeHandle to protect the
205 access to the refcount, use Interlocked.CompareExchange. The
206 locks were the source of problems with domain finalization when
207 this code was enabled.
209 This should fix Matt Hargett's bug report with a full `make check'
210 that reported variations of:
212 ** (../../class/lib/net_2_0/nunit-console.exe:29644): WARNING **:
213 Finalization of domain <domainname> timed out.
215 Also, it is a lot lighther.
217 2006-12-21 Miguel de Icaza <miguel@novell.com>
219 * CriticalHandle.cs: Add Dispose(bool disposing) method, and
222 2006-12-15 Gert Driesen <drieseng@users.sourceforge.net>
224 * Marshal.cs: Use SystemDefaultCharSize to determine whether to
225 use Ansi or Unicode variant of StringToCoTaskMem.
227 2006-12-15 Miguel de Icaza <miguel@novell.com>
229 * Marshal.cs (SecureStringToCoTaskMemAnsi, SecureStringToBSTR,
230 SecureStringToCoTaskMemUnicode, ZeroFreeCoTaskMemAnsi,
231 ZeroFreeCoTaskMemUnicode, ZeroFreeGlobalAllocAnsi,
232 ZeroFreeGlobalAllocUnicode): Implement.
234 (StringToCoTaskAuto): return the same as Ansi.
236 The ANSI code is out of sync with Mono, which treats ANSI as
239 Code formatting changes
241 2006-12-11 Miguel de Icaza <miguel@novell.com>
243 * SafeHandle.cs: Fix a handful of bugs, and add tests for them.
244 Only release the handle if its owned by us. Also throw
245 ObjectDisposedException's
249 DangerousAddRef will now throw an exception if the object was
252 2006-12-02 Miguel de Icaza <miguel@novell.com>
254 * SafeHandle.cs: Implement this class.
256 2006-10-06 Jonathan Chambers <joncham@gmail.com>
258 * ExtensibleClassFactory.cs: Implement RegisterObjectCreationCallback.
260 2006-08-31 Robert Jordan <robertj@gmx.net>
262 * Marshal.cs: Replaced the *Auto internal calls with managed
263 variants. Fixed SystemDefaultCharSize to return an OS dependent
266 2006-08-09 Jonathan Chambers <joncham@gmail.com>
268 * Marshal.cs: Implement GetIDispatchForObject.
270 2006-08-07 Gert Driesen <drieseng@users.sourceforge.net>
272 * Marshal.cs: Added stubs for GetTypeLibGuid (ITypeLib), GetTypeLibLcid
273 (ITypeLib), GetTypeLibName (ITypeLib).
275 2006-07-28 Jonathan Chambers <joncham@gmail.com>
277 * Marshal.cs: Implemented CreateWrapperOfType and ReleaseComObject.
279 2006-07-15 Jonathan Chambers <joncham@gmail.com>
281 * Marshal.cs: Begin implementing COM Interop. Implemented
282 AddRef, GetComInterfaceForObject, GetComObjectData, GetIUnknownForObject,
283 GetObjectForIUnknown, GetTypedObjectForIUnknown, IsComObject, QueryInterface
284 Release, SetComObjectData, and ThrowExceptionForHR.
286 2006-06-07 Jonathan Chambers <jonathan.chambers@ansys.com>
288 * Marshal.cs: Implement GetComSlotForMethodInfo
290 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
292 * Marshal.cs: Implement VARIANT marshalling methods
294 2006-05-20 Zac Bowling <zac@zacbowling.com>
295 * VarEnum.cs: ComVisible Attribute (2.0)
296 * InterfaceTypeAttribute.cs: ComVisible Attribute (2.0)
297 * UCOMITypeInfo.cs: ComImport Attribute (1.x)
298 * UCOMITypeComp.cs: ComImport Attribute (1.x)
299 * MarshalAsAttribute.cs: ComVisible Attribute (2.0)
300 * StructLayoutAttribute.cs: ComVisible Attribute (2.0)
301 * ProgIdAttribute.cs: ComVisible Attribute (2.0)
302 * PrimaryInteropAssemblyAttribute.cs: ComVisible Attribute (2.0)
303 * ImporterEventKind.cs: ComVisible Attribute (2.0)
304 * UCOMIPersistFile.cs: ComImport Attribute (1.x)
305 * SetWin32ContextInIDispatchAttribute.cs: Obselete and ComVisible
307 * IRegistrationServices.cs: ComVisible Attribute and CAS Attributes (2.0)
308 * InAttribute.cs: ComVisible Attribute (2.0)
309 * UCOMIMoniker.cs: ComImport Attribute (1.x)
310 * MarshalDirectiveException.cs: ComVisible Attribute (2.0)
311 * IDLDESC.cs: ComVisible Attribute (1.x)
312 * FUNCFLAGS.cs: ComVisible Attribute (1.x)
313 * UCOMIConnectionPointContainer.cs: ComImport Attribute (1.x)
314 * TypeLibExporterFlags.cs: ComVisible Attribute (2.0)
315 * ICustomMarshaler.cs: ComVisible Attribute (2.0)
316 * LayoutKind.cs: ComVisible Attribute (2.0) + Serializable + Clean
317 * ICustomAdapter.cs: ComVisible Attribute (2.0)
318 * UnmanagedFunctionPointerAttribute.cs: ComVisible Attribute and Param
319 Signature of UnmanagedFunctionPointerAttribute(...)
320 * FUNCKIND.cs: ComVisble Attribute (1.x)
321 * TypeLibVersionAttribute.cs: ComVisible Attribute (2.0) + Missing in
323 * TypeLibVarAttribute.cs: ComVisible Attribute (2.0)
324 * ITypeLibConverter.cs: ComVisible Attribute (2.0)
325 * UCOMIRunningObjectTable.cs: ComImport Attribute (1.x)
326 * IDispatchImplAttribute.cs: Obsolete + ComVisible Attribute (2.0)
327 * ITypeLibImporterNotifySink.cs: ComVisible Attribute (2.0)
328 * PreserveSigAttribute.cs: ComVisible Attribute (2.0)
329 * SYSKIND.cs: ComVisible Attribute (1.x)
330 * UCOMIEnumVARIANT.cs: ComImport Attribute (1.x)
331 * UCOMIEnumString.cs: ComImport Attribute (1.x) and Expose to 1.x (not
332 a 2.0 exclusive class)
333 * OutAttribute.cs: ComVisible Attribute (2.0)
334 * InvalidComObjectException.cs: ComVisible Attribute (2.0)
335 * SEHException.cs: ComVisible Attribute (2.0)
336 * UCOMIConnectionPoint.cs: ComImport Attribute (1.x)
337 * TypeLibImporterFlags.cs: ComVisible Attribute (2.0) and
339 * OptionalAttribute.cs: ComVisible Attribute (2.0)
340 * TYPEDESC.cs: ComVisible Attribute (1.x)
341 * UCOMIEnumMoniker.cs: ComImport Attribute (1.x) and Expose to 1.x
342 (not a 2.0 exclusive class)
343 * TypeLibTypeFlags.cs: ComVisible Attribute (2.0)
344 * ITypeLibExporterNotifySink.cs: ComVisible Attribute (2.0)
345 * HandleRef.cs: ComVisible.cs and add ToIntPtr (2.0)
346 * DllImportAttribute.cs: ComVisible Attribute (2.0)
347 * TypeLibTypeAttribute.cs: ComVisible Attribute (2.0)
348 * UnknownWrapper.cs: Serializable, ComVisible Attribute (2.0)
349 * IDFLAGS.cs: ComVisible Attribute (1.x only)
350 * RegistrationClassContext.cs: License + Flags attribute (2.0)
351 * GCHandle.cs: ComVisible Attribute + Operator Overrides (2.0)
352 * TypeLibImportClassAttribute.cs: ComVisible Attribute (2.0)
353 * IMPLYTPEFLAGS.cs: ComVisible Attribute (1.x)
354 * ImportedFromTypeLibAttribute.cs: ComVisible (2.0)
355 * UCOMIBindCtx.cs: Obsolete Attribute (2.0)
356 * FUNCDESC.cs: ComVisible Attribute (1.x)
357 * RegistrationConnectionType.cs: Flags Attribute (2.0)
358 * IDispatchImplType.cs: Obsolete + ComVisible Attribute (2.0)
359 * TypeLibConverter.cs: ComVisible (2.0)
360 * INVOKEKIND.cs: ComVisible Attribute (1.x)
361 * GCHandleType.cs: ComVisible Attribute (2.0) + Serializable
362 * ICustomFactory.cs: ComVisible Attribute (2.0)
363 * FieldOffsetAttribute.cs: ComVisible Attribute (2.0)
364 * LIBFLAGS.cs: ComVisible Attribute (1.x)
365 * ComSourceInterfacesAttributes.cs: ComVisible Attribute (2.0)
366 * STATSTG.cs: ComVisible Attribute (1.x)
367 * InvalidOleVariantTypeException.cs: ComVisible Attribute (2.0)
368 * TypeLibVarFlags.cs: ComVisible Attribute (2.0)
369 * TYPEFLAGS.cs: ComVisible Attribute (1.x)
370 * SafeArrayRankMismatchException.cs: ComVisible Attribute (2.0)
371 * TYPEATTR.cs: ComVisible Attribute (1.x)
372 * GuidAttribute.cs: ComVisible Attribute (2.0)
373 * UCOMIEnumConnectionPoints.cs: ComImport Attribute (1.x) + Expose to
374 1.x (not a 2.0 exclusive)
375 * SafeArrayTypeMismatchException.cs: ComVisible Attribute (2.0)
376 * ObjectCreationDelegate.cs: ComVisible Attribute (2.0)
377 * ITypeLibExporterNameProvider.cs: ComVisible Attribute (2.0) and
378 MarshelAs VarEnum Type.
379 * UCOMIStream.cs: ComImport Attribute (1.x)
380 * TypeLibFuncFlags.cs ComVisible Attribute (2.0)
381 * UnmanagedType.cs: ComVisible Attribute (2.0) + clean up
382 * UCOMIEnumConnections.cs: ComImport Attribute (1.0)
383 * LCIDConversionAttribute.cs: ComVisible Attribute (2.0)
384 * TypeLibFuncAttribute.cs: ComVisible Attribute (2.0)
386 2006-05-02 Jonathan Chambers <jonathan.chambers@ansys.com>
388 * Marshal.cs: Implement BSTR methods
390 2006-01-12 Ben Maurer <bmaurer@andrew.cmu.edu>
392 * SafeHandle.cs: Update to RTM api
394 2005-11-17 Zoltan Varga <vargaz@gmail.com>
396 * DefaultParameterValueAttribute.cs: New file.
398 2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
400 * Marshal.cs: Added null check in SecureStringTo* methods and make
401 them throw a NotSupportedException otherwise (as existing code must
402 deal with this anyway). Fixed Uni -> Unicode method name changes.
404 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
406 * UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
407 UCOMIConnectionPointContainer.cs, UCOMIEnumConnectionPoints.cs,
408 UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
409 UCOMIEnumVARIANT.cs, UCOMIMoniker.cs, UCOMIPersistFile.cs,
410 UCOMIRunningObjectTable.cs, UCOMIStream.cs, UCOMITypeComp.cs,
411 UCOMITypeInfo.cs, UCOMITypeLib.cs: Remove [ComImport] from the default
412 profile (this is new in 2.0) and reduce corcompare extras by 15.
414 2005-09-21 Kornél Pál <kornelpal@hotmail.com>
416 * UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
417 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, UnmanagedType.cs:
418 Removed UnmanagedType_80 that was required because mcs bug #75945
421 2005-08-12 Gert Driesen <drieseng@users.sourceforge.net>
423 * SetWin32ContextInIDispatchAttribute.cs: Make this attribute also
424 available in 1.0 profile (.NET 1.1).
425 * VariantWrapper.cs: Class is also exposed in .NET 1.1. Only
426 serializable in 2.0 profile.
428 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
430 * SafeHandle.cs: New file.
432 2005-08-06 Gert Driesen <drieseng@users.sourceforge.net>
434 * _Activator.cs: ComVisible should only be set in 2.0 profile.
435 Added TypeLibImportClass attribute.
436 * _Assembly.cs: ComVisible should only be set in 2.0 profile. Added
437 TypeLibImportClass attribute. Fixes InterfaceType to match MS.NET.
438 * _AssemblyBuilder.cs: ComVisible should only be set in 2.0 profile.
439 Added TypeLibImportClass attribute.
440 * _AssemblyName.cs: ComVisible should only be set in 2.0 profile.
441 Added TypeLibImportClass attribute.
442 * _Attribute.cs: ComVisible should only be set in 2.0 profile.
443 Added TypeLibImportClass attribute.
444 * _ConstructorBuilder.cs: ComVisible should only be set in 2.0 profile.
445 Added TypeLibImportClass attribute.
446 * _ConstructorInfo.cs: Fixed InterfaceType to match MS.NET. Added
447 TypeLibImportClass attribute. Added missing methods.
448 * _CustomAttributeBuilder.cs: ComVisible should only be set in 2.0 profile.
449 Added TypeLibImportClass attribute.
450 * _EnumBuilder.cs: ComVisible should only be set in 2.0 profile.
451 Added TypeLibImportClass attribute.
452 * _EventBuilder.cs: ComVisible should only be set in 2.0 profile.
453 Added TypeLibImportClass attribute.
454 * _EventInfo.cs: Fixed InterfaceType to match MS.NET. Added
455 TypeLibImportClass attribute. Added missing methods.
456 * _FieldBuilder.cs: ComVisible should only be set in 2.0 profile.
457 Added TypeLibImportClass attribute.
458 * _FieldInfo.cs: Fixed InterfaceType to match MS.NET. Added
459 TypeLibImportClass attribute. Added missing methods.
460 * _ILGenerator.cs: ComVisible should only be set in 2.0 profile.
461 Added TypeLibImportClass attribute.
462 * _LocalBuilder.cs: ComVisible should only be set in 2.0 profile.
463 Added TypeLibImportClass attribute.
464 * _MemberInfo.cs: Fixed InterfaceType to match MS.NET. Added
465 TypeLibImportClass attribute. Added missing methods.
466 * _MethodBase.cs: Fixed InterfaceType to match MS.NET. Added
467 TypeLibImportClass attribute. Added missing methods.
468 * _MethodInfo.cs: Fixed InterfaceType to match MS.NET. Added
469 TypeLibImportClass attribute. Added missing methods.
470 * _MethodBuilder.cs: ComVisible should only be set in 2.0 profile.
471 Added TypeLibImportClass attribute.
472 * _MethodRental.cs: ComVisible should only be set in 2.0 profile.
473 Added TypeLibImportClass attribute.
474 * _Module.cs: ComVisible should only be set in 2.0 profile.
475 Added TypeLibImportClass attribute.
476 * _ModuleBuilder.cs: ComVisible should only be set in 2.0 profile.
477 Added TypeLibImportClass attribute.
478 * _ParameterBuilder.cs: ComVisible should only be set in 2.0 profile.
479 Added TypeLibImportClass attribute.
480 * _ParameterInfo.cs: ComVisible should only be set in 2.0 profile.
481 Added TypeLibImportClass attribute.
482 * _PropertyBuilder.cs: ComVisible should only be setin 2.0 profile.
483 Added TypeLibImportClass attribute.
484 * _PropertyInfo.cs: Fixed InterfaceType to match MS.NET. Added
485 TypeLibImportClass attribute. Added missing methods.
486 * _SignatureHelper.cs: ComVisible should only be set in 2.0 profile.
487 Added TypeLibImportClass attribute.
488 * _Type.cs: Added TypeLibImportClass attribute. Fixed InterfaceType
489 to match MS.NET. Added missing method to match MS.NET.
490 * _Thread.cs: ComVisible should only be set in 2.0 profile.
491 Added TypeLibImportClass attribute.
492 * _TypeBuilder:cs: ComVisible should only be set in 2.0 profile.
493 Added TypeLibImportClass attribute.
494 * Marshal.cs: Removed MarshalAs attribute from parameter to fix
495 API compatibility with MS.NET.
496 * TypeLibImportClassAttribute.cs: Added.
498 2005-07-06 Zoltan Varga <vargaz@freemail.hu>
500 * GCHandle.cs: Add 2.0 FromIntPtr/ToIntPtr methods.
502 2005-06-08 Sebastien Pouliot <sebastien@ximian.com>
504 * RuntimeEnvironment.cs: I get better results when calling Demand.
506 2005-06-07 Sebastien Pouliot <sebastien@ximian.com>
508 * RuntimeEnvironment.cs: Implemented TODO. Added security for CAS.
510 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
512 * _Exception.cs: That one wasn't backported to 1.1 SP1 by MS. This
513 should fix a lot of extra reported in the API status pages.
515 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
517 * Marshal.cs: Add some missing 2.0 attributes.
519 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
522 * _ConstructorInfo.cs
530 * _Type.cs: Chance to .Net 1.1
533 * _AssemblyBuilder.cs
535 * _ConstructorBuilder.cs
536 * _CustomAttributeBuilder.cs
546 * _ParameterBuilder.cs
548 * _PropertyBuilder.cs
549 * _SignatureHelper.cs
551 * _TypeBuilder.cs: Added
553 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
555 * _Attribute.cs: New. Interface for attributes in 2.0.
557 2005-04-13 Marek Safar <marek.safar@seznam.cz>
559 * DefaultCharSetAttribute.cs: Removed useless using.
561 2005-03-31 Alp Toker <alp@atoker.com>
563 * GCHandle.cs: Clearer ArgumentException text in the case of a
564 null-valued IntPtr argument.
566 2005-03-04 Kazuki Oikawa <kazuki@panicode.com>
572 * ComDefaultInterfaceAttribute.cs
573 * ComObjectInUseException.cs
574 * ComSourceInterfacesAttribute.cs
577 * DefaultCharSetAttribute.cs
582 * ExposeAsClassToComAttribute.cs
593 * ITypeLibConverter.cs
594 * ITypeLibExporterNameProvider.cs
595 * ITypeLibExporterNotifySink.cs
599 * PrimaryInteropAssemblyAttribute.cs
607 * TypeLibExporterFlags.cs
608 * TypeLibImporterFlags.cs
610 * UCOMIConnectionPoint.cs
611 * UCOMIConnectionPointContainer.cs
612 * UCOMIEnumConnectionPoints.cs
613 * UCOMIEnumConnections.cs
614 * UCOMIEnumMoniker.cs
616 * UCOMIEnumVARIANT.cs
618 * UCOMIPersistFile.cs
619 * UCOMIRunningObjectTable.cs
624 * UnmanagedFunctionPointerAttribute.cs
627 * VariantWrapper.cs: Added missing attributes.
629 2005-03-03 Kazuki Oikawa <kazuki@panicode.com>
631 * _ConstructorInfo.cs
640 * ComDefaultInterfaceAttribute.cs
641 * ComObjectInUseException.cs
643 * DefaultCharSetAttribute.cs
644 * ExposeAsClassToComAttribute.cs
645 * RegistrationClassContext.cs
646 * RegistrationConnectionType.cs: Add
648 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
650 * UnmanagedFunctionPointerAttribute.cs: Add #region directives.
652 2005-02-21 Kazuki Oikawa <kazuki@panicode.com>
654 * BIND_OPTS.cs, CONNECTEDATA.cs, DISPPARAMS.cs, ELEMDESC.cs,
655 EXCEPINFO.cs, FILETIME.cs, FUNCDESC.cs, STATSTG.cs, TYPEATTR.cs,
656 TYPELIBATTR.cs, UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
657 UCOMIEnumConnectionPoints.cs, UCOMIEnumConnections.cs,
658 UCOMIEnumMoniker.cs, UCOMIEnumString.cs, UCOMIEnumVARIANT.cs,
659 UCOMIMoniker.cs, UCOMIPersistFile.cs, UCOMIRunningObjectTable.cs,
660 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, VARDESC.cs:
661 Corrected the order of the fields and the methods.
663 * BIND_OPTS.cs, CALLCONV.cs, FILETIME.cs, FUNCDESC.cs, FUNCFLAGS.cs,
664 FUNCKIND.cs, IDLFLAG.cs, IMPLTYPEFLAGS.cs, LIBFLAGS.cs, PARAMFLAG.cs,
665 STATSTG.cs, SYSKIND.cs, TYPEFLAGS.cs, VarEnum.cs, VARFLAGS.cs:
666 Added missing attributes.
668 Wed Feb 16 16:20:56 CET 2005 Paolo Molaro <lupus@ximian.com>
670 * GCHandle.cs: check the domain of an handle target is correct.
671 Make the unallocated value 0, since that is the default value
674 2005-02-10 Marek Safar <marek.safar@seznam.cz>
676 * TypeLibVarAttribute.cs,
677 * TypeLibTypeAttribute.cs,
678 * ComSourceInterfacesAttribute.cs: Fix AttributeUsage flags.
680 Sat Jan 29 12:48:03 CET 2005 Paolo Molaro <lupus@ximian.com>
682 * GCHandle.cs: update for runtime changes: the unallocated handle
685 2004-11-25 Raja R Harinath <rharinath@novell.com>
687 * UnmanagedType.cs (mono_bootstrap_NativeTypeMax): Rename from
688 __mono_bootstrap_NativeTypeMax. CSC doesn't like
689 [CLSCompliant(false)] on enum member.
691 2004-09-30 Zoltan Varga <vargaz@freemail.hu>
693 * Marshal.cs: Implement GetDelegateForFunctionPointer.
695 2004-09-29 Zoltan Varga <vargaz@freemail.hu>
697 * UnmanagedFunctionPointerAttribute.cs: New file.
699 * Marshal.cs: Make GetFunctionPointerForDelegate icall private.
701 * MarshalAsAttribute.cs: Add 2.0 IidParamIndex field.
703 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
705 * Marshal.cs: Add some ReliabilityContractAttributes.
707 * Marshal.cs (GetFunctionPointerForDelegate): Implement.
709 * Marshal.cs: Add stubs for missing 2.0 methods.
711 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
713 * DllImportAttribute.cs: Reorder fields and mark this class as visible
716 2004-09-08 Marek Safar <marek.safar@seznam.cz>
718 * Marshal.cs: Class is static in NET_2_0.
720 2004-07-29 Lluis Sanchez Gual <lluis@novell.com>
722 * RuntimeEnvironment.cs: Implemented SystemConfigurationFile and
725 Wed Jul 14 19:28:57 CEST 2004 Paolo Molaro <lupus@ximian.com>
727 * GCHandle.cs: throw exception if the result from AddrOfPinnedObject()
728 is -1 (special value returned by the runtime).
730 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
732 * _Exception.cs: New interface in Fx 2.0 to preserve member's order
735 2004-06-22 Raja R Harinath <rharinath@novell.com>
737 Fix bootstrap with mcs 0.31.
738 * UnmanagedType.cs (UnmanagedType.__mono_bootstrap_NativeTypeMax):
739 New bootstrap-only constant.
741 2004-06-18 Raja R Harinath <rharinath@novell.com>
743 Fix breaking build (see tests/test-272.cs). Since corlib is a
744 bootstrap library, we have to keep this fix even if the in-tree
745 mcs compiler is fixed.
746 * UCOMIEnumConnections.cs: Replace '(UnmanagedType) 80' in
747 attribute field initialization with Consts.UnmanagedType_80.
748 * UCOMIEnumMoniker.cs: Likewise.
749 * UCOMIEnumString.cs: Likewise.
750 * UCOMIStream.cs: Likewise.
751 * UCOMITypeInfo.cs: Likewise.
752 * UCOMITypeLib.cs: Likewise.
754 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
756 * BINDPTR.cs: have layout and charset match MS.NET
757 * CONNECTDATA.cs: have layout and charset match MS.NET
758 * DISPPARAMS.cs: have layout and charset match MS.NET
759 * ELEMDESC.cs: have layout and charset match MS.NET
760 * EXCEPINFO.cs: have layout and charset match MS.NET
761 * IDLDESC.cs: have layout and charset match MS.NET
762 * PARAMDESC.cs: have layout and charset match MS.NET
763 * STATSTG.cs: have layout and charset match MS.NET
764 * TYPEATTR.cs: have layout and charset match MS.NET
765 * TYPEDESC.cs: have layout and charset match MS.NET
766 * TYPELIBATTR.cs: have layout and charset match MS.NET
767 * VARDESC.cs: have layout and charset match MS.NET
769 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
771 * ArrayWithOffset.cs: fixed GetOffset to return int instead of
773 * CONNECTDATA.cs: added missing MarshalAs attribute
774 * EXCEPINFO.cs: added missing MarshalAs attributes
775 * ITypeLibConverter.cs: added missing MarshalAs attributes
776 * ITypeLibImporterNotifySink.cs: added missing MarshalAs attributes
777 * Marshal.cs: added missing MarshalAs attributues, and missing
779 * TypeLibConverter.cs: added missing MarshalAs attributes
780 * UCOMIBindCtx.cs: added missing MarshalAs attributes
781 * UCOMIConnectionPoint.cs: added missing MarshalAs attributes
782 * UCOMIEnumConnectionPoints.cs: added missing MarshalAs attributes
783 * UCOMIEnumConnections.cs: added missing PreserveSig attributes,
784 added missing MarshalAs attributes
785 * UCOMIEnumMoniker.cs: added missing PreserveSig attributes,
786 added missing MarshalAs attributes
787 * UCOMIEnumString.cs: added missing PreserveSig attributes,
788 added missing MarshalAs attributes
789 * UCOMIMoniker.cs: added missing MarshalAs attributes
790 * UCOMIPersistFile.cs: added missing PreserveSig attribute,
791 added missing MarshalAs attributes
792 * UCOMIRunningObjectTable.cs: added missing MarshalAs attributes
793 * UCOMIStream.cs: added missing MarshalAs attributes
794 * UCOMITypeComp.cs: added missing MarshalAs attributes
795 * UCOMITypeInfo.cs: added missing MarshalAs attributes
796 * UCOMITypeLib.cs: added missing PreserveSig attributes, added
797 missing MarshalAs attributes
799 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
801 * MarshalDirectiveException.cs: marked serializable to match MS.NET
802 * SafeArrayRankMismatchException.cs: marked serializable to match
804 * SafeArrayTypeMismatchException.cs: marked serializable to match
807 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
809 * InvalidComObjectException.cs: marked serializable to match MS.NET
810 * InvalidOleVarianTypeException.cs: marked serializable to match
813 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
815 * BestFitMappingAttribute.cs: removed serializable attribute
818 2004-05-30 Gert Driesen (drieseng@users.sourceforge.net)
820 * SetWin32ContextInIDispatchAttribute.cs: only build
822 * VariantWrapper.cs: only build for NET_2_0 profile
824 2004-05-29 Gert Driesen (drieseng@users.sourceforge.net)
826 * SetWin32ContextInIDispatchAttribute.cs: added
827 * VariantWrapper.cs: added
829 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
831 * AutomationProxyAttribute.cs
832 * BestFitMappingAttribute.cs
833 * ClassInterfaceAttribute.cs
834 * CoClassAttribute.cs
835 * ComAliasNameAttribute.cs
836 * ComCompatibleVersionAttribute.cs
837 * ComConversionLossAttribute.cs
838 * ComEventInterfaceAttribute.cs
839 * ComImportAttribute.cs
840 * ComRegisterFunctionAttribute.cs
841 * ComSourceInterfaceAttribute.cs
842 * ComUnregisterFunctionAttribute.cs
845 * DllImportAttribute.cs
846 * FieldOffsetAttribute.cs
848 * IDispatchImplAttribute.cs
849 * ImportedFromTypeLibAttribute.cs
851 * InterfaceTypeAttribute.cs
852 * LCIDConversionAttribute.cs
853 * MarshalAsAttribute.cs
854 * OptionalAttribute.cs
856 * PreserveSigAttribute.cs
857 * PrimaryInteropAssemblyAttribute.cs
859 * StructLayoutAttribute.cs
860 * TypeLibFuncAttribute.Cs
861 * TypeLibTypeAttribute.cs
862 * TypeLibVarAttribute.cs
863 * TypeLibVersionAttribute.cs now that Inherited is
864 false by default on AttributeUsageAttribute (as it
865 should be) we need to explicitly set Inherited to
866 false for those attributes should where it should be
869 2004-05-06 Mike Shaver <shaver@off.net>
870 * Marshal.cs: Implement StringToCoTaskMem{Ansi,Uni}
872 2004-05-05 Zoltan Varga <vargaz@freemail.hu>
874 * Marshal.cs: Applied patch from vladimir@pobox.com (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.
876 2004-01-30 Zoltan Varga <vargaz@freemail.hu>
878 * Marshal.cs: Implement AllocCoTaskMem and FreeCoTaskMem.
880 2003-11-26 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
882 * DispatchWrapper.cs: Added and implemented
883 * ErrorWrapper.cs: Fixed bug
884 * Marshal.cs: Added missing members
886 2003-11-18 Jackson Harper <jackson@ximian.com>
888 * CurrencyWrapper.cs: Fix file name.
890 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
892 * BestFitMappingAttribute.cs: Signature fix
893 * Marshal.cs: Add attribute, fix signatures
894 * MarshalAsAttribute.cs: Add head, add entry
895 * DllImportAttribute.cs: Added v1.1 entries
896 * TypeLibConverter.cs: Added, stubbed
897 * RegistrationServices.cs: Added, stubbed
898 * ExtensibleClassFactory.cs: Added, stubbed
899 * ErrorWrapper.cs: Added, implemented
900 * CurrencyWrapper.cs: Added, implemented
902 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
904 * IRegistrationServices.cs:
905 * ITypeLibConverter.cs:
906 * ITypeLibExporterNameProvider.cs:
907 * ITypeLibExporterNotifySink.cs:
908 * ITypeLibImporterNotifySink.cs: Added missing attribute
909 * UCOMIBindCtx.cs: Added missing attribute, fixed in attribute
910 * UCOMIConnectionPoint.cs:
911 * UCOMIConnectionPointContainer.cs:
912 * UCOMIEnumConnectionPoints.cs:
913 * UCOMIEnumConnections.cs:
914 * UCOMIEnumMoniker.cs:
915 * UCOMIEnumString.cs:
916 * UCOMIEnumVARIANT.cs:
918 * UCOMIPersistFile.cs:
919 * UCOMIRunningObjectTable.cs:
923 * UCOMITypeLib.cs: Added missing attribute
925 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
927 * UCOMIBindCtx.cs: Added and implemented
928 * UCOMIConnectionPoint.cs: Added and implemented
929 * UCOMIConnectionPointContainer.cs: Added and implemented
930 * UCOMIEnumConnectionPoints.cs: Added and implemented
931 * UCOMIEnumConnections.cs: Added and implemented
932 * UCOMIEnumMoniker.cs: Added and implemented
933 * UCOMIEnumString.cs: Added and implemented
934 * UCOMIEnumVARIANT.cs: Added and implemented
935 * UCOMIMoniker.cs: Added and implemented
936 * UCOMIPersistFile.cs: Added and implemented
937 * UCOMIRunningObjectTable.cs: Added and implemented
938 * UCOMIStream.cs: Added and implemented
940 * UCOMTypeComp.cs: renamed
941 * UCOMTypeInfo.cs: renamed
942 * UCOMTypeLib.cs: renamed
944 * ITypeLibConverter.cs: Fixed interface signature
946 * ComSourceInterfacesAttribute.cs: Added and implemented
947 * IDispatchImplAttribute.cs: Added and implemented
948 * InvalidComObjectException.cs: Added and implemented
949 * InvalidOleVariantTypeException.cs: Added and implemented
950 * MarshalDirectiveException.cs: Added and implemented
951 * SafeArrayRankMismatchException.cs: Added and implemented
952 * SafeArrayTypeMismatchException.cs: Added and implemented
953 * SEHException.cs: Added attribute
954 * UnknownWrapper.cs: Added and implemented
967 * VARDESC.cs: Added and implemented
972 * IDispatchImplType.cs:
979 * TypeLibImporterFlags.cs:
980 * VARFLAGS.cs: Added and implemented
982 2003-07-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
984 * ComCompatibleVersionAttribute.cs: Added and implemented
985 * TypeLibVersionAttribute.cs: Added and implemented
987 Wed Jun 18 12:49:54 CEST 2003 Paolo Molaro <lupus@ximian.com>
989 * Marshal.cs: implemented Prelink with icalls.
991 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
993 * RuntimeEnvironment.cs: New file. Stubbed by Dominik Fretz
996 2003-03-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
998 * ExternalException.cs: doesn't need a field to keep the result code.
999 * SEHException.cs: implemented.
1001 2003-03-03 Tim Coleman <tim@timcoleman.com>
1002 * HandleRef.cs: Add this struct
1004 2003-01-05 Sebastien Pouliot <spouliot@videotron.ca>
1006 * COMException.cs: New. Minimal (incomplete - i'm not using COM)
1007 implementation because this is thrown when dealing with Software
1008 Publisher Certificates (SPC) in X509Certificate.
1010 2002-08-22 Nick Drochak <ndrochak@gol.com>
1012 * OutAttribute.cs: TypeID isn't overriden from Attribute here.
1013 * PInvokeMap.cs: Non-existent enum. Must be from beta days.
1015 2002-06-24 root <dietmar@ximian.com>
1017 * Marshal.cs: impl. Copy()
1019 Fri Jun 14 16:18:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
1021 * UnmanagedType.cs, Marshal.cs: minor fixes.
1023 Wed Jun 12 16:32:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
1025 * Marshal.c: stubbed out all the methods and filled in some
1027 * BINDPTR.cs, ComMemberType.cs, DESCKIND.cs, DISPPARAMS.cs,
1028 EXCEPINFO.cs, INVOKEKIND.cs, TYPEKIND.cs, UCOMTypeInfo.cs,
1029 UCOMTypeLib.cs: enums, interfaces and structs needed in Marshal class.
1031 Tue Jun 4 18:05:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
1033 * GCHandle.cs: changed to fit spec and implementation needs.
1035 Tue May 14 16:35:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
1037 * CharSet.cs: added missing None enum item.
1039 2002-04-26 Joe Shaw <joe@ximian.com>
1041 * Marshal.cs (StructureToPtr): stub this out.
1043 2002-04-23 Joe Shaw <joe@ximian.com>
1045 * Marshal.cs: Stub out a few functions to get gtk# to build.
1047 2002-04-22 Duncan Mak <duncan@ximian.com>
1049 * ImporterEventKind.cs:
1050 * TypeLibFuncFlags.cs:
1051 * TypeLibTypeFlags.cs:
1052 * TypeLibVarFlags.cs: Fixed various typos and added missing elements.
1054 * ComConventionLossAttribute.cs: Removed, there's a typo.
1055 * ComConversionLossAttribute.cs: Same attribute, slight change of name.
1057 * PreserveSigAttribute.cs:
1058 * ImportedFromTypeLibAttribute.cs: Added missing AttributeUsage
1061 * TypeLibFuncAttribute.cs:
1062 * TypeLibTypeAttribute.cs:
1063 * TypeLibVarAttribute.cs: Added missing constructors.
1066 2002-04-22 Duncan Mak <duncan@ximian.com>
1068 * AutomationProxyAttribute.cs:
1069 * CoClassAttribute.cs:
1070 * ComAliasNameAttribute.cs:
1071 * ComConventionLossAttribute.cs:
1072 * ComEventInterfaceAttribute.cs:
1073 * ComImportAttribute.cs:
1074 * ComRegisterFunctionAttribute.cs:
1075 * ComUnregisterFunctionAttribute.cs:
1076 * DispIdAttribute.cs:
1077 * ImportedFromTypeLibAttribute.cs:
1078 * LCIDConversionAttribute.cs:
1079 * PreserveSigAttribute.cs:
1080 * PrimaryInteropAssemblyAttribute.cs:
1081 * ProgIdAttribute.cs:
1082 * TypeLibFuncAttribute.cs:
1083 * TypeLibFuncFlags.cs:
1084 * TypeLibTypeAttribute.cs:
1085 * TypeLibTypeFlags.cs:
1086 * TypeLibVarAttribute.cs:
1087 * TypeLibVarFlags.cs: Added to CVS.
1089 2002-04-08 Nick Drochak <ndrochak@gol.com>
1091 * Marshal.cs: Make class public.
1092 * ComVisible.cs: New File.
1094 2002-03-24 Nick Drochak <ndrochak@gol.com>
1096 * ClassInterfaceAttribute.cs:
1097 * ClassInterfaceType.cs: New Files.
1099 2002-02-27 Duncan Mak <duncan@ximian.com>
1101 * ExporterEventKind.cs:
1102 * ITypeLibConverter.cs:
1103 * ITypeLibImporterNotifySink.cs: Added to CVS for Kevin Winchester <kwin@ns.sympatico.ca>.
1105 2002-02-26 Duncan Mak <duncan@ximian.com>
1107 * ComInterfaceType.cs: Added to CVS.
1109 * AssemblyRegistrationFlags.cs:
1111 * ICustomAdapter.cs:
1112 * ICustomFactory.cs:
1113 * ICustomMarshaler.cs:
1114 * IRegistrationServices.cs:
1115 * ITypeLibExporterNameProvider.cs:
1116 * ITypeLibImporterNotifySink.cs:
1117 * InterfaceTypeAttribute.cs:
1118 * TypeLibExporterFlags.cs: Committed for Kevin Winchester <kwin@ns.sympatico.ca>.
1120 * GCHandle.cs: Added to CVS. Patch from Ajay kumar Dwivedi.
1122 * GCHandleType.cs: Committed patch from Ajay.
1124 * ImporterEventKind.cs: Added to CVS.
1126 2002-01-24 Miguel de Icaza <miguel@ximian.com>
1128 * StructLayoutAttribute.cs: Flag attribute as targetting structs
1131 * InAttribute.cs: Flag attribute as targettting a paramter
1133 * OutAttribute.cs: ditto.
1135 * DllImportAttribute.cs: Flag attribute as targetting methods.
1137 * MarshalAsAttribute.cs: Flag attribute as targetting fields,
1138 parameters and returnvalues.
1140 2002-01-23 Dick Porter <dick@ximian.com>
1142 * Marshal.cs: Added GetLastWin32Error()
1144 * ExternalException.cs: Implemented
1146 2002-01-17 Miguel de Icaza <miguel@ximian.com>
1148 * ExternalException.cs: Add ExternalException.
1150 2002-01-05 Ravi Pratap <ravi@ximian.com>
1152 * OutAttribute.cs : Decorate with MonoTODO.
1154 Thu Dec 20 15:46:31 CET 2001 Paolo Molaro <lupus@ximian.com>
1156 * FieldOffsetAttribute.cs, InAttribute.cs, MarshalAsAttribute.cs,
1157 OptionalAttribute.cs, StructLayoutAttribute.cs, VarEnum.cs:
1158 more stuff needed by the compiler.
1160 Thu Dec 13 20:22:18 CET 2001 Paolo Molaro <lupus@ximian.com>
1162 * DllImportAttribute.cs: added.
1163 * MethodImplOptions.cs: removed: this is already in CompilerServices.
1165 Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <lupus@ximian.com>
1167 * CallingConvention.cs: add missing Winapi.
1169 2001-07-20 Miguel de Icaza <miguel@ximian.com>
1171 * OutAttribute.cs: New file.
1173 2001-07-18 Michael Lambert <michaellambert@email.com>
1175 * CallingConvention.cs.cs, CharSet.cs, GCHandleType.cs, LayoutKind.cs: Add.