1 2008-02-20 Zoltan Varga <vargaz@gmail.com>
3 * Marshal.cs (GetDelegateForFunctionPointer): Add a nullref check.
5 2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
7 * COMException.cs: Fix new-line literal and use of "" detected by
10 2008-01-13 Gert Driesen <drieseng@users.sourceforge.net>
12 * COMException.cs: Added missing colon in ToString.
14 2007-12-04 Gert Driesen <drieseng@users.sourceforge.net>
16 * ExternalException.cs: Set HResult to match MS.
18 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
20 * ComVisible.cs: Fix parameter name (part of #322850).
22 2007-09-14 Zoltan Varga <vargaz@gmail.com>
24 * GCHandle.cs (AddrOfPinnedObject): Use -2 to communicate that the handle is not
25 pinned. Correct exception message. Fixes #82848.
27 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
29 * SafeHandle.cs CriticalHandle.cs TypeLibImporterFlags.cs
30 RegistrationClassContext.cs ArrayWithOffset.cs :
31 * ComObjectInUseException.cs ExposeAsClassToComAttribute.cs :
32 removed obsoleted files.
34 2007-07-18 Miguel de Icaza <miguel@novell.com>
36 * SafeHandle.cs: Harden this, do not call ReleaseHandle if the
39 * CriticalHandle.cs: Harden this, do not call ReleaseHandle if the
42 2007-07-06 Jonathan Chambers <joncham@gmail.com>
44 * ExtensibleClassFactory.cs: Fix ExtensibleClassFactory.
46 2007-06-22 Jonathan Chambers <joncham@gmail.com>
48 * Marshal.cs (ThrowExceptionForHR): Implement/consolidate.
49 * Marshal.cs (GetExceptionForHR): Implement/consolidate.
51 2007-05-11 Jonathan Chambers <joncham@gmail.com>
53 * Marshal.cs (SecureStringToBSTR): BSTR header is size in bytes,
56 2007-05-02 Jonathan Chambers <joncham@gmail.com>
58 * ExtensibleClassFactory.cs: Don't use un-implemented overload.
60 2007-05-02 Dick Porter <dick@ximian.com>
62 * _ConstructorInfo.cs:
72 * AutomationProxyAttribute.cs:
73 * BestFitMappingAttribute.cs:
75 * ClassInterfaceAttribute.cs:
76 * CoClassAttribute.cs:
77 * ComAliasNameAttribute.cs:
78 * ComCompatibleVersionAttribute.cs:
79 * ComConversionLossAttribute.cs:
80 * ComDefaultInterfaceAttribute.cs:
81 * ComEventInterfaceAttribute.cs:
83 * ComImportAttribute.cs:
84 * ComObjectInUseException.cs:
85 * ComRegisterFunctionAttribute.cs:
86 * ComUnregisterFunctionAttribute.cs:
90 * DefaultCharSetAttribute.cs:
94 * ExtensibleClassFactory.cs:
95 * ExternalException.cs:
98 * StructLayoutAttribute.cs:
99 * TypeLibConverter.cs:
100 * ArrayWithOffset.cs:
111 * CallingConvention.cs:
113 * ClassInterfaceType.cs:
114 * ComInterfaceType.cs:
117 * ExporterEventKind.cs:
119 * RegistrationClassContext.cs:
121 * TypeLibImporterFlags.cs:
123 * VARFLAGS.cs: Update to 2.0 profile
125 2007-04-15 Alp Toker <alp@atoker.com>
127 * Marshal.cs: Add new 2.0 Copy() from IntPtr[] overload.
129 2007-03-12 Raja R Harinath <rharinath@novell.com>
131 * DefaultParameterValueAttribute.cs: Move to System.dll.
133 2007-02-08 Jonathan Chambers <joncham@gmail.com>
135 * Marshal.cs: Throw exceptions for AddRef, Release,
136 and QueryInterface in managed code. Implement GetComInterfaceForObject,
137 GetIDispatchForObject, GetIUnknownForObject, GetObjectForIUnknown,
138 GetObjectsForNativeVariants, IsComObject, ReleaseComObject, and
139 FinalReleaseComObject. Unimplement GetComObjectData and SetComObjectData
140 for now to save space and simplify __ComObject for now. MSDN states the
141 user should never call these methods anyway.
143 2007-01-29 Marek Habersack <grendello@gmail.com>
145 * Marshal.cs: Implement a missing Marshal.Copy overload.
147 2007-01-11 Jonathan Chambers <joncham@gmail.com>
149 * Marshal.cs: Implement Marshal.ReAllocCoTaskMem.
151 2007-01-03 Miguel de Icaza <miguel@novell.com>
153 * SafeHandle.cs: Do not use locks in SafeHandle to protect the
154 access to the refcount, use Interlocked.CompareExchange. The
155 locks were the source of problems with domain finalization when
156 this code was enabled.
158 This should fix Matt Hargett's bug report with a full `make check'
159 that reported variations of:
161 ** (../../class/lib/net_2_0/nunit-console.exe:29644): WARNING **:
162 Finalization of domain <domainname> timed out.
164 Also, it is a lot lighther.
166 2006-12-21 Miguel de Icaza <miguel@novell.com>
168 * CriticalHandle.cs: Add Dispose(bool disposing) method, and
171 2006-12-15 Gert Driesen <drieseng@users.sourceforge.net>
173 * Marshal.cs: Use SystemDefaultCharSize to determine whether to
174 use Ansi or Unicode variant of StringToCoTaskMem.
176 2006-12-15 Miguel de Icaza <miguel@novell.com>
178 * Marshal.cs (SecureStringToCoTaskMemAnsi, SecureStringToBSTR,
179 SecureStringToCoTaskMemUnicode, ZeroFreeCoTaskMemAnsi,
180 ZeroFreeCoTaskMemUnicode, ZeroFreeGlobalAllocAnsi,
181 ZeroFreeGlobalAllocUnicode): Implement.
183 (StringToCoTaskAuto): return the same as Ansi.
185 The ANSI code is out of sync with Mono, which treats ANSI as
188 Code formatting changes
190 2006-12-11 Miguel de Icaza <miguel@novell.com>
192 * SafeHandle.cs: Fix a handful of bugs, and add tests for them.
193 Only release the handle if its owned by us. Also throw
194 ObjectDisposedException's
198 DangerousAddRef will now throw an exception if the object was
201 2006-12-02 Miguel de Icaza <miguel@novell.com>
203 * SafeHandle.cs: Implement this class.
205 2006-10-06 Jonathan Chambers <joncham@gmail.com>
207 * ExtensibleClassFactory.cs: Implement RegisterObjectCreationCallback.
209 2006-08-31 Robert Jordan <robertj@gmx.net>
211 * Marshal.cs: Replaced the *Auto internal calls with managed
212 variants. Fixed SystemDefaultCharSize to return an OS dependent
215 2006-08-09 Jonathan Chambers <joncham@gmail.com>
217 * Marshal.cs: Implement GetIDispatchForObject.
219 2006-08-07 Gert Driesen <drieseng@users.sourceforge.net>
221 * Marshal.cs: Added stubs for GetTypeLibGuid (ITypeLib), GetTypeLibLcid
222 (ITypeLib), GetTypeLibName (ITypeLib).
224 2006-07-28 Jonathan Chambers <joncham@gmail.com>
226 * Marshal.cs: Implemented CreateWrapperOfType and ReleaseComObject.
228 2006-07-15 Jonathan Chambers <joncham@gmail.com>
230 * Marshal.cs: Begin implementing COM Interop. Implemented
231 AddRef, GetComInterfaceForObject, GetComObjectData, GetIUnknownForObject,
232 GetObjectForIUnknown, GetTypedObjectForIUnknown, IsComObject, QueryInterface
233 Release, SetComObjectData, and ThrowExceptionForHR.
235 2006-06-07 Jonathan Chambers <jonathan.chambers@ansys.com>
237 * Marshal.cs: Implement GetComSlotForMethodInfo
239 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
241 * Marshal.cs: Implement VARIANT marshalling methods
243 2006-05-20 Zac Bowling <zac@zacbowling.com>
244 * VarEnum.cs: ComVisible Attribute (2.0)
245 * InterfaceTypeAttribute.cs: ComVisible Attribute (2.0)
246 * UCOMITypeInfo.cs: ComImport Attribute (1.x)
247 * UCOMITypeComp.cs: ComImport Attribute (1.x)
248 * MarshalAsAttribute.cs: ComVisible Attribute (2.0)
249 * StructLayoutAttribute.cs: ComVisible Attribute (2.0)
250 * ProgIdAttribute.cs: ComVisible Attribute (2.0)
251 * PrimaryInteropAssemblyAttribute.cs: ComVisible Attribute (2.0)
252 * ImporterEventKind.cs: ComVisible Attribute (2.0)
253 * UCOMIPersistFile.cs: ComImport Attribute (1.x)
254 * SetWin32ContextInIDispatchAttribute.cs: Obselete and ComVisible
256 * IRegistrationServices.cs: ComVisible Attribute and CAS Attributes (2.0)
257 * InAttribute.cs: ComVisible Attribute (2.0)
258 * UCOMIMoniker.cs: ComImport Attribute (1.x)
259 * MarshalDirectiveException.cs: ComVisible Attribute (2.0)
260 * IDLDESC.cs: ComVisible Attribute (1.x)
261 * FUNCFLAGS.cs: ComVisible Attribute (1.x)
262 * UCOMIConnectionPointContainer.cs: ComImport Attribute (1.x)
263 * TypeLibExporterFlags.cs: ComVisible Attribute (2.0)
264 * ICustomMarshaler.cs: ComVisible Attribute (2.0)
265 * LayoutKind.cs: ComVisible Attribute (2.0) + Serializable + Clean
266 * ICustomAdapter.cs: ComVisible Attribute (2.0)
267 * UnmanagedFunctionPointerAttribute.cs: ComVisible Attribute and Param
268 Signature of UnmanagedFunctionPointerAttribute(...)
269 * FUNCKIND.cs: ComVisble Attribute (1.x)
270 * TypeLibVersionAttribute.cs: ComVisible Attribute (2.0) + Missing in
272 * TypeLibVarAttribute.cs: ComVisible Attribute (2.0)
273 * ITypeLibConverter.cs: ComVisible Attribute (2.0)
274 * UCOMIRunningObjectTable.cs: ComImport Attribute (1.x)
275 * IDispatchImplAttribute.cs: Obsolete + ComVisible Attribute (2.0)
276 * ITypeLibImporterNotifySink.cs: ComVisible Attribute (2.0)
277 * PreserveSigAttribute.cs: ComVisible Attribute (2.0)
278 * SYSKIND.cs: ComVisible Attribute (1.x)
279 * UCOMIEnumVARIANT.cs: ComImport Attribute (1.x)
280 * UCOMIEnumString.cs: ComImport Attribute (1.x) and Expose to 1.x (not
281 a 2.0 exclusive class)
282 * OutAttribute.cs: ComVisible Attribute (2.0)
283 * InvalidComObjectException.cs: ComVisible Attribute (2.0)
284 * SEHException.cs: ComVisible Attribute (2.0)
285 * UCOMIConnectionPoint.cs: ComImport Attribute (1.x)
286 * TypeLibImporterFlags.cs: ComVisible Attribute (2.0) and
288 * OptionalAttribute.cs: ComVisible Attribute (2.0)
289 * TYPEDESC.cs: ComVisible Attribute (1.x)
290 * UCOMIEnumMoniker.cs: ComImport Attribute (1.x) and Expose to 1.x
291 (not a 2.0 exclusive class)
292 * TypeLibTypeFlags.cs: ComVisible Attribute (2.0)
293 * ITypeLibExporterNotifySink.cs: ComVisible Attribute (2.0)
294 * HandleRef.cs: ComVisible.cs and add ToIntPtr (2.0)
295 * DllImportAttribute.cs: ComVisible Attribute (2.0)
296 * TypeLibTypeAttribute.cs: ComVisible Attribute (2.0)
297 * UnknownWrapper.cs: Serializable, ComVisible Attribute (2.0)
298 * IDFLAGS.cs: ComVisible Attribute (1.x only)
299 * RegistrationClassContext.cs: License + Flags attribute (2.0)
300 * GCHandle.cs: ComVisible Attribute + Operator Overrides (2.0)
301 * TypeLibImportClassAttribute.cs: ComVisible Attribute (2.0)
302 * IMPLYTPEFLAGS.cs: ComVisible Attribute (1.x)
303 * ImportedFromTypeLibAttribute.cs: ComVisible (2.0)
304 * UCOMIBindCtx.cs: Obsolete Attribute (2.0)
305 * FUNCDESC.cs: ComVisible Attribute (1.x)
306 * RegistrationConnectionType.cs: Flags Attribute (2.0)
307 * IDispatchImplType.cs: Obsolete + ComVisible Attribute (2.0)
308 * TypeLibConverter.cs: ComVisible (2.0)
309 * INVOKEKIND.cs: ComVisible Attribute (1.x)
310 * GCHandleType.cs: ComVisible Attribute (2.0) + Serializable
311 * ICustomFactory.cs: ComVisible Attribute (2.0)
312 * FieldOffsetAttribute.cs: ComVisible Attribute (2.0)
313 * LIBFLAGS.cs: ComVisible Attribute (1.x)
314 * ComSourceInterfacesAttributes.cs: ComVisible Attribute (2.0)
315 * STATSTG.cs: ComVisible Attribute (1.x)
316 * InvalidOleVariantTypeException.cs: ComVisible Attribute (2.0)
317 * TypeLibVarFlags.cs: ComVisible Attribute (2.0)
318 * TYPEFLAGS.cs: ComVisible Attribute (1.x)
319 * SafeArrayRankMismatchException.cs: ComVisible Attribute (2.0)
320 * TYPEATTR.cs: ComVisible Attribute (1.x)
321 * GuidAttribute.cs: ComVisible Attribute (2.0)
322 * UCOMIEnumConnectionPoints.cs: ComImport Attribute (1.x) + Expose to
323 1.x (not a 2.0 exclusive)
324 * SafeArrayTypeMismatchException.cs: ComVisible Attribute (2.0)
325 * ObjectCreationDelegate.cs: ComVisible Attribute (2.0)
326 * ITypeLibExporterNameProvider.cs: ComVisible Attribute (2.0) and
327 MarshelAs VarEnum Type.
328 * UCOMIStream.cs: ComImport Attribute (1.x)
329 * TypeLibFuncFlags.cs ComVisible Attribute (2.0)
330 * UnmanagedType.cs: ComVisible Attribute (2.0) + clean up
331 * UCOMIEnumConnections.cs: ComImport Attribute (1.0)
332 * LCIDConversionAttribute.cs: ComVisible Attribute (2.0)
333 * TypeLibFuncAttribute.cs: ComVisible Attribute (2.0)
335 2006-05-02 Jonathan Chambers <jonathan.chambers@ansys.com>
337 * Marshal.cs: Implement BSTR methods
339 2006-01-12 Ben Maurer <bmaurer@andrew.cmu.edu>
341 * SafeHandle.cs: Update to RTM api
343 2005-11-17 Zoltan Varga <vargaz@gmail.com>
345 * DefaultParameterValueAttribute.cs: New file.
347 2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
349 * Marshal.cs: Added null check in SecureStringTo* methods and make
350 them throw a NotSupportedException otherwise (as existing code must
351 deal with this anyway). Fixed Uni -> Unicode method name changes.
353 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
355 * UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
356 UCOMIConnectionPointContainer.cs, UCOMIEnumConnectionPoints.cs,
357 UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
358 UCOMIEnumVARIANT.cs, UCOMIMoniker.cs, UCOMIPersistFile.cs,
359 UCOMIRunningObjectTable.cs, UCOMIStream.cs, UCOMITypeComp.cs,
360 UCOMITypeInfo.cs, UCOMITypeLib.cs: Remove [ComImport] from the default
361 profile (this is new in 2.0) and reduce corcompare extras by 15.
363 2005-09-21 Kornél Pál <kornelpal@hotmail.com>
365 * UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
366 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, UnmanagedType.cs:
367 Removed UnmanagedType_80 that was required because mcs bug #75945
370 2005-08-12 Gert Driesen <drieseng@users.sourceforge.net>
372 * SetWin32ContextInIDispatchAttribute.cs: Make this attribute also
373 available in 1.0 profile (.NET 1.1).
374 * VariantWrapper.cs: Class is also exposed in .NET 1.1. Only
375 serializable in 2.0 profile.
377 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
379 * SafeHandle.cs: New file.
381 2005-08-06 Gert Driesen <drieseng@users.sourceforge.net>
383 * _Activator.cs: ComVisible should only be set in 2.0 profile.
384 Added TypeLibImportClass attribute.
385 * _Assembly.cs: ComVisible should only be set in 2.0 profile. Added
386 TypeLibImportClass attribute. Fixes InterfaceType to match MS.NET.
387 * _AssemblyBuilder.cs: ComVisible should only be set in 2.0 profile.
388 Added TypeLibImportClass attribute.
389 * _AssemblyName.cs: ComVisible should only be set in 2.0 profile.
390 Added TypeLibImportClass attribute.
391 * _Attribute.cs: ComVisible should only be set in 2.0 profile.
392 Added TypeLibImportClass attribute.
393 * _ConstructorBuilder.cs: ComVisible should only be set in 2.0 profile.
394 Added TypeLibImportClass attribute.
395 * _ConstructorInfo.cs: Fixed InterfaceType to match MS.NET. Added
396 TypeLibImportClass attribute. Added missing methods.
397 * _CustomAttributeBuilder.cs: ComVisible should only be set in 2.0 profile.
398 Added TypeLibImportClass attribute.
399 * _EnumBuilder.cs: ComVisible should only be set in 2.0 profile.
400 Added TypeLibImportClass attribute.
401 * _EventBuilder.cs: ComVisible should only be set in 2.0 profile.
402 Added TypeLibImportClass attribute.
403 * _EventInfo.cs: Fixed InterfaceType to match MS.NET. Added
404 TypeLibImportClass attribute. Added missing methods.
405 * _FieldBuilder.cs: ComVisible should only be set in 2.0 profile.
406 Added TypeLibImportClass attribute.
407 * _FieldInfo.cs: Fixed InterfaceType to match MS.NET. Added
408 TypeLibImportClass attribute. Added missing methods.
409 * _ILGenerator.cs: ComVisible should only be set in 2.0 profile.
410 Added TypeLibImportClass attribute.
411 * _LocalBuilder.cs: ComVisible should only be set in 2.0 profile.
412 Added TypeLibImportClass attribute.
413 * _MemberInfo.cs: Fixed InterfaceType to match MS.NET. Added
414 TypeLibImportClass attribute. Added missing methods.
415 * _MethodBase.cs: Fixed InterfaceType to match MS.NET. Added
416 TypeLibImportClass attribute. Added missing methods.
417 * _MethodInfo.cs: Fixed InterfaceType to match MS.NET. Added
418 TypeLibImportClass attribute. Added missing methods.
419 * _MethodBuilder.cs: ComVisible should only be set in 2.0 profile.
420 Added TypeLibImportClass attribute.
421 * _MethodRental.cs: ComVisible should only be set in 2.0 profile.
422 Added TypeLibImportClass attribute.
423 * _Module.cs: ComVisible should only be set in 2.0 profile.
424 Added TypeLibImportClass attribute.
425 * _ModuleBuilder.cs: ComVisible should only be set in 2.0 profile.
426 Added TypeLibImportClass attribute.
427 * _ParameterBuilder.cs: ComVisible should only be set in 2.0 profile.
428 Added TypeLibImportClass attribute.
429 * _ParameterInfo.cs: ComVisible should only be set in 2.0 profile.
430 Added TypeLibImportClass attribute.
431 * _PropertyBuilder.cs: ComVisible should only be setin 2.0 profile.
432 Added TypeLibImportClass attribute.
433 * _PropertyInfo.cs: Fixed InterfaceType to match MS.NET. Added
434 TypeLibImportClass attribute. Added missing methods.
435 * _SignatureHelper.cs: ComVisible should only be set in 2.0 profile.
436 Added TypeLibImportClass attribute.
437 * _Type.cs: Added TypeLibImportClass attribute. Fixed InterfaceType
438 to match MS.NET. Added missing method to match MS.NET.
439 * _Thread.cs: ComVisible should only be set in 2.0 profile.
440 Added TypeLibImportClass attribute.
441 * _TypeBuilder:cs: ComVisible should only be set in 2.0 profile.
442 Added TypeLibImportClass attribute.
443 * Marshal.cs: Removed MarshalAs attribute from parameter to fix
444 API compatibility with MS.NET.
445 * TypeLibImportClassAttribute.cs: Added.
447 2005-07-06 Zoltan Varga <vargaz@freemail.hu>
449 * GCHandle.cs: Add 2.0 FromIntPtr/ToIntPtr methods.
451 2005-06-08 Sebastien Pouliot <sebastien@ximian.com>
453 * RuntimeEnvironment.cs: I get better results when calling Demand.
455 2005-06-07 Sebastien Pouliot <sebastien@ximian.com>
457 * RuntimeEnvironment.cs: Implemented TODO. Added security for CAS.
459 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
461 * _Exception.cs: That one wasn't backported to 1.1 SP1 by MS. This
462 should fix a lot of extra reported in the API status pages.
464 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
466 * Marshal.cs: Add some missing 2.0 attributes.
468 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
471 * _ConstructorInfo.cs
479 * _Type.cs: Chance to .Net 1.1
482 * _AssemblyBuilder.cs
484 * _ConstructorBuilder.cs
485 * _CustomAttributeBuilder.cs
495 * _ParameterBuilder.cs
497 * _PropertyBuilder.cs
498 * _SignatureHelper.cs
500 * _TypeBuilder.cs: Added
502 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
504 * _Attribute.cs: New. Interface for attributes in 2.0.
506 2005-04-13 Marek Safar <marek.safar@seznam.cz>
508 * DefaultCharSetAttribute.cs: Removed useless using.
510 2005-03-31 Alp Toker <alp@atoker.com>
512 * GCHandle.cs: Clearer ArgumentException text in the case of a
513 null-valued IntPtr argument.
515 2005-03-04 Kazuki Oikawa <kazuki@panicode.com>
521 * ComDefaultInterfaceAttribute.cs
522 * ComObjectInUseException.cs
523 * ComSourceInterfacesAttribute.cs
526 * DefaultCharSetAttribute.cs
531 * ExposeAsClassToComAttribute.cs
542 * ITypeLibConverter.cs
543 * ITypeLibExporterNameProvider.cs
544 * ITypeLibExporterNotifySink.cs
548 * PrimaryInteropAssemblyAttribute.cs
556 * TypeLibExporterFlags.cs
557 * TypeLibImporterFlags.cs
559 * UCOMIConnectionPoint.cs
560 * UCOMIConnectionPointContainer.cs
561 * UCOMIEnumConnectionPoints.cs
562 * UCOMIEnumConnections.cs
563 * UCOMIEnumMoniker.cs
565 * UCOMIEnumVARIANT.cs
567 * UCOMIPersistFile.cs
568 * UCOMIRunningObjectTable.cs
573 * UnmanagedFunctionPointerAttribute.cs
576 * VariantWrapper.cs: Added missing attributes.
578 2005-03-03 Kazuki Oikawa <kazuki@panicode.com>
580 * _ConstructorInfo.cs
589 * ComDefaultInterfaceAttribute.cs
590 * ComObjectInUseException.cs
592 * DefaultCharSetAttribute.cs
593 * ExposeAsClassToComAttribute.cs
594 * RegistrationClassContext.cs
595 * RegistrationConnectionType.cs: Add
597 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
599 * UnmanagedFunctionPointerAttribute.cs: Add #region directives.
601 2005-02-21 Kazuki Oikawa <kazuki@panicode.com>
603 * BIND_OPTS.cs, CONNECTEDATA.cs, DISPPARAMS.cs, ELEMDESC.cs,
604 EXCEPINFO.cs, FILETIME.cs, FUNCDESC.cs, STATSTG.cs, TYPEATTR.cs,
605 TYPELIBATTR.cs, UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
606 UCOMIEnumConnectionPoints.cs, UCOMIEnumConnections.cs,
607 UCOMIEnumMoniker.cs, UCOMIEnumString.cs, UCOMIEnumVARIANT.cs,
608 UCOMIMoniker.cs, UCOMIPersistFile.cs, UCOMIRunningObjectTable.cs,
609 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, VARDESC.cs:
610 Corrected the order of the fields and the methods.
612 * BIND_OPTS.cs, CALLCONV.cs, FILETIME.cs, FUNCDESC.cs, FUNCFLAGS.cs,
613 FUNCKIND.cs, IDLFLAG.cs, IMPLTYPEFLAGS.cs, LIBFLAGS.cs, PARAMFLAG.cs,
614 STATSTG.cs, SYSKIND.cs, TYPEFLAGS.cs, VarEnum.cs, VARFLAGS.cs:
615 Added missing attributes.
617 Wed Feb 16 16:20:56 CET 2005 Paolo Molaro <lupus@ximian.com>
619 * GCHandle.cs: check the domain of an handle target is correct.
620 Make the unallocated value 0, since that is the default value
623 2005-02-10 Marek Safar <marek.safar@seznam.cz>
625 * TypeLibVarAttribute.cs,
626 * TypeLibTypeAttribute.cs,
627 * ComSourceInterfacesAttribute.cs: Fix AttributeUsage flags.
629 Sat Jan 29 12:48:03 CET 2005 Paolo Molaro <lupus@ximian.com>
631 * GCHandle.cs: update for runtime changes: the unallocated handle
634 2004-11-25 Raja R Harinath <rharinath@novell.com>
636 * UnmanagedType.cs (mono_bootstrap_NativeTypeMax): Rename from
637 __mono_bootstrap_NativeTypeMax. CSC doesn't like
638 [CLSCompliant(false)] on enum member.
640 2004-09-30 Zoltan Varga <vargaz@freemail.hu>
642 * Marshal.cs: Implement GetDelegateForFunctionPointer.
644 2004-09-29 Zoltan Varga <vargaz@freemail.hu>
646 * UnmanagedFunctionPointerAttribute.cs: New file.
648 * Marshal.cs: Make GetFunctionPointerForDelegate icall private.
650 * MarshalAsAttribute.cs: Add 2.0 IidParamIndex field.
652 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
654 * Marshal.cs: Add some ReliabilityContractAttributes.
656 * Marshal.cs (GetFunctionPointerForDelegate): Implement.
658 * Marshal.cs: Add stubs for missing 2.0 methods.
660 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
662 * DllImportAttribute.cs: Reorder fields and mark this class as visible
665 2004-09-08 Marek Safar <marek.safar@seznam.cz>
667 * Marshal.cs: Class is static in NET_2_0.
669 2004-07-29 Lluis Sanchez Gual <lluis@novell.com>
671 * RuntimeEnvironment.cs: Implemented SystemConfigurationFile and
674 Wed Jul 14 19:28:57 CEST 2004 Paolo Molaro <lupus@ximian.com>
676 * GCHandle.cs: throw exception if the result from AddrOfPinnedObject()
677 is -1 (special value returned by the runtime).
679 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
681 * _Exception.cs: New interface in Fx 2.0 to preserve member's order
684 2004-06-22 Raja R Harinath <rharinath@novell.com>
686 Fix bootstrap with mcs 0.31.
687 * UnmanagedType.cs (UnmanagedType.__mono_bootstrap_NativeTypeMax):
688 New bootstrap-only constant.
690 2004-06-18 Raja R Harinath <rharinath@novell.com>
692 Fix breaking build (see tests/test-272.cs). Since corlib is a
693 bootstrap library, we have to keep this fix even if the in-tree
694 mcs compiler is fixed.
695 * UCOMIEnumConnections.cs: Replace '(UnmanagedType) 80' in
696 attribute field initialization with Consts.UnmanagedType_80.
697 * UCOMIEnumMoniker.cs: Likewise.
698 * UCOMIEnumString.cs: Likewise.
699 * UCOMIStream.cs: Likewise.
700 * UCOMITypeInfo.cs: Likewise.
701 * UCOMITypeLib.cs: Likewise.
703 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
705 * BINDPTR.cs: have layout and charset match MS.NET
706 * CONNECTDATA.cs: have layout and charset match MS.NET
707 * DISPPARAMS.cs: have layout and charset match MS.NET
708 * ELEMDESC.cs: have layout and charset match MS.NET
709 * EXCEPINFO.cs: have layout and charset match MS.NET
710 * IDLDESC.cs: have layout and charset match MS.NET
711 * PARAMDESC.cs: have layout and charset match MS.NET
712 * STATSTG.cs: have layout and charset match MS.NET
713 * TYPEATTR.cs: have layout and charset match MS.NET
714 * TYPEDESC.cs: have layout and charset match MS.NET
715 * TYPELIBATTR.cs: have layout and charset match MS.NET
716 * VARDESC.cs: have layout and charset match MS.NET
718 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
720 * ArrayWithOffset.cs: fixed GetOffset to return int instead of
722 * CONNECTDATA.cs: added missing MarshalAs attribute
723 * EXCEPINFO.cs: added missing MarshalAs attributes
724 * ITypeLibConverter.cs: added missing MarshalAs attributes
725 * ITypeLibImporterNotifySink.cs: added missing MarshalAs attributes
726 * Marshal.cs: added missing MarshalAs attributues, and missing
728 * TypeLibConverter.cs: added missing MarshalAs attributes
729 * UCOMIBindCtx.cs: added missing MarshalAs attributes
730 * UCOMIConnectionPoint.cs: added missing MarshalAs attributes
731 * UCOMIEnumConnectionPoints.cs: added missing MarshalAs attributes
732 * UCOMIEnumConnections.cs: added missing PreserveSig attributes,
733 added missing MarshalAs attributes
734 * UCOMIEnumMoniker.cs: added missing PreserveSig attributes,
735 added missing MarshalAs attributes
736 * UCOMIEnumString.cs: added missing PreserveSig attributes,
737 added missing MarshalAs attributes
738 * UCOMIMoniker.cs: added missing MarshalAs attributes
739 * UCOMIPersistFile.cs: added missing PreserveSig attribute,
740 added missing MarshalAs attributes
741 * UCOMIRunningObjectTable.cs: added missing MarshalAs attributes
742 * UCOMIStream.cs: added missing MarshalAs attributes
743 * UCOMITypeComp.cs: added missing MarshalAs attributes
744 * UCOMITypeInfo.cs: added missing MarshalAs attributes
745 * UCOMITypeLib.cs: added missing PreserveSig attributes, added
746 missing MarshalAs attributes
748 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
750 * MarshalDirectiveException.cs: marked serializable to match MS.NET
751 * SafeArrayRankMismatchException.cs: marked serializable to match
753 * SafeArrayTypeMismatchException.cs: marked serializable to match
756 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
758 * InvalidComObjectException.cs: marked serializable to match MS.NET
759 * InvalidOleVarianTypeException.cs: marked serializable to match
762 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
764 * BestFitMappingAttribute.cs: removed serializable attribute
767 2004-05-30 Gert Driesen (drieseng@users.sourceforge.net)
769 * SetWin32ContextInIDispatchAttribute.cs: only build
771 * VariantWrapper.cs: only build for NET_2_0 profile
773 2004-05-29 Gert Driesen (drieseng@users.sourceforge.net)
775 * SetWin32ContextInIDispatchAttribute.cs: added
776 * VariantWrapper.cs: added
778 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
780 * AutomationProxyAttribute.cs
781 * BestFitMappingAttribute.cs
782 * ClassInterfaceAttribute.cs
783 * CoClassAttribute.cs
784 * ComAliasNameAttribute.cs
785 * ComCompatibleVersionAttribute.cs
786 * ComConversionLossAttribute.cs
787 * ComEventInterfaceAttribute.cs
788 * ComImportAttribute.cs
789 * ComRegisterFunctionAttribute.cs
790 * ComSourceInterfaceAttribute.cs
791 * ComUnregisterFunctionAttribute.cs
794 * DllImportAttribute.cs
795 * FieldOffsetAttribute.cs
797 * IDispatchImplAttribute.cs
798 * ImportedFromTypeLibAttribute.cs
800 * InterfaceTypeAttribute.cs
801 * LCIDConversionAttribute.cs
802 * MarshalAsAttribute.cs
803 * OptionalAttribute.cs
805 * PreserveSigAttribute.cs
806 * PrimaryInteropAssemblyAttribute.cs
808 * StructLayoutAttribute.cs
809 * TypeLibFuncAttribute.Cs
810 * TypeLibTypeAttribute.cs
811 * TypeLibVarAttribute.cs
812 * TypeLibVersionAttribute.cs now that Inherited is
813 false by default on AttributeUsageAttribute (as it
814 should be) we need to explicitly set Inherited to
815 false for those attributes should where it should be
818 2004-05-06 Mike Shaver <shaver@off.net>
819 * Marshal.cs: Implement StringToCoTaskMem{Ansi,Uni}
821 2004-05-05 Zoltan Varga <vargaz@freemail.hu>
823 * Marshal.cs: Applied patch from vladimir@pobox.com (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.
825 2004-01-30 Zoltan Varga <vargaz@freemail.hu>
827 * Marshal.cs: Implement AllocCoTaskMem and FreeCoTaskMem.
829 2003-11-26 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
831 * DispatchWrapper.cs: Added and implemented
832 * ErrorWrapper.cs: Fixed bug
833 * Marshal.cs: Added missing members
835 2003-11-18 Jackson Harper <jackson@ximian.com>
837 * CurrencyWrapper.cs: Fix file name.
839 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
841 * BestFitMappingAttribute.cs: Signature fix
842 * Marshal.cs: Add attribute, fix signatures
843 * MarshalAsAttribute.cs: Add head, add entry
844 * DllImportAttribute.cs: Added v1.1 entries
845 * TypeLibConverter.cs: Added, stubbed
846 * RegistrationServices.cs: Added, stubbed
847 * ExtensibleClassFactory.cs: Added, stubbed
848 * ErrorWrapper.cs: Added, implemented
849 * CurrencyWrapper.cs: Added, implemented
851 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
853 * IRegistrationServices.cs:
854 * ITypeLibConverter.cs:
855 * ITypeLibExporterNameProvider.cs:
856 * ITypeLibExporterNotifySink.cs:
857 * ITypeLibImporterNotifySink.cs: Added missing attribute
858 * UCOMIBindCtx.cs: Added missing attribute, fixed in attribute
859 * UCOMIConnectionPoint.cs:
860 * UCOMIConnectionPointContainer.cs:
861 * UCOMIEnumConnectionPoints.cs:
862 * UCOMIEnumConnections.cs:
863 * UCOMIEnumMoniker.cs:
864 * UCOMIEnumString.cs:
865 * UCOMIEnumVARIANT.cs:
867 * UCOMIPersistFile.cs:
868 * UCOMIRunningObjectTable.cs:
872 * UCOMITypeLib.cs: Added missing attribute
874 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
876 * UCOMIBindCtx.cs: Added and implemented
877 * UCOMIConnectionPoint.cs: Added and implemented
878 * UCOMIConnectionPointContainer.cs: Added and implemented
879 * UCOMIEnumConnectionPoints.cs: Added and implemented
880 * UCOMIEnumConnections.cs: Added and implemented
881 * UCOMIEnumMoniker.cs: Added and implemented
882 * UCOMIEnumString.cs: Added and implemented
883 * UCOMIEnumVARIANT.cs: Added and implemented
884 * UCOMIMoniker.cs: Added and implemented
885 * UCOMIPersistFile.cs: Added and implemented
886 * UCOMIRunningObjectTable.cs: Added and implemented
887 * UCOMIStream.cs: Added and implemented
889 * UCOMTypeComp.cs: renamed
890 * UCOMTypeInfo.cs: renamed
891 * UCOMTypeLib.cs: renamed
893 * ITypeLibConverter.cs: Fixed interface signature
895 * ComSourceInterfacesAttribute.cs: Added and implemented
896 * IDispatchImplAttribute.cs: Added and implemented
897 * InvalidComObjectException.cs: Added and implemented
898 * InvalidOleVariantTypeException.cs: Added and implemented
899 * MarshalDirectiveException.cs: Added and implemented
900 * SafeArrayRankMismatchException.cs: Added and implemented
901 * SafeArrayTypeMismatchException.cs: Added and implemented
902 * SEHException.cs: Added attribute
903 * UnknownWrapper.cs: Added and implemented
916 * VARDESC.cs: Added and implemented
921 * IDispatchImplType.cs:
928 * TypeLibImporterFlags.cs:
929 * VARFLAGS.cs: Added and implemented
931 2003-07-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
933 * ComCompatibleVersionAttribute.cs: Added and implemented
934 * TypeLibVersionAttribute.cs: Added and implemented
936 Wed Jun 18 12:49:54 CEST 2003 Paolo Molaro <lupus@ximian.com>
938 * Marshal.cs: implemented Prelink with icalls.
940 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
942 * RuntimeEnvironment.cs: New file. Stubbed by Dominik Fretz
945 2003-03-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
947 * ExternalException.cs: doesn't need a field to keep the result code.
948 * SEHException.cs: implemented.
950 2003-03-03 Tim Coleman <tim@timcoleman.com>
951 * HandleRef.cs: Add this struct
953 2003-01-05 Sebastien Pouliot <spouliot@videotron.ca>
955 * COMException.cs: New. Minimal (incomplete - i'm not using COM)
956 implementation because this is thrown when dealing with Software
957 Publisher Certificates (SPC) in X509Certificate.
959 2002-08-22 Nick Drochak <ndrochak@gol.com>
961 * OutAttribute.cs: TypeID isn't overriden from Attribute here.
962 * PInvokeMap.cs: Non-existent enum. Must be from beta days.
964 2002-06-24 root <dietmar@ximian.com>
966 * Marshal.cs: impl. Copy()
968 Fri Jun 14 16:18:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
970 * UnmanagedType.cs, Marshal.cs: minor fixes.
972 Wed Jun 12 16:32:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
974 * Marshal.c: stubbed out all the methods and filled in some
976 * BINDPTR.cs, ComMemberType.cs, DESCKIND.cs, DISPPARAMS.cs,
977 EXCEPINFO.cs, INVOKEKIND.cs, TYPEKIND.cs, UCOMTypeInfo.cs,
978 UCOMTypeLib.cs: enums, interfaces and structs needed in Marshal class.
980 Tue Jun 4 18:05:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
982 * GCHandle.cs: changed to fit spec and implementation needs.
984 Tue May 14 16:35:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
986 * CharSet.cs: added missing None enum item.
988 2002-04-26 Joe Shaw <joe@ximian.com>
990 * Marshal.cs (StructureToPtr): stub this out.
992 2002-04-23 Joe Shaw <joe@ximian.com>
994 * Marshal.cs: Stub out a few functions to get gtk# to build.
996 2002-04-22 Duncan Mak <duncan@ximian.com>
998 * ImporterEventKind.cs:
999 * TypeLibFuncFlags.cs:
1000 * TypeLibTypeFlags.cs:
1001 * TypeLibVarFlags.cs: Fixed various typos and added missing elements.
1003 * ComConventionLossAttribute.cs: Removed, there's a typo.
1004 * ComConversionLossAttribute.cs: Same attribute, slight change of name.
1006 * PreserveSigAttribute.cs:
1007 * ImportedFromTypeLibAttribute.cs: Added missing AttributeUsage
1010 * TypeLibFuncAttribute.cs:
1011 * TypeLibTypeAttribute.cs:
1012 * TypeLibVarAttribute.cs: Added missing constructors.
1015 2002-04-22 Duncan Mak <duncan@ximian.com>
1017 * AutomationProxyAttribute.cs:
1018 * CoClassAttribute.cs:
1019 * ComAliasNameAttribute.cs:
1020 * ComConventionLossAttribute.cs:
1021 * ComEventInterfaceAttribute.cs:
1022 * ComImportAttribute.cs:
1023 * ComRegisterFunctionAttribute.cs:
1024 * ComUnregisterFunctionAttribute.cs:
1025 * DispIdAttribute.cs:
1026 * ImportedFromTypeLibAttribute.cs:
1027 * LCIDConversionAttribute.cs:
1028 * PreserveSigAttribute.cs:
1029 * PrimaryInteropAssemblyAttribute.cs:
1030 * ProgIdAttribute.cs:
1031 * TypeLibFuncAttribute.cs:
1032 * TypeLibFuncFlags.cs:
1033 * TypeLibTypeAttribute.cs:
1034 * TypeLibTypeFlags.cs:
1035 * TypeLibVarAttribute.cs:
1036 * TypeLibVarFlags.cs: Added to CVS.
1038 2002-04-08 Nick Drochak <ndrochak@gol.com>
1040 * Marshal.cs: Make class public.
1041 * ComVisible.cs: New File.
1043 2002-03-24 Nick Drochak <ndrochak@gol.com>
1045 * ClassInterfaceAttribute.cs:
1046 * ClassInterfaceType.cs: New Files.
1048 2002-02-27 Duncan Mak <duncan@ximian.com>
1050 * ExporterEventKind.cs:
1051 * ITypeLibConverter.cs:
1052 * ITypeLibImporterNotifySink.cs: Added to CVS for Kevin Winchester <kwin@ns.sympatico.ca>.
1054 2002-02-26 Duncan Mak <duncan@ximian.com>
1056 * ComInterfaceType.cs: Added to CVS.
1058 * AssemblyRegistrationFlags.cs:
1060 * ICustomAdapter.cs:
1061 * ICustomFactory.cs:
1062 * ICustomMarshaler.cs:
1063 * IRegistrationServices.cs:
1064 * ITypeLibExporterNameProvider.cs:
1065 * ITypeLibImporterNotifySink.cs:
1066 * InterfaceTypeAttribute.cs:
1067 * TypeLibExporterFlags.cs: Committed for Kevin Winchester <kwin@ns.sympatico.ca>.
1069 * GCHandle.cs: Added to CVS. Patch from Ajay kumar Dwivedi.
1071 * GCHandleType.cs: Committed patch from Ajay.
1073 * ImporterEventKind.cs: Added to CVS.
1075 2002-01-24 Miguel de Icaza <miguel@ximian.com>
1077 * StructLayoutAttribute.cs: Flag attribute as targetting structs
1080 * InAttribute.cs: Flag attribute as targettting a paramter
1082 * OutAttribute.cs: ditto.
1084 * DllImportAttribute.cs: Flag attribute as targetting methods.
1086 * MarshalAsAttribute.cs: Flag attribute as targetting fields,
1087 parameters and returnvalues.
1089 2002-01-23 Dick Porter <dick@ximian.com>
1091 * Marshal.cs: Added GetLastWin32Error()
1093 * ExternalException.cs: Implemented
1095 2002-01-17 Miguel de Icaza <miguel@ximian.com>
1097 * ExternalException.cs: Add ExternalException.
1099 2002-01-05 Ravi Pratap <ravi@ximian.com>
1101 * OutAttribute.cs : Decorate with MonoTODO.
1103 Thu Dec 20 15:46:31 CET 2001 Paolo Molaro <lupus@ximian.com>
1105 * FieldOffsetAttribute.cs, InAttribute.cs, MarshalAsAttribute.cs,
1106 OptionalAttribute.cs, StructLayoutAttribute.cs, VarEnum.cs:
1107 more stuff needed by the compiler.
1109 Thu Dec 13 20:22:18 CET 2001 Paolo Molaro <lupus@ximian.com>
1111 * DllImportAttribute.cs: added.
1112 * MethodImplOptions.cs: removed: this is already in CompilerServices.
1114 Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <lupus@ximian.com>
1116 * CallingConvention.cs: add missing Winapi.
1118 2001-07-20 Miguel de Icaza <miguel@ximian.com>
1120 * OutAttribute.cs: New file.
1122 2001-07-18 Michael Lambert <michaellambert@email.com>
1124 * CallingConvention.cs.cs, CharSet.cs, GCHandleType.cs, LayoutKind.cs: Add.