1 2009-11-08 Miguel de Icaza <miguel@novell.com>
3 * Marshal.cs: Expose copy_*_unamnaged to SafeBuffer.
5 * SafeBuffer.cs: Update SafeBufer implementation
7 2009-11-02 Miguel de Icaza <miguel@novell.com>
9 * Jumbo NET_2_0 removal patch.
11 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
13 * GCHandle.cs: Add missing validations
15 2009-09-22 Sebastien Pouliot <sebastien@ximian.com>
17 * _Assembly.cs: Remove Evidence and GlobalAssemblyCache
18 properties for NET_2_1
19 * Marshal.cs: Avoid depending on SecureString for NET_2_1
21 2009-09-20 Sebastien Pouliot <sebastien@ximian.com>
23 * MarshalAsAttribute.cs: Remove VarEnum field for NET_2_1
25 2009-09-19 Sebastien Pouliot <sebastien@ximian.com>
27 * Marshal.cs: Avoid depending on COM stuff for NET_2_1
29 2009-09-04 Zoltan Varga <vargaz@gmail.com>
31 * SafeBuffer.cs: Mark specific methods as non-cls compliant instead of
34 * SafeBuffer.cs: New net 4.0 class.
36 2009-04-17 Tom Hindle <tom_hindle@sil.org>
38 * Marshal.cs: Improved GetExceptionForHR to return real C# exceptions in
39 certain cases instead of always COMException.
41 2009-02-24 Sebastien Pouliot <sebastien@ximian.com>
43 * SafeHandle.cs: Add default ctor in 2.1 profile (needed to compile
44 new unit tests in moonlight).
46 2009-03-05 Tom Hindle <tom_hindle@sil.org>
48 * Marshal.cs: Implemented GenerateGuidForType
50 2008-06-21 Gert Driesen <drieseng@users.sourceforge.net>
52 * Marshal.cs: Fixed order of arguments for ArgumentException in
53 GetComSlotForMethodInfo.
55 2008-06-19 Kornél Pál <kornelpal@gmail.com>
57 * Marshal.cs: Implement GetHINSTANCE.
59 2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
69 * BestFitMappingAttribute.cs
70 * Marshal.cs: Fix parameter names
72 2008-02-20 Zoltan Varga <vargaz@gmail.com>
74 * Marshal.cs (GetDelegateForFunctionPointer): Add a nullref check.
76 2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
78 * COMException.cs: Fix new-line literal and use of "" detected by
81 2008-01-13 Gert Driesen <drieseng@users.sourceforge.net>
83 * COMException.cs: Added missing colon in ToString.
85 2007-12-04 Gert Driesen <drieseng@users.sourceforge.net>
87 * ExternalException.cs: Set HResult to match MS.
89 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
91 * ComVisible.cs: Fix parameter name (part of #322850).
93 2007-09-14 Zoltan Varga <vargaz@gmail.com>
95 * GCHandle.cs (AddrOfPinnedObject): Use -2 to communicate that the handle is not
96 pinned. Correct exception message. Fixes #82848.
98 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
100 * SafeHandle.cs CriticalHandle.cs TypeLibImporterFlags.cs
101 RegistrationClassContext.cs ArrayWithOffset.cs :
102 * ComObjectInUseException.cs ExposeAsClassToComAttribute.cs :
103 removed obsoleted files.
105 2007-07-18 Miguel de Icaza <miguel@novell.com>
107 * SafeHandle.cs: Harden this, do not call ReleaseHandle if the
110 * CriticalHandle.cs: Harden this, do not call ReleaseHandle if the
113 2007-07-06 Jonathan Chambers <joncham@gmail.com>
115 * ExtensibleClassFactory.cs: Fix ExtensibleClassFactory.
117 2007-06-22 Jonathan Chambers <joncham@gmail.com>
119 * Marshal.cs (ThrowExceptionForHR): Implement/consolidate.
120 * Marshal.cs (GetExceptionForHR): Implement/consolidate.
122 2007-05-11 Jonathan Chambers <joncham@gmail.com>
124 * Marshal.cs (SecureStringToBSTR): BSTR header is size in bytes,
127 2007-05-02 Jonathan Chambers <joncham@gmail.com>
129 * ExtensibleClassFactory.cs: Don't use un-implemented overload.
131 2007-05-02 Dick Porter <dick@ximian.com>
133 * _ConstructorInfo.cs:
143 * AutomationProxyAttribute.cs:
144 * BestFitMappingAttribute.cs:
146 * ClassInterfaceAttribute.cs:
147 * CoClassAttribute.cs:
148 * ComAliasNameAttribute.cs:
149 * ComCompatibleVersionAttribute.cs:
150 * ComConversionLossAttribute.cs:
151 * ComDefaultInterfaceAttribute.cs:
152 * ComEventInterfaceAttribute.cs:
154 * ComImportAttribute.cs:
155 * ComObjectInUseException.cs:
156 * ComRegisterFunctionAttribute.cs:
157 * ComUnregisterFunctionAttribute.cs:
160 * CurrencyWrapper.cs:
161 * DefaultCharSetAttribute.cs:
162 * DispatchWrapper.cs:
163 * DispIdAttribute.cs:
165 * ExtensibleClassFactory.cs:
166 * ExternalException.cs:
169 * StructLayoutAttribute.cs:
170 * TypeLibConverter.cs:
171 * ArrayWithOffset.cs:
182 * CallingConvention.cs:
184 * ClassInterfaceType.cs:
185 * ComInterfaceType.cs:
188 * ExporterEventKind.cs:
190 * RegistrationClassContext.cs:
192 * TypeLibImporterFlags.cs:
194 * VARFLAGS.cs: Update to 2.0 profile
196 2007-04-15 Alp Toker <alp@atoker.com>
198 * Marshal.cs: Add new 2.0 Copy() from IntPtr[] overload.
200 2007-03-12 Raja R Harinath <rharinath@novell.com>
202 * DefaultParameterValueAttribute.cs: Move to System.dll.
204 2007-02-08 Jonathan Chambers <joncham@gmail.com>
206 * Marshal.cs: Throw exceptions for AddRef, Release,
207 and QueryInterface in managed code. Implement GetComInterfaceForObject,
208 GetIDispatchForObject, GetIUnknownForObject, GetObjectForIUnknown,
209 GetObjectsForNativeVariants, IsComObject, ReleaseComObject, and
210 FinalReleaseComObject. Unimplement GetComObjectData and SetComObjectData
211 for now to save space and simplify __ComObject for now. MSDN states the
212 user should never call these methods anyway.
214 2007-01-29 Marek Habersack <grendello@gmail.com>
216 * Marshal.cs: Implement a missing Marshal.Copy overload.
218 2007-01-11 Jonathan Chambers <joncham@gmail.com>
220 * Marshal.cs: Implement Marshal.ReAllocCoTaskMem.
222 2007-01-03 Miguel de Icaza <miguel@novell.com>
224 * SafeHandle.cs: Do not use locks in SafeHandle to protect the
225 access to the refcount, use Interlocked.CompareExchange. The
226 locks were the source of problems with domain finalization when
227 this code was enabled.
229 This should fix Matt Hargett's bug report with a full `make check'
230 that reported variations of:
232 ** (../../class/lib/net_2_0/nunit-console.exe:29644): WARNING **:
233 Finalization of domain <domainname> timed out.
235 Also, it is a lot lighther.
237 2006-12-21 Miguel de Icaza <miguel@novell.com>
239 * CriticalHandle.cs: Add Dispose(bool disposing) method, and
242 2006-12-15 Gert Driesen <drieseng@users.sourceforge.net>
244 * Marshal.cs: Use SystemDefaultCharSize to determine whether to
245 use Ansi or Unicode variant of StringToCoTaskMem.
247 2006-12-15 Miguel de Icaza <miguel@novell.com>
249 * Marshal.cs (SecureStringToCoTaskMemAnsi, SecureStringToBSTR,
250 SecureStringToCoTaskMemUnicode, ZeroFreeCoTaskMemAnsi,
251 ZeroFreeCoTaskMemUnicode, ZeroFreeGlobalAllocAnsi,
252 ZeroFreeGlobalAllocUnicode): Implement.
254 (StringToCoTaskAuto): return the same as Ansi.
256 The ANSI code is out of sync with Mono, which treats ANSI as
259 Code formatting changes
261 2006-12-11 Miguel de Icaza <miguel@novell.com>
263 * SafeHandle.cs: Fix a handful of bugs, and add tests for them.
264 Only release the handle if its owned by us. Also throw
265 ObjectDisposedException's
269 DangerousAddRef will now throw an exception if the object was
272 2006-12-02 Miguel de Icaza <miguel@novell.com>
274 * SafeHandle.cs: Implement this class.
276 2006-10-06 Jonathan Chambers <joncham@gmail.com>
278 * ExtensibleClassFactory.cs: Implement RegisterObjectCreationCallback.
280 2006-08-31 Robert Jordan <robertj@gmx.net>
282 * Marshal.cs: Replaced the *Auto internal calls with managed
283 variants. Fixed SystemDefaultCharSize to return an OS dependent
286 2006-08-09 Jonathan Chambers <joncham@gmail.com>
288 * Marshal.cs: Implement GetIDispatchForObject.
290 2006-08-07 Gert Driesen <drieseng@users.sourceforge.net>
292 * Marshal.cs: Added stubs for GetTypeLibGuid (ITypeLib), GetTypeLibLcid
293 (ITypeLib), GetTypeLibName (ITypeLib).
295 2006-07-28 Jonathan Chambers <joncham@gmail.com>
297 * Marshal.cs: Implemented CreateWrapperOfType and ReleaseComObject.
299 2006-07-15 Jonathan Chambers <joncham@gmail.com>
301 * Marshal.cs: Begin implementing COM Interop. Implemented
302 AddRef, GetComInterfaceForObject, GetComObjectData, GetIUnknownForObject,
303 GetObjectForIUnknown, GetTypedObjectForIUnknown, IsComObject, QueryInterface
304 Release, SetComObjectData, and ThrowExceptionForHR.
306 2006-06-07 Jonathan Chambers <jonathan.chambers@ansys.com>
308 * Marshal.cs: Implement GetComSlotForMethodInfo
310 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
312 * Marshal.cs: Implement VARIANT marshalling methods
314 2006-05-20 Zac Bowling <zac@zacbowling.com>
315 * VarEnum.cs: ComVisible Attribute (2.0)
316 * InterfaceTypeAttribute.cs: ComVisible Attribute (2.0)
317 * UCOMITypeInfo.cs: ComImport Attribute (1.x)
318 * UCOMITypeComp.cs: ComImport Attribute (1.x)
319 * MarshalAsAttribute.cs: ComVisible Attribute (2.0)
320 * StructLayoutAttribute.cs: ComVisible Attribute (2.0)
321 * ProgIdAttribute.cs: ComVisible Attribute (2.0)
322 * PrimaryInteropAssemblyAttribute.cs: ComVisible Attribute (2.0)
323 * ImporterEventKind.cs: ComVisible Attribute (2.0)
324 * UCOMIPersistFile.cs: ComImport Attribute (1.x)
325 * SetWin32ContextInIDispatchAttribute.cs: Obselete and ComVisible
327 * IRegistrationServices.cs: ComVisible Attribute and CAS Attributes (2.0)
328 * InAttribute.cs: ComVisible Attribute (2.0)
329 * UCOMIMoniker.cs: ComImport Attribute (1.x)
330 * MarshalDirectiveException.cs: ComVisible Attribute (2.0)
331 * IDLDESC.cs: ComVisible Attribute (1.x)
332 * FUNCFLAGS.cs: ComVisible Attribute (1.x)
333 * UCOMIConnectionPointContainer.cs: ComImport Attribute (1.x)
334 * TypeLibExporterFlags.cs: ComVisible Attribute (2.0)
335 * ICustomMarshaler.cs: ComVisible Attribute (2.0)
336 * LayoutKind.cs: ComVisible Attribute (2.0) + Serializable + Clean
337 * ICustomAdapter.cs: ComVisible Attribute (2.0)
338 * UnmanagedFunctionPointerAttribute.cs: ComVisible Attribute and Param
339 Signature of UnmanagedFunctionPointerAttribute(...)
340 * FUNCKIND.cs: ComVisble Attribute (1.x)
341 * TypeLibVersionAttribute.cs: ComVisible Attribute (2.0) + Missing in
343 * TypeLibVarAttribute.cs: ComVisible Attribute (2.0)
344 * ITypeLibConverter.cs: ComVisible Attribute (2.0)
345 * UCOMIRunningObjectTable.cs: ComImport Attribute (1.x)
346 * IDispatchImplAttribute.cs: Obsolete + ComVisible Attribute (2.0)
347 * ITypeLibImporterNotifySink.cs: ComVisible Attribute (2.0)
348 * PreserveSigAttribute.cs: ComVisible Attribute (2.0)
349 * SYSKIND.cs: ComVisible Attribute (1.x)
350 * UCOMIEnumVARIANT.cs: ComImport Attribute (1.x)
351 * UCOMIEnumString.cs: ComImport Attribute (1.x) and Expose to 1.x (not
352 a 2.0 exclusive class)
353 * OutAttribute.cs: ComVisible Attribute (2.0)
354 * InvalidComObjectException.cs: ComVisible Attribute (2.0)
355 * SEHException.cs: ComVisible Attribute (2.0)
356 * UCOMIConnectionPoint.cs: ComImport Attribute (1.x)
357 * TypeLibImporterFlags.cs: ComVisible Attribute (2.0) and
359 * OptionalAttribute.cs: ComVisible Attribute (2.0)
360 * TYPEDESC.cs: ComVisible Attribute (1.x)
361 * UCOMIEnumMoniker.cs: ComImport Attribute (1.x) and Expose to 1.x
362 (not a 2.0 exclusive class)
363 * TypeLibTypeFlags.cs: ComVisible Attribute (2.0)
364 * ITypeLibExporterNotifySink.cs: ComVisible Attribute (2.0)
365 * HandleRef.cs: ComVisible.cs and add ToIntPtr (2.0)
366 * DllImportAttribute.cs: ComVisible Attribute (2.0)
367 * TypeLibTypeAttribute.cs: ComVisible Attribute (2.0)
368 * UnknownWrapper.cs: Serializable, ComVisible Attribute (2.0)
369 * IDFLAGS.cs: ComVisible Attribute (1.x only)
370 * RegistrationClassContext.cs: License + Flags attribute (2.0)
371 * GCHandle.cs: ComVisible Attribute + Operator Overrides (2.0)
372 * TypeLibImportClassAttribute.cs: ComVisible Attribute (2.0)
373 * IMPLYTPEFLAGS.cs: ComVisible Attribute (1.x)
374 * ImportedFromTypeLibAttribute.cs: ComVisible (2.0)
375 * UCOMIBindCtx.cs: Obsolete Attribute (2.0)
376 * FUNCDESC.cs: ComVisible Attribute (1.x)
377 * RegistrationConnectionType.cs: Flags Attribute (2.0)
378 * IDispatchImplType.cs: Obsolete + ComVisible Attribute (2.0)
379 * TypeLibConverter.cs: ComVisible (2.0)
380 * INVOKEKIND.cs: ComVisible Attribute (1.x)
381 * GCHandleType.cs: ComVisible Attribute (2.0) + Serializable
382 * ICustomFactory.cs: ComVisible Attribute (2.0)
383 * FieldOffsetAttribute.cs: ComVisible Attribute (2.0)
384 * LIBFLAGS.cs: ComVisible Attribute (1.x)
385 * ComSourceInterfacesAttributes.cs: ComVisible Attribute (2.0)
386 * STATSTG.cs: ComVisible Attribute (1.x)
387 * InvalidOleVariantTypeException.cs: ComVisible Attribute (2.0)
388 * TypeLibVarFlags.cs: ComVisible Attribute (2.0)
389 * TYPEFLAGS.cs: ComVisible Attribute (1.x)
390 * SafeArrayRankMismatchException.cs: ComVisible Attribute (2.0)
391 * TYPEATTR.cs: ComVisible Attribute (1.x)
392 * GuidAttribute.cs: ComVisible Attribute (2.0)
393 * UCOMIEnumConnectionPoints.cs: ComImport Attribute (1.x) + Expose to
394 1.x (not a 2.0 exclusive)
395 * SafeArrayTypeMismatchException.cs: ComVisible Attribute (2.0)
396 * ObjectCreationDelegate.cs: ComVisible Attribute (2.0)
397 * ITypeLibExporterNameProvider.cs: ComVisible Attribute (2.0) and
398 MarshelAs VarEnum Type.
399 * UCOMIStream.cs: ComImport Attribute (1.x)
400 * TypeLibFuncFlags.cs ComVisible Attribute (2.0)
401 * UnmanagedType.cs: ComVisible Attribute (2.0) + clean up
402 * UCOMIEnumConnections.cs: ComImport Attribute (1.0)
403 * LCIDConversionAttribute.cs: ComVisible Attribute (2.0)
404 * TypeLibFuncAttribute.cs: ComVisible Attribute (2.0)
406 2006-05-02 Jonathan Chambers <jonathan.chambers@ansys.com>
408 * Marshal.cs: Implement BSTR methods
410 2006-01-12 Ben Maurer <bmaurer@andrew.cmu.edu>
412 * SafeHandle.cs: Update to RTM api
414 2005-11-17 Zoltan Varga <vargaz@gmail.com>
416 * DefaultParameterValueAttribute.cs: New file.
418 2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
420 * Marshal.cs: Added null check in SecureStringTo* methods and make
421 them throw a NotSupportedException otherwise (as existing code must
422 deal with this anyway). Fixed Uni -> Unicode method name changes.
424 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
426 * UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
427 UCOMIConnectionPointContainer.cs, UCOMIEnumConnectionPoints.cs,
428 UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
429 UCOMIEnumVARIANT.cs, UCOMIMoniker.cs, UCOMIPersistFile.cs,
430 UCOMIRunningObjectTable.cs, UCOMIStream.cs, UCOMITypeComp.cs,
431 UCOMITypeInfo.cs, UCOMITypeLib.cs: Remove [ComImport] from the default
432 profile (this is new in 2.0) and reduce corcompare extras by 15.
434 2005-09-21 Kornél Pál <kornelpal@hotmail.com>
436 * UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
437 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, UnmanagedType.cs:
438 Removed UnmanagedType_80 that was required because mcs bug #75945
441 2005-08-12 Gert Driesen <drieseng@users.sourceforge.net>
443 * SetWin32ContextInIDispatchAttribute.cs: Make this attribute also
444 available in 1.0 profile (.NET 1.1).
445 * VariantWrapper.cs: Class is also exposed in .NET 1.1. Only
446 serializable in 2.0 profile.
448 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
450 * SafeHandle.cs: New file.
452 2005-08-06 Gert Driesen <drieseng@users.sourceforge.net>
454 * _Activator.cs: ComVisible should only be set in 2.0 profile.
455 Added TypeLibImportClass attribute.
456 * _Assembly.cs: ComVisible should only be set in 2.0 profile. Added
457 TypeLibImportClass attribute. Fixes InterfaceType to match MS.NET.
458 * _AssemblyBuilder.cs: ComVisible should only be set in 2.0 profile.
459 Added TypeLibImportClass attribute.
460 * _AssemblyName.cs: ComVisible should only be set in 2.0 profile.
461 Added TypeLibImportClass attribute.
462 * _Attribute.cs: ComVisible should only be set in 2.0 profile.
463 Added TypeLibImportClass attribute.
464 * _ConstructorBuilder.cs: ComVisible should only be set in 2.0 profile.
465 Added TypeLibImportClass attribute.
466 * _ConstructorInfo.cs: Fixed InterfaceType to match MS.NET. Added
467 TypeLibImportClass attribute. Added missing methods.
468 * _CustomAttributeBuilder.cs: ComVisible should only be set in 2.0 profile.
469 Added TypeLibImportClass attribute.
470 * _EnumBuilder.cs: ComVisible should only be set in 2.0 profile.
471 Added TypeLibImportClass attribute.
472 * _EventBuilder.cs: ComVisible should only be set in 2.0 profile.
473 Added TypeLibImportClass attribute.
474 * _EventInfo.cs: Fixed InterfaceType to match MS.NET. Added
475 TypeLibImportClass attribute. Added missing methods.
476 * _FieldBuilder.cs: ComVisible should only be set in 2.0 profile.
477 Added TypeLibImportClass attribute.
478 * _FieldInfo.cs: Fixed InterfaceType to match MS.NET. Added
479 TypeLibImportClass attribute. Added missing methods.
480 * _ILGenerator.cs: ComVisible should only be set in 2.0 profile.
481 Added TypeLibImportClass attribute.
482 * _LocalBuilder.cs: ComVisible should only be set in 2.0 profile.
483 Added TypeLibImportClass attribute.
484 * _MemberInfo.cs: Fixed InterfaceType to match MS.NET. Added
485 TypeLibImportClass attribute. Added missing methods.
486 * _MethodBase.cs: Fixed InterfaceType to match MS.NET. Added
487 TypeLibImportClass attribute. Added missing methods.
488 * _MethodInfo.cs: Fixed InterfaceType to match MS.NET. Added
489 TypeLibImportClass attribute. Added missing methods.
490 * _MethodBuilder.cs: ComVisible should only be set in 2.0 profile.
491 Added TypeLibImportClass attribute.
492 * _MethodRental.cs: ComVisible should only be set in 2.0 profile.
493 Added TypeLibImportClass attribute.
494 * _Module.cs: ComVisible should only be set in 2.0 profile.
495 Added TypeLibImportClass attribute.
496 * _ModuleBuilder.cs: ComVisible should only be set in 2.0 profile.
497 Added TypeLibImportClass attribute.
498 * _ParameterBuilder.cs: ComVisible should only be set in 2.0 profile.
499 Added TypeLibImportClass attribute.
500 * _ParameterInfo.cs: ComVisible should only be set in 2.0 profile.
501 Added TypeLibImportClass attribute.
502 * _PropertyBuilder.cs: ComVisible should only be setin 2.0 profile.
503 Added TypeLibImportClass attribute.
504 * _PropertyInfo.cs: Fixed InterfaceType to match MS.NET. Added
505 TypeLibImportClass attribute. Added missing methods.
506 * _SignatureHelper.cs: ComVisible should only be set in 2.0 profile.
507 Added TypeLibImportClass attribute.
508 * _Type.cs: Added TypeLibImportClass attribute. Fixed InterfaceType
509 to match MS.NET. Added missing method to match MS.NET.
510 * _Thread.cs: ComVisible should only be set in 2.0 profile.
511 Added TypeLibImportClass attribute.
512 * _TypeBuilder:cs: ComVisible should only be set in 2.0 profile.
513 Added TypeLibImportClass attribute.
514 * Marshal.cs: Removed MarshalAs attribute from parameter to fix
515 API compatibility with MS.NET.
516 * TypeLibImportClassAttribute.cs: Added.
518 2005-07-06 Zoltan Varga <vargaz@freemail.hu>
520 * GCHandle.cs: Add 2.0 FromIntPtr/ToIntPtr methods.
522 2005-06-08 Sebastien Pouliot <sebastien@ximian.com>
524 * RuntimeEnvironment.cs: I get better results when calling Demand.
526 2005-06-07 Sebastien Pouliot <sebastien@ximian.com>
528 * RuntimeEnvironment.cs: Implemented TODO. Added security for CAS.
530 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
532 * _Exception.cs: That one wasn't backported to 1.1 SP1 by MS. This
533 should fix a lot of extra reported in the API status pages.
535 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
537 * Marshal.cs: Add some missing 2.0 attributes.
539 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
542 * _ConstructorInfo.cs
550 * _Type.cs: Chance to .Net 1.1
553 * _AssemblyBuilder.cs
555 * _ConstructorBuilder.cs
556 * _CustomAttributeBuilder.cs
566 * _ParameterBuilder.cs
568 * _PropertyBuilder.cs
569 * _SignatureHelper.cs
571 * _TypeBuilder.cs: Added
573 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
575 * _Attribute.cs: New. Interface for attributes in 2.0.
577 2005-04-13 Marek Safar <marek.safar@seznam.cz>
579 * DefaultCharSetAttribute.cs: Removed useless using.
581 2005-03-31 Alp Toker <alp@atoker.com>
583 * GCHandle.cs: Clearer ArgumentException text in the case of a
584 null-valued IntPtr argument.
586 2005-03-04 Kazuki Oikawa <kazuki@panicode.com>
592 * ComDefaultInterfaceAttribute.cs
593 * ComObjectInUseException.cs
594 * ComSourceInterfacesAttribute.cs
597 * DefaultCharSetAttribute.cs
602 * ExposeAsClassToComAttribute.cs
613 * ITypeLibConverter.cs
614 * ITypeLibExporterNameProvider.cs
615 * ITypeLibExporterNotifySink.cs
619 * PrimaryInteropAssemblyAttribute.cs
627 * TypeLibExporterFlags.cs
628 * TypeLibImporterFlags.cs
630 * UCOMIConnectionPoint.cs
631 * UCOMIConnectionPointContainer.cs
632 * UCOMIEnumConnectionPoints.cs
633 * UCOMIEnumConnections.cs
634 * UCOMIEnumMoniker.cs
636 * UCOMIEnumVARIANT.cs
638 * UCOMIPersistFile.cs
639 * UCOMIRunningObjectTable.cs
644 * UnmanagedFunctionPointerAttribute.cs
647 * VariantWrapper.cs: Added missing attributes.
649 2005-03-03 Kazuki Oikawa <kazuki@panicode.com>
651 * _ConstructorInfo.cs
660 * ComDefaultInterfaceAttribute.cs
661 * ComObjectInUseException.cs
663 * DefaultCharSetAttribute.cs
664 * ExposeAsClassToComAttribute.cs
665 * RegistrationClassContext.cs
666 * RegistrationConnectionType.cs: Add
668 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
670 * UnmanagedFunctionPointerAttribute.cs: Add #region directives.
672 2005-02-21 Kazuki Oikawa <kazuki@panicode.com>
674 * BIND_OPTS.cs, CONNECTEDATA.cs, DISPPARAMS.cs, ELEMDESC.cs,
675 EXCEPINFO.cs, FILETIME.cs, FUNCDESC.cs, STATSTG.cs, TYPEATTR.cs,
676 TYPELIBATTR.cs, UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
677 UCOMIEnumConnectionPoints.cs, UCOMIEnumConnections.cs,
678 UCOMIEnumMoniker.cs, UCOMIEnumString.cs, UCOMIEnumVARIANT.cs,
679 UCOMIMoniker.cs, UCOMIPersistFile.cs, UCOMIRunningObjectTable.cs,
680 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, VARDESC.cs:
681 Corrected the order of the fields and the methods.
683 * BIND_OPTS.cs, CALLCONV.cs, FILETIME.cs, FUNCDESC.cs, FUNCFLAGS.cs,
684 FUNCKIND.cs, IDLFLAG.cs, IMPLTYPEFLAGS.cs, LIBFLAGS.cs, PARAMFLAG.cs,
685 STATSTG.cs, SYSKIND.cs, TYPEFLAGS.cs, VarEnum.cs, VARFLAGS.cs:
686 Added missing attributes.
688 Wed Feb 16 16:20:56 CET 2005 Paolo Molaro <lupus@ximian.com>
690 * GCHandle.cs: check the domain of an handle target is correct.
691 Make the unallocated value 0, since that is the default value
694 2005-02-10 Marek Safar <marek.safar@seznam.cz>
696 * TypeLibVarAttribute.cs,
697 * TypeLibTypeAttribute.cs,
698 * ComSourceInterfacesAttribute.cs: Fix AttributeUsage flags.
700 Sat Jan 29 12:48:03 CET 2005 Paolo Molaro <lupus@ximian.com>
702 * GCHandle.cs: update for runtime changes: the unallocated handle
705 2004-11-25 Raja R Harinath <rharinath@novell.com>
707 * UnmanagedType.cs (mono_bootstrap_NativeTypeMax): Rename from
708 __mono_bootstrap_NativeTypeMax. CSC doesn't like
709 [CLSCompliant(false)] on enum member.
711 2004-09-30 Zoltan Varga <vargaz@freemail.hu>
713 * Marshal.cs: Implement GetDelegateForFunctionPointer.
715 2004-09-29 Zoltan Varga <vargaz@freemail.hu>
717 * UnmanagedFunctionPointerAttribute.cs: New file.
719 * Marshal.cs: Make GetFunctionPointerForDelegate icall private.
721 * MarshalAsAttribute.cs: Add 2.0 IidParamIndex field.
723 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
725 * Marshal.cs: Add some ReliabilityContractAttributes.
727 * Marshal.cs (GetFunctionPointerForDelegate): Implement.
729 * Marshal.cs: Add stubs for missing 2.0 methods.
731 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
733 * DllImportAttribute.cs: Reorder fields and mark this class as visible
736 2004-09-08 Marek Safar <marek.safar@seznam.cz>
738 * Marshal.cs: Class is static in NET_2_0.
740 2004-07-29 Lluis Sanchez Gual <lluis@novell.com>
742 * RuntimeEnvironment.cs: Implemented SystemConfigurationFile and
745 Wed Jul 14 19:28:57 CEST 2004 Paolo Molaro <lupus@ximian.com>
747 * GCHandle.cs: throw exception if the result from AddrOfPinnedObject()
748 is -1 (special value returned by the runtime).
750 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
752 * _Exception.cs: New interface in Fx 2.0 to preserve member's order
755 2004-06-22 Raja R Harinath <rharinath@novell.com>
757 Fix bootstrap with mcs 0.31.
758 * UnmanagedType.cs (UnmanagedType.__mono_bootstrap_NativeTypeMax):
759 New bootstrap-only constant.
761 2004-06-18 Raja R Harinath <rharinath@novell.com>
763 Fix breaking build (see tests/test-272.cs). Since corlib is a
764 bootstrap library, we have to keep this fix even if the in-tree
765 mcs compiler is fixed.
766 * UCOMIEnumConnections.cs: Replace '(UnmanagedType) 80' in
767 attribute field initialization with Consts.UnmanagedType_80.
768 * UCOMIEnumMoniker.cs: Likewise.
769 * UCOMIEnumString.cs: Likewise.
770 * UCOMIStream.cs: Likewise.
771 * UCOMITypeInfo.cs: Likewise.
772 * UCOMITypeLib.cs: Likewise.
774 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
776 * BINDPTR.cs: have layout and charset match MS.NET
777 * CONNECTDATA.cs: have layout and charset match MS.NET
778 * DISPPARAMS.cs: have layout and charset match MS.NET
779 * ELEMDESC.cs: have layout and charset match MS.NET
780 * EXCEPINFO.cs: have layout and charset match MS.NET
781 * IDLDESC.cs: have layout and charset match MS.NET
782 * PARAMDESC.cs: have layout and charset match MS.NET
783 * STATSTG.cs: have layout and charset match MS.NET
784 * TYPEATTR.cs: have layout and charset match MS.NET
785 * TYPEDESC.cs: have layout and charset match MS.NET
786 * TYPELIBATTR.cs: have layout and charset match MS.NET
787 * VARDESC.cs: have layout and charset match MS.NET
789 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
791 * ArrayWithOffset.cs: fixed GetOffset to return int instead of
793 * CONNECTDATA.cs: added missing MarshalAs attribute
794 * EXCEPINFO.cs: added missing MarshalAs attributes
795 * ITypeLibConverter.cs: added missing MarshalAs attributes
796 * ITypeLibImporterNotifySink.cs: added missing MarshalAs attributes
797 * Marshal.cs: added missing MarshalAs attributues, and missing
799 * TypeLibConverter.cs: added missing MarshalAs attributes
800 * UCOMIBindCtx.cs: added missing MarshalAs attributes
801 * UCOMIConnectionPoint.cs: added missing MarshalAs attributes
802 * UCOMIEnumConnectionPoints.cs: added missing MarshalAs attributes
803 * UCOMIEnumConnections.cs: added missing PreserveSig attributes,
804 added missing MarshalAs attributes
805 * UCOMIEnumMoniker.cs: added missing PreserveSig attributes,
806 added missing MarshalAs attributes
807 * UCOMIEnumString.cs: added missing PreserveSig attributes,
808 added missing MarshalAs attributes
809 * UCOMIMoniker.cs: added missing MarshalAs attributes
810 * UCOMIPersistFile.cs: added missing PreserveSig attribute,
811 added missing MarshalAs attributes
812 * UCOMIRunningObjectTable.cs: added missing MarshalAs attributes
813 * UCOMIStream.cs: added missing MarshalAs attributes
814 * UCOMITypeComp.cs: added missing MarshalAs attributes
815 * UCOMITypeInfo.cs: added missing MarshalAs attributes
816 * UCOMITypeLib.cs: added missing PreserveSig attributes, added
817 missing MarshalAs attributes
819 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
821 * MarshalDirectiveException.cs: marked serializable to match MS.NET
822 * SafeArrayRankMismatchException.cs: marked serializable to match
824 * SafeArrayTypeMismatchException.cs: marked serializable to match
827 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
829 * InvalidComObjectException.cs: marked serializable to match MS.NET
830 * InvalidOleVarianTypeException.cs: marked serializable to match
833 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
835 * BestFitMappingAttribute.cs: removed serializable attribute
838 2004-05-30 Gert Driesen (drieseng@users.sourceforge.net)
840 * SetWin32ContextInIDispatchAttribute.cs: only build
842 * VariantWrapper.cs: only build for NET_2_0 profile
844 2004-05-29 Gert Driesen (drieseng@users.sourceforge.net)
846 * SetWin32ContextInIDispatchAttribute.cs: added
847 * VariantWrapper.cs: added
849 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
851 * AutomationProxyAttribute.cs
852 * BestFitMappingAttribute.cs
853 * ClassInterfaceAttribute.cs
854 * CoClassAttribute.cs
855 * ComAliasNameAttribute.cs
856 * ComCompatibleVersionAttribute.cs
857 * ComConversionLossAttribute.cs
858 * ComEventInterfaceAttribute.cs
859 * ComImportAttribute.cs
860 * ComRegisterFunctionAttribute.cs
861 * ComSourceInterfaceAttribute.cs
862 * ComUnregisterFunctionAttribute.cs
865 * DllImportAttribute.cs
866 * FieldOffsetAttribute.cs
868 * IDispatchImplAttribute.cs
869 * ImportedFromTypeLibAttribute.cs
871 * InterfaceTypeAttribute.cs
872 * LCIDConversionAttribute.cs
873 * MarshalAsAttribute.cs
874 * OptionalAttribute.cs
876 * PreserveSigAttribute.cs
877 * PrimaryInteropAssemblyAttribute.cs
879 * StructLayoutAttribute.cs
880 * TypeLibFuncAttribute.Cs
881 * TypeLibTypeAttribute.cs
882 * TypeLibVarAttribute.cs
883 * TypeLibVersionAttribute.cs now that Inherited is
884 false by default on AttributeUsageAttribute (as it
885 should be) we need to explicitly set Inherited to
886 false for those attributes should where it should be
889 2004-05-06 Mike Shaver <shaver@off.net>
890 * Marshal.cs: Implement StringToCoTaskMem{Ansi,Uni}
892 2004-05-05 Zoltan Varga <vargaz@freemail.hu>
894 * Marshal.cs: Applied patch from vladimir@pobox.com (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.
896 2004-01-30 Zoltan Varga <vargaz@freemail.hu>
898 * Marshal.cs: Implement AllocCoTaskMem and FreeCoTaskMem.
900 2003-11-26 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
902 * DispatchWrapper.cs: Added and implemented
903 * ErrorWrapper.cs: Fixed bug
904 * Marshal.cs: Added missing members
906 2003-11-18 Jackson Harper <jackson@ximian.com>
908 * CurrencyWrapper.cs: Fix file name.
910 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
912 * BestFitMappingAttribute.cs: Signature fix
913 * Marshal.cs: Add attribute, fix signatures
914 * MarshalAsAttribute.cs: Add head, add entry
915 * DllImportAttribute.cs: Added v1.1 entries
916 * TypeLibConverter.cs: Added, stubbed
917 * RegistrationServices.cs: Added, stubbed
918 * ExtensibleClassFactory.cs: Added, stubbed
919 * ErrorWrapper.cs: Added, implemented
920 * CurrencyWrapper.cs: Added, implemented
922 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
924 * IRegistrationServices.cs:
925 * ITypeLibConverter.cs:
926 * ITypeLibExporterNameProvider.cs:
927 * ITypeLibExporterNotifySink.cs:
928 * ITypeLibImporterNotifySink.cs: Added missing attribute
929 * UCOMIBindCtx.cs: Added missing attribute, fixed in attribute
930 * UCOMIConnectionPoint.cs:
931 * UCOMIConnectionPointContainer.cs:
932 * UCOMIEnumConnectionPoints.cs:
933 * UCOMIEnumConnections.cs:
934 * UCOMIEnumMoniker.cs:
935 * UCOMIEnumString.cs:
936 * UCOMIEnumVARIANT.cs:
938 * UCOMIPersistFile.cs:
939 * UCOMIRunningObjectTable.cs:
943 * UCOMITypeLib.cs: Added missing attribute
945 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
947 * UCOMIBindCtx.cs: Added and implemented
948 * UCOMIConnectionPoint.cs: Added and implemented
949 * UCOMIConnectionPointContainer.cs: Added and implemented
950 * UCOMIEnumConnectionPoints.cs: Added and implemented
951 * UCOMIEnumConnections.cs: Added and implemented
952 * UCOMIEnumMoniker.cs: Added and implemented
953 * UCOMIEnumString.cs: Added and implemented
954 * UCOMIEnumVARIANT.cs: Added and implemented
955 * UCOMIMoniker.cs: Added and implemented
956 * UCOMIPersistFile.cs: Added and implemented
957 * UCOMIRunningObjectTable.cs: Added and implemented
958 * UCOMIStream.cs: Added and implemented
960 * UCOMTypeComp.cs: renamed
961 * UCOMTypeInfo.cs: renamed
962 * UCOMTypeLib.cs: renamed
964 * ITypeLibConverter.cs: Fixed interface signature
966 * ComSourceInterfacesAttribute.cs: Added and implemented
967 * IDispatchImplAttribute.cs: Added and implemented
968 * InvalidComObjectException.cs: Added and implemented
969 * InvalidOleVariantTypeException.cs: Added and implemented
970 * MarshalDirectiveException.cs: Added and implemented
971 * SafeArrayRankMismatchException.cs: Added and implemented
972 * SafeArrayTypeMismatchException.cs: Added and implemented
973 * SEHException.cs: Added attribute
974 * UnknownWrapper.cs: Added and implemented
987 * VARDESC.cs: Added and implemented
992 * IDispatchImplType.cs:
999 * TypeLibImporterFlags.cs:
1000 * VARFLAGS.cs: Added and implemented
1002 2003-07-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1004 * ComCompatibleVersionAttribute.cs: Added and implemented
1005 * TypeLibVersionAttribute.cs: Added and implemented
1007 Wed Jun 18 12:49:54 CEST 2003 Paolo Molaro <lupus@ximian.com>
1009 * Marshal.cs: implemented Prelink with icalls.
1011 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1013 * RuntimeEnvironment.cs: New file. Stubbed by Dominik Fretz
1016 2003-03-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1018 * ExternalException.cs: doesn't need a field to keep the result code.
1019 * SEHException.cs: implemented.
1021 2003-03-03 Tim Coleman <tim@timcoleman.com>
1022 * HandleRef.cs: Add this struct
1024 2003-01-05 Sebastien Pouliot <spouliot@videotron.ca>
1026 * COMException.cs: New. Minimal (incomplete - i'm not using COM)
1027 implementation because this is thrown when dealing with Software
1028 Publisher Certificates (SPC) in X509Certificate.
1030 2002-08-22 Nick Drochak <ndrochak@gol.com>
1032 * OutAttribute.cs: TypeID isn't overriden from Attribute here.
1033 * PInvokeMap.cs: Non-existent enum. Must be from beta days.
1035 2002-06-24 root <dietmar@ximian.com>
1037 * Marshal.cs: impl. Copy()
1039 Fri Jun 14 16:18:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
1041 * UnmanagedType.cs, Marshal.cs: minor fixes.
1043 Wed Jun 12 16:32:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
1045 * Marshal.c: stubbed out all the methods and filled in some
1047 * BINDPTR.cs, ComMemberType.cs, DESCKIND.cs, DISPPARAMS.cs,
1048 EXCEPINFO.cs, INVOKEKIND.cs, TYPEKIND.cs, UCOMTypeInfo.cs,
1049 UCOMTypeLib.cs: enums, interfaces and structs needed in Marshal class.
1051 Tue Jun 4 18:05:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
1053 * GCHandle.cs: changed to fit spec and implementation needs.
1055 Tue May 14 16:35:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
1057 * CharSet.cs: added missing None enum item.
1059 2002-04-26 Joe Shaw <joe@ximian.com>
1061 * Marshal.cs (StructureToPtr): stub this out.
1063 2002-04-23 Joe Shaw <joe@ximian.com>
1065 * Marshal.cs: Stub out a few functions to get gtk# to build.
1067 2002-04-22 Duncan Mak <duncan@ximian.com>
1069 * ImporterEventKind.cs:
1070 * TypeLibFuncFlags.cs:
1071 * TypeLibTypeFlags.cs:
1072 * TypeLibVarFlags.cs: Fixed various typos and added missing elements.
1074 * ComConventionLossAttribute.cs: Removed, there's a typo.
1075 * ComConversionLossAttribute.cs: Same attribute, slight change of name.
1077 * PreserveSigAttribute.cs:
1078 * ImportedFromTypeLibAttribute.cs: Added missing AttributeUsage
1081 * TypeLibFuncAttribute.cs:
1082 * TypeLibTypeAttribute.cs:
1083 * TypeLibVarAttribute.cs: Added missing constructors.
1086 2002-04-22 Duncan Mak <duncan@ximian.com>
1088 * AutomationProxyAttribute.cs:
1089 * CoClassAttribute.cs:
1090 * ComAliasNameAttribute.cs:
1091 * ComConventionLossAttribute.cs:
1092 * ComEventInterfaceAttribute.cs:
1093 * ComImportAttribute.cs:
1094 * ComRegisterFunctionAttribute.cs:
1095 * ComUnregisterFunctionAttribute.cs:
1096 * DispIdAttribute.cs:
1097 * ImportedFromTypeLibAttribute.cs:
1098 * LCIDConversionAttribute.cs:
1099 * PreserveSigAttribute.cs:
1100 * PrimaryInteropAssemblyAttribute.cs:
1101 * ProgIdAttribute.cs:
1102 * TypeLibFuncAttribute.cs:
1103 * TypeLibFuncFlags.cs:
1104 * TypeLibTypeAttribute.cs:
1105 * TypeLibTypeFlags.cs:
1106 * TypeLibVarAttribute.cs:
1107 * TypeLibVarFlags.cs: Added to CVS.
1109 2002-04-08 Nick Drochak <ndrochak@gol.com>
1111 * Marshal.cs: Make class public.
1112 * ComVisible.cs: New File.
1114 2002-03-24 Nick Drochak <ndrochak@gol.com>
1116 * ClassInterfaceAttribute.cs:
1117 * ClassInterfaceType.cs: New Files.
1119 2002-02-27 Duncan Mak <duncan@ximian.com>
1121 * ExporterEventKind.cs:
1122 * ITypeLibConverter.cs:
1123 * ITypeLibImporterNotifySink.cs: Added to CVS for Kevin Winchester <kwin@ns.sympatico.ca>.
1125 2002-02-26 Duncan Mak <duncan@ximian.com>
1127 * ComInterfaceType.cs: Added to CVS.
1129 * AssemblyRegistrationFlags.cs:
1131 * ICustomAdapter.cs:
1132 * ICustomFactory.cs:
1133 * ICustomMarshaler.cs:
1134 * IRegistrationServices.cs:
1135 * ITypeLibExporterNameProvider.cs:
1136 * ITypeLibImporterNotifySink.cs:
1137 * InterfaceTypeAttribute.cs:
1138 * TypeLibExporterFlags.cs: Committed for Kevin Winchester <kwin@ns.sympatico.ca>.
1140 * GCHandle.cs: Added to CVS. Patch from Ajay kumar Dwivedi.
1142 * GCHandleType.cs: Committed patch from Ajay.
1144 * ImporterEventKind.cs: Added to CVS.
1146 2002-01-24 Miguel de Icaza <miguel@ximian.com>
1148 * StructLayoutAttribute.cs: Flag attribute as targetting structs
1151 * InAttribute.cs: Flag attribute as targettting a paramter
1153 * OutAttribute.cs: ditto.
1155 * DllImportAttribute.cs: Flag attribute as targetting methods.
1157 * MarshalAsAttribute.cs: Flag attribute as targetting fields,
1158 parameters and returnvalues.
1160 2002-01-23 Dick Porter <dick@ximian.com>
1162 * Marshal.cs: Added GetLastWin32Error()
1164 * ExternalException.cs: Implemented
1166 2002-01-17 Miguel de Icaza <miguel@ximian.com>
1168 * ExternalException.cs: Add ExternalException.
1170 2002-01-05 Ravi Pratap <ravi@ximian.com>
1172 * OutAttribute.cs : Decorate with MonoTODO.
1174 Thu Dec 20 15:46:31 CET 2001 Paolo Molaro <lupus@ximian.com>
1176 * FieldOffsetAttribute.cs, InAttribute.cs, MarshalAsAttribute.cs,
1177 OptionalAttribute.cs, StructLayoutAttribute.cs, VarEnum.cs:
1178 more stuff needed by the compiler.
1180 Thu Dec 13 20:22:18 CET 2001 Paolo Molaro <lupus@ximian.com>
1182 * DllImportAttribute.cs: added.
1183 * MethodImplOptions.cs: removed: this is already in CompilerServices.
1185 Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <lupus@ximian.com>
1187 * CallingConvention.cs: add missing Winapi.
1189 2001-07-20 Miguel de Icaza <miguel@ximian.com>
1191 * OutAttribute.cs: New file.
1193 2001-07-18 Michael Lambert <michaellambert@email.com>
1195 * CallingConvention.cs.cs, CharSet.cs, GCHandleType.cs, LayoutKind.cs: Add.