1 2009-09-04 Zoltan Varga <vargaz@gmail.com>
3 * SafeBuffer.cs: Mark specific methods as non-cls compliant instead of
6 * SafeBuffer.cs: New net 4.0 class.
8 2009-04-17 Tom Hindle <tom_hindle@sil.org>
10 * Marshal.cs: Improved GetExceptionForHR to return real C# exceptions in
11 certain cases instead of always COMException.
13 2009-02-24 Sebastien Pouliot <sebastien@ximian.com>
15 * SafeHandle.cs: Add default ctor in 2.1 profile (needed to compile
16 new unit tests in moonlight).
18 2009-03-05 Tom Hindle <tom_hindle@sil.org>
20 * Marshal.cs: Implemented GenerateGuidForType
22 2008-06-21 Gert Driesen <drieseng@users.sourceforge.net>
24 * Marshal.cs: Fixed order of arguments for ArgumentException in
25 GetComSlotForMethodInfo.
27 2008-06-19 Kornél Pál <kornelpal@gmail.com>
29 * Marshal.cs: Implement GetHINSTANCE.
31 2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
41 * BestFitMappingAttribute.cs
42 * Marshal.cs: Fix parameter names
44 2008-02-20 Zoltan Varga <vargaz@gmail.com>
46 * Marshal.cs (GetDelegateForFunctionPointer): Add a nullref check.
48 2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
50 * COMException.cs: Fix new-line literal and use of "" detected by
53 2008-01-13 Gert Driesen <drieseng@users.sourceforge.net>
55 * COMException.cs: Added missing colon in ToString.
57 2007-12-04 Gert Driesen <drieseng@users.sourceforge.net>
59 * ExternalException.cs: Set HResult to match MS.
61 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
63 * ComVisible.cs: Fix parameter name (part of #322850).
65 2007-09-14 Zoltan Varga <vargaz@gmail.com>
67 * GCHandle.cs (AddrOfPinnedObject): Use -2 to communicate that the handle is not
68 pinned. Correct exception message. Fixes #82848.
70 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
72 * SafeHandle.cs CriticalHandle.cs TypeLibImporterFlags.cs
73 RegistrationClassContext.cs ArrayWithOffset.cs :
74 * ComObjectInUseException.cs ExposeAsClassToComAttribute.cs :
75 removed obsoleted files.
77 2007-07-18 Miguel de Icaza <miguel@novell.com>
79 * SafeHandle.cs: Harden this, do not call ReleaseHandle if the
82 * CriticalHandle.cs: Harden this, do not call ReleaseHandle if the
85 2007-07-06 Jonathan Chambers <joncham@gmail.com>
87 * ExtensibleClassFactory.cs: Fix ExtensibleClassFactory.
89 2007-06-22 Jonathan Chambers <joncham@gmail.com>
91 * Marshal.cs (ThrowExceptionForHR): Implement/consolidate.
92 * Marshal.cs (GetExceptionForHR): Implement/consolidate.
94 2007-05-11 Jonathan Chambers <joncham@gmail.com>
96 * Marshal.cs (SecureStringToBSTR): BSTR header is size in bytes,
99 2007-05-02 Jonathan Chambers <joncham@gmail.com>
101 * ExtensibleClassFactory.cs: Don't use un-implemented overload.
103 2007-05-02 Dick Porter <dick@ximian.com>
105 * _ConstructorInfo.cs:
115 * AutomationProxyAttribute.cs:
116 * BestFitMappingAttribute.cs:
118 * ClassInterfaceAttribute.cs:
119 * CoClassAttribute.cs:
120 * ComAliasNameAttribute.cs:
121 * ComCompatibleVersionAttribute.cs:
122 * ComConversionLossAttribute.cs:
123 * ComDefaultInterfaceAttribute.cs:
124 * ComEventInterfaceAttribute.cs:
126 * ComImportAttribute.cs:
127 * ComObjectInUseException.cs:
128 * ComRegisterFunctionAttribute.cs:
129 * ComUnregisterFunctionAttribute.cs:
132 * CurrencyWrapper.cs:
133 * DefaultCharSetAttribute.cs:
134 * DispatchWrapper.cs:
135 * DispIdAttribute.cs:
137 * ExtensibleClassFactory.cs:
138 * ExternalException.cs:
141 * StructLayoutAttribute.cs:
142 * TypeLibConverter.cs:
143 * ArrayWithOffset.cs:
154 * CallingConvention.cs:
156 * ClassInterfaceType.cs:
157 * ComInterfaceType.cs:
160 * ExporterEventKind.cs:
162 * RegistrationClassContext.cs:
164 * TypeLibImporterFlags.cs:
166 * VARFLAGS.cs: Update to 2.0 profile
168 2007-04-15 Alp Toker <alp@atoker.com>
170 * Marshal.cs: Add new 2.0 Copy() from IntPtr[] overload.
172 2007-03-12 Raja R Harinath <rharinath@novell.com>
174 * DefaultParameterValueAttribute.cs: Move to System.dll.
176 2007-02-08 Jonathan Chambers <joncham@gmail.com>
178 * Marshal.cs: Throw exceptions for AddRef, Release,
179 and QueryInterface in managed code. Implement GetComInterfaceForObject,
180 GetIDispatchForObject, GetIUnknownForObject, GetObjectForIUnknown,
181 GetObjectsForNativeVariants, IsComObject, ReleaseComObject, and
182 FinalReleaseComObject. Unimplement GetComObjectData and SetComObjectData
183 for now to save space and simplify __ComObject for now. MSDN states the
184 user should never call these methods anyway.
186 2007-01-29 Marek Habersack <grendello@gmail.com>
188 * Marshal.cs: Implement a missing Marshal.Copy overload.
190 2007-01-11 Jonathan Chambers <joncham@gmail.com>
192 * Marshal.cs: Implement Marshal.ReAllocCoTaskMem.
194 2007-01-03 Miguel de Icaza <miguel@novell.com>
196 * SafeHandle.cs: Do not use locks in SafeHandle to protect the
197 access to the refcount, use Interlocked.CompareExchange. The
198 locks were the source of problems with domain finalization when
199 this code was enabled.
201 This should fix Matt Hargett's bug report with a full `make check'
202 that reported variations of:
204 ** (../../class/lib/net_2_0/nunit-console.exe:29644): WARNING **:
205 Finalization of domain <domainname> timed out.
207 Also, it is a lot lighther.
209 2006-12-21 Miguel de Icaza <miguel@novell.com>
211 * CriticalHandle.cs: Add Dispose(bool disposing) method, and
214 2006-12-15 Gert Driesen <drieseng@users.sourceforge.net>
216 * Marshal.cs: Use SystemDefaultCharSize to determine whether to
217 use Ansi or Unicode variant of StringToCoTaskMem.
219 2006-12-15 Miguel de Icaza <miguel@novell.com>
221 * Marshal.cs (SecureStringToCoTaskMemAnsi, SecureStringToBSTR,
222 SecureStringToCoTaskMemUnicode, ZeroFreeCoTaskMemAnsi,
223 ZeroFreeCoTaskMemUnicode, ZeroFreeGlobalAllocAnsi,
224 ZeroFreeGlobalAllocUnicode): Implement.
226 (StringToCoTaskAuto): return the same as Ansi.
228 The ANSI code is out of sync with Mono, which treats ANSI as
231 Code formatting changes
233 2006-12-11 Miguel de Icaza <miguel@novell.com>
235 * SafeHandle.cs: Fix a handful of bugs, and add tests for them.
236 Only release the handle if its owned by us. Also throw
237 ObjectDisposedException's
241 DangerousAddRef will now throw an exception if the object was
244 2006-12-02 Miguel de Icaza <miguel@novell.com>
246 * SafeHandle.cs: Implement this class.
248 2006-10-06 Jonathan Chambers <joncham@gmail.com>
250 * ExtensibleClassFactory.cs: Implement RegisterObjectCreationCallback.
252 2006-08-31 Robert Jordan <robertj@gmx.net>
254 * Marshal.cs: Replaced the *Auto internal calls with managed
255 variants. Fixed SystemDefaultCharSize to return an OS dependent
258 2006-08-09 Jonathan Chambers <joncham@gmail.com>
260 * Marshal.cs: Implement GetIDispatchForObject.
262 2006-08-07 Gert Driesen <drieseng@users.sourceforge.net>
264 * Marshal.cs: Added stubs for GetTypeLibGuid (ITypeLib), GetTypeLibLcid
265 (ITypeLib), GetTypeLibName (ITypeLib).
267 2006-07-28 Jonathan Chambers <joncham@gmail.com>
269 * Marshal.cs: Implemented CreateWrapperOfType and ReleaseComObject.
271 2006-07-15 Jonathan Chambers <joncham@gmail.com>
273 * Marshal.cs: Begin implementing COM Interop. Implemented
274 AddRef, GetComInterfaceForObject, GetComObjectData, GetIUnknownForObject,
275 GetObjectForIUnknown, GetTypedObjectForIUnknown, IsComObject, QueryInterface
276 Release, SetComObjectData, and ThrowExceptionForHR.
278 2006-06-07 Jonathan Chambers <jonathan.chambers@ansys.com>
280 * Marshal.cs: Implement GetComSlotForMethodInfo
282 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
284 * Marshal.cs: Implement VARIANT marshalling methods
286 2006-05-20 Zac Bowling <zac@zacbowling.com>
287 * VarEnum.cs: ComVisible Attribute (2.0)
288 * InterfaceTypeAttribute.cs: ComVisible Attribute (2.0)
289 * UCOMITypeInfo.cs: ComImport Attribute (1.x)
290 * UCOMITypeComp.cs: ComImport Attribute (1.x)
291 * MarshalAsAttribute.cs: ComVisible Attribute (2.0)
292 * StructLayoutAttribute.cs: ComVisible Attribute (2.0)
293 * ProgIdAttribute.cs: ComVisible Attribute (2.0)
294 * PrimaryInteropAssemblyAttribute.cs: ComVisible Attribute (2.0)
295 * ImporterEventKind.cs: ComVisible Attribute (2.0)
296 * UCOMIPersistFile.cs: ComImport Attribute (1.x)
297 * SetWin32ContextInIDispatchAttribute.cs: Obselete and ComVisible
299 * IRegistrationServices.cs: ComVisible Attribute and CAS Attributes (2.0)
300 * InAttribute.cs: ComVisible Attribute (2.0)
301 * UCOMIMoniker.cs: ComImport Attribute (1.x)
302 * MarshalDirectiveException.cs: ComVisible Attribute (2.0)
303 * IDLDESC.cs: ComVisible Attribute (1.x)
304 * FUNCFLAGS.cs: ComVisible Attribute (1.x)
305 * UCOMIConnectionPointContainer.cs: ComImport Attribute (1.x)
306 * TypeLibExporterFlags.cs: ComVisible Attribute (2.0)
307 * ICustomMarshaler.cs: ComVisible Attribute (2.0)
308 * LayoutKind.cs: ComVisible Attribute (2.0) + Serializable + Clean
309 * ICustomAdapter.cs: ComVisible Attribute (2.0)
310 * UnmanagedFunctionPointerAttribute.cs: ComVisible Attribute and Param
311 Signature of UnmanagedFunctionPointerAttribute(...)
312 * FUNCKIND.cs: ComVisble Attribute (1.x)
313 * TypeLibVersionAttribute.cs: ComVisible Attribute (2.0) + Missing in
315 * TypeLibVarAttribute.cs: ComVisible Attribute (2.0)
316 * ITypeLibConverter.cs: ComVisible Attribute (2.0)
317 * UCOMIRunningObjectTable.cs: ComImport Attribute (1.x)
318 * IDispatchImplAttribute.cs: Obsolete + ComVisible Attribute (2.0)
319 * ITypeLibImporterNotifySink.cs: ComVisible Attribute (2.0)
320 * PreserveSigAttribute.cs: ComVisible Attribute (2.0)
321 * SYSKIND.cs: ComVisible Attribute (1.x)
322 * UCOMIEnumVARIANT.cs: ComImport Attribute (1.x)
323 * UCOMIEnumString.cs: ComImport Attribute (1.x) and Expose to 1.x (not
324 a 2.0 exclusive class)
325 * OutAttribute.cs: ComVisible Attribute (2.0)
326 * InvalidComObjectException.cs: ComVisible Attribute (2.0)
327 * SEHException.cs: ComVisible Attribute (2.0)
328 * UCOMIConnectionPoint.cs: ComImport Attribute (1.x)
329 * TypeLibImporterFlags.cs: ComVisible Attribute (2.0) and
331 * OptionalAttribute.cs: ComVisible Attribute (2.0)
332 * TYPEDESC.cs: ComVisible Attribute (1.x)
333 * UCOMIEnumMoniker.cs: ComImport Attribute (1.x) and Expose to 1.x
334 (not a 2.0 exclusive class)
335 * TypeLibTypeFlags.cs: ComVisible Attribute (2.0)
336 * ITypeLibExporterNotifySink.cs: ComVisible Attribute (2.0)
337 * HandleRef.cs: ComVisible.cs and add ToIntPtr (2.0)
338 * DllImportAttribute.cs: ComVisible Attribute (2.0)
339 * TypeLibTypeAttribute.cs: ComVisible Attribute (2.0)
340 * UnknownWrapper.cs: Serializable, ComVisible Attribute (2.0)
341 * IDFLAGS.cs: ComVisible Attribute (1.x only)
342 * RegistrationClassContext.cs: License + Flags attribute (2.0)
343 * GCHandle.cs: ComVisible Attribute + Operator Overrides (2.0)
344 * TypeLibImportClassAttribute.cs: ComVisible Attribute (2.0)
345 * IMPLYTPEFLAGS.cs: ComVisible Attribute (1.x)
346 * ImportedFromTypeLibAttribute.cs: ComVisible (2.0)
347 * UCOMIBindCtx.cs: Obsolete Attribute (2.0)
348 * FUNCDESC.cs: ComVisible Attribute (1.x)
349 * RegistrationConnectionType.cs: Flags Attribute (2.0)
350 * IDispatchImplType.cs: Obsolete + ComVisible Attribute (2.0)
351 * TypeLibConverter.cs: ComVisible (2.0)
352 * INVOKEKIND.cs: ComVisible Attribute (1.x)
353 * GCHandleType.cs: ComVisible Attribute (2.0) + Serializable
354 * ICustomFactory.cs: ComVisible Attribute (2.0)
355 * FieldOffsetAttribute.cs: ComVisible Attribute (2.0)
356 * LIBFLAGS.cs: ComVisible Attribute (1.x)
357 * ComSourceInterfacesAttributes.cs: ComVisible Attribute (2.0)
358 * STATSTG.cs: ComVisible Attribute (1.x)
359 * InvalidOleVariantTypeException.cs: ComVisible Attribute (2.0)
360 * TypeLibVarFlags.cs: ComVisible Attribute (2.0)
361 * TYPEFLAGS.cs: ComVisible Attribute (1.x)
362 * SafeArrayRankMismatchException.cs: ComVisible Attribute (2.0)
363 * TYPEATTR.cs: ComVisible Attribute (1.x)
364 * GuidAttribute.cs: ComVisible Attribute (2.0)
365 * UCOMIEnumConnectionPoints.cs: ComImport Attribute (1.x) + Expose to
366 1.x (not a 2.0 exclusive)
367 * SafeArrayTypeMismatchException.cs: ComVisible Attribute (2.0)
368 * ObjectCreationDelegate.cs: ComVisible Attribute (2.0)
369 * ITypeLibExporterNameProvider.cs: ComVisible Attribute (2.0) and
370 MarshelAs VarEnum Type.
371 * UCOMIStream.cs: ComImport Attribute (1.x)
372 * TypeLibFuncFlags.cs ComVisible Attribute (2.0)
373 * UnmanagedType.cs: ComVisible Attribute (2.0) + clean up
374 * UCOMIEnumConnections.cs: ComImport Attribute (1.0)
375 * LCIDConversionAttribute.cs: ComVisible Attribute (2.0)
376 * TypeLibFuncAttribute.cs: ComVisible Attribute (2.0)
378 2006-05-02 Jonathan Chambers <jonathan.chambers@ansys.com>
380 * Marshal.cs: Implement BSTR methods
382 2006-01-12 Ben Maurer <bmaurer@andrew.cmu.edu>
384 * SafeHandle.cs: Update to RTM api
386 2005-11-17 Zoltan Varga <vargaz@gmail.com>
388 * DefaultParameterValueAttribute.cs: New file.
390 2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
392 * Marshal.cs: Added null check in SecureStringTo* methods and make
393 them throw a NotSupportedException otherwise (as existing code must
394 deal with this anyway). Fixed Uni -> Unicode method name changes.
396 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
398 * UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
399 UCOMIConnectionPointContainer.cs, UCOMIEnumConnectionPoints.cs,
400 UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
401 UCOMIEnumVARIANT.cs, UCOMIMoniker.cs, UCOMIPersistFile.cs,
402 UCOMIRunningObjectTable.cs, UCOMIStream.cs, UCOMITypeComp.cs,
403 UCOMITypeInfo.cs, UCOMITypeLib.cs: Remove [ComImport] from the default
404 profile (this is new in 2.0) and reduce corcompare extras by 15.
406 2005-09-21 Kornél Pál <kornelpal@hotmail.com>
408 * UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
409 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, UnmanagedType.cs:
410 Removed UnmanagedType_80 that was required because mcs bug #75945
413 2005-08-12 Gert Driesen <drieseng@users.sourceforge.net>
415 * SetWin32ContextInIDispatchAttribute.cs: Make this attribute also
416 available in 1.0 profile (.NET 1.1).
417 * VariantWrapper.cs: Class is also exposed in .NET 1.1. Only
418 serializable in 2.0 profile.
420 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
422 * SafeHandle.cs: New file.
424 2005-08-06 Gert Driesen <drieseng@users.sourceforge.net>
426 * _Activator.cs: ComVisible should only be set in 2.0 profile.
427 Added TypeLibImportClass attribute.
428 * _Assembly.cs: ComVisible should only be set in 2.0 profile. Added
429 TypeLibImportClass attribute. Fixes InterfaceType to match MS.NET.
430 * _AssemblyBuilder.cs: ComVisible should only be set in 2.0 profile.
431 Added TypeLibImportClass attribute.
432 * _AssemblyName.cs: ComVisible should only be set in 2.0 profile.
433 Added TypeLibImportClass attribute.
434 * _Attribute.cs: ComVisible should only be set in 2.0 profile.
435 Added TypeLibImportClass attribute.
436 * _ConstructorBuilder.cs: ComVisible should only be set in 2.0 profile.
437 Added TypeLibImportClass attribute.
438 * _ConstructorInfo.cs: Fixed InterfaceType to match MS.NET. Added
439 TypeLibImportClass attribute. Added missing methods.
440 * _CustomAttributeBuilder.cs: ComVisible should only be set in 2.0 profile.
441 Added TypeLibImportClass attribute.
442 * _EnumBuilder.cs: ComVisible should only be set in 2.0 profile.
443 Added TypeLibImportClass attribute.
444 * _EventBuilder.cs: ComVisible should only be set in 2.0 profile.
445 Added TypeLibImportClass attribute.
446 * _EventInfo.cs: Fixed InterfaceType to match MS.NET. Added
447 TypeLibImportClass attribute. Added missing methods.
448 * _FieldBuilder.cs: ComVisible should only be set in 2.0 profile.
449 Added TypeLibImportClass attribute.
450 * _FieldInfo.cs: Fixed InterfaceType to match MS.NET. Added
451 TypeLibImportClass attribute. Added missing methods.
452 * _ILGenerator.cs: ComVisible should only be set in 2.0 profile.
453 Added TypeLibImportClass attribute.
454 * _LocalBuilder.cs: ComVisible should only be set in 2.0 profile.
455 Added TypeLibImportClass attribute.
456 * _MemberInfo.cs: Fixed InterfaceType to match MS.NET. Added
457 TypeLibImportClass attribute. Added missing methods.
458 * _MethodBase.cs: Fixed InterfaceType to match MS.NET. Added
459 TypeLibImportClass attribute. Added missing methods.
460 * _MethodInfo.cs: Fixed InterfaceType to match MS.NET. Added
461 TypeLibImportClass attribute. Added missing methods.
462 * _MethodBuilder.cs: ComVisible should only be set in 2.0 profile.
463 Added TypeLibImportClass attribute.
464 * _MethodRental.cs: ComVisible should only be set in 2.0 profile.
465 Added TypeLibImportClass attribute.
466 * _Module.cs: ComVisible should only be set in 2.0 profile.
467 Added TypeLibImportClass attribute.
468 * _ModuleBuilder.cs: ComVisible should only be set in 2.0 profile.
469 Added TypeLibImportClass attribute.
470 * _ParameterBuilder.cs: ComVisible should only be set in 2.0 profile.
471 Added TypeLibImportClass attribute.
472 * _ParameterInfo.cs: ComVisible should only be set in 2.0 profile.
473 Added TypeLibImportClass attribute.
474 * _PropertyBuilder.cs: ComVisible should only be setin 2.0 profile.
475 Added TypeLibImportClass attribute.
476 * _PropertyInfo.cs: Fixed InterfaceType to match MS.NET. Added
477 TypeLibImportClass attribute. Added missing methods.
478 * _SignatureHelper.cs: ComVisible should only be set in 2.0 profile.
479 Added TypeLibImportClass attribute.
480 * _Type.cs: Added TypeLibImportClass attribute. Fixed InterfaceType
481 to match MS.NET. Added missing method to match MS.NET.
482 * _Thread.cs: ComVisible should only be set in 2.0 profile.
483 Added TypeLibImportClass attribute.
484 * _TypeBuilder:cs: ComVisible should only be set in 2.0 profile.
485 Added TypeLibImportClass attribute.
486 * Marshal.cs: Removed MarshalAs attribute from parameter to fix
487 API compatibility with MS.NET.
488 * TypeLibImportClassAttribute.cs: Added.
490 2005-07-06 Zoltan Varga <vargaz@freemail.hu>
492 * GCHandle.cs: Add 2.0 FromIntPtr/ToIntPtr methods.
494 2005-06-08 Sebastien Pouliot <sebastien@ximian.com>
496 * RuntimeEnvironment.cs: I get better results when calling Demand.
498 2005-06-07 Sebastien Pouliot <sebastien@ximian.com>
500 * RuntimeEnvironment.cs: Implemented TODO. Added security for CAS.
502 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
504 * _Exception.cs: That one wasn't backported to 1.1 SP1 by MS. This
505 should fix a lot of extra reported in the API status pages.
507 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
509 * Marshal.cs: Add some missing 2.0 attributes.
511 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
514 * _ConstructorInfo.cs
522 * _Type.cs: Chance to .Net 1.1
525 * _AssemblyBuilder.cs
527 * _ConstructorBuilder.cs
528 * _CustomAttributeBuilder.cs
538 * _ParameterBuilder.cs
540 * _PropertyBuilder.cs
541 * _SignatureHelper.cs
543 * _TypeBuilder.cs: Added
545 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
547 * _Attribute.cs: New. Interface for attributes in 2.0.
549 2005-04-13 Marek Safar <marek.safar@seznam.cz>
551 * DefaultCharSetAttribute.cs: Removed useless using.
553 2005-03-31 Alp Toker <alp@atoker.com>
555 * GCHandle.cs: Clearer ArgumentException text in the case of a
556 null-valued IntPtr argument.
558 2005-03-04 Kazuki Oikawa <kazuki@panicode.com>
564 * ComDefaultInterfaceAttribute.cs
565 * ComObjectInUseException.cs
566 * ComSourceInterfacesAttribute.cs
569 * DefaultCharSetAttribute.cs
574 * ExposeAsClassToComAttribute.cs
585 * ITypeLibConverter.cs
586 * ITypeLibExporterNameProvider.cs
587 * ITypeLibExporterNotifySink.cs
591 * PrimaryInteropAssemblyAttribute.cs
599 * TypeLibExporterFlags.cs
600 * TypeLibImporterFlags.cs
602 * UCOMIConnectionPoint.cs
603 * UCOMIConnectionPointContainer.cs
604 * UCOMIEnumConnectionPoints.cs
605 * UCOMIEnumConnections.cs
606 * UCOMIEnumMoniker.cs
608 * UCOMIEnumVARIANT.cs
610 * UCOMIPersistFile.cs
611 * UCOMIRunningObjectTable.cs
616 * UnmanagedFunctionPointerAttribute.cs
619 * VariantWrapper.cs: Added missing attributes.
621 2005-03-03 Kazuki Oikawa <kazuki@panicode.com>
623 * _ConstructorInfo.cs
632 * ComDefaultInterfaceAttribute.cs
633 * ComObjectInUseException.cs
635 * DefaultCharSetAttribute.cs
636 * ExposeAsClassToComAttribute.cs
637 * RegistrationClassContext.cs
638 * RegistrationConnectionType.cs: Add
640 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
642 * UnmanagedFunctionPointerAttribute.cs: Add #region directives.
644 2005-02-21 Kazuki Oikawa <kazuki@panicode.com>
646 * BIND_OPTS.cs, CONNECTEDATA.cs, DISPPARAMS.cs, ELEMDESC.cs,
647 EXCEPINFO.cs, FILETIME.cs, FUNCDESC.cs, STATSTG.cs, TYPEATTR.cs,
648 TYPELIBATTR.cs, UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
649 UCOMIEnumConnectionPoints.cs, UCOMIEnumConnections.cs,
650 UCOMIEnumMoniker.cs, UCOMIEnumString.cs, UCOMIEnumVARIANT.cs,
651 UCOMIMoniker.cs, UCOMIPersistFile.cs, UCOMIRunningObjectTable.cs,
652 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, VARDESC.cs:
653 Corrected the order of the fields and the methods.
655 * BIND_OPTS.cs, CALLCONV.cs, FILETIME.cs, FUNCDESC.cs, FUNCFLAGS.cs,
656 FUNCKIND.cs, IDLFLAG.cs, IMPLTYPEFLAGS.cs, LIBFLAGS.cs, PARAMFLAG.cs,
657 STATSTG.cs, SYSKIND.cs, TYPEFLAGS.cs, VarEnum.cs, VARFLAGS.cs:
658 Added missing attributes.
660 Wed Feb 16 16:20:56 CET 2005 Paolo Molaro <lupus@ximian.com>
662 * GCHandle.cs: check the domain of an handle target is correct.
663 Make the unallocated value 0, since that is the default value
666 2005-02-10 Marek Safar <marek.safar@seznam.cz>
668 * TypeLibVarAttribute.cs,
669 * TypeLibTypeAttribute.cs,
670 * ComSourceInterfacesAttribute.cs: Fix AttributeUsage flags.
672 Sat Jan 29 12:48:03 CET 2005 Paolo Molaro <lupus@ximian.com>
674 * GCHandle.cs: update for runtime changes: the unallocated handle
677 2004-11-25 Raja R Harinath <rharinath@novell.com>
679 * UnmanagedType.cs (mono_bootstrap_NativeTypeMax): Rename from
680 __mono_bootstrap_NativeTypeMax. CSC doesn't like
681 [CLSCompliant(false)] on enum member.
683 2004-09-30 Zoltan Varga <vargaz@freemail.hu>
685 * Marshal.cs: Implement GetDelegateForFunctionPointer.
687 2004-09-29 Zoltan Varga <vargaz@freemail.hu>
689 * UnmanagedFunctionPointerAttribute.cs: New file.
691 * Marshal.cs: Make GetFunctionPointerForDelegate icall private.
693 * MarshalAsAttribute.cs: Add 2.0 IidParamIndex field.
695 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
697 * Marshal.cs: Add some ReliabilityContractAttributes.
699 * Marshal.cs (GetFunctionPointerForDelegate): Implement.
701 * Marshal.cs: Add stubs for missing 2.0 methods.
703 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
705 * DllImportAttribute.cs: Reorder fields and mark this class as visible
708 2004-09-08 Marek Safar <marek.safar@seznam.cz>
710 * Marshal.cs: Class is static in NET_2_0.
712 2004-07-29 Lluis Sanchez Gual <lluis@novell.com>
714 * RuntimeEnvironment.cs: Implemented SystemConfigurationFile and
717 Wed Jul 14 19:28:57 CEST 2004 Paolo Molaro <lupus@ximian.com>
719 * GCHandle.cs: throw exception if the result from AddrOfPinnedObject()
720 is -1 (special value returned by the runtime).
722 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
724 * _Exception.cs: New interface in Fx 2.0 to preserve member's order
727 2004-06-22 Raja R Harinath <rharinath@novell.com>
729 Fix bootstrap with mcs 0.31.
730 * UnmanagedType.cs (UnmanagedType.__mono_bootstrap_NativeTypeMax):
731 New bootstrap-only constant.
733 2004-06-18 Raja R Harinath <rharinath@novell.com>
735 Fix breaking build (see tests/test-272.cs). Since corlib is a
736 bootstrap library, we have to keep this fix even if the in-tree
737 mcs compiler is fixed.
738 * UCOMIEnumConnections.cs: Replace '(UnmanagedType) 80' in
739 attribute field initialization with Consts.UnmanagedType_80.
740 * UCOMIEnumMoniker.cs: Likewise.
741 * UCOMIEnumString.cs: Likewise.
742 * UCOMIStream.cs: Likewise.
743 * UCOMITypeInfo.cs: Likewise.
744 * UCOMITypeLib.cs: Likewise.
746 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
748 * BINDPTR.cs: have layout and charset match MS.NET
749 * CONNECTDATA.cs: have layout and charset match MS.NET
750 * DISPPARAMS.cs: have layout and charset match MS.NET
751 * ELEMDESC.cs: have layout and charset match MS.NET
752 * EXCEPINFO.cs: have layout and charset match MS.NET
753 * IDLDESC.cs: have layout and charset match MS.NET
754 * PARAMDESC.cs: have layout and charset match MS.NET
755 * STATSTG.cs: have layout and charset match MS.NET
756 * TYPEATTR.cs: have layout and charset match MS.NET
757 * TYPEDESC.cs: have layout and charset match MS.NET
758 * TYPELIBATTR.cs: have layout and charset match MS.NET
759 * VARDESC.cs: have layout and charset match MS.NET
761 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
763 * ArrayWithOffset.cs: fixed GetOffset to return int instead of
765 * CONNECTDATA.cs: added missing MarshalAs attribute
766 * EXCEPINFO.cs: added missing MarshalAs attributes
767 * ITypeLibConverter.cs: added missing MarshalAs attributes
768 * ITypeLibImporterNotifySink.cs: added missing MarshalAs attributes
769 * Marshal.cs: added missing MarshalAs attributues, and missing
771 * TypeLibConverter.cs: added missing MarshalAs attributes
772 * UCOMIBindCtx.cs: added missing MarshalAs attributes
773 * UCOMIConnectionPoint.cs: added missing MarshalAs attributes
774 * UCOMIEnumConnectionPoints.cs: added missing MarshalAs attributes
775 * UCOMIEnumConnections.cs: added missing PreserveSig attributes,
776 added missing MarshalAs attributes
777 * UCOMIEnumMoniker.cs: added missing PreserveSig attributes,
778 added missing MarshalAs attributes
779 * UCOMIEnumString.cs: added missing PreserveSig attributes,
780 added missing MarshalAs attributes
781 * UCOMIMoniker.cs: added missing MarshalAs attributes
782 * UCOMIPersistFile.cs: added missing PreserveSig attribute,
783 added missing MarshalAs attributes
784 * UCOMIRunningObjectTable.cs: added missing MarshalAs attributes
785 * UCOMIStream.cs: added missing MarshalAs attributes
786 * UCOMITypeComp.cs: added missing MarshalAs attributes
787 * UCOMITypeInfo.cs: added missing MarshalAs attributes
788 * UCOMITypeLib.cs: added missing PreserveSig attributes, added
789 missing MarshalAs attributes
791 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
793 * MarshalDirectiveException.cs: marked serializable to match MS.NET
794 * SafeArrayRankMismatchException.cs: marked serializable to match
796 * SafeArrayTypeMismatchException.cs: marked serializable to match
799 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
801 * InvalidComObjectException.cs: marked serializable to match MS.NET
802 * InvalidOleVarianTypeException.cs: marked serializable to match
805 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
807 * BestFitMappingAttribute.cs: removed serializable attribute
810 2004-05-30 Gert Driesen (drieseng@users.sourceforge.net)
812 * SetWin32ContextInIDispatchAttribute.cs: only build
814 * VariantWrapper.cs: only build for NET_2_0 profile
816 2004-05-29 Gert Driesen (drieseng@users.sourceforge.net)
818 * SetWin32ContextInIDispatchAttribute.cs: added
819 * VariantWrapper.cs: added
821 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
823 * AutomationProxyAttribute.cs
824 * BestFitMappingAttribute.cs
825 * ClassInterfaceAttribute.cs
826 * CoClassAttribute.cs
827 * ComAliasNameAttribute.cs
828 * ComCompatibleVersionAttribute.cs
829 * ComConversionLossAttribute.cs
830 * ComEventInterfaceAttribute.cs
831 * ComImportAttribute.cs
832 * ComRegisterFunctionAttribute.cs
833 * ComSourceInterfaceAttribute.cs
834 * ComUnregisterFunctionAttribute.cs
837 * DllImportAttribute.cs
838 * FieldOffsetAttribute.cs
840 * IDispatchImplAttribute.cs
841 * ImportedFromTypeLibAttribute.cs
843 * InterfaceTypeAttribute.cs
844 * LCIDConversionAttribute.cs
845 * MarshalAsAttribute.cs
846 * OptionalAttribute.cs
848 * PreserveSigAttribute.cs
849 * PrimaryInteropAssemblyAttribute.cs
851 * StructLayoutAttribute.cs
852 * TypeLibFuncAttribute.Cs
853 * TypeLibTypeAttribute.cs
854 * TypeLibVarAttribute.cs
855 * TypeLibVersionAttribute.cs now that Inherited is
856 false by default on AttributeUsageAttribute (as it
857 should be) we need to explicitly set Inherited to
858 false for those attributes should where it should be
861 2004-05-06 Mike Shaver <shaver@off.net>
862 * Marshal.cs: Implement StringToCoTaskMem{Ansi,Uni}
864 2004-05-05 Zoltan Varga <vargaz@freemail.hu>
866 * Marshal.cs: Applied patch from vladimir@pobox.com (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.
868 2004-01-30 Zoltan Varga <vargaz@freemail.hu>
870 * Marshal.cs: Implement AllocCoTaskMem and FreeCoTaskMem.
872 2003-11-26 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
874 * DispatchWrapper.cs: Added and implemented
875 * ErrorWrapper.cs: Fixed bug
876 * Marshal.cs: Added missing members
878 2003-11-18 Jackson Harper <jackson@ximian.com>
880 * CurrencyWrapper.cs: Fix file name.
882 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
884 * BestFitMappingAttribute.cs: Signature fix
885 * Marshal.cs: Add attribute, fix signatures
886 * MarshalAsAttribute.cs: Add head, add entry
887 * DllImportAttribute.cs: Added v1.1 entries
888 * TypeLibConverter.cs: Added, stubbed
889 * RegistrationServices.cs: Added, stubbed
890 * ExtensibleClassFactory.cs: Added, stubbed
891 * ErrorWrapper.cs: Added, implemented
892 * CurrencyWrapper.cs: Added, implemented
894 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
896 * IRegistrationServices.cs:
897 * ITypeLibConverter.cs:
898 * ITypeLibExporterNameProvider.cs:
899 * ITypeLibExporterNotifySink.cs:
900 * ITypeLibImporterNotifySink.cs: Added missing attribute
901 * UCOMIBindCtx.cs: Added missing attribute, fixed in attribute
902 * UCOMIConnectionPoint.cs:
903 * UCOMIConnectionPointContainer.cs:
904 * UCOMIEnumConnectionPoints.cs:
905 * UCOMIEnumConnections.cs:
906 * UCOMIEnumMoniker.cs:
907 * UCOMIEnumString.cs:
908 * UCOMIEnumVARIANT.cs:
910 * UCOMIPersistFile.cs:
911 * UCOMIRunningObjectTable.cs:
915 * UCOMITypeLib.cs: Added missing attribute
917 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
919 * UCOMIBindCtx.cs: Added and implemented
920 * UCOMIConnectionPoint.cs: Added and implemented
921 * UCOMIConnectionPointContainer.cs: Added and implemented
922 * UCOMIEnumConnectionPoints.cs: Added and implemented
923 * UCOMIEnumConnections.cs: Added and implemented
924 * UCOMIEnumMoniker.cs: Added and implemented
925 * UCOMIEnumString.cs: Added and implemented
926 * UCOMIEnumVARIANT.cs: Added and implemented
927 * UCOMIMoniker.cs: Added and implemented
928 * UCOMIPersistFile.cs: Added and implemented
929 * UCOMIRunningObjectTable.cs: Added and implemented
930 * UCOMIStream.cs: Added and implemented
932 * UCOMTypeComp.cs: renamed
933 * UCOMTypeInfo.cs: renamed
934 * UCOMTypeLib.cs: renamed
936 * ITypeLibConverter.cs: Fixed interface signature
938 * ComSourceInterfacesAttribute.cs: Added and implemented
939 * IDispatchImplAttribute.cs: Added and implemented
940 * InvalidComObjectException.cs: Added and implemented
941 * InvalidOleVariantTypeException.cs: Added and implemented
942 * MarshalDirectiveException.cs: Added and implemented
943 * SafeArrayRankMismatchException.cs: Added and implemented
944 * SafeArrayTypeMismatchException.cs: Added and implemented
945 * SEHException.cs: Added attribute
946 * UnknownWrapper.cs: Added and implemented
959 * VARDESC.cs: Added and implemented
964 * IDispatchImplType.cs:
971 * TypeLibImporterFlags.cs:
972 * VARFLAGS.cs: Added and implemented
974 2003-07-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
976 * ComCompatibleVersionAttribute.cs: Added and implemented
977 * TypeLibVersionAttribute.cs: Added and implemented
979 Wed Jun 18 12:49:54 CEST 2003 Paolo Molaro <lupus@ximian.com>
981 * Marshal.cs: implemented Prelink with icalls.
983 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
985 * RuntimeEnvironment.cs: New file. Stubbed by Dominik Fretz
988 2003-03-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
990 * ExternalException.cs: doesn't need a field to keep the result code.
991 * SEHException.cs: implemented.
993 2003-03-03 Tim Coleman <tim@timcoleman.com>
994 * HandleRef.cs: Add this struct
996 2003-01-05 Sebastien Pouliot <spouliot@videotron.ca>
998 * COMException.cs: New. Minimal (incomplete - i'm not using COM)
999 implementation because this is thrown when dealing with Software
1000 Publisher Certificates (SPC) in X509Certificate.
1002 2002-08-22 Nick Drochak <ndrochak@gol.com>
1004 * OutAttribute.cs: TypeID isn't overriden from Attribute here.
1005 * PInvokeMap.cs: Non-existent enum. Must be from beta days.
1007 2002-06-24 root <dietmar@ximian.com>
1009 * Marshal.cs: impl. Copy()
1011 Fri Jun 14 16:18:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
1013 * UnmanagedType.cs, Marshal.cs: minor fixes.
1015 Wed Jun 12 16:32:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
1017 * Marshal.c: stubbed out all the methods and filled in some
1019 * BINDPTR.cs, ComMemberType.cs, DESCKIND.cs, DISPPARAMS.cs,
1020 EXCEPINFO.cs, INVOKEKIND.cs, TYPEKIND.cs, UCOMTypeInfo.cs,
1021 UCOMTypeLib.cs: enums, interfaces and structs needed in Marshal class.
1023 Tue Jun 4 18:05:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
1025 * GCHandle.cs: changed to fit spec and implementation needs.
1027 Tue May 14 16:35:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
1029 * CharSet.cs: added missing None enum item.
1031 2002-04-26 Joe Shaw <joe@ximian.com>
1033 * Marshal.cs (StructureToPtr): stub this out.
1035 2002-04-23 Joe Shaw <joe@ximian.com>
1037 * Marshal.cs: Stub out a few functions to get gtk# to build.
1039 2002-04-22 Duncan Mak <duncan@ximian.com>
1041 * ImporterEventKind.cs:
1042 * TypeLibFuncFlags.cs:
1043 * TypeLibTypeFlags.cs:
1044 * TypeLibVarFlags.cs: Fixed various typos and added missing elements.
1046 * ComConventionLossAttribute.cs: Removed, there's a typo.
1047 * ComConversionLossAttribute.cs: Same attribute, slight change of name.
1049 * PreserveSigAttribute.cs:
1050 * ImportedFromTypeLibAttribute.cs: Added missing AttributeUsage
1053 * TypeLibFuncAttribute.cs:
1054 * TypeLibTypeAttribute.cs:
1055 * TypeLibVarAttribute.cs: Added missing constructors.
1058 2002-04-22 Duncan Mak <duncan@ximian.com>
1060 * AutomationProxyAttribute.cs:
1061 * CoClassAttribute.cs:
1062 * ComAliasNameAttribute.cs:
1063 * ComConventionLossAttribute.cs:
1064 * ComEventInterfaceAttribute.cs:
1065 * ComImportAttribute.cs:
1066 * ComRegisterFunctionAttribute.cs:
1067 * ComUnregisterFunctionAttribute.cs:
1068 * DispIdAttribute.cs:
1069 * ImportedFromTypeLibAttribute.cs:
1070 * LCIDConversionAttribute.cs:
1071 * PreserveSigAttribute.cs:
1072 * PrimaryInteropAssemblyAttribute.cs:
1073 * ProgIdAttribute.cs:
1074 * TypeLibFuncAttribute.cs:
1075 * TypeLibFuncFlags.cs:
1076 * TypeLibTypeAttribute.cs:
1077 * TypeLibTypeFlags.cs:
1078 * TypeLibVarAttribute.cs:
1079 * TypeLibVarFlags.cs: Added to CVS.
1081 2002-04-08 Nick Drochak <ndrochak@gol.com>
1083 * Marshal.cs: Make class public.
1084 * ComVisible.cs: New File.
1086 2002-03-24 Nick Drochak <ndrochak@gol.com>
1088 * ClassInterfaceAttribute.cs:
1089 * ClassInterfaceType.cs: New Files.
1091 2002-02-27 Duncan Mak <duncan@ximian.com>
1093 * ExporterEventKind.cs:
1094 * ITypeLibConverter.cs:
1095 * ITypeLibImporterNotifySink.cs: Added to CVS for Kevin Winchester <kwin@ns.sympatico.ca>.
1097 2002-02-26 Duncan Mak <duncan@ximian.com>
1099 * ComInterfaceType.cs: Added to CVS.
1101 * AssemblyRegistrationFlags.cs:
1103 * ICustomAdapter.cs:
1104 * ICustomFactory.cs:
1105 * ICustomMarshaler.cs:
1106 * IRegistrationServices.cs:
1107 * ITypeLibExporterNameProvider.cs:
1108 * ITypeLibImporterNotifySink.cs:
1109 * InterfaceTypeAttribute.cs:
1110 * TypeLibExporterFlags.cs: Committed for Kevin Winchester <kwin@ns.sympatico.ca>.
1112 * GCHandle.cs: Added to CVS. Patch from Ajay kumar Dwivedi.
1114 * GCHandleType.cs: Committed patch from Ajay.
1116 * ImporterEventKind.cs: Added to CVS.
1118 2002-01-24 Miguel de Icaza <miguel@ximian.com>
1120 * StructLayoutAttribute.cs: Flag attribute as targetting structs
1123 * InAttribute.cs: Flag attribute as targettting a paramter
1125 * OutAttribute.cs: ditto.
1127 * DllImportAttribute.cs: Flag attribute as targetting methods.
1129 * MarshalAsAttribute.cs: Flag attribute as targetting fields,
1130 parameters and returnvalues.
1132 2002-01-23 Dick Porter <dick@ximian.com>
1134 * Marshal.cs: Added GetLastWin32Error()
1136 * ExternalException.cs: Implemented
1138 2002-01-17 Miguel de Icaza <miguel@ximian.com>
1140 * ExternalException.cs: Add ExternalException.
1142 2002-01-05 Ravi Pratap <ravi@ximian.com>
1144 * OutAttribute.cs : Decorate with MonoTODO.
1146 Thu Dec 20 15:46:31 CET 2001 Paolo Molaro <lupus@ximian.com>
1148 * FieldOffsetAttribute.cs, InAttribute.cs, MarshalAsAttribute.cs,
1149 OptionalAttribute.cs, StructLayoutAttribute.cs, VarEnum.cs:
1150 more stuff needed by the compiler.
1152 Thu Dec 13 20:22:18 CET 2001 Paolo Molaro <lupus@ximian.com>
1154 * DllImportAttribute.cs: added.
1155 * MethodImplOptions.cs: removed: this is already in CompilerServices.
1157 Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <lupus@ximian.com>
1159 * CallingConvention.cs: add missing Winapi.
1161 2001-07-20 Miguel de Icaza <miguel@ximian.com>
1163 * OutAttribute.cs: New file.
1165 2001-07-18 Michael Lambert <michaellambert@email.com>
1167 * CallingConvention.cs.cs, CharSet.cs, GCHandleType.cs, LayoutKind.cs: Add.