1 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
3 * GCHandle.cs: Add missing validations
5 2009-09-22 Sebastien Pouliot <sebastien@ximian.com>
7 * _Assembly.cs: Remove Evidence and GlobalAssemblyCache
9 * Marshal.cs: Avoid depending on SecureString for NET_2_1
11 2009-09-20 Sebastien Pouliot <sebastien@ximian.com>
13 * MarshalAsAttribute.cs: Remove VarEnum field for NET_2_1
15 2009-09-19 Sebastien Pouliot <sebastien@ximian.com>
17 * Marshal.cs: Avoid depending on COM stuff for NET_2_1
19 2009-09-04 Zoltan Varga <vargaz@gmail.com>
21 * SafeBuffer.cs: Mark specific methods as non-cls compliant instead of
24 * SafeBuffer.cs: New net 4.0 class.
26 2009-04-17 Tom Hindle <tom_hindle@sil.org>
28 * Marshal.cs: Improved GetExceptionForHR to return real C# exceptions in
29 certain cases instead of always COMException.
31 2009-02-24 Sebastien Pouliot <sebastien@ximian.com>
33 * SafeHandle.cs: Add default ctor in 2.1 profile (needed to compile
34 new unit tests in moonlight).
36 2009-03-05 Tom Hindle <tom_hindle@sil.org>
38 * Marshal.cs: Implemented GenerateGuidForType
40 2008-06-21 Gert Driesen <drieseng@users.sourceforge.net>
42 * Marshal.cs: Fixed order of arguments for ArgumentException in
43 GetComSlotForMethodInfo.
45 2008-06-19 Kornél Pál <kornelpal@gmail.com>
47 * Marshal.cs: Implement GetHINSTANCE.
49 2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
59 * BestFitMappingAttribute.cs
60 * Marshal.cs: Fix parameter names
62 2008-02-20 Zoltan Varga <vargaz@gmail.com>
64 * Marshal.cs (GetDelegateForFunctionPointer): Add a nullref check.
66 2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
68 * COMException.cs: Fix new-line literal and use of "" detected by
71 2008-01-13 Gert Driesen <drieseng@users.sourceforge.net>
73 * COMException.cs: Added missing colon in ToString.
75 2007-12-04 Gert Driesen <drieseng@users.sourceforge.net>
77 * ExternalException.cs: Set HResult to match MS.
79 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
81 * ComVisible.cs: Fix parameter name (part of #322850).
83 2007-09-14 Zoltan Varga <vargaz@gmail.com>
85 * GCHandle.cs (AddrOfPinnedObject): Use -2 to communicate that the handle is not
86 pinned. Correct exception message. Fixes #82848.
88 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
90 * SafeHandle.cs CriticalHandle.cs TypeLibImporterFlags.cs
91 RegistrationClassContext.cs ArrayWithOffset.cs :
92 * ComObjectInUseException.cs ExposeAsClassToComAttribute.cs :
93 removed obsoleted files.
95 2007-07-18 Miguel de Icaza <miguel@novell.com>
97 * SafeHandle.cs: Harden this, do not call ReleaseHandle if the
100 * CriticalHandle.cs: Harden this, do not call ReleaseHandle if the
103 2007-07-06 Jonathan Chambers <joncham@gmail.com>
105 * ExtensibleClassFactory.cs: Fix ExtensibleClassFactory.
107 2007-06-22 Jonathan Chambers <joncham@gmail.com>
109 * Marshal.cs (ThrowExceptionForHR): Implement/consolidate.
110 * Marshal.cs (GetExceptionForHR): Implement/consolidate.
112 2007-05-11 Jonathan Chambers <joncham@gmail.com>
114 * Marshal.cs (SecureStringToBSTR): BSTR header is size in bytes,
117 2007-05-02 Jonathan Chambers <joncham@gmail.com>
119 * ExtensibleClassFactory.cs: Don't use un-implemented overload.
121 2007-05-02 Dick Porter <dick@ximian.com>
123 * _ConstructorInfo.cs:
133 * AutomationProxyAttribute.cs:
134 * BestFitMappingAttribute.cs:
136 * ClassInterfaceAttribute.cs:
137 * CoClassAttribute.cs:
138 * ComAliasNameAttribute.cs:
139 * ComCompatibleVersionAttribute.cs:
140 * ComConversionLossAttribute.cs:
141 * ComDefaultInterfaceAttribute.cs:
142 * ComEventInterfaceAttribute.cs:
144 * ComImportAttribute.cs:
145 * ComObjectInUseException.cs:
146 * ComRegisterFunctionAttribute.cs:
147 * ComUnregisterFunctionAttribute.cs:
150 * CurrencyWrapper.cs:
151 * DefaultCharSetAttribute.cs:
152 * DispatchWrapper.cs:
153 * DispIdAttribute.cs:
155 * ExtensibleClassFactory.cs:
156 * ExternalException.cs:
159 * StructLayoutAttribute.cs:
160 * TypeLibConverter.cs:
161 * ArrayWithOffset.cs:
172 * CallingConvention.cs:
174 * ClassInterfaceType.cs:
175 * ComInterfaceType.cs:
178 * ExporterEventKind.cs:
180 * RegistrationClassContext.cs:
182 * TypeLibImporterFlags.cs:
184 * VARFLAGS.cs: Update to 2.0 profile
186 2007-04-15 Alp Toker <alp@atoker.com>
188 * Marshal.cs: Add new 2.0 Copy() from IntPtr[] overload.
190 2007-03-12 Raja R Harinath <rharinath@novell.com>
192 * DefaultParameterValueAttribute.cs: Move to System.dll.
194 2007-02-08 Jonathan Chambers <joncham@gmail.com>
196 * Marshal.cs: Throw exceptions for AddRef, Release,
197 and QueryInterface in managed code. Implement GetComInterfaceForObject,
198 GetIDispatchForObject, GetIUnknownForObject, GetObjectForIUnknown,
199 GetObjectsForNativeVariants, IsComObject, ReleaseComObject, and
200 FinalReleaseComObject. Unimplement GetComObjectData and SetComObjectData
201 for now to save space and simplify __ComObject for now. MSDN states the
202 user should never call these methods anyway.
204 2007-01-29 Marek Habersack <grendello@gmail.com>
206 * Marshal.cs: Implement a missing Marshal.Copy overload.
208 2007-01-11 Jonathan Chambers <joncham@gmail.com>
210 * Marshal.cs: Implement Marshal.ReAllocCoTaskMem.
212 2007-01-03 Miguel de Icaza <miguel@novell.com>
214 * SafeHandle.cs: Do not use locks in SafeHandle to protect the
215 access to the refcount, use Interlocked.CompareExchange. The
216 locks were the source of problems with domain finalization when
217 this code was enabled.
219 This should fix Matt Hargett's bug report with a full `make check'
220 that reported variations of:
222 ** (../../class/lib/net_2_0/nunit-console.exe:29644): WARNING **:
223 Finalization of domain <domainname> timed out.
225 Also, it is a lot lighther.
227 2006-12-21 Miguel de Icaza <miguel@novell.com>
229 * CriticalHandle.cs: Add Dispose(bool disposing) method, and
232 2006-12-15 Gert Driesen <drieseng@users.sourceforge.net>
234 * Marshal.cs: Use SystemDefaultCharSize to determine whether to
235 use Ansi or Unicode variant of StringToCoTaskMem.
237 2006-12-15 Miguel de Icaza <miguel@novell.com>
239 * Marshal.cs (SecureStringToCoTaskMemAnsi, SecureStringToBSTR,
240 SecureStringToCoTaskMemUnicode, ZeroFreeCoTaskMemAnsi,
241 ZeroFreeCoTaskMemUnicode, ZeroFreeGlobalAllocAnsi,
242 ZeroFreeGlobalAllocUnicode): Implement.
244 (StringToCoTaskAuto): return the same as Ansi.
246 The ANSI code is out of sync with Mono, which treats ANSI as
249 Code formatting changes
251 2006-12-11 Miguel de Icaza <miguel@novell.com>
253 * SafeHandle.cs: Fix a handful of bugs, and add tests for them.
254 Only release the handle if its owned by us. Also throw
255 ObjectDisposedException's
259 DangerousAddRef will now throw an exception if the object was
262 2006-12-02 Miguel de Icaza <miguel@novell.com>
264 * SafeHandle.cs: Implement this class.
266 2006-10-06 Jonathan Chambers <joncham@gmail.com>
268 * ExtensibleClassFactory.cs: Implement RegisterObjectCreationCallback.
270 2006-08-31 Robert Jordan <robertj@gmx.net>
272 * Marshal.cs: Replaced the *Auto internal calls with managed
273 variants. Fixed SystemDefaultCharSize to return an OS dependent
276 2006-08-09 Jonathan Chambers <joncham@gmail.com>
278 * Marshal.cs: Implement GetIDispatchForObject.
280 2006-08-07 Gert Driesen <drieseng@users.sourceforge.net>
282 * Marshal.cs: Added stubs for GetTypeLibGuid (ITypeLib), GetTypeLibLcid
283 (ITypeLib), GetTypeLibName (ITypeLib).
285 2006-07-28 Jonathan Chambers <joncham@gmail.com>
287 * Marshal.cs: Implemented CreateWrapperOfType and ReleaseComObject.
289 2006-07-15 Jonathan Chambers <joncham@gmail.com>
291 * Marshal.cs: Begin implementing COM Interop. Implemented
292 AddRef, GetComInterfaceForObject, GetComObjectData, GetIUnknownForObject,
293 GetObjectForIUnknown, GetTypedObjectForIUnknown, IsComObject, QueryInterface
294 Release, SetComObjectData, and ThrowExceptionForHR.
296 2006-06-07 Jonathan Chambers <jonathan.chambers@ansys.com>
298 * Marshal.cs: Implement GetComSlotForMethodInfo
300 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
302 * Marshal.cs: Implement VARIANT marshalling methods
304 2006-05-20 Zac Bowling <zac@zacbowling.com>
305 * VarEnum.cs: ComVisible Attribute (2.0)
306 * InterfaceTypeAttribute.cs: ComVisible Attribute (2.0)
307 * UCOMITypeInfo.cs: ComImport Attribute (1.x)
308 * UCOMITypeComp.cs: ComImport Attribute (1.x)
309 * MarshalAsAttribute.cs: ComVisible Attribute (2.0)
310 * StructLayoutAttribute.cs: ComVisible Attribute (2.0)
311 * ProgIdAttribute.cs: ComVisible Attribute (2.0)
312 * PrimaryInteropAssemblyAttribute.cs: ComVisible Attribute (2.0)
313 * ImporterEventKind.cs: ComVisible Attribute (2.0)
314 * UCOMIPersistFile.cs: ComImport Attribute (1.x)
315 * SetWin32ContextInIDispatchAttribute.cs: Obselete and ComVisible
317 * IRegistrationServices.cs: ComVisible Attribute and CAS Attributes (2.0)
318 * InAttribute.cs: ComVisible Attribute (2.0)
319 * UCOMIMoniker.cs: ComImport Attribute (1.x)
320 * MarshalDirectiveException.cs: ComVisible Attribute (2.0)
321 * IDLDESC.cs: ComVisible Attribute (1.x)
322 * FUNCFLAGS.cs: ComVisible Attribute (1.x)
323 * UCOMIConnectionPointContainer.cs: ComImport Attribute (1.x)
324 * TypeLibExporterFlags.cs: ComVisible Attribute (2.0)
325 * ICustomMarshaler.cs: ComVisible Attribute (2.0)
326 * LayoutKind.cs: ComVisible Attribute (2.0) + Serializable + Clean
327 * ICustomAdapter.cs: ComVisible Attribute (2.0)
328 * UnmanagedFunctionPointerAttribute.cs: ComVisible Attribute and Param
329 Signature of UnmanagedFunctionPointerAttribute(...)
330 * FUNCKIND.cs: ComVisble Attribute (1.x)
331 * TypeLibVersionAttribute.cs: ComVisible Attribute (2.0) + Missing in
333 * TypeLibVarAttribute.cs: ComVisible Attribute (2.0)
334 * ITypeLibConverter.cs: ComVisible Attribute (2.0)
335 * UCOMIRunningObjectTable.cs: ComImport Attribute (1.x)
336 * IDispatchImplAttribute.cs: Obsolete + ComVisible Attribute (2.0)
337 * ITypeLibImporterNotifySink.cs: ComVisible Attribute (2.0)
338 * PreserveSigAttribute.cs: ComVisible Attribute (2.0)
339 * SYSKIND.cs: ComVisible Attribute (1.x)
340 * UCOMIEnumVARIANT.cs: ComImport Attribute (1.x)
341 * UCOMIEnumString.cs: ComImport Attribute (1.x) and Expose to 1.x (not
342 a 2.0 exclusive class)
343 * OutAttribute.cs: ComVisible Attribute (2.0)
344 * InvalidComObjectException.cs: ComVisible Attribute (2.0)
345 * SEHException.cs: ComVisible Attribute (2.0)
346 * UCOMIConnectionPoint.cs: ComImport Attribute (1.x)
347 * TypeLibImporterFlags.cs: ComVisible Attribute (2.0) and
349 * OptionalAttribute.cs: ComVisible Attribute (2.0)
350 * TYPEDESC.cs: ComVisible Attribute (1.x)
351 * UCOMIEnumMoniker.cs: ComImport Attribute (1.x) and Expose to 1.x
352 (not a 2.0 exclusive class)
353 * TypeLibTypeFlags.cs: ComVisible Attribute (2.0)
354 * ITypeLibExporterNotifySink.cs: ComVisible Attribute (2.0)
355 * HandleRef.cs: ComVisible.cs and add ToIntPtr (2.0)
356 * DllImportAttribute.cs: ComVisible Attribute (2.0)
357 * TypeLibTypeAttribute.cs: ComVisible Attribute (2.0)
358 * UnknownWrapper.cs: Serializable, ComVisible Attribute (2.0)
359 * IDFLAGS.cs: ComVisible Attribute (1.x only)
360 * RegistrationClassContext.cs: License + Flags attribute (2.0)
361 * GCHandle.cs: ComVisible Attribute + Operator Overrides (2.0)
362 * TypeLibImportClassAttribute.cs: ComVisible Attribute (2.0)
363 * IMPLYTPEFLAGS.cs: ComVisible Attribute (1.x)
364 * ImportedFromTypeLibAttribute.cs: ComVisible (2.0)
365 * UCOMIBindCtx.cs: Obsolete Attribute (2.0)
366 * FUNCDESC.cs: ComVisible Attribute (1.x)
367 * RegistrationConnectionType.cs: Flags Attribute (2.0)
368 * IDispatchImplType.cs: Obsolete + ComVisible Attribute (2.0)
369 * TypeLibConverter.cs: ComVisible (2.0)
370 * INVOKEKIND.cs: ComVisible Attribute (1.x)
371 * GCHandleType.cs: ComVisible Attribute (2.0) + Serializable
372 * ICustomFactory.cs: ComVisible Attribute (2.0)
373 * FieldOffsetAttribute.cs: ComVisible Attribute (2.0)
374 * LIBFLAGS.cs: ComVisible Attribute (1.x)
375 * ComSourceInterfacesAttributes.cs: ComVisible Attribute (2.0)
376 * STATSTG.cs: ComVisible Attribute (1.x)
377 * InvalidOleVariantTypeException.cs: ComVisible Attribute (2.0)
378 * TypeLibVarFlags.cs: ComVisible Attribute (2.0)
379 * TYPEFLAGS.cs: ComVisible Attribute (1.x)
380 * SafeArrayRankMismatchException.cs: ComVisible Attribute (2.0)
381 * TYPEATTR.cs: ComVisible Attribute (1.x)
382 * GuidAttribute.cs: ComVisible Attribute (2.0)
383 * UCOMIEnumConnectionPoints.cs: ComImport Attribute (1.x) + Expose to
384 1.x (not a 2.0 exclusive)
385 * SafeArrayTypeMismatchException.cs: ComVisible Attribute (2.0)
386 * ObjectCreationDelegate.cs: ComVisible Attribute (2.0)
387 * ITypeLibExporterNameProvider.cs: ComVisible Attribute (2.0) and
388 MarshelAs VarEnum Type.
389 * UCOMIStream.cs: ComImport Attribute (1.x)
390 * TypeLibFuncFlags.cs ComVisible Attribute (2.0)
391 * UnmanagedType.cs: ComVisible Attribute (2.0) + clean up
392 * UCOMIEnumConnections.cs: ComImport Attribute (1.0)
393 * LCIDConversionAttribute.cs: ComVisible Attribute (2.0)
394 * TypeLibFuncAttribute.cs: ComVisible Attribute (2.0)
396 2006-05-02 Jonathan Chambers <jonathan.chambers@ansys.com>
398 * Marshal.cs: Implement BSTR methods
400 2006-01-12 Ben Maurer <bmaurer@andrew.cmu.edu>
402 * SafeHandle.cs: Update to RTM api
404 2005-11-17 Zoltan Varga <vargaz@gmail.com>
406 * DefaultParameterValueAttribute.cs: New file.
408 2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
410 * Marshal.cs: Added null check in SecureStringTo* methods and make
411 them throw a NotSupportedException otherwise (as existing code must
412 deal with this anyway). Fixed Uni -> Unicode method name changes.
414 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
416 * UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
417 UCOMIConnectionPointContainer.cs, UCOMIEnumConnectionPoints.cs,
418 UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
419 UCOMIEnumVARIANT.cs, UCOMIMoniker.cs, UCOMIPersistFile.cs,
420 UCOMIRunningObjectTable.cs, UCOMIStream.cs, UCOMITypeComp.cs,
421 UCOMITypeInfo.cs, UCOMITypeLib.cs: Remove [ComImport] from the default
422 profile (this is new in 2.0) and reduce corcompare extras by 15.
424 2005-09-21 Kornél Pál <kornelpal@hotmail.com>
426 * UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
427 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, UnmanagedType.cs:
428 Removed UnmanagedType_80 that was required because mcs bug #75945
431 2005-08-12 Gert Driesen <drieseng@users.sourceforge.net>
433 * SetWin32ContextInIDispatchAttribute.cs: Make this attribute also
434 available in 1.0 profile (.NET 1.1).
435 * VariantWrapper.cs: Class is also exposed in .NET 1.1. Only
436 serializable in 2.0 profile.
438 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
440 * SafeHandle.cs: New file.
442 2005-08-06 Gert Driesen <drieseng@users.sourceforge.net>
444 * _Activator.cs: ComVisible should only be set in 2.0 profile.
445 Added TypeLibImportClass attribute.
446 * _Assembly.cs: ComVisible should only be set in 2.0 profile. Added
447 TypeLibImportClass attribute. Fixes InterfaceType to match MS.NET.
448 * _AssemblyBuilder.cs: ComVisible should only be set in 2.0 profile.
449 Added TypeLibImportClass attribute.
450 * _AssemblyName.cs: ComVisible should only be set in 2.0 profile.
451 Added TypeLibImportClass attribute.
452 * _Attribute.cs: ComVisible should only be set in 2.0 profile.
453 Added TypeLibImportClass attribute.
454 * _ConstructorBuilder.cs: ComVisible should only be set in 2.0 profile.
455 Added TypeLibImportClass attribute.
456 * _ConstructorInfo.cs: Fixed InterfaceType to match MS.NET. Added
457 TypeLibImportClass attribute. Added missing methods.
458 * _CustomAttributeBuilder.cs: ComVisible should only be set in 2.0 profile.
459 Added TypeLibImportClass attribute.
460 * _EnumBuilder.cs: ComVisible should only be set in 2.0 profile.
461 Added TypeLibImportClass attribute.
462 * _EventBuilder.cs: ComVisible should only be set in 2.0 profile.
463 Added TypeLibImportClass attribute.
464 * _EventInfo.cs: Fixed InterfaceType to match MS.NET. Added
465 TypeLibImportClass attribute. Added missing methods.
466 * _FieldBuilder.cs: ComVisible should only be set in 2.0 profile.
467 Added TypeLibImportClass attribute.
468 * _FieldInfo.cs: Fixed InterfaceType to match MS.NET. Added
469 TypeLibImportClass attribute. Added missing methods.
470 * _ILGenerator.cs: ComVisible should only be set in 2.0 profile.
471 Added TypeLibImportClass attribute.
472 * _LocalBuilder.cs: ComVisible should only be set in 2.0 profile.
473 Added TypeLibImportClass attribute.
474 * _MemberInfo.cs: Fixed InterfaceType to match MS.NET. Added
475 TypeLibImportClass attribute. Added missing methods.
476 * _MethodBase.cs: Fixed InterfaceType to match MS.NET. Added
477 TypeLibImportClass attribute. Added missing methods.
478 * _MethodInfo.cs: Fixed InterfaceType to match MS.NET. Added
479 TypeLibImportClass attribute. Added missing methods.
480 * _MethodBuilder.cs: ComVisible should only be set in 2.0 profile.
481 Added TypeLibImportClass attribute.
482 * _MethodRental.cs: ComVisible should only be set in 2.0 profile.
483 Added TypeLibImportClass attribute.
484 * _Module.cs: ComVisible should only be set in 2.0 profile.
485 Added TypeLibImportClass attribute.
486 * _ModuleBuilder.cs: ComVisible should only be set in 2.0 profile.
487 Added TypeLibImportClass attribute.
488 * _ParameterBuilder.cs: ComVisible should only be set in 2.0 profile.
489 Added TypeLibImportClass attribute.
490 * _ParameterInfo.cs: ComVisible should only be set in 2.0 profile.
491 Added TypeLibImportClass attribute.
492 * _PropertyBuilder.cs: ComVisible should only be setin 2.0 profile.
493 Added TypeLibImportClass attribute.
494 * _PropertyInfo.cs: Fixed InterfaceType to match MS.NET. Added
495 TypeLibImportClass attribute. Added missing methods.
496 * _SignatureHelper.cs: ComVisible should only be set in 2.0 profile.
497 Added TypeLibImportClass attribute.
498 * _Type.cs: Added TypeLibImportClass attribute. Fixed InterfaceType
499 to match MS.NET. Added missing method to match MS.NET.
500 * _Thread.cs: ComVisible should only be set in 2.0 profile.
501 Added TypeLibImportClass attribute.
502 * _TypeBuilder:cs: ComVisible should only be set in 2.0 profile.
503 Added TypeLibImportClass attribute.
504 * Marshal.cs: Removed MarshalAs attribute from parameter to fix
505 API compatibility with MS.NET.
506 * TypeLibImportClassAttribute.cs: Added.
508 2005-07-06 Zoltan Varga <vargaz@freemail.hu>
510 * GCHandle.cs: Add 2.0 FromIntPtr/ToIntPtr methods.
512 2005-06-08 Sebastien Pouliot <sebastien@ximian.com>
514 * RuntimeEnvironment.cs: I get better results when calling Demand.
516 2005-06-07 Sebastien Pouliot <sebastien@ximian.com>
518 * RuntimeEnvironment.cs: Implemented TODO. Added security for CAS.
520 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
522 * _Exception.cs: That one wasn't backported to 1.1 SP1 by MS. This
523 should fix a lot of extra reported in the API status pages.
525 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
527 * Marshal.cs: Add some missing 2.0 attributes.
529 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
532 * _ConstructorInfo.cs
540 * _Type.cs: Chance to .Net 1.1
543 * _AssemblyBuilder.cs
545 * _ConstructorBuilder.cs
546 * _CustomAttributeBuilder.cs
556 * _ParameterBuilder.cs
558 * _PropertyBuilder.cs
559 * _SignatureHelper.cs
561 * _TypeBuilder.cs: Added
563 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
565 * _Attribute.cs: New. Interface for attributes in 2.0.
567 2005-04-13 Marek Safar <marek.safar@seznam.cz>
569 * DefaultCharSetAttribute.cs: Removed useless using.
571 2005-03-31 Alp Toker <alp@atoker.com>
573 * GCHandle.cs: Clearer ArgumentException text in the case of a
574 null-valued IntPtr argument.
576 2005-03-04 Kazuki Oikawa <kazuki@panicode.com>
582 * ComDefaultInterfaceAttribute.cs
583 * ComObjectInUseException.cs
584 * ComSourceInterfacesAttribute.cs
587 * DefaultCharSetAttribute.cs
592 * ExposeAsClassToComAttribute.cs
603 * ITypeLibConverter.cs
604 * ITypeLibExporterNameProvider.cs
605 * ITypeLibExporterNotifySink.cs
609 * PrimaryInteropAssemblyAttribute.cs
617 * TypeLibExporterFlags.cs
618 * TypeLibImporterFlags.cs
620 * UCOMIConnectionPoint.cs
621 * UCOMIConnectionPointContainer.cs
622 * UCOMIEnumConnectionPoints.cs
623 * UCOMIEnumConnections.cs
624 * UCOMIEnumMoniker.cs
626 * UCOMIEnumVARIANT.cs
628 * UCOMIPersistFile.cs
629 * UCOMIRunningObjectTable.cs
634 * UnmanagedFunctionPointerAttribute.cs
637 * VariantWrapper.cs: Added missing attributes.
639 2005-03-03 Kazuki Oikawa <kazuki@panicode.com>
641 * _ConstructorInfo.cs
650 * ComDefaultInterfaceAttribute.cs
651 * ComObjectInUseException.cs
653 * DefaultCharSetAttribute.cs
654 * ExposeAsClassToComAttribute.cs
655 * RegistrationClassContext.cs
656 * RegistrationConnectionType.cs: Add
658 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
660 * UnmanagedFunctionPointerAttribute.cs: Add #region directives.
662 2005-02-21 Kazuki Oikawa <kazuki@panicode.com>
664 * BIND_OPTS.cs, CONNECTEDATA.cs, DISPPARAMS.cs, ELEMDESC.cs,
665 EXCEPINFO.cs, FILETIME.cs, FUNCDESC.cs, STATSTG.cs, TYPEATTR.cs,
666 TYPELIBATTR.cs, UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
667 UCOMIEnumConnectionPoints.cs, UCOMIEnumConnections.cs,
668 UCOMIEnumMoniker.cs, UCOMIEnumString.cs, UCOMIEnumVARIANT.cs,
669 UCOMIMoniker.cs, UCOMIPersistFile.cs, UCOMIRunningObjectTable.cs,
670 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, VARDESC.cs:
671 Corrected the order of the fields and the methods.
673 * BIND_OPTS.cs, CALLCONV.cs, FILETIME.cs, FUNCDESC.cs, FUNCFLAGS.cs,
674 FUNCKIND.cs, IDLFLAG.cs, IMPLTYPEFLAGS.cs, LIBFLAGS.cs, PARAMFLAG.cs,
675 STATSTG.cs, SYSKIND.cs, TYPEFLAGS.cs, VarEnum.cs, VARFLAGS.cs:
676 Added missing attributes.
678 Wed Feb 16 16:20:56 CET 2005 Paolo Molaro <lupus@ximian.com>
680 * GCHandle.cs: check the domain of an handle target is correct.
681 Make the unallocated value 0, since that is the default value
684 2005-02-10 Marek Safar <marek.safar@seznam.cz>
686 * TypeLibVarAttribute.cs,
687 * TypeLibTypeAttribute.cs,
688 * ComSourceInterfacesAttribute.cs: Fix AttributeUsage flags.
690 Sat Jan 29 12:48:03 CET 2005 Paolo Molaro <lupus@ximian.com>
692 * GCHandle.cs: update for runtime changes: the unallocated handle
695 2004-11-25 Raja R Harinath <rharinath@novell.com>
697 * UnmanagedType.cs (mono_bootstrap_NativeTypeMax): Rename from
698 __mono_bootstrap_NativeTypeMax. CSC doesn't like
699 [CLSCompliant(false)] on enum member.
701 2004-09-30 Zoltan Varga <vargaz@freemail.hu>
703 * Marshal.cs: Implement GetDelegateForFunctionPointer.
705 2004-09-29 Zoltan Varga <vargaz@freemail.hu>
707 * UnmanagedFunctionPointerAttribute.cs: New file.
709 * Marshal.cs: Make GetFunctionPointerForDelegate icall private.
711 * MarshalAsAttribute.cs: Add 2.0 IidParamIndex field.
713 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
715 * Marshal.cs: Add some ReliabilityContractAttributes.
717 * Marshal.cs (GetFunctionPointerForDelegate): Implement.
719 * Marshal.cs: Add stubs for missing 2.0 methods.
721 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
723 * DllImportAttribute.cs: Reorder fields and mark this class as visible
726 2004-09-08 Marek Safar <marek.safar@seznam.cz>
728 * Marshal.cs: Class is static in NET_2_0.
730 2004-07-29 Lluis Sanchez Gual <lluis@novell.com>
732 * RuntimeEnvironment.cs: Implemented SystemConfigurationFile and
735 Wed Jul 14 19:28:57 CEST 2004 Paolo Molaro <lupus@ximian.com>
737 * GCHandle.cs: throw exception if the result from AddrOfPinnedObject()
738 is -1 (special value returned by the runtime).
740 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
742 * _Exception.cs: New interface in Fx 2.0 to preserve member's order
745 2004-06-22 Raja R Harinath <rharinath@novell.com>
747 Fix bootstrap with mcs 0.31.
748 * UnmanagedType.cs (UnmanagedType.__mono_bootstrap_NativeTypeMax):
749 New bootstrap-only constant.
751 2004-06-18 Raja R Harinath <rharinath@novell.com>
753 Fix breaking build (see tests/test-272.cs). Since corlib is a
754 bootstrap library, we have to keep this fix even if the in-tree
755 mcs compiler is fixed.
756 * UCOMIEnumConnections.cs: Replace '(UnmanagedType) 80' in
757 attribute field initialization with Consts.UnmanagedType_80.
758 * UCOMIEnumMoniker.cs: Likewise.
759 * UCOMIEnumString.cs: Likewise.
760 * UCOMIStream.cs: Likewise.
761 * UCOMITypeInfo.cs: Likewise.
762 * UCOMITypeLib.cs: Likewise.
764 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
766 * BINDPTR.cs: have layout and charset match MS.NET
767 * CONNECTDATA.cs: have layout and charset match MS.NET
768 * DISPPARAMS.cs: have layout and charset match MS.NET
769 * ELEMDESC.cs: have layout and charset match MS.NET
770 * EXCEPINFO.cs: have layout and charset match MS.NET
771 * IDLDESC.cs: have layout and charset match MS.NET
772 * PARAMDESC.cs: have layout and charset match MS.NET
773 * STATSTG.cs: have layout and charset match MS.NET
774 * TYPEATTR.cs: have layout and charset match MS.NET
775 * TYPEDESC.cs: have layout and charset match MS.NET
776 * TYPELIBATTR.cs: have layout and charset match MS.NET
777 * VARDESC.cs: have layout and charset match MS.NET
779 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
781 * ArrayWithOffset.cs: fixed GetOffset to return int instead of
783 * CONNECTDATA.cs: added missing MarshalAs attribute
784 * EXCEPINFO.cs: added missing MarshalAs attributes
785 * ITypeLibConverter.cs: added missing MarshalAs attributes
786 * ITypeLibImporterNotifySink.cs: added missing MarshalAs attributes
787 * Marshal.cs: added missing MarshalAs attributues, and missing
789 * TypeLibConverter.cs: added missing MarshalAs attributes
790 * UCOMIBindCtx.cs: added missing MarshalAs attributes
791 * UCOMIConnectionPoint.cs: added missing MarshalAs attributes
792 * UCOMIEnumConnectionPoints.cs: added missing MarshalAs attributes
793 * UCOMIEnumConnections.cs: added missing PreserveSig attributes,
794 added missing MarshalAs attributes
795 * UCOMIEnumMoniker.cs: added missing PreserveSig attributes,
796 added missing MarshalAs attributes
797 * UCOMIEnumString.cs: added missing PreserveSig attributes,
798 added missing MarshalAs attributes
799 * UCOMIMoniker.cs: added missing MarshalAs attributes
800 * UCOMIPersistFile.cs: added missing PreserveSig attribute,
801 added missing MarshalAs attributes
802 * UCOMIRunningObjectTable.cs: added missing MarshalAs attributes
803 * UCOMIStream.cs: added missing MarshalAs attributes
804 * UCOMITypeComp.cs: added missing MarshalAs attributes
805 * UCOMITypeInfo.cs: added missing MarshalAs attributes
806 * UCOMITypeLib.cs: added missing PreserveSig attributes, added
807 missing MarshalAs attributes
809 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
811 * MarshalDirectiveException.cs: marked serializable to match MS.NET
812 * SafeArrayRankMismatchException.cs: marked serializable to match
814 * SafeArrayTypeMismatchException.cs: marked serializable to match
817 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
819 * InvalidComObjectException.cs: marked serializable to match MS.NET
820 * InvalidOleVarianTypeException.cs: marked serializable to match
823 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
825 * BestFitMappingAttribute.cs: removed serializable attribute
828 2004-05-30 Gert Driesen (drieseng@users.sourceforge.net)
830 * SetWin32ContextInIDispatchAttribute.cs: only build
832 * VariantWrapper.cs: only build for NET_2_0 profile
834 2004-05-29 Gert Driesen (drieseng@users.sourceforge.net)
836 * SetWin32ContextInIDispatchAttribute.cs: added
837 * VariantWrapper.cs: added
839 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
841 * AutomationProxyAttribute.cs
842 * BestFitMappingAttribute.cs
843 * ClassInterfaceAttribute.cs
844 * CoClassAttribute.cs
845 * ComAliasNameAttribute.cs
846 * ComCompatibleVersionAttribute.cs
847 * ComConversionLossAttribute.cs
848 * ComEventInterfaceAttribute.cs
849 * ComImportAttribute.cs
850 * ComRegisterFunctionAttribute.cs
851 * ComSourceInterfaceAttribute.cs
852 * ComUnregisterFunctionAttribute.cs
855 * DllImportAttribute.cs
856 * FieldOffsetAttribute.cs
858 * IDispatchImplAttribute.cs
859 * ImportedFromTypeLibAttribute.cs
861 * InterfaceTypeAttribute.cs
862 * LCIDConversionAttribute.cs
863 * MarshalAsAttribute.cs
864 * OptionalAttribute.cs
866 * PreserveSigAttribute.cs
867 * PrimaryInteropAssemblyAttribute.cs
869 * StructLayoutAttribute.cs
870 * TypeLibFuncAttribute.Cs
871 * TypeLibTypeAttribute.cs
872 * TypeLibVarAttribute.cs
873 * TypeLibVersionAttribute.cs now that Inherited is
874 false by default on AttributeUsageAttribute (as it
875 should be) we need to explicitly set Inherited to
876 false for those attributes should where it should be
879 2004-05-06 Mike Shaver <shaver@off.net>
880 * Marshal.cs: Implement StringToCoTaskMem{Ansi,Uni}
882 2004-05-05 Zoltan Varga <vargaz@freemail.hu>
884 * Marshal.cs: Applied patch from vladimir@pobox.com (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.
886 2004-01-30 Zoltan Varga <vargaz@freemail.hu>
888 * Marshal.cs: Implement AllocCoTaskMem and FreeCoTaskMem.
890 2003-11-26 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
892 * DispatchWrapper.cs: Added and implemented
893 * ErrorWrapper.cs: Fixed bug
894 * Marshal.cs: Added missing members
896 2003-11-18 Jackson Harper <jackson@ximian.com>
898 * CurrencyWrapper.cs: Fix file name.
900 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
902 * BestFitMappingAttribute.cs: Signature fix
903 * Marshal.cs: Add attribute, fix signatures
904 * MarshalAsAttribute.cs: Add head, add entry
905 * DllImportAttribute.cs: Added v1.1 entries
906 * TypeLibConverter.cs: Added, stubbed
907 * RegistrationServices.cs: Added, stubbed
908 * ExtensibleClassFactory.cs: Added, stubbed
909 * ErrorWrapper.cs: Added, implemented
910 * CurrencyWrapper.cs: Added, implemented
912 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
914 * IRegistrationServices.cs:
915 * ITypeLibConverter.cs:
916 * ITypeLibExporterNameProvider.cs:
917 * ITypeLibExporterNotifySink.cs:
918 * ITypeLibImporterNotifySink.cs: Added missing attribute
919 * UCOMIBindCtx.cs: Added missing attribute, fixed in attribute
920 * UCOMIConnectionPoint.cs:
921 * UCOMIConnectionPointContainer.cs:
922 * UCOMIEnumConnectionPoints.cs:
923 * UCOMIEnumConnections.cs:
924 * UCOMIEnumMoniker.cs:
925 * UCOMIEnumString.cs:
926 * UCOMIEnumVARIANT.cs:
928 * UCOMIPersistFile.cs:
929 * UCOMIRunningObjectTable.cs:
933 * UCOMITypeLib.cs: Added missing attribute
935 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
937 * UCOMIBindCtx.cs: Added and implemented
938 * UCOMIConnectionPoint.cs: Added and implemented
939 * UCOMIConnectionPointContainer.cs: Added and implemented
940 * UCOMIEnumConnectionPoints.cs: Added and implemented
941 * UCOMIEnumConnections.cs: Added and implemented
942 * UCOMIEnumMoniker.cs: Added and implemented
943 * UCOMIEnumString.cs: Added and implemented
944 * UCOMIEnumVARIANT.cs: Added and implemented
945 * UCOMIMoniker.cs: Added and implemented
946 * UCOMIPersistFile.cs: Added and implemented
947 * UCOMIRunningObjectTable.cs: Added and implemented
948 * UCOMIStream.cs: Added and implemented
950 * UCOMTypeComp.cs: renamed
951 * UCOMTypeInfo.cs: renamed
952 * UCOMTypeLib.cs: renamed
954 * ITypeLibConverter.cs: Fixed interface signature
956 * ComSourceInterfacesAttribute.cs: Added and implemented
957 * IDispatchImplAttribute.cs: Added and implemented
958 * InvalidComObjectException.cs: Added and implemented
959 * InvalidOleVariantTypeException.cs: Added and implemented
960 * MarshalDirectiveException.cs: Added and implemented
961 * SafeArrayRankMismatchException.cs: Added and implemented
962 * SafeArrayTypeMismatchException.cs: Added and implemented
963 * SEHException.cs: Added attribute
964 * UnknownWrapper.cs: Added and implemented
977 * VARDESC.cs: Added and implemented
982 * IDispatchImplType.cs:
989 * TypeLibImporterFlags.cs:
990 * VARFLAGS.cs: Added and implemented
992 2003-07-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
994 * ComCompatibleVersionAttribute.cs: Added and implemented
995 * TypeLibVersionAttribute.cs: Added and implemented
997 Wed Jun 18 12:49:54 CEST 2003 Paolo Molaro <lupus@ximian.com>
999 * Marshal.cs: implemented Prelink with icalls.
1001 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1003 * RuntimeEnvironment.cs: New file. Stubbed by Dominik Fretz
1006 2003-03-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1008 * ExternalException.cs: doesn't need a field to keep the result code.
1009 * SEHException.cs: implemented.
1011 2003-03-03 Tim Coleman <tim@timcoleman.com>
1012 * HandleRef.cs: Add this struct
1014 2003-01-05 Sebastien Pouliot <spouliot@videotron.ca>
1016 * COMException.cs: New. Minimal (incomplete - i'm not using COM)
1017 implementation because this is thrown when dealing with Software
1018 Publisher Certificates (SPC) in X509Certificate.
1020 2002-08-22 Nick Drochak <ndrochak@gol.com>
1022 * OutAttribute.cs: TypeID isn't overriden from Attribute here.
1023 * PInvokeMap.cs: Non-existent enum. Must be from beta days.
1025 2002-06-24 root <dietmar@ximian.com>
1027 * Marshal.cs: impl. Copy()
1029 Fri Jun 14 16:18:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
1031 * UnmanagedType.cs, Marshal.cs: minor fixes.
1033 Wed Jun 12 16:32:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
1035 * Marshal.c: stubbed out all the methods and filled in some
1037 * BINDPTR.cs, ComMemberType.cs, DESCKIND.cs, DISPPARAMS.cs,
1038 EXCEPINFO.cs, INVOKEKIND.cs, TYPEKIND.cs, UCOMTypeInfo.cs,
1039 UCOMTypeLib.cs: enums, interfaces and structs needed in Marshal class.
1041 Tue Jun 4 18:05:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
1043 * GCHandle.cs: changed to fit spec and implementation needs.
1045 Tue May 14 16:35:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
1047 * CharSet.cs: added missing None enum item.
1049 2002-04-26 Joe Shaw <joe@ximian.com>
1051 * Marshal.cs (StructureToPtr): stub this out.
1053 2002-04-23 Joe Shaw <joe@ximian.com>
1055 * Marshal.cs: Stub out a few functions to get gtk# to build.
1057 2002-04-22 Duncan Mak <duncan@ximian.com>
1059 * ImporterEventKind.cs:
1060 * TypeLibFuncFlags.cs:
1061 * TypeLibTypeFlags.cs:
1062 * TypeLibVarFlags.cs: Fixed various typos and added missing elements.
1064 * ComConventionLossAttribute.cs: Removed, there's a typo.
1065 * ComConversionLossAttribute.cs: Same attribute, slight change of name.
1067 * PreserveSigAttribute.cs:
1068 * ImportedFromTypeLibAttribute.cs: Added missing AttributeUsage
1071 * TypeLibFuncAttribute.cs:
1072 * TypeLibTypeAttribute.cs:
1073 * TypeLibVarAttribute.cs: Added missing constructors.
1076 2002-04-22 Duncan Mak <duncan@ximian.com>
1078 * AutomationProxyAttribute.cs:
1079 * CoClassAttribute.cs:
1080 * ComAliasNameAttribute.cs:
1081 * ComConventionLossAttribute.cs:
1082 * ComEventInterfaceAttribute.cs:
1083 * ComImportAttribute.cs:
1084 * ComRegisterFunctionAttribute.cs:
1085 * ComUnregisterFunctionAttribute.cs:
1086 * DispIdAttribute.cs:
1087 * ImportedFromTypeLibAttribute.cs:
1088 * LCIDConversionAttribute.cs:
1089 * PreserveSigAttribute.cs:
1090 * PrimaryInteropAssemblyAttribute.cs:
1091 * ProgIdAttribute.cs:
1092 * TypeLibFuncAttribute.cs:
1093 * TypeLibFuncFlags.cs:
1094 * TypeLibTypeAttribute.cs:
1095 * TypeLibTypeFlags.cs:
1096 * TypeLibVarAttribute.cs:
1097 * TypeLibVarFlags.cs: Added to CVS.
1099 2002-04-08 Nick Drochak <ndrochak@gol.com>
1101 * Marshal.cs: Make class public.
1102 * ComVisible.cs: New File.
1104 2002-03-24 Nick Drochak <ndrochak@gol.com>
1106 * ClassInterfaceAttribute.cs:
1107 * ClassInterfaceType.cs: New Files.
1109 2002-02-27 Duncan Mak <duncan@ximian.com>
1111 * ExporterEventKind.cs:
1112 * ITypeLibConverter.cs:
1113 * ITypeLibImporterNotifySink.cs: Added to CVS for Kevin Winchester <kwin@ns.sympatico.ca>.
1115 2002-02-26 Duncan Mak <duncan@ximian.com>
1117 * ComInterfaceType.cs: Added to CVS.
1119 * AssemblyRegistrationFlags.cs:
1121 * ICustomAdapter.cs:
1122 * ICustomFactory.cs:
1123 * ICustomMarshaler.cs:
1124 * IRegistrationServices.cs:
1125 * ITypeLibExporterNameProvider.cs:
1126 * ITypeLibImporterNotifySink.cs:
1127 * InterfaceTypeAttribute.cs:
1128 * TypeLibExporterFlags.cs: Committed for Kevin Winchester <kwin@ns.sympatico.ca>.
1130 * GCHandle.cs: Added to CVS. Patch from Ajay kumar Dwivedi.
1132 * GCHandleType.cs: Committed patch from Ajay.
1134 * ImporterEventKind.cs: Added to CVS.
1136 2002-01-24 Miguel de Icaza <miguel@ximian.com>
1138 * StructLayoutAttribute.cs: Flag attribute as targetting structs
1141 * InAttribute.cs: Flag attribute as targettting a paramter
1143 * OutAttribute.cs: ditto.
1145 * DllImportAttribute.cs: Flag attribute as targetting methods.
1147 * MarshalAsAttribute.cs: Flag attribute as targetting fields,
1148 parameters and returnvalues.
1150 2002-01-23 Dick Porter <dick@ximian.com>
1152 * Marshal.cs: Added GetLastWin32Error()
1154 * ExternalException.cs: Implemented
1156 2002-01-17 Miguel de Icaza <miguel@ximian.com>
1158 * ExternalException.cs: Add ExternalException.
1160 2002-01-05 Ravi Pratap <ravi@ximian.com>
1162 * OutAttribute.cs : Decorate with MonoTODO.
1164 Thu Dec 20 15:46:31 CET 2001 Paolo Molaro <lupus@ximian.com>
1166 * FieldOffsetAttribute.cs, InAttribute.cs, MarshalAsAttribute.cs,
1167 OptionalAttribute.cs, StructLayoutAttribute.cs, VarEnum.cs:
1168 more stuff needed by the compiler.
1170 Thu Dec 13 20:22:18 CET 2001 Paolo Molaro <lupus@ximian.com>
1172 * DllImportAttribute.cs: added.
1173 * MethodImplOptions.cs: removed: this is already in CompilerServices.
1175 Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <lupus@ximian.com>
1177 * CallingConvention.cs: add missing Winapi.
1179 2001-07-20 Miguel de Icaza <miguel@ximian.com>
1181 * OutAttribute.cs: New file.
1183 2001-07-18 Michael Lambert <michaellambert@email.com>
1185 * CallingConvention.cs.cs, CharSet.cs, GCHandleType.cs, LayoutKind.cs: Add.