1 2007-05-02 Jonathan Chambers <joncham@gmail.com>
3 * ExtensibleClassFactory.cs: Don't use un-implemented overload.
5 2007-05-02 Dick Porter <dick@ximian.com>
17 * AutomationProxyAttribute.cs:
18 * BestFitMappingAttribute.cs:
20 * ClassInterfaceAttribute.cs:
21 * CoClassAttribute.cs:
22 * ComAliasNameAttribute.cs:
23 * ComCompatibleVersionAttribute.cs:
24 * ComConversionLossAttribute.cs:
25 * ComDefaultInterfaceAttribute.cs:
26 * ComEventInterfaceAttribute.cs:
28 * ComImportAttribute.cs:
29 * ComObjectInUseException.cs:
30 * ComRegisterFunctionAttribute.cs:
31 * ComUnregisterFunctionAttribute.cs:
35 * DefaultCharSetAttribute.cs:
39 * ExtensibleClassFactory.cs:
40 * ExternalException.cs:
43 * StructLayoutAttribute.cs:
44 * TypeLibConverter.cs:
56 * CallingConvention.cs:
58 * ClassInterfaceType.cs:
59 * ComInterfaceType.cs:
62 * ExporterEventKind.cs:
64 * RegistrationClassContext.cs:
66 * TypeLibImporterFlags.cs:
68 * VARFLAGS.cs: Update to 2.0 profile
70 2007-04-15 Alp Toker <alp@atoker.com>
72 * Marshal.cs: Add new 2.0 Copy() from IntPtr[] overload.
74 2007-03-12 Raja R Harinath <rharinath@novell.com>
76 * DefaultParameterValueAttribute.cs: Move to System.dll.
78 2007-02-08 Jonathan Chambers <joncham@gmail.com>
80 * Marshal.cs: Throw exceptions for AddRef, Release,
81 and QueryInterface in managed code. Implement GetComInterfaceForObject,
82 GetIDispatchForObject, GetIUnknownForObject, GetObjectForIUnknown,
83 GetObjectsForNativeVariants, IsComObject, ReleaseComObject, and
84 FinalReleaseComObject. Unimplement GetComObjectData and SetComObjectData
85 for now to save space and simplify __ComObject for now. MSDN states the
86 user should never call these methods anyway.
88 2007-01-29 Marek Habersack <grendello@gmail.com>
90 * Marshal.cs: Implement a missing Marshal.Copy overload.
92 2007-01-11 Jonathan Chambers <joncham@gmail.com>
94 * Marshal.cs: Implement Marshal.ReAllocCoTaskMem.
96 2007-01-03 Miguel de Icaza <miguel@novell.com>
98 * SafeHandle.cs: Do not use locks in SafeHandle to protect the
99 access to the refcount, use Interlocked.CompareExchange. The
100 locks were the source of problems with domain finalization when
101 this code was enabled.
103 This should fix Matt Hargett's bug report with a full `make check'
104 that reported variations of:
106 ** (../../class/lib/net_2_0/nunit-console.exe:29644): WARNING **:
107 Finalization of domain <domainname> timed out.
109 Also, it is a lot lighther.
111 2006-12-21 Miguel de Icaza <miguel@novell.com>
113 * CriticalHandle.cs: Add Dispose(bool disposing) method, and
116 2006-12-15 Gert Driesen <drieseng@users.sourceforge.net>
118 * Marshal.cs: Use SystemDefaultCharSize to determine whether to
119 use Ansi or Unicode variant of StringToCoTaskMem.
121 2006-12-15 Miguel de Icaza <miguel@novell.com>
123 * Marshal.cs (SecureStringToCoTaskMemAnsi, SecureStringToBSTR,
124 SecureStringToCoTaskMemUnicode, ZeroFreeCoTaskMemAnsi,
125 ZeroFreeCoTaskMemUnicode, ZeroFreeGlobalAllocAnsi,
126 ZeroFreeGlobalAllocUnicode): Implement.
128 (StringToCoTaskAuto): return the same as Ansi.
130 The ANSI code is out of sync with Mono, which treats ANSI as
133 Code formatting changes
135 2006-12-11 Miguel de Icaza <miguel@novell.com>
137 * SafeHandle.cs: Fix a handful of bugs, and add tests for them.
138 Only release the handle if its owned by us. Also throw
139 ObjectDisposedException's
143 DangerousAddRef will now throw an exception if the object was
146 2006-12-02 Miguel de Icaza <miguel@novell.com>
148 * SafeHandle.cs: Implement this class.
150 2006-10-06 Jonathan Chambers <joncham@gmail.com>
152 * ExtensibleClassFactory.cs: Implement RegisterObjectCreationCallback.
154 2006-08-31 Robert Jordan <robertj@gmx.net>
156 * Marshal.cs: Replaced the *Auto internal calls with managed
157 variants. Fixed SystemDefaultCharSize to return an OS dependent
160 2006-08-09 Jonathan Chambers <joncham@gmail.com>
162 * Marshal.cs: Implement GetIDispatchForObject.
164 2006-08-07 Gert Driesen <drieseng@users.sourceforge.net>
166 * Marshal.cs: Added stubs for GetTypeLibGuid (ITypeLib), GetTypeLibLcid
167 (ITypeLib), GetTypeLibName (ITypeLib).
169 2006-07-28 Jonathan Chambers <joncham@gmail.com>
171 * Marshal.cs: Implemented CreateWrapperOfType and ReleaseComObject.
173 2006-07-15 Jonathan Chambers <joncham@gmail.com>
175 * Marshal.cs: Begin implementing COM Interop. Implemented
176 AddRef, GetComInterfaceForObject, GetComObjectData, GetIUnknownForObject,
177 GetObjectForIUnknown, GetTypedObjectForIUnknown, IsComObject, QueryInterface
178 Release, SetComObjectData, and ThrowExceptionForHR.
180 2006-06-07 Jonathan Chambers <jonathan.chambers@ansys.com>
182 * Marshal.cs: Implement GetComSlotForMethodInfo
184 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
186 * Marshal.cs: Implement VARIANT marshalling methods
188 2006-05-20 Zac Bowling <zac@zacbowling.com>
189 * VarEnum.cs: ComVisible Attribute (2.0)
190 * InterfaceTypeAttribute.cs: ComVisible Attribute (2.0)
191 * UCOMITypeInfo.cs: ComImport Attribute (1.x)
192 * UCOMITypeComp.cs: ComImport Attribute (1.x)
193 * MarshalAsAttribute.cs: ComVisible Attribute (2.0)
194 * StructLayoutAttribute.cs: ComVisible Attribute (2.0)
195 * ProgIdAttribute.cs: ComVisible Attribute (2.0)
196 * PrimaryInteropAssemblyAttribute.cs: ComVisible Attribute (2.0)
197 * ImporterEventKind.cs: ComVisible Attribute (2.0)
198 * UCOMIPersistFile.cs: ComImport Attribute (1.x)
199 * SetWin32ContextInIDispatchAttribute.cs: Obselete and ComVisible
201 * IRegistrationServices.cs: ComVisible Attribute and CAS Attributes (2.0)
202 * InAttribute.cs: ComVisible Attribute (2.0)
203 * UCOMIMoniker.cs: ComImport Attribute (1.x)
204 * MarshalDirectiveException.cs: ComVisible Attribute (2.0)
205 * IDLDESC.cs: ComVisible Attribute (1.x)
206 * FUNCFLAGS.cs: ComVisible Attribute (1.x)
207 * UCOMIConnectionPointContainer.cs: ComImport Attribute (1.x)
208 * TypeLibExporterFlags.cs: ComVisible Attribute (2.0)
209 * ICustomMarshaler.cs: ComVisible Attribute (2.0)
210 * LayoutKind.cs: ComVisible Attribute (2.0) + Serializable + Clean
211 * ICustomAdapter.cs: ComVisible Attribute (2.0)
212 * UnmanagedFunctionPointerAttribute.cs: ComVisible Attribute and Param
213 Signature of UnmanagedFunctionPointerAttribute(...)
214 * FUNCKIND.cs: ComVisble Attribute (1.x)
215 * TypeLibVersionAttribute.cs: ComVisible Attribute (2.0) + Missing in
217 * TypeLibVarAttribute.cs: ComVisible Attribute (2.0)
218 * ITypeLibConverter.cs: ComVisible Attribute (2.0)
219 * UCOMIRunningObjectTable.cs: ComImport Attribute (1.x)
220 * IDispatchImplAttribute.cs: Obsolete + ComVisible Attribute (2.0)
221 * ITypeLibImporterNotifySink.cs: ComVisible Attribute (2.0)
222 * PreserveSigAttribute.cs: ComVisible Attribute (2.0)
223 * SYSKIND.cs: ComVisible Attribute (1.x)
224 * UCOMIEnumVARIANT.cs: ComImport Attribute (1.x)
225 * UCOMIEnumString.cs: ComImport Attribute (1.x) and Expose to 1.x (not
226 a 2.0 exclusive class)
227 * OutAttribute.cs: ComVisible Attribute (2.0)
228 * InvalidComObjectException.cs: ComVisible Attribute (2.0)
229 * SEHException.cs: ComVisible Attribute (2.0)
230 * UCOMIConnectionPoint.cs: ComImport Attribute (1.x)
231 * TypeLibImporterFlags.cs: ComVisible Attribute (2.0) and
233 * OptionalAttribute.cs: ComVisible Attribute (2.0)
234 * TYPEDESC.cs: ComVisible Attribute (1.x)
235 * UCOMIEnumMoniker.cs: ComImport Attribute (1.x) and Expose to 1.x
236 (not a 2.0 exclusive class)
237 * TypeLibTypeFlags.cs: ComVisible Attribute (2.0)
238 * ITypeLibExporterNotifySink.cs: ComVisible Attribute (2.0)
239 * HandleRef.cs: ComVisible.cs and add ToIntPtr (2.0)
240 * DllImportAttribute.cs: ComVisible Attribute (2.0)
241 * TypeLibTypeAttribute.cs: ComVisible Attribute (2.0)
242 * UnknownWrapper.cs: Serializable, ComVisible Attribute (2.0)
243 * IDFLAGS.cs: ComVisible Attribute (1.x only)
244 * RegistrationClassContext.cs: License + Flags attribute (2.0)
245 * GCHandle.cs: ComVisible Attribute + Operator Overrides (2.0)
246 * TypeLibImportClassAttribute.cs: ComVisible Attribute (2.0)
247 * IMPLYTPEFLAGS.cs: ComVisible Attribute (1.x)
248 * ImportedFromTypeLibAttribute.cs: ComVisible (2.0)
249 * UCOMIBindCtx.cs: Obsolete Attribute (2.0)
250 * FUNCDESC.cs: ComVisible Attribute (1.x)
251 * RegistrationConnectionType.cs: Flags Attribute (2.0)
252 * IDispatchImplType.cs: Obsolete + ComVisible Attribute (2.0)
253 * TypeLibConverter.cs: ComVisible (2.0)
254 * INVOKEKIND.cs: ComVisible Attribute (1.x)
255 * GCHandleType.cs: ComVisible Attribute (2.0) + Serializable
256 * ICustomFactory.cs: ComVisible Attribute (2.0)
257 * FieldOffsetAttribute.cs: ComVisible Attribute (2.0)
258 * LIBFLAGS.cs: ComVisible Attribute (1.x)
259 * ComSourceInterfacesAttributes.cs: ComVisible Attribute (2.0)
260 * STATSTG.cs: ComVisible Attribute (1.x)
261 * InvalidOleVariantTypeException.cs: ComVisible Attribute (2.0)
262 * TypeLibVarFlags.cs: ComVisible Attribute (2.0)
263 * TYPEFLAGS.cs: ComVisible Attribute (1.x)
264 * SafeArrayRankMismatchException.cs: ComVisible Attribute (2.0)
265 * TYPEATTR.cs: ComVisible Attribute (1.x)
266 * GuidAttribute.cs: ComVisible Attribute (2.0)
267 * UCOMIEnumConnectionPoints.cs: ComImport Attribute (1.x) + Expose to
268 1.x (not a 2.0 exclusive)
269 * SafeArrayTypeMismatchException.cs: ComVisible Attribute (2.0)
270 * ObjectCreationDelegate.cs: ComVisible Attribute (2.0)
271 * ITypeLibExporterNameProvider.cs: ComVisible Attribute (2.0) and
272 MarshelAs VarEnum Type.
273 * UCOMIStream.cs: ComImport Attribute (1.x)
274 * TypeLibFuncFlags.cs ComVisible Attribute (2.0)
275 * UnmanagedType.cs: ComVisible Attribute (2.0) + clean up
276 * UCOMIEnumConnections.cs: ComImport Attribute (1.0)
277 * LCIDConversionAttribute.cs: ComVisible Attribute (2.0)
278 * TypeLibFuncAttribute.cs: ComVisible Attribute (2.0)
280 2006-05-02 Jonathan Chambers <jonathan.chambers@ansys.com>
282 * Marshal.cs: Implement BSTR methods
284 2006-01-12 Ben Maurer <bmaurer@andrew.cmu.edu>
286 * SafeHandle.cs: Update to RTM api
288 2005-11-17 Zoltan Varga <vargaz@gmail.com>
290 * DefaultParameterValueAttribute.cs: New file.
292 2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
294 * Marshal.cs: Added null check in SecureStringTo* methods and make
295 them throw a NotSupportedException otherwise (as existing code must
296 deal with this anyway). Fixed Uni -> Unicode method name changes.
298 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
300 * UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
301 UCOMIConnectionPointContainer.cs, UCOMIEnumConnectionPoints.cs,
302 UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
303 UCOMIEnumVARIANT.cs, UCOMIMoniker.cs, UCOMIPersistFile.cs,
304 UCOMIRunningObjectTable.cs, UCOMIStream.cs, UCOMITypeComp.cs,
305 UCOMITypeInfo.cs, UCOMITypeLib.cs: Remove [ComImport] from the default
306 profile (this is new in 2.0) and reduce corcompare extras by 15.
308 2005-09-21 Kornél Pál <kornelpal@hotmail.com>
310 * UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
311 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, UnmanagedType.cs:
312 Removed UnmanagedType_80 that was required because mcs bug #75945
315 2005-08-12 Gert Driesen <drieseng@users.sourceforge.net>
317 * SetWin32ContextInIDispatchAttribute.cs: Make this attribute also
318 available in 1.0 profile (.NET 1.1).
319 * VariantWrapper.cs: Class is also exposed in .NET 1.1. Only
320 serializable in 2.0 profile.
322 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
324 * SafeHandle.cs: New file.
326 2005-08-06 Gert Driesen <drieseng@users.sourceforge.net>
328 * _Activator.cs: ComVisible should only be set in 2.0 profile.
329 Added TypeLibImportClass attribute.
330 * _Assembly.cs: ComVisible should only be set in 2.0 profile. Added
331 TypeLibImportClass attribute. Fixes InterfaceType to match MS.NET.
332 * _AssemblyBuilder.cs: ComVisible should only be set in 2.0 profile.
333 Added TypeLibImportClass attribute.
334 * _AssemblyName.cs: ComVisible should only be set in 2.0 profile.
335 Added TypeLibImportClass attribute.
336 * _Attribute.cs: ComVisible should only be set in 2.0 profile.
337 Added TypeLibImportClass attribute.
338 * _ConstructorBuilder.cs: ComVisible should only be set in 2.0 profile.
339 Added TypeLibImportClass attribute.
340 * _ConstructorInfo.cs: Fixed InterfaceType to match MS.NET. Added
341 TypeLibImportClass attribute. Added missing methods.
342 * _CustomAttributeBuilder.cs: ComVisible should only be set in 2.0 profile.
343 Added TypeLibImportClass attribute.
344 * _EnumBuilder.cs: ComVisible should only be set in 2.0 profile.
345 Added TypeLibImportClass attribute.
346 * _EventBuilder.cs: ComVisible should only be set in 2.0 profile.
347 Added TypeLibImportClass attribute.
348 * _EventInfo.cs: Fixed InterfaceType to match MS.NET. Added
349 TypeLibImportClass attribute. Added missing methods.
350 * _FieldBuilder.cs: ComVisible should only be set in 2.0 profile.
351 Added TypeLibImportClass attribute.
352 * _FieldInfo.cs: Fixed InterfaceType to match MS.NET. Added
353 TypeLibImportClass attribute. Added missing methods.
354 * _ILGenerator.cs: ComVisible should only be set in 2.0 profile.
355 Added TypeLibImportClass attribute.
356 * _LocalBuilder.cs: ComVisible should only be set in 2.0 profile.
357 Added TypeLibImportClass attribute.
358 * _MemberInfo.cs: Fixed InterfaceType to match MS.NET. Added
359 TypeLibImportClass attribute. Added missing methods.
360 * _MethodBase.cs: Fixed InterfaceType to match MS.NET. Added
361 TypeLibImportClass attribute. Added missing methods.
362 * _MethodInfo.cs: Fixed InterfaceType to match MS.NET. Added
363 TypeLibImportClass attribute. Added missing methods.
364 * _MethodBuilder.cs: ComVisible should only be set in 2.0 profile.
365 Added TypeLibImportClass attribute.
366 * _MethodRental.cs: ComVisible should only be set in 2.0 profile.
367 Added TypeLibImportClass attribute.
368 * _Module.cs: ComVisible should only be set in 2.0 profile.
369 Added TypeLibImportClass attribute.
370 * _ModuleBuilder.cs: ComVisible should only be set in 2.0 profile.
371 Added TypeLibImportClass attribute.
372 * _ParameterBuilder.cs: ComVisible should only be set in 2.0 profile.
373 Added TypeLibImportClass attribute.
374 * _ParameterInfo.cs: ComVisible should only be set in 2.0 profile.
375 Added TypeLibImportClass attribute.
376 * _PropertyBuilder.cs: ComVisible should only be setin 2.0 profile.
377 Added TypeLibImportClass attribute.
378 * _PropertyInfo.cs: Fixed InterfaceType to match MS.NET. Added
379 TypeLibImportClass attribute. Added missing methods.
380 * _SignatureHelper.cs: ComVisible should only be set in 2.0 profile.
381 Added TypeLibImportClass attribute.
382 * _Type.cs: Added TypeLibImportClass attribute. Fixed InterfaceType
383 to match MS.NET. Added missing method to match MS.NET.
384 * _Thread.cs: ComVisible should only be set in 2.0 profile.
385 Added TypeLibImportClass attribute.
386 * _TypeBuilder:cs: ComVisible should only be set in 2.0 profile.
387 Added TypeLibImportClass attribute.
388 * Marshal.cs: Removed MarshalAs attribute from parameter to fix
389 API compatibility with MS.NET.
390 * TypeLibImportClassAttribute.cs: Added.
392 2005-07-06 Zoltan Varga <vargaz@freemail.hu>
394 * GCHandle.cs: Add 2.0 FromIntPtr/ToIntPtr methods.
396 2005-06-08 Sebastien Pouliot <sebastien@ximian.com>
398 * RuntimeEnvironment.cs: I get better results when calling Demand.
400 2005-06-07 Sebastien Pouliot <sebastien@ximian.com>
402 * RuntimeEnvironment.cs: Implemented TODO. Added security for CAS.
404 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
406 * _Exception.cs: That one wasn't backported to 1.1 SP1 by MS. This
407 should fix a lot of extra reported in the API status pages.
409 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
411 * Marshal.cs: Add some missing 2.0 attributes.
413 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
416 * _ConstructorInfo.cs
424 * _Type.cs: Chance to .Net 1.1
427 * _AssemblyBuilder.cs
429 * _ConstructorBuilder.cs
430 * _CustomAttributeBuilder.cs
440 * _ParameterBuilder.cs
442 * _PropertyBuilder.cs
443 * _SignatureHelper.cs
445 * _TypeBuilder.cs: Added
447 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
449 * _Attribute.cs: New. Interface for attributes in 2.0.
451 2005-04-13 Marek Safar <marek.safar@seznam.cz>
453 * DefaultCharSetAttribute.cs: Removed useless using.
455 2005-03-31 Alp Toker <alp@atoker.com>
457 * GCHandle.cs: Clearer ArgumentException text in the case of a
458 null-valued IntPtr argument.
460 2005-03-04 Kazuki Oikawa <kazuki@panicode.com>
466 * ComDefaultInterfaceAttribute.cs
467 * ComObjectInUseException.cs
468 * ComSourceInterfacesAttribute.cs
471 * DefaultCharSetAttribute.cs
476 * ExposeAsClassToComAttribute.cs
487 * ITypeLibConverter.cs
488 * ITypeLibExporterNameProvider.cs
489 * ITypeLibExporterNotifySink.cs
493 * PrimaryInteropAssemblyAttribute.cs
501 * TypeLibExporterFlags.cs
502 * TypeLibImporterFlags.cs
504 * UCOMIConnectionPoint.cs
505 * UCOMIConnectionPointContainer.cs
506 * UCOMIEnumConnectionPoints.cs
507 * UCOMIEnumConnections.cs
508 * UCOMIEnumMoniker.cs
510 * UCOMIEnumVARIANT.cs
512 * UCOMIPersistFile.cs
513 * UCOMIRunningObjectTable.cs
518 * UnmanagedFunctionPointerAttribute.cs
521 * VariantWrapper.cs: Added missing attributes.
523 2005-03-03 Kazuki Oikawa <kazuki@panicode.com>
525 * _ConstructorInfo.cs
534 * ComDefaultInterfaceAttribute.cs
535 * ComObjectInUseException.cs
537 * DefaultCharSetAttribute.cs
538 * ExposeAsClassToComAttribute.cs
539 * RegistrationClassContext.cs
540 * RegistrationConnectionType.cs: Add
542 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
544 * UnmanagedFunctionPointerAttribute.cs: Add #region directives.
546 2005-02-21 Kazuki Oikawa <kazuki@panicode.com>
548 * BIND_OPTS.cs, CONNECTEDATA.cs, DISPPARAMS.cs, ELEMDESC.cs,
549 EXCEPINFO.cs, FILETIME.cs, FUNCDESC.cs, STATSTG.cs, TYPEATTR.cs,
550 TYPELIBATTR.cs, UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
551 UCOMIEnumConnectionPoints.cs, UCOMIEnumConnections.cs,
552 UCOMIEnumMoniker.cs, UCOMIEnumString.cs, UCOMIEnumVARIANT.cs,
553 UCOMIMoniker.cs, UCOMIPersistFile.cs, UCOMIRunningObjectTable.cs,
554 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, VARDESC.cs:
555 Corrected the order of the fields and the methods.
557 * BIND_OPTS.cs, CALLCONV.cs, FILETIME.cs, FUNCDESC.cs, FUNCFLAGS.cs,
558 FUNCKIND.cs, IDLFLAG.cs, IMPLTYPEFLAGS.cs, LIBFLAGS.cs, PARAMFLAG.cs,
559 STATSTG.cs, SYSKIND.cs, TYPEFLAGS.cs, VarEnum.cs, VARFLAGS.cs:
560 Added missing attributes.
562 Wed Feb 16 16:20:56 CET 2005 Paolo Molaro <lupus@ximian.com>
564 * GCHandle.cs: check the domain of an handle target is correct.
565 Make the unallocated value 0, since that is the default value
568 2005-02-10 Marek Safar <marek.safar@seznam.cz>
570 * TypeLibVarAttribute.cs,
571 * TypeLibTypeAttribute.cs,
572 * ComSourceInterfacesAttribute.cs: Fix AttributeUsage flags.
574 Sat Jan 29 12:48:03 CET 2005 Paolo Molaro <lupus@ximian.com>
576 * GCHandle.cs: update for runtime changes: the unallocated handle
579 2004-11-25 Raja R Harinath <rharinath@novell.com>
581 * UnmanagedType.cs (mono_bootstrap_NativeTypeMax): Rename from
582 __mono_bootstrap_NativeTypeMax. CSC doesn't like
583 [CLSCompliant(false)] on enum member.
585 2004-09-30 Zoltan Varga <vargaz@freemail.hu>
587 * Marshal.cs: Implement GetDelegateForFunctionPointer.
589 2004-09-29 Zoltan Varga <vargaz@freemail.hu>
591 * UnmanagedFunctionPointerAttribute.cs: New file.
593 * Marshal.cs: Make GetFunctionPointerForDelegate icall private.
595 * MarshalAsAttribute.cs: Add 2.0 IidParamIndex field.
597 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
599 * Marshal.cs: Add some ReliabilityContractAttributes.
601 * Marshal.cs (GetFunctionPointerForDelegate): Implement.
603 * Marshal.cs: Add stubs for missing 2.0 methods.
605 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
607 * DllImportAttribute.cs: Reorder fields and mark this class as visible
610 2004-09-08 Marek Safar <marek.safar@seznam.cz>
612 * Marshal.cs: Class is static in NET_2_0.
614 2004-07-29 Lluis Sanchez Gual <lluis@novell.com>
616 * RuntimeEnvironment.cs: Implemented SystemConfigurationFile and
619 Wed Jul 14 19:28:57 CEST 2004 Paolo Molaro <lupus@ximian.com>
621 * GCHandle.cs: throw exception if the result from AddrOfPinnedObject()
622 is -1 (special value returned by the runtime).
624 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
626 * _Exception.cs: New interface in Fx 2.0 to preserve member's order
629 2004-06-22 Raja R Harinath <rharinath@novell.com>
631 Fix bootstrap with mcs 0.31.
632 * UnmanagedType.cs (UnmanagedType.__mono_bootstrap_NativeTypeMax):
633 New bootstrap-only constant.
635 2004-06-18 Raja R Harinath <rharinath@novell.com>
637 Fix breaking build (see tests/test-272.cs). Since corlib is a
638 bootstrap library, we have to keep this fix even if the in-tree
639 mcs compiler is fixed.
640 * UCOMIEnumConnections.cs: Replace '(UnmanagedType) 80' in
641 attribute field initialization with Consts.UnmanagedType_80.
642 * UCOMIEnumMoniker.cs: Likewise.
643 * UCOMIEnumString.cs: Likewise.
644 * UCOMIStream.cs: Likewise.
645 * UCOMITypeInfo.cs: Likewise.
646 * UCOMITypeLib.cs: Likewise.
648 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
650 * BINDPTR.cs: have layout and charset match MS.NET
651 * CONNECTDATA.cs: have layout and charset match MS.NET
652 * DISPPARAMS.cs: have layout and charset match MS.NET
653 * ELEMDESC.cs: have layout and charset match MS.NET
654 * EXCEPINFO.cs: have layout and charset match MS.NET
655 * IDLDESC.cs: have layout and charset match MS.NET
656 * PARAMDESC.cs: have layout and charset match MS.NET
657 * STATSTG.cs: have layout and charset match MS.NET
658 * TYPEATTR.cs: have layout and charset match MS.NET
659 * TYPEDESC.cs: have layout and charset match MS.NET
660 * TYPELIBATTR.cs: have layout and charset match MS.NET
661 * VARDESC.cs: have layout and charset match MS.NET
663 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
665 * ArrayWithOffset.cs: fixed GetOffset to return int instead of
667 * CONNECTDATA.cs: added missing MarshalAs attribute
668 * EXCEPINFO.cs: added missing MarshalAs attributes
669 * ITypeLibConverter.cs: added missing MarshalAs attributes
670 * ITypeLibImporterNotifySink.cs: added missing MarshalAs attributes
671 * Marshal.cs: added missing MarshalAs attributues, and missing
673 * TypeLibConverter.cs: added missing MarshalAs attributes
674 * UCOMIBindCtx.cs: added missing MarshalAs attributes
675 * UCOMIConnectionPoint.cs: added missing MarshalAs attributes
676 * UCOMIEnumConnectionPoints.cs: added missing MarshalAs attributes
677 * UCOMIEnumConnections.cs: added missing PreserveSig attributes,
678 added missing MarshalAs attributes
679 * UCOMIEnumMoniker.cs: added missing PreserveSig attributes,
680 added missing MarshalAs attributes
681 * UCOMIEnumString.cs: added missing PreserveSig attributes,
682 added missing MarshalAs attributes
683 * UCOMIMoniker.cs: added missing MarshalAs attributes
684 * UCOMIPersistFile.cs: added missing PreserveSig attribute,
685 added missing MarshalAs attributes
686 * UCOMIRunningObjectTable.cs: added missing MarshalAs attributes
687 * UCOMIStream.cs: added missing MarshalAs attributes
688 * UCOMITypeComp.cs: added missing MarshalAs attributes
689 * UCOMITypeInfo.cs: added missing MarshalAs attributes
690 * UCOMITypeLib.cs: added missing PreserveSig attributes, added
691 missing MarshalAs attributes
693 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
695 * MarshalDirectiveException.cs: marked serializable to match MS.NET
696 * SafeArrayRankMismatchException.cs: marked serializable to match
698 * SafeArrayTypeMismatchException.cs: marked serializable to match
701 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
703 * InvalidComObjectException.cs: marked serializable to match MS.NET
704 * InvalidOleVarianTypeException.cs: marked serializable to match
707 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
709 * BestFitMappingAttribute.cs: removed serializable attribute
712 2004-05-30 Gert Driesen (drieseng@users.sourceforge.net)
714 * SetWin32ContextInIDispatchAttribute.cs: only build
716 * VariantWrapper.cs: only build for NET_2_0 profile
718 2004-05-29 Gert Driesen (drieseng@users.sourceforge.net)
720 * SetWin32ContextInIDispatchAttribute.cs: added
721 * VariantWrapper.cs: added
723 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
725 * AutomationProxyAttribute.cs
726 * BestFitMappingAttribute.cs
727 * ClassInterfaceAttribute.cs
728 * CoClassAttribute.cs
729 * ComAliasNameAttribute.cs
730 * ComCompatibleVersionAttribute.cs
731 * ComConversionLossAttribute.cs
732 * ComEventInterfaceAttribute.cs
733 * ComImportAttribute.cs
734 * ComRegisterFunctionAttribute.cs
735 * ComSourceInterfaceAttribute.cs
736 * ComUnregisterFunctionAttribute.cs
739 * DllImportAttribute.cs
740 * FieldOffsetAttribute.cs
742 * IDispatchImplAttribute.cs
743 * ImportedFromTypeLibAttribute.cs
745 * InterfaceTypeAttribute.cs
746 * LCIDConversionAttribute.cs
747 * MarshalAsAttribute.cs
748 * OptionalAttribute.cs
750 * PreserveSigAttribute.cs
751 * PrimaryInteropAssemblyAttribute.cs
753 * StructLayoutAttribute.cs
754 * TypeLibFuncAttribute.Cs
755 * TypeLibTypeAttribute.cs
756 * TypeLibVarAttribute.cs
757 * TypeLibVersionAttribute.cs now that Inherited is
758 false by default on AttributeUsageAttribute (as it
759 should be) we need to explicitly set Inherited to
760 false for those attributes should where it should be
763 2004-05-06 Mike Shaver <shaver@off.net>
764 * Marshal.cs: Implement StringToCoTaskMem{Ansi,Uni}
766 2004-05-05 Zoltan Varga <vargaz@freemail.hu>
768 * Marshal.cs: Applied patch from vladimir@pobox.com (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.
770 2004-01-30 Zoltan Varga <vargaz@freemail.hu>
772 * Marshal.cs: Implement AllocCoTaskMem and FreeCoTaskMem.
774 2003-11-26 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
776 * DispatchWrapper.cs: Added and implemented
777 * ErrorWrapper.cs: Fixed bug
778 * Marshal.cs: Added missing members
780 2003-11-18 Jackson Harper <jackson@ximian.com>
782 * CurrencyWrapper.cs: Fix file name.
784 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
786 * BestFitMappingAttribute.cs: Signature fix
787 * Marshal.cs: Add attribute, fix signatures
788 * MarshalAsAttribute.cs: Add head, add entry
789 * DllImportAttribute.cs: Added v1.1 entries
790 * TypeLibConverter.cs: Added, stubbed
791 * RegistrationServices.cs: Added, stubbed
792 * ExtensibleClassFactory.cs: Added, stubbed
793 * ErrorWrapper.cs: Added, implemented
794 * CurrencyWrapper.cs: Added, implemented
796 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
798 * IRegistrationServices.cs:
799 * ITypeLibConverter.cs:
800 * ITypeLibExporterNameProvider.cs:
801 * ITypeLibExporterNotifySink.cs:
802 * ITypeLibImporterNotifySink.cs: Added missing attribute
803 * UCOMIBindCtx.cs: Added missing attribute, fixed in attribute
804 * UCOMIConnectionPoint.cs:
805 * UCOMIConnectionPointContainer.cs:
806 * UCOMIEnumConnectionPoints.cs:
807 * UCOMIEnumConnections.cs:
808 * UCOMIEnumMoniker.cs:
809 * UCOMIEnumString.cs:
810 * UCOMIEnumVARIANT.cs:
812 * UCOMIPersistFile.cs:
813 * UCOMIRunningObjectTable.cs:
817 * UCOMITypeLib.cs: Added missing attribute
819 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
821 * UCOMIBindCtx.cs: Added and implemented
822 * UCOMIConnectionPoint.cs: Added and implemented
823 * UCOMIConnectionPointContainer.cs: Added and implemented
824 * UCOMIEnumConnectionPoints.cs: Added and implemented
825 * UCOMIEnumConnections.cs: Added and implemented
826 * UCOMIEnumMoniker.cs: Added and implemented
827 * UCOMIEnumString.cs: Added and implemented
828 * UCOMIEnumVARIANT.cs: Added and implemented
829 * UCOMIMoniker.cs: Added and implemented
830 * UCOMIPersistFile.cs: Added and implemented
831 * UCOMIRunningObjectTable.cs: Added and implemented
832 * UCOMIStream.cs: Added and implemented
834 * UCOMTypeComp.cs: renamed
835 * UCOMTypeInfo.cs: renamed
836 * UCOMTypeLib.cs: renamed
838 * ITypeLibConverter.cs: Fixed interface signature
840 * ComSourceInterfacesAttribute.cs: Added and implemented
841 * IDispatchImplAttribute.cs: Added and implemented
842 * InvalidComObjectException.cs: Added and implemented
843 * InvalidOleVariantTypeException.cs: Added and implemented
844 * MarshalDirectiveException.cs: Added and implemented
845 * SafeArrayRankMismatchException.cs: Added and implemented
846 * SafeArrayTypeMismatchException.cs: Added and implemented
847 * SEHException.cs: Added attribute
848 * UnknownWrapper.cs: Added and implemented
861 * VARDESC.cs: Added and implemented
866 * IDispatchImplType.cs:
873 * TypeLibImporterFlags.cs:
874 * VARFLAGS.cs: Added and implemented
876 2003-07-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
878 * ComCompatibleVersionAttribute.cs: Added and implemented
879 * TypeLibVersionAttribute.cs: Added and implemented
881 Wed Jun 18 12:49:54 CEST 2003 Paolo Molaro <lupus@ximian.com>
883 * Marshal.cs: implemented Prelink with icalls.
885 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
887 * RuntimeEnvironment.cs: New file. Stubbed by Dominik Fretz
890 2003-03-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
892 * ExternalException.cs: doesn't need a field to keep the result code.
893 * SEHException.cs: implemented.
895 2003-03-03 Tim Coleman <tim@timcoleman.com>
896 * HandleRef.cs: Add this struct
898 2003-01-05 Sebastien Pouliot <spouliot@videotron.ca>
900 * COMException.cs: New. Minimal (incomplete - i'm not using COM)
901 implementation because this is thrown when dealing with Software
902 Publisher Certificates (SPC) in X509Certificate.
904 2002-08-22 Nick Drochak <ndrochak@gol.com>
906 * OutAttribute.cs: TypeID isn't overriden from Attribute here.
907 * PInvokeMap.cs: Non-existent enum. Must be from beta days.
909 2002-06-24 root <dietmar@ximian.com>
911 * Marshal.cs: impl. Copy()
913 Fri Jun 14 16:18:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
915 * UnmanagedType.cs, Marshal.cs: minor fixes.
917 Wed Jun 12 16:32:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
919 * Marshal.c: stubbed out all the methods and filled in some
921 * BINDPTR.cs, ComMemberType.cs, DESCKIND.cs, DISPPARAMS.cs,
922 EXCEPINFO.cs, INVOKEKIND.cs, TYPEKIND.cs, UCOMTypeInfo.cs,
923 UCOMTypeLib.cs: enums, interfaces and structs needed in Marshal class.
925 Tue Jun 4 18:05:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
927 * GCHandle.cs: changed to fit spec and implementation needs.
929 Tue May 14 16:35:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
931 * CharSet.cs: added missing None enum item.
933 2002-04-26 Joe Shaw <joe@ximian.com>
935 * Marshal.cs (StructureToPtr): stub this out.
937 2002-04-23 Joe Shaw <joe@ximian.com>
939 * Marshal.cs: Stub out a few functions to get gtk# to build.
941 2002-04-22 Duncan Mak <duncan@ximian.com>
943 * ImporterEventKind.cs:
944 * TypeLibFuncFlags.cs:
945 * TypeLibTypeFlags.cs:
946 * TypeLibVarFlags.cs: Fixed various typos and added missing elements.
948 * ComConventionLossAttribute.cs: Removed, there's a typo.
949 * ComConversionLossAttribute.cs: Same attribute, slight change of name.
951 * PreserveSigAttribute.cs:
952 * ImportedFromTypeLibAttribute.cs: Added missing AttributeUsage
955 * TypeLibFuncAttribute.cs:
956 * TypeLibTypeAttribute.cs:
957 * TypeLibVarAttribute.cs: Added missing constructors.
960 2002-04-22 Duncan Mak <duncan@ximian.com>
962 * AutomationProxyAttribute.cs:
963 * CoClassAttribute.cs:
964 * ComAliasNameAttribute.cs:
965 * ComConventionLossAttribute.cs:
966 * ComEventInterfaceAttribute.cs:
967 * ComImportAttribute.cs:
968 * ComRegisterFunctionAttribute.cs:
969 * ComUnregisterFunctionAttribute.cs:
970 * DispIdAttribute.cs:
971 * ImportedFromTypeLibAttribute.cs:
972 * LCIDConversionAttribute.cs:
973 * PreserveSigAttribute.cs:
974 * PrimaryInteropAssemblyAttribute.cs:
975 * ProgIdAttribute.cs:
976 * TypeLibFuncAttribute.cs:
977 * TypeLibFuncFlags.cs:
978 * TypeLibTypeAttribute.cs:
979 * TypeLibTypeFlags.cs:
980 * TypeLibVarAttribute.cs:
981 * TypeLibVarFlags.cs: Added to CVS.
983 2002-04-08 Nick Drochak <ndrochak@gol.com>
985 * Marshal.cs: Make class public.
986 * ComVisible.cs: New File.
988 2002-03-24 Nick Drochak <ndrochak@gol.com>
990 * ClassInterfaceAttribute.cs:
991 * ClassInterfaceType.cs: New Files.
993 2002-02-27 Duncan Mak <duncan@ximian.com>
995 * ExporterEventKind.cs:
996 * ITypeLibConverter.cs:
997 * ITypeLibImporterNotifySink.cs: Added to CVS for Kevin Winchester <kwin@ns.sympatico.ca>.
999 2002-02-26 Duncan Mak <duncan@ximian.com>
1001 * ComInterfaceType.cs: Added to CVS.
1003 * AssemblyRegistrationFlags.cs:
1005 * ICustomAdapter.cs:
1006 * ICustomFactory.cs:
1007 * ICustomMarshaler.cs:
1008 * IRegistrationServices.cs:
1009 * ITypeLibExporterNameProvider.cs:
1010 * ITypeLibImporterNotifySink.cs:
1011 * InterfaceTypeAttribute.cs:
1012 * TypeLibExporterFlags.cs: Committed for Kevin Winchester <kwin@ns.sympatico.ca>.
1014 * GCHandle.cs: Added to CVS. Patch from Ajay kumar Dwivedi.
1016 * GCHandleType.cs: Committed patch from Ajay.
1018 * ImporterEventKind.cs: Added to CVS.
1020 2002-01-24 Miguel de Icaza <miguel@ximian.com>
1022 * StructLayoutAttribute.cs: Flag attribute as targetting structs
1025 * InAttribute.cs: Flag attribute as targettting a paramter
1027 * OutAttribute.cs: ditto.
1029 * DllImportAttribute.cs: Flag attribute as targetting methods.
1031 * MarshalAsAttribute.cs: Flag attribute as targetting fields,
1032 parameters and returnvalues.
1034 2002-01-23 Dick Porter <dick@ximian.com>
1036 * Marshal.cs: Added GetLastWin32Error()
1038 * ExternalException.cs: Implemented
1040 2002-01-17 Miguel de Icaza <miguel@ximian.com>
1042 * ExternalException.cs: Add ExternalException.
1044 2002-01-05 Ravi Pratap <ravi@ximian.com>
1046 * OutAttribute.cs : Decorate with MonoTODO.
1048 Thu Dec 20 15:46:31 CET 2001 Paolo Molaro <lupus@ximian.com>
1050 * FieldOffsetAttribute.cs, InAttribute.cs, MarshalAsAttribute.cs,
1051 OptionalAttribute.cs, StructLayoutAttribute.cs, VarEnum.cs:
1052 more stuff needed by the compiler.
1054 Thu Dec 13 20:22:18 CET 2001 Paolo Molaro <lupus@ximian.com>
1056 * DllImportAttribute.cs: added.
1057 * MethodImplOptions.cs: removed: this is already in CompilerServices.
1059 Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <lupus@ximian.com>
1061 * CallingConvention.cs: add missing Winapi.
1063 2001-07-20 Miguel de Icaza <miguel@ximian.com>
1065 * OutAttribute.cs: New file.
1067 2001-07-18 Michael Lambert <michaellambert@email.com>
1069 * CallingConvention.cs.cs, CharSet.cs, GCHandleType.cs, LayoutKind.cs: Add.