1 2008-06-21 Gert Driesen <drieseng@users.sourceforge.net>
3 * Marshal.cs: Fixed order of arguments for ArgumentException in
4 GetComSlotForMethodInfo.
6 2008-06-19 Kornél Pál <kornelpal@gmail.com>
8 * Marshal.cs: Implement GetHINSTANCE.
10 2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
20 * BestFitMappingAttribute.cs
21 * Marshal.cs: Fix parameter names
23 2008-02-20 Zoltan Varga <vargaz@gmail.com>
25 * Marshal.cs (GetDelegateForFunctionPointer): Add a nullref check.
27 2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
29 * COMException.cs: Fix new-line literal and use of "" detected by
32 2008-01-13 Gert Driesen <drieseng@users.sourceforge.net>
34 * COMException.cs: Added missing colon in ToString.
36 2007-12-04 Gert Driesen <drieseng@users.sourceforge.net>
38 * ExternalException.cs: Set HResult to match MS.
40 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
42 * ComVisible.cs: Fix parameter name (part of #322850).
44 2007-09-14 Zoltan Varga <vargaz@gmail.com>
46 * GCHandle.cs (AddrOfPinnedObject): Use -2 to communicate that the handle is not
47 pinned. Correct exception message. Fixes #82848.
49 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
51 * SafeHandle.cs CriticalHandle.cs TypeLibImporterFlags.cs
52 RegistrationClassContext.cs ArrayWithOffset.cs :
53 * ComObjectInUseException.cs ExposeAsClassToComAttribute.cs :
54 removed obsoleted files.
56 2007-07-18 Miguel de Icaza <miguel@novell.com>
58 * SafeHandle.cs: Harden this, do not call ReleaseHandle if the
61 * CriticalHandle.cs: Harden this, do not call ReleaseHandle if the
64 2007-07-06 Jonathan Chambers <joncham@gmail.com>
66 * ExtensibleClassFactory.cs: Fix ExtensibleClassFactory.
68 2007-06-22 Jonathan Chambers <joncham@gmail.com>
70 * Marshal.cs (ThrowExceptionForHR): Implement/consolidate.
71 * Marshal.cs (GetExceptionForHR): Implement/consolidate.
73 2007-05-11 Jonathan Chambers <joncham@gmail.com>
75 * Marshal.cs (SecureStringToBSTR): BSTR header is size in bytes,
78 2007-05-02 Jonathan Chambers <joncham@gmail.com>
80 * ExtensibleClassFactory.cs: Don't use un-implemented overload.
82 2007-05-02 Dick Porter <dick@ximian.com>
84 * _ConstructorInfo.cs:
94 * AutomationProxyAttribute.cs:
95 * BestFitMappingAttribute.cs:
97 * ClassInterfaceAttribute.cs:
98 * CoClassAttribute.cs:
99 * ComAliasNameAttribute.cs:
100 * ComCompatibleVersionAttribute.cs:
101 * ComConversionLossAttribute.cs:
102 * ComDefaultInterfaceAttribute.cs:
103 * ComEventInterfaceAttribute.cs:
105 * ComImportAttribute.cs:
106 * ComObjectInUseException.cs:
107 * ComRegisterFunctionAttribute.cs:
108 * ComUnregisterFunctionAttribute.cs:
111 * CurrencyWrapper.cs:
112 * DefaultCharSetAttribute.cs:
113 * DispatchWrapper.cs:
114 * DispIdAttribute.cs:
116 * ExtensibleClassFactory.cs:
117 * ExternalException.cs:
120 * StructLayoutAttribute.cs:
121 * TypeLibConverter.cs:
122 * ArrayWithOffset.cs:
133 * CallingConvention.cs:
135 * ClassInterfaceType.cs:
136 * ComInterfaceType.cs:
139 * ExporterEventKind.cs:
141 * RegistrationClassContext.cs:
143 * TypeLibImporterFlags.cs:
145 * VARFLAGS.cs: Update to 2.0 profile
147 2007-04-15 Alp Toker <alp@atoker.com>
149 * Marshal.cs: Add new 2.0 Copy() from IntPtr[] overload.
151 2007-03-12 Raja R Harinath <rharinath@novell.com>
153 * DefaultParameterValueAttribute.cs: Move to System.dll.
155 2007-02-08 Jonathan Chambers <joncham@gmail.com>
157 * Marshal.cs: Throw exceptions for AddRef, Release,
158 and QueryInterface in managed code. Implement GetComInterfaceForObject,
159 GetIDispatchForObject, GetIUnknownForObject, GetObjectForIUnknown,
160 GetObjectsForNativeVariants, IsComObject, ReleaseComObject, and
161 FinalReleaseComObject. Unimplement GetComObjectData and SetComObjectData
162 for now to save space and simplify __ComObject for now. MSDN states the
163 user should never call these methods anyway.
165 2007-01-29 Marek Habersack <grendello@gmail.com>
167 * Marshal.cs: Implement a missing Marshal.Copy overload.
169 2007-01-11 Jonathan Chambers <joncham@gmail.com>
171 * Marshal.cs: Implement Marshal.ReAllocCoTaskMem.
173 2007-01-03 Miguel de Icaza <miguel@novell.com>
175 * SafeHandle.cs: Do not use locks in SafeHandle to protect the
176 access to the refcount, use Interlocked.CompareExchange. The
177 locks were the source of problems with domain finalization when
178 this code was enabled.
180 This should fix Matt Hargett's bug report with a full `make check'
181 that reported variations of:
183 ** (../../class/lib/net_2_0/nunit-console.exe:29644): WARNING **:
184 Finalization of domain <domainname> timed out.
186 Also, it is a lot lighther.
188 2006-12-21 Miguel de Icaza <miguel@novell.com>
190 * CriticalHandle.cs: Add Dispose(bool disposing) method, and
193 2006-12-15 Gert Driesen <drieseng@users.sourceforge.net>
195 * Marshal.cs: Use SystemDefaultCharSize to determine whether to
196 use Ansi or Unicode variant of StringToCoTaskMem.
198 2006-12-15 Miguel de Icaza <miguel@novell.com>
200 * Marshal.cs (SecureStringToCoTaskMemAnsi, SecureStringToBSTR,
201 SecureStringToCoTaskMemUnicode, ZeroFreeCoTaskMemAnsi,
202 ZeroFreeCoTaskMemUnicode, ZeroFreeGlobalAllocAnsi,
203 ZeroFreeGlobalAllocUnicode): Implement.
205 (StringToCoTaskAuto): return the same as Ansi.
207 The ANSI code is out of sync with Mono, which treats ANSI as
210 Code formatting changes
212 2006-12-11 Miguel de Icaza <miguel@novell.com>
214 * SafeHandle.cs: Fix a handful of bugs, and add tests for them.
215 Only release the handle if its owned by us. Also throw
216 ObjectDisposedException's
220 DangerousAddRef will now throw an exception if the object was
223 2006-12-02 Miguel de Icaza <miguel@novell.com>
225 * SafeHandle.cs: Implement this class.
227 2006-10-06 Jonathan Chambers <joncham@gmail.com>
229 * ExtensibleClassFactory.cs: Implement RegisterObjectCreationCallback.
231 2006-08-31 Robert Jordan <robertj@gmx.net>
233 * Marshal.cs: Replaced the *Auto internal calls with managed
234 variants. Fixed SystemDefaultCharSize to return an OS dependent
237 2006-08-09 Jonathan Chambers <joncham@gmail.com>
239 * Marshal.cs: Implement GetIDispatchForObject.
241 2006-08-07 Gert Driesen <drieseng@users.sourceforge.net>
243 * Marshal.cs: Added stubs for GetTypeLibGuid (ITypeLib), GetTypeLibLcid
244 (ITypeLib), GetTypeLibName (ITypeLib).
246 2006-07-28 Jonathan Chambers <joncham@gmail.com>
248 * Marshal.cs: Implemented CreateWrapperOfType and ReleaseComObject.
250 2006-07-15 Jonathan Chambers <joncham@gmail.com>
252 * Marshal.cs: Begin implementing COM Interop. Implemented
253 AddRef, GetComInterfaceForObject, GetComObjectData, GetIUnknownForObject,
254 GetObjectForIUnknown, GetTypedObjectForIUnknown, IsComObject, QueryInterface
255 Release, SetComObjectData, and ThrowExceptionForHR.
257 2006-06-07 Jonathan Chambers <jonathan.chambers@ansys.com>
259 * Marshal.cs: Implement GetComSlotForMethodInfo
261 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
263 * Marshal.cs: Implement VARIANT marshalling methods
265 2006-05-20 Zac Bowling <zac@zacbowling.com>
266 * VarEnum.cs: ComVisible Attribute (2.0)
267 * InterfaceTypeAttribute.cs: ComVisible Attribute (2.0)
268 * UCOMITypeInfo.cs: ComImport Attribute (1.x)
269 * UCOMITypeComp.cs: ComImport Attribute (1.x)
270 * MarshalAsAttribute.cs: ComVisible Attribute (2.0)
271 * StructLayoutAttribute.cs: ComVisible Attribute (2.0)
272 * ProgIdAttribute.cs: ComVisible Attribute (2.0)
273 * PrimaryInteropAssemblyAttribute.cs: ComVisible Attribute (2.0)
274 * ImporterEventKind.cs: ComVisible Attribute (2.0)
275 * UCOMIPersistFile.cs: ComImport Attribute (1.x)
276 * SetWin32ContextInIDispatchAttribute.cs: Obselete and ComVisible
278 * IRegistrationServices.cs: ComVisible Attribute and CAS Attributes (2.0)
279 * InAttribute.cs: ComVisible Attribute (2.0)
280 * UCOMIMoniker.cs: ComImport Attribute (1.x)
281 * MarshalDirectiveException.cs: ComVisible Attribute (2.0)
282 * IDLDESC.cs: ComVisible Attribute (1.x)
283 * FUNCFLAGS.cs: ComVisible Attribute (1.x)
284 * UCOMIConnectionPointContainer.cs: ComImport Attribute (1.x)
285 * TypeLibExporterFlags.cs: ComVisible Attribute (2.0)
286 * ICustomMarshaler.cs: ComVisible Attribute (2.0)
287 * LayoutKind.cs: ComVisible Attribute (2.0) + Serializable + Clean
288 * ICustomAdapter.cs: ComVisible Attribute (2.0)
289 * UnmanagedFunctionPointerAttribute.cs: ComVisible Attribute and Param
290 Signature of UnmanagedFunctionPointerAttribute(...)
291 * FUNCKIND.cs: ComVisble Attribute (1.x)
292 * TypeLibVersionAttribute.cs: ComVisible Attribute (2.0) + Missing in
294 * TypeLibVarAttribute.cs: ComVisible Attribute (2.0)
295 * ITypeLibConverter.cs: ComVisible Attribute (2.0)
296 * UCOMIRunningObjectTable.cs: ComImport Attribute (1.x)
297 * IDispatchImplAttribute.cs: Obsolete + ComVisible Attribute (2.0)
298 * ITypeLibImporterNotifySink.cs: ComVisible Attribute (2.0)
299 * PreserveSigAttribute.cs: ComVisible Attribute (2.0)
300 * SYSKIND.cs: ComVisible Attribute (1.x)
301 * UCOMIEnumVARIANT.cs: ComImport Attribute (1.x)
302 * UCOMIEnumString.cs: ComImport Attribute (1.x) and Expose to 1.x (not
303 a 2.0 exclusive class)
304 * OutAttribute.cs: ComVisible Attribute (2.0)
305 * InvalidComObjectException.cs: ComVisible Attribute (2.0)
306 * SEHException.cs: ComVisible Attribute (2.0)
307 * UCOMIConnectionPoint.cs: ComImport Attribute (1.x)
308 * TypeLibImporterFlags.cs: ComVisible Attribute (2.0) and
310 * OptionalAttribute.cs: ComVisible Attribute (2.0)
311 * TYPEDESC.cs: ComVisible Attribute (1.x)
312 * UCOMIEnumMoniker.cs: ComImport Attribute (1.x) and Expose to 1.x
313 (not a 2.0 exclusive class)
314 * TypeLibTypeFlags.cs: ComVisible Attribute (2.0)
315 * ITypeLibExporterNotifySink.cs: ComVisible Attribute (2.0)
316 * HandleRef.cs: ComVisible.cs and add ToIntPtr (2.0)
317 * DllImportAttribute.cs: ComVisible Attribute (2.0)
318 * TypeLibTypeAttribute.cs: ComVisible Attribute (2.0)
319 * UnknownWrapper.cs: Serializable, ComVisible Attribute (2.0)
320 * IDFLAGS.cs: ComVisible Attribute (1.x only)
321 * RegistrationClassContext.cs: License + Flags attribute (2.0)
322 * GCHandle.cs: ComVisible Attribute + Operator Overrides (2.0)
323 * TypeLibImportClassAttribute.cs: ComVisible Attribute (2.0)
324 * IMPLYTPEFLAGS.cs: ComVisible Attribute (1.x)
325 * ImportedFromTypeLibAttribute.cs: ComVisible (2.0)
326 * UCOMIBindCtx.cs: Obsolete Attribute (2.0)
327 * FUNCDESC.cs: ComVisible Attribute (1.x)
328 * RegistrationConnectionType.cs: Flags Attribute (2.0)
329 * IDispatchImplType.cs: Obsolete + ComVisible Attribute (2.0)
330 * TypeLibConverter.cs: ComVisible (2.0)
331 * INVOKEKIND.cs: ComVisible Attribute (1.x)
332 * GCHandleType.cs: ComVisible Attribute (2.0) + Serializable
333 * ICustomFactory.cs: ComVisible Attribute (2.0)
334 * FieldOffsetAttribute.cs: ComVisible Attribute (2.0)
335 * LIBFLAGS.cs: ComVisible Attribute (1.x)
336 * ComSourceInterfacesAttributes.cs: ComVisible Attribute (2.0)
337 * STATSTG.cs: ComVisible Attribute (1.x)
338 * InvalidOleVariantTypeException.cs: ComVisible Attribute (2.0)
339 * TypeLibVarFlags.cs: ComVisible Attribute (2.0)
340 * TYPEFLAGS.cs: ComVisible Attribute (1.x)
341 * SafeArrayRankMismatchException.cs: ComVisible Attribute (2.0)
342 * TYPEATTR.cs: ComVisible Attribute (1.x)
343 * GuidAttribute.cs: ComVisible Attribute (2.0)
344 * UCOMIEnumConnectionPoints.cs: ComImport Attribute (1.x) + Expose to
345 1.x (not a 2.0 exclusive)
346 * SafeArrayTypeMismatchException.cs: ComVisible Attribute (2.0)
347 * ObjectCreationDelegate.cs: ComVisible Attribute (2.0)
348 * ITypeLibExporterNameProvider.cs: ComVisible Attribute (2.0) and
349 MarshelAs VarEnum Type.
350 * UCOMIStream.cs: ComImport Attribute (1.x)
351 * TypeLibFuncFlags.cs ComVisible Attribute (2.0)
352 * UnmanagedType.cs: ComVisible Attribute (2.0) + clean up
353 * UCOMIEnumConnections.cs: ComImport Attribute (1.0)
354 * LCIDConversionAttribute.cs: ComVisible Attribute (2.0)
355 * TypeLibFuncAttribute.cs: ComVisible Attribute (2.0)
357 2006-05-02 Jonathan Chambers <jonathan.chambers@ansys.com>
359 * Marshal.cs: Implement BSTR methods
361 2006-01-12 Ben Maurer <bmaurer@andrew.cmu.edu>
363 * SafeHandle.cs: Update to RTM api
365 2005-11-17 Zoltan Varga <vargaz@gmail.com>
367 * DefaultParameterValueAttribute.cs: New file.
369 2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
371 * Marshal.cs: Added null check in SecureStringTo* methods and make
372 them throw a NotSupportedException otherwise (as existing code must
373 deal with this anyway). Fixed Uni -> Unicode method name changes.
375 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
377 * UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
378 UCOMIConnectionPointContainer.cs, UCOMIEnumConnectionPoints.cs,
379 UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
380 UCOMIEnumVARIANT.cs, UCOMIMoniker.cs, UCOMIPersistFile.cs,
381 UCOMIRunningObjectTable.cs, UCOMIStream.cs, UCOMITypeComp.cs,
382 UCOMITypeInfo.cs, UCOMITypeLib.cs: Remove [ComImport] from the default
383 profile (this is new in 2.0) and reduce corcompare extras by 15.
385 2005-09-21 Kornél Pál <kornelpal@hotmail.com>
387 * UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
388 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, UnmanagedType.cs:
389 Removed UnmanagedType_80 that was required because mcs bug #75945
392 2005-08-12 Gert Driesen <drieseng@users.sourceforge.net>
394 * SetWin32ContextInIDispatchAttribute.cs: Make this attribute also
395 available in 1.0 profile (.NET 1.1).
396 * VariantWrapper.cs: Class is also exposed in .NET 1.1. Only
397 serializable in 2.0 profile.
399 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
401 * SafeHandle.cs: New file.
403 2005-08-06 Gert Driesen <drieseng@users.sourceforge.net>
405 * _Activator.cs: ComVisible should only be set in 2.0 profile.
406 Added TypeLibImportClass attribute.
407 * _Assembly.cs: ComVisible should only be set in 2.0 profile. Added
408 TypeLibImportClass attribute. Fixes InterfaceType to match MS.NET.
409 * _AssemblyBuilder.cs: ComVisible should only be set in 2.0 profile.
410 Added TypeLibImportClass attribute.
411 * _AssemblyName.cs: ComVisible should only be set in 2.0 profile.
412 Added TypeLibImportClass attribute.
413 * _Attribute.cs: ComVisible should only be set in 2.0 profile.
414 Added TypeLibImportClass attribute.
415 * _ConstructorBuilder.cs: ComVisible should only be set in 2.0 profile.
416 Added TypeLibImportClass attribute.
417 * _ConstructorInfo.cs: Fixed InterfaceType to match MS.NET. Added
418 TypeLibImportClass attribute. Added missing methods.
419 * _CustomAttributeBuilder.cs: ComVisible should only be set in 2.0 profile.
420 Added TypeLibImportClass attribute.
421 * _EnumBuilder.cs: ComVisible should only be set in 2.0 profile.
422 Added TypeLibImportClass attribute.
423 * _EventBuilder.cs: ComVisible should only be set in 2.0 profile.
424 Added TypeLibImportClass attribute.
425 * _EventInfo.cs: Fixed InterfaceType to match MS.NET. Added
426 TypeLibImportClass attribute. Added missing methods.
427 * _FieldBuilder.cs: ComVisible should only be set in 2.0 profile.
428 Added TypeLibImportClass attribute.
429 * _FieldInfo.cs: Fixed InterfaceType to match MS.NET. Added
430 TypeLibImportClass attribute. Added missing methods.
431 * _ILGenerator.cs: ComVisible should only be set in 2.0 profile.
432 Added TypeLibImportClass attribute.
433 * _LocalBuilder.cs: ComVisible should only be set in 2.0 profile.
434 Added TypeLibImportClass attribute.
435 * _MemberInfo.cs: Fixed InterfaceType to match MS.NET. Added
436 TypeLibImportClass attribute. Added missing methods.
437 * _MethodBase.cs: Fixed InterfaceType to match MS.NET. Added
438 TypeLibImportClass attribute. Added missing methods.
439 * _MethodInfo.cs: Fixed InterfaceType to match MS.NET. Added
440 TypeLibImportClass attribute. Added missing methods.
441 * _MethodBuilder.cs: ComVisible should only be set in 2.0 profile.
442 Added TypeLibImportClass attribute.
443 * _MethodRental.cs: ComVisible should only be set in 2.0 profile.
444 Added TypeLibImportClass attribute.
445 * _Module.cs: ComVisible should only be set in 2.0 profile.
446 Added TypeLibImportClass attribute.
447 * _ModuleBuilder.cs: ComVisible should only be set in 2.0 profile.
448 Added TypeLibImportClass attribute.
449 * _ParameterBuilder.cs: ComVisible should only be set in 2.0 profile.
450 Added TypeLibImportClass attribute.
451 * _ParameterInfo.cs: ComVisible should only be set in 2.0 profile.
452 Added TypeLibImportClass attribute.
453 * _PropertyBuilder.cs: ComVisible should only be setin 2.0 profile.
454 Added TypeLibImportClass attribute.
455 * _PropertyInfo.cs: Fixed InterfaceType to match MS.NET. Added
456 TypeLibImportClass attribute. Added missing methods.
457 * _SignatureHelper.cs: ComVisible should only be set in 2.0 profile.
458 Added TypeLibImportClass attribute.
459 * _Type.cs: Added TypeLibImportClass attribute. Fixed InterfaceType
460 to match MS.NET. Added missing method to match MS.NET.
461 * _Thread.cs: ComVisible should only be set in 2.0 profile.
462 Added TypeLibImportClass attribute.
463 * _TypeBuilder:cs: ComVisible should only be set in 2.0 profile.
464 Added TypeLibImportClass attribute.
465 * Marshal.cs: Removed MarshalAs attribute from parameter to fix
466 API compatibility with MS.NET.
467 * TypeLibImportClassAttribute.cs: Added.
469 2005-07-06 Zoltan Varga <vargaz@freemail.hu>
471 * GCHandle.cs: Add 2.0 FromIntPtr/ToIntPtr methods.
473 2005-06-08 Sebastien Pouliot <sebastien@ximian.com>
475 * RuntimeEnvironment.cs: I get better results when calling Demand.
477 2005-06-07 Sebastien Pouliot <sebastien@ximian.com>
479 * RuntimeEnvironment.cs: Implemented TODO. Added security for CAS.
481 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
483 * _Exception.cs: That one wasn't backported to 1.1 SP1 by MS. This
484 should fix a lot of extra reported in the API status pages.
486 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
488 * Marshal.cs: Add some missing 2.0 attributes.
490 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
493 * _ConstructorInfo.cs
501 * _Type.cs: Chance to .Net 1.1
504 * _AssemblyBuilder.cs
506 * _ConstructorBuilder.cs
507 * _CustomAttributeBuilder.cs
517 * _ParameterBuilder.cs
519 * _PropertyBuilder.cs
520 * _SignatureHelper.cs
522 * _TypeBuilder.cs: Added
524 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
526 * _Attribute.cs: New. Interface for attributes in 2.0.
528 2005-04-13 Marek Safar <marek.safar@seznam.cz>
530 * DefaultCharSetAttribute.cs: Removed useless using.
532 2005-03-31 Alp Toker <alp@atoker.com>
534 * GCHandle.cs: Clearer ArgumentException text in the case of a
535 null-valued IntPtr argument.
537 2005-03-04 Kazuki Oikawa <kazuki@panicode.com>
543 * ComDefaultInterfaceAttribute.cs
544 * ComObjectInUseException.cs
545 * ComSourceInterfacesAttribute.cs
548 * DefaultCharSetAttribute.cs
553 * ExposeAsClassToComAttribute.cs
564 * ITypeLibConverter.cs
565 * ITypeLibExporterNameProvider.cs
566 * ITypeLibExporterNotifySink.cs
570 * PrimaryInteropAssemblyAttribute.cs
578 * TypeLibExporterFlags.cs
579 * TypeLibImporterFlags.cs
581 * UCOMIConnectionPoint.cs
582 * UCOMIConnectionPointContainer.cs
583 * UCOMIEnumConnectionPoints.cs
584 * UCOMIEnumConnections.cs
585 * UCOMIEnumMoniker.cs
587 * UCOMIEnumVARIANT.cs
589 * UCOMIPersistFile.cs
590 * UCOMIRunningObjectTable.cs
595 * UnmanagedFunctionPointerAttribute.cs
598 * VariantWrapper.cs: Added missing attributes.
600 2005-03-03 Kazuki Oikawa <kazuki@panicode.com>
602 * _ConstructorInfo.cs
611 * ComDefaultInterfaceAttribute.cs
612 * ComObjectInUseException.cs
614 * DefaultCharSetAttribute.cs
615 * ExposeAsClassToComAttribute.cs
616 * RegistrationClassContext.cs
617 * RegistrationConnectionType.cs: Add
619 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
621 * UnmanagedFunctionPointerAttribute.cs: Add #region directives.
623 2005-02-21 Kazuki Oikawa <kazuki@panicode.com>
625 * BIND_OPTS.cs, CONNECTEDATA.cs, DISPPARAMS.cs, ELEMDESC.cs,
626 EXCEPINFO.cs, FILETIME.cs, FUNCDESC.cs, STATSTG.cs, TYPEATTR.cs,
627 TYPELIBATTR.cs, UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
628 UCOMIEnumConnectionPoints.cs, UCOMIEnumConnections.cs,
629 UCOMIEnumMoniker.cs, UCOMIEnumString.cs, UCOMIEnumVARIANT.cs,
630 UCOMIMoniker.cs, UCOMIPersistFile.cs, UCOMIRunningObjectTable.cs,
631 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, VARDESC.cs:
632 Corrected the order of the fields and the methods.
634 * BIND_OPTS.cs, CALLCONV.cs, FILETIME.cs, FUNCDESC.cs, FUNCFLAGS.cs,
635 FUNCKIND.cs, IDLFLAG.cs, IMPLTYPEFLAGS.cs, LIBFLAGS.cs, PARAMFLAG.cs,
636 STATSTG.cs, SYSKIND.cs, TYPEFLAGS.cs, VarEnum.cs, VARFLAGS.cs:
637 Added missing attributes.
639 Wed Feb 16 16:20:56 CET 2005 Paolo Molaro <lupus@ximian.com>
641 * GCHandle.cs: check the domain of an handle target is correct.
642 Make the unallocated value 0, since that is the default value
645 2005-02-10 Marek Safar <marek.safar@seznam.cz>
647 * TypeLibVarAttribute.cs,
648 * TypeLibTypeAttribute.cs,
649 * ComSourceInterfacesAttribute.cs: Fix AttributeUsage flags.
651 Sat Jan 29 12:48:03 CET 2005 Paolo Molaro <lupus@ximian.com>
653 * GCHandle.cs: update for runtime changes: the unallocated handle
656 2004-11-25 Raja R Harinath <rharinath@novell.com>
658 * UnmanagedType.cs (mono_bootstrap_NativeTypeMax): Rename from
659 __mono_bootstrap_NativeTypeMax. CSC doesn't like
660 [CLSCompliant(false)] on enum member.
662 2004-09-30 Zoltan Varga <vargaz@freemail.hu>
664 * Marshal.cs: Implement GetDelegateForFunctionPointer.
666 2004-09-29 Zoltan Varga <vargaz@freemail.hu>
668 * UnmanagedFunctionPointerAttribute.cs: New file.
670 * Marshal.cs: Make GetFunctionPointerForDelegate icall private.
672 * MarshalAsAttribute.cs: Add 2.0 IidParamIndex field.
674 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
676 * Marshal.cs: Add some ReliabilityContractAttributes.
678 * Marshal.cs (GetFunctionPointerForDelegate): Implement.
680 * Marshal.cs: Add stubs for missing 2.0 methods.
682 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
684 * DllImportAttribute.cs: Reorder fields and mark this class as visible
687 2004-09-08 Marek Safar <marek.safar@seznam.cz>
689 * Marshal.cs: Class is static in NET_2_0.
691 2004-07-29 Lluis Sanchez Gual <lluis@novell.com>
693 * RuntimeEnvironment.cs: Implemented SystemConfigurationFile and
696 Wed Jul 14 19:28:57 CEST 2004 Paolo Molaro <lupus@ximian.com>
698 * GCHandle.cs: throw exception if the result from AddrOfPinnedObject()
699 is -1 (special value returned by the runtime).
701 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
703 * _Exception.cs: New interface in Fx 2.0 to preserve member's order
706 2004-06-22 Raja R Harinath <rharinath@novell.com>
708 Fix bootstrap with mcs 0.31.
709 * UnmanagedType.cs (UnmanagedType.__mono_bootstrap_NativeTypeMax):
710 New bootstrap-only constant.
712 2004-06-18 Raja R Harinath <rharinath@novell.com>
714 Fix breaking build (see tests/test-272.cs). Since corlib is a
715 bootstrap library, we have to keep this fix even if the in-tree
716 mcs compiler is fixed.
717 * UCOMIEnumConnections.cs: Replace '(UnmanagedType) 80' in
718 attribute field initialization with Consts.UnmanagedType_80.
719 * UCOMIEnumMoniker.cs: Likewise.
720 * UCOMIEnumString.cs: Likewise.
721 * UCOMIStream.cs: Likewise.
722 * UCOMITypeInfo.cs: Likewise.
723 * UCOMITypeLib.cs: Likewise.
725 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
727 * BINDPTR.cs: have layout and charset match MS.NET
728 * CONNECTDATA.cs: have layout and charset match MS.NET
729 * DISPPARAMS.cs: have layout and charset match MS.NET
730 * ELEMDESC.cs: have layout and charset match MS.NET
731 * EXCEPINFO.cs: have layout and charset match MS.NET
732 * IDLDESC.cs: have layout and charset match MS.NET
733 * PARAMDESC.cs: have layout and charset match MS.NET
734 * STATSTG.cs: have layout and charset match MS.NET
735 * TYPEATTR.cs: have layout and charset match MS.NET
736 * TYPEDESC.cs: have layout and charset match MS.NET
737 * TYPELIBATTR.cs: have layout and charset match MS.NET
738 * VARDESC.cs: have layout and charset match MS.NET
740 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
742 * ArrayWithOffset.cs: fixed GetOffset to return int instead of
744 * CONNECTDATA.cs: added missing MarshalAs attribute
745 * EXCEPINFO.cs: added missing MarshalAs attributes
746 * ITypeLibConverter.cs: added missing MarshalAs attributes
747 * ITypeLibImporterNotifySink.cs: added missing MarshalAs attributes
748 * Marshal.cs: added missing MarshalAs attributues, and missing
750 * TypeLibConverter.cs: added missing MarshalAs attributes
751 * UCOMIBindCtx.cs: added missing MarshalAs attributes
752 * UCOMIConnectionPoint.cs: added missing MarshalAs attributes
753 * UCOMIEnumConnectionPoints.cs: added missing MarshalAs attributes
754 * UCOMIEnumConnections.cs: added missing PreserveSig attributes,
755 added missing MarshalAs attributes
756 * UCOMIEnumMoniker.cs: added missing PreserveSig attributes,
757 added missing MarshalAs attributes
758 * UCOMIEnumString.cs: added missing PreserveSig attributes,
759 added missing MarshalAs attributes
760 * UCOMIMoniker.cs: added missing MarshalAs attributes
761 * UCOMIPersistFile.cs: added missing PreserveSig attribute,
762 added missing MarshalAs attributes
763 * UCOMIRunningObjectTable.cs: added missing MarshalAs attributes
764 * UCOMIStream.cs: added missing MarshalAs attributes
765 * UCOMITypeComp.cs: added missing MarshalAs attributes
766 * UCOMITypeInfo.cs: added missing MarshalAs attributes
767 * UCOMITypeLib.cs: added missing PreserveSig attributes, added
768 missing MarshalAs attributes
770 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
772 * MarshalDirectiveException.cs: marked serializable to match MS.NET
773 * SafeArrayRankMismatchException.cs: marked serializable to match
775 * SafeArrayTypeMismatchException.cs: marked serializable to match
778 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
780 * InvalidComObjectException.cs: marked serializable to match MS.NET
781 * InvalidOleVarianTypeException.cs: marked serializable to match
784 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
786 * BestFitMappingAttribute.cs: removed serializable attribute
789 2004-05-30 Gert Driesen (drieseng@users.sourceforge.net)
791 * SetWin32ContextInIDispatchAttribute.cs: only build
793 * VariantWrapper.cs: only build for NET_2_0 profile
795 2004-05-29 Gert Driesen (drieseng@users.sourceforge.net)
797 * SetWin32ContextInIDispatchAttribute.cs: added
798 * VariantWrapper.cs: added
800 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
802 * AutomationProxyAttribute.cs
803 * BestFitMappingAttribute.cs
804 * ClassInterfaceAttribute.cs
805 * CoClassAttribute.cs
806 * ComAliasNameAttribute.cs
807 * ComCompatibleVersionAttribute.cs
808 * ComConversionLossAttribute.cs
809 * ComEventInterfaceAttribute.cs
810 * ComImportAttribute.cs
811 * ComRegisterFunctionAttribute.cs
812 * ComSourceInterfaceAttribute.cs
813 * ComUnregisterFunctionAttribute.cs
816 * DllImportAttribute.cs
817 * FieldOffsetAttribute.cs
819 * IDispatchImplAttribute.cs
820 * ImportedFromTypeLibAttribute.cs
822 * InterfaceTypeAttribute.cs
823 * LCIDConversionAttribute.cs
824 * MarshalAsAttribute.cs
825 * OptionalAttribute.cs
827 * PreserveSigAttribute.cs
828 * PrimaryInteropAssemblyAttribute.cs
830 * StructLayoutAttribute.cs
831 * TypeLibFuncAttribute.Cs
832 * TypeLibTypeAttribute.cs
833 * TypeLibVarAttribute.cs
834 * TypeLibVersionAttribute.cs now that Inherited is
835 false by default on AttributeUsageAttribute (as it
836 should be) we need to explicitly set Inherited to
837 false for those attributes should where it should be
840 2004-05-06 Mike Shaver <shaver@off.net>
841 * Marshal.cs: Implement StringToCoTaskMem{Ansi,Uni}
843 2004-05-05 Zoltan Varga <vargaz@freemail.hu>
845 * Marshal.cs: Applied patch from vladimir@pobox.com (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.
847 2004-01-30 Zoltan Varga <vargaz@freemail.hu>
849 * Marshal.cs: Implement AllocCoTaskMem and FreeCoTaskMem.
851 2003-11-26 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
853 * DispatchWrapper.cs: Added and implemented
854 * ErrorWrapper.cs: Fixed bug
855 * Marshal.cs: Added missing members
857 2003-11-18 Jackson Harper <jackson@ximian.com>
859 * CurrencyWrapper.cs: Fix file name.
861 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
863 * BestFitMappingAttribute.cs: Signature fix
864 * Marshal.cs: Add attribute, fix signatures
865 * MarshalAsAttribute.cs: Add head, add entry
866 * DllImportAttribute.cs: Added v1.1 entries
867 * TypeLibConverter.cs: Added, stubbed
868 * RegistrationServices.cs: Added, stubbed
869 * ExtensibleClassFactory.cs: Added, stubbed
870 * ErrorWrapper.cs: Added, implemented
871 * CurrencyWrapper.cs: Added, implemented
873 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
875 * IRegistrationServices.cs:
876 * ITypeLibConverter.cs:
877 * ITypeLibExporterNameProvider.cs:
878 * ITypeLibExporterNotifySink.cs:
879 * ITypeLibImporterNotifySink.cs: Added missing attribute
880 * UCOMIBindCtx.cs: Added missing attribute, fixed in attribute
881 * UCOMIConnectionPoint.cs:
882 * UCOMIConnectionPointContainer.cs:
883 * UCOMIEnumConnectionPoints.cs:
884 * UCOMIEnumConnections.cs:
885 * UCOMIEnumMoniker.cs:
886 * UCOMIEnumString.cs:
887 * UCOMIEnumVARIANT.cs:
889 * UCOMIPersistFile.cs:
890 * UCOMIRunningObjectTable.cs:
894 * UCOMITypeLib.cs: Added missing attribute
896 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
898 * UCOMIBindCtx.cs: Added and implemented
899 * UCOMIConnectionPoint.cs: Added and implemented
900 * UCOMIConnectionPointContainer.cs: Added and implemented
901 * UCOMIEnumConnectionPoints.cs: Added and implemented
902 * UCOMIEnumConnections.cs: Added and implemented
903 * UCOMIEnumMoniker.cs: Added and implemented
904 * UCOMIEnumString.cs: Added and implemented
905 * UCOMIEnumVARIANT.cs: Added and implemented
906 * UCOMIMoniker.cs: Added and implemented
907 * UCOMIPersistFile.cs: Added and implemented
908 * UCOMIRunningObjectTable.cs: Added and implemented
909 * UCOMIStream.cs: Added and implemented
911 * UCOMTypeComp.cs: renamed
912 * UCOMTypeInfo.cs: renamed
913 * UCOMTypeLib.cs: renamed
915 * ITypeLibConverter.cs: Fixed interface signature
917 * ComSourceInterfacesAttribute.cs: Added and implemented
918 * IDispatchImplAttribute.cs: Added and implemented
919 * InvalidComObjectException.cs: Added and implemented
920 * InvalidOleVariantTypeException.cs: Added and implemented
921 * MarshalDirectiveException.cs: Added and implemented
922 * SafeArrayRankMismatchException.cs: Added and implemented
923 * SafeArrayTypeMismatchException.cs: Added and implemented
924 * SEHException.cs: Added attribute
925 * UnknownWrapper.cs: Added and implemented
938 * VARDESC.cs: Added and implemented
943 * IDispatchImplType.cs:
950 * TypeLibImporterFlags.cs:
951 * VARFLAGS.cs: Added and implemented
953 2003-07-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
955 * ComCompatibleVersionAttribute.cs: Added and implemented
956 * TypeLibVersionAttribute.cs: Added and implemented
958 Wed Jun 18 12:49:54 CEST 2003 Paolo Molaro <lupus@ximian.com>
960 * Marshal.cs: implemented Prelink with icalls.
962 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
964 * RuntimeEnvironment.cs: New file. Stubbed by Dominik Fretz
967 2003-03-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
969 * ExternalException.cs: doesn't need a field to keep the result code.
970 * SEHException.cs: implemented.
972 2003-03-03 Tim Coleman <tim@timcoleman.com>
973 * HandleRef.cs: Add this struct
975 2003-01-05 Sebastien Pouliot <spouliot@videotron.ca>
977 * COMException.cs: New. Minimal (incomplete - i'm not using COM)
978 implementation because this is thrown when dealing with Software
979 Publisher Certificates (SPC) in X509Certificate.
981 2002-08-22 Nick Drochak <ndrochak@gol.com>
983 * OutAttribute.cs: TypeID isn't overriden from Attribute here.
984 * PInvokeMap.cs: Non-existent enum. Must be from beta days.
986 2002-06-24 root <dietmar@ximian.com>
988 * Marshal.cs: impl. Copy()
990 Fri Jun 14 16:18:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
992 * UnmanagedType.cs, Marshal.cs: minor fixes.
994 Wed Jun 12 16:32:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
996 * Marshal.c: stubbed out all the methods and filled in some
998 * BINDPTR.cs, ComMemberType.cs, DESCKIND.cs, DISPPARAMS.cs,
999 EXCEPINFO.cs, INVOKEKIND.cs, TYPEKIND.cs, UCOMTypeInfo.cs,
1000 UCOMTypeLib.cs: enums, interfaces and structs needed in Marshal class.
1002 Tue Jun 4 18:05:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
1004 * GCHandle.cs: changed to fit spec and implementation needs.
1006 Tue May 14 16:35:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
1008 * CharSet.cs: added missing None enum item.
1010 2002-04-26 Joe Shaw <joe@ximian.com>
1012 * Marshal.cs (StructureToPtr): stub this out.
1014 2002-04-23 Joe Shaw <joe@ximian.com>
1016 * Marshal.cs: Stub out a few functions to get gtk# to build.
1018 2002-04-22 Duncan Mak <duncan@ximian.com>
1020 * ImporterEventKind.cs:
1021 * TypeLibFuncFlags.cs:
1022 * TypeLibTypeFlags.cs:
1023 * TypeLibVarFlags.cs: Fixed various typos and added missing elements.
1025 * ComConventionLossAttribute.cs: Removed, there's a typo.
1026 * ComConversionLossAttribute.cs: Same attribute, slight change of name.
1028 * PreserveSigAttribute.cs:
1029 * ImportedFromTypeLibAttribute.cs: Added missing AttributeUsage
1032 * TypeLibFuncAttribute.cs:
1033 * TypeLibTypeAttribute.cs:
1034 * TypeLibVarAttribute.cs: Added missing constructors.
1037 2002-04-22 Duncan Mak <duncan@ximian.com>
1039 * AutomationProxyAttribute.cs:
1040 * CoClassAttribute.cs:
1041 * ComAliasNameAttribute.cs:
1042 * ComConventionLossAttribute.cs:
1043 * ComEventInterfaceAttribute.cs:
1044 * ComImportAttribute.cs:
1045 * ComRegisterFunctionAttribute.cs:
1046 * ComUnregisterFunctionAttribute.cs:
1047 * DispIdAttribute.cs:
1048 * ImportedFromTypeLibAttribute.cs:
1049 * LCIDConversionAttribute.cs:
1050 * PreserveSigAttribute.cs:
1051 * PrimaryInteropAssemblyAttribute.cs:
1052 * ProgIdAttribute.cs:
1053 * TypeLibFuncAttribute.cs:
1054 * TypeLibFuncFlags.cs:
1055 * TypeLibTypeAttribute.cs:
1056 * TypeLibTypeFlags.cs:
1057 * TypeLibVarAttribute.cs:
1058 * TypeLibVarFlags.cs: Added to CVS.
1060 2002-04-08 Nick Drochak <ndrochak@gol.com>
1062 * Marshal.cs: Make class public.
1063 * ComVisible.cs: New File.
1065 2002-03-24 Nick Drochak <ndrochak@gol.com>
1067 * ClassInterfaceAttribute.cs:
1068 * ClassInterfaceType.cs: New Files.
1070 2002-02-27 Duncan Mak <duncan@ximian.com>
1072 * ExporterEventKind.cs:
1073 * ITypeLibConverter.cs:
1074 * ITypeLibImporterNotifySink.cs: Added to CVS for Kevin Winchester <kwin@ns.sympatico.ca>.
1076 2002-02-26 Duncan Mak <duncan@ximian.com>
1078 * ComInterfaceType.cs: Added to CVS.
1080 * AssemblyRegistrationFlags.cs:
1082 * ICustomAdapter.cs:
1083 * ICustomFactory.cs:
1084 * ICustomMarshaler.cs:
1085 * IRegistrationServices.cs:
1086 * ITypeLibExporterNameProvider.cs:
1087 * ITypeLibImporterNotifySink.cs:
1088 * InterfaceTypeAttribute.cs:
1089 * TypeLibExporterFlags.cs: Committed for Kevin Winchester <kwin@ns.sympatico.ca>.
1091 * GCHandle.cs: Added to CVS. Patch from Ajay kumar Dwivedi.
1093 * GCHandleType.cs: Committed patch from Ajay.
1095 * ImporterEventKind.cs: Added to CVS.
1097 2002-01-24 Miguel de Icaza <miguel@ximian.com>
1099 * StructLayoutAttribute.cs: Flag attribute as targetting structs
1102 * InAttribute.cs: Flag attribute as targettting a paramter
1104 * OutAttribute.cs: ditto.
1106 * DllImportAttribute.cs: Flag attribute as targetting methods.
1108 * MarshalAsAttribute.cs: Flag attribute as targetting fields,
1109 parameters and returnvalues.
1111 2002-01-23 Dick Porter <dick@ximian.com>
1113 * Marshal.cs: Added GetLastWin32Error()
1115 * ExternalException.cs: Implemented
1117 2002-01-17 Miguel de Icaza <miguel@ximian.com>
1119 * ExternalException.cs: Add ExternalException.
1121 2002-01-05 Ravi Pratap <ravi@ximian.com>
1123 * OutAttribute.cs : Decorate with MonoTODO.
1125 Thu Dec 20 15:46:31 CET 2001 Paolo Molaro <lupus@ximian.com>
1127 * FieldOffsetAttribute.cs, InAttribute.cs, MarshalAsAttribute.cs,
1128 OptionalAttribute.cs, StructLayoutAttribute.cs, VarEnum.cs:
1129 more stuff needed by the compiler.
1131 Thu Dec 13 20:22:18 CET 2001 Paolo Molaro <lupus@ximian.com>
1133 * DllImportAttribute.cs: added.
1134 * MethodImplOptions.cs: removed: this is already in CompilerServices.
1136 Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <lupus@ximian.com>
1138 * CallingConvention.cs: add missing Winapi.
1140 2001-07-20 Miguel de Icaza <miguel@ximian.com>
1142 * OutAttribute.cs: New file.
1144 2001-07-18 Michael Lambert <michaellambert@email.com>
1146 * CallingConvention.cs.cs, CharSet.cs, GCHandleType.cs, LayoutKind.cs: Add.