1 2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
11 * BestFitMappingAttribute.cs
12 * Marshal.cs: Fix parameter names
14 2008-02-20 Zoltan Varga <vargaz@gmail.com>
16 * Marshal.cs (GetDelegateForFunctionPointer): Add a nullref check.
18 2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
20 * COMException.cs: Fix new-line literal and use of "" detected by
23 2008-01-13 Gert Driesen <drieseng@users.sourceforge.net>
25 * COMException.cs: Added missing colon in ToString.
27 2007-12-04 Gert Driesen <drieseng@users.sourceforge.net>
29 * ExternalException.cs: Set HResult to match MS.
31 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
33 * ComVisible.cs: Fix parameter name (part of #322850).
35 2007-09-14 Zoltan Varga <vargaz@gmail.com>
37 * GCHandle.cs (AddrOfPinnedObject): Use -2 to communicate that the handle is not
38 pinned. Correct exception message. Fixes #82848.
40 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
42 * SafeHandle.cs CriticalHandle.cs TypeLibImporterFlags.cs
43 RegistrationClassContext.cs ArrayWithOffset.cs :
44 * ComObjectInUseException.cs ExposeAsClassToComAttribute.cs :
45 removed obsoleted files.
47 2007-07-18 Miguel de Icaza <miguel@novell.com>
49 * SafeHandle.cs: Harden this, do not call ReleaseHandle if the
52 * CriticalHandle.cs: Harden this, do not call ReleaseHandle if the
55 2007-07-06 Jonathan Chambers <joncham@gmail.com>
57 * ExtensibleClassFactory.cs: Fix ExtensibleClassFactory.
59 2007-06-22 Jonathan Chambers <joncham@gmail.com>
61 * Marshal.cs (ThrowExceptionForHR): Implement/consolidate.
62 * Marshal.cs (GetExceptionForHR): Implement/consolidate.
64 2007-05-11 Jonathan Chambers <joncham@gmail.com>
66 * Marshal.cs (SecureStringToBSTR): BSTR header is size in bytes,
69 2007-05-02 Jonathan Chambers <joncham@gmail.com>
71 * ExtensibleClassFactory.cs: Don't use un-implemented overload.
73 2007-05-02 Dick Porter <dick@ximian.com>
75 * _ConstructorInfo.cs:
85 * AutomationProxyAttribute.cs:
86 * BestFitMappingAttribute.cs:
88 * ClassInterfaceAttribute.cs:
89 * CoClassAttribute.cs:
90 * ComAliasNameAttribute.cs:
91 * ComCompatibleVersionAttribute.cs:
92 * ComConversionLossAttribute.cs:
93 * ComDefaultInterfaceAttribute.cs:
94 * ComEventInterfaceAttribute.cs:
96 * ComImportAttribute.cs:
97 * ComObjectInUseException.cs:
98 * ComRegisterFunctionAttribute.cs:
99 * ComUnregisterFunctionAttribute.cs:
102 * CurrencyWrapper.cs:
103 * DefaultCharSetAttribute.cs:
104 * DispatchWrapper.cs:
105 * DispIdAttribute.cs:
107 * ExtensibleClassFactory.cs:
108 * ExternalException.cs:
111 * StructLayoutAttribute.cs:
112 * TypeLibConverter.cs:
113 * ArrayWithOffset.cs:
124 * CallingConvention.cs:
126 * ClassInterfaceType.cs:
127 * ComInterfaceType.cs:
130 * ExporterEventKind.cs:
132 * RegistrationClassContext.cs:
134 * TypeLibImporterFlags.cs:
136 * VARFLAGS.cs: Update to 2.0 profile
138 2007-04-15 Alp Toker <alp@atoker.com>
140 * Marshal.cs: Add new 2.0 Copy() from IntPtr[] overload.
142 2007-03-12 Raja R Harinath <rharinath@novell.com>
144 * DefaultParameterValueAttribute.cs: Move to System.dll.
146 2007-02-08 Jonathan Chambers <joncham@gmail.com>
148 * Marshal.cs: Throw exceptions for AddRef, Release,
149 and QueryInterface in managed code. Implement GetComInterfaceForObject,
150 GetIDispatchForObject, GetIUnknownForObject, GetObjectForIUnknown,
151 GetObjectsForNativeVariants, IsComObject, ReleaseComObject, and
152 FinalReleaseComObject. Unimplement GetComObjectData and SetComObjectData
153 for now to save space and simplify __ComObject for now. MSDN states the
154 user should never call these methods anyway.
156 2007-01-29 Marek Habersack <grendello@gmail.com>
158 * Marshal.cs: Implement a missing Marshal.Copy overload.
160 2007-01-11 Jonathan Chambers <joncham@gmail.com>
162 * Marshal.cs: Implement Marshal.ReAllocCoTaskMem.
164 2007-01-03 Miguel de Icaza <miguel@novell.com>
166 * SafeHandle.cs: Do not use locks in SafeHandle to protect the
167 access to the refcount, use Interlocked.CompareExchange. The
168 locks were the source of problems with domain finalization when
169 this code was enabled.
171 This should fix Matt Hargett's bug report with a full `make check'
172 that reported variations of:
174 ** (../../class/lib/net_2_0/nunit-console.exe:29644): WARNING **:
175 Finalization of domain <domainname> timed out.
177 Also, it is a lot lighther.
179 2006-12-21 Miguel de Icaza <miguel@novell.com>
181 * CriticalHandle.cs: Add Dispose(bool disposing) method, and
184 2006-12-15 Gert Driesen <drieseng@users.sourceforge.net>
186 * Marshal.cs: Use SystemDefaultCharSize to determine whether to
187 use Ansi or Unicode variant of StringToCoTaskMem.
189 2006-12-15 Miguel de Icaza <miguel@novell.com>
191 * Marshal.cs (SecureStringToCoTaskMemAnsi, SecureStringToBSTR,
192 SecureStringToCoTaskMemUnicode, ZeroFreeCoTaskMemAnsi,
193 ZeroFreeCoTaskMemUnicode, ZeroFreeGlobalAllocAnsi,
194 ZeroFreeGlobalAllocUnicode): Implement.
196 (StringToCoTaskAuto): return the same as Ansi.
198 The ANSI code is out of sync with Mono, which treats ANSI as
201 Code formatting changes
203 2006-12-11 Miguel de Icaza <miguel@novell.com>
205 * SafeHandle.cs: Fix a handful of bugs, and add tests for them.
206 Only release the handle if its owned by us. Also throw
207 ObjectDisposedException's
211 DangerousAddRef will now throw an exception if the object was
214 2006-12-02 Miguel de Icaza <miguel@novell.com>
216 * SafeHandle.cs: Implement this class.
218 2006-10-06 Jonathan Chambers <joncham@gmail.com>
220 * ExtensibleClassFactory.cs: Implement RegisterObjectCreationCallback.
222 2006-08-31 Robert Jordan <robertj@gmx.net>
224 * Marshal.cs: Replaced the *Auto internal calls with managed
225 variants. Fixed SystemDefaultCharSize to return an OS dependent
228 2006-08-09 Jonathan Chambers <joncham@gmail.com>
230 * Marshal.cs: Implement GetIDispatchForObject.
232 2006-08-07 Gert Driesen <drieseng@users.sourceforge.net>
234 * Marshal.cs: Added stubs for GetTypeLibGuid (ITypeLib), GetTypeLibLcid
235 (ITypeLib), GetTypeLibName (ITypeLib).
237 2006-07-28 Jonathan Chambers <joncham@gmail.com>
239 * Marshal.cs: Implemented CreateWrapperOfType and ReleaseComObject.
241 2006-07-15 Jonathan Chambers <joncham@gmail.com>
243 * Marshal.cs: Begin implementing COM Interop. Implemented
244 AddRef, GetComInterfaceForObject, GetComObjectData, GetIUnknownForObject,
245 GetObjectForIUnknown, GetTypedObjectForIUnknown, IsComObject, QueryInterface
246 Release, SetComObjectData, and ThrowExceptionForHR.
248 2006-06-07 Jonathan Chambers <jonathan.chambers@ansys.com>
250 * Marshal.cs: Implement GetComSlotForMethodInfo
252 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
254 * Marshal.cs: Implement VARIANT marshalling methods
256 2006-05-20 Zac Bowling <zac@zacbowling.com>
257 * VarEnum.cs: ComVisible Attribute (2.0)
258 * InterfaceTypeAttribute.cs: ComVisible Attribute (2.0)
259 * UCOMITypeInfo.cs: ComImport Attribute (1.x)
260 * UCOMITypeComp.cs: ComImport Attribute (1.x)
261 * MarshalAsAttribute.cs: ComVisible Attribute (2.0)
262 * StructLayoutAttribute.cs: ComVisible Attribute (2.0)
263 * ProgIdAttribute.cs: ComVisible Attribute (2.0)
264 * PrimaryInteropAssemblyAttribute.cs: ComVisible Attribute (2.0)
265 * ImporterEventKind.cs: ComVisible Attribute (2.0)
266 * UCOMIPersistFile.cs: ComImport Attribute (1.x)
267 * SetWin32ContextInIDispatchAttribute.cs: Obselete and ComVisible
269 * IRegistrationServices.cs: ComVisible Attribute and CAS Attributes (2.0)
270 * InAttribute.cs: ComVisible Attribute (2.0)
271 * UCOMIMoniker.cs: ComImport Attribute (1.x)
272 * MarshalDirectiveException.cs: ComVisible Attribute (2.0)
273 * IDLDESC.cs: ComVisible Attribute (1.x)
274 * FUNCFLAGS.cs: ComVisible Attribute (1.x)
275 * UCOMIConnectionPointContainer.cs: ComImport Attribute (1.x)
276 * TypeLibExporterFlags.cs: ComVisible Attribute (2.0)
277 * ICustomMarshaler.cs: ComVisible Attribute (2.0)
278 * LayoutKind.cs: ComVisible Attribute (2.0) + Serializable + Clean
279 * ICustomAdapter.cs: ComVisible Attribute (2.0)
280 * UnmanagedFunctionPointerAttribute.cs: ComVisible Attribute and Param
281 Signature of UnmanagedFunctionPointerAttribute(...)
282 * FUNCKIND.cs: ComVisble Attribute (1.x)
283 * TypeLibVersionAttribute.cs: ComVisible Attribute (2.0) + Missing in
285 * TypeLibVarAttribute.cs: ComVisible Attribute (2.0)
286 * ITypeLibConverter.cs: ComVisible Attribute (2.0)
287 * UCOMIRunningObjectTable.cs: ComImport Attribute (1.x)
288 * IDispatchImplAttribute.cs: Obsolete + ComVisible Attribute (2.0)
289 * ITypeLibImporterNotifySink.cs: ComVisible Attribute (2.0)
290 * PreserveSigAttribute.cs: ComVisible Attribute (2.0)
291 * SYSKIND.cs: ComVisible Attribute (1.x)
292 * UCOMIEnumVARIANT.cs: ComImport Attribute (1.x)
293 * UCOMIEnumString.cs: ComImport Attribute (1.x) and Expose to 1.x (not
294 a 2.0 exclusive class)
295 * OutAttribute.cs: ComVisible Attribute (2.0)
296 * InvalidComObjectException.cs: ComVisible Attribute (2.0)
297 * SEHException.cs: ComVisible Attribute (2.0)
298 * UCOMIConnectionPoint.cs: ComImport Attribute (1.x)
299 * TypeLibImporterFlags.cs: ComVisible Attribute (2.0) and
301 * OptionalAttribute.cs: ComVisible Attribute (2.0)
302 * TYPEDESC.cs: ComVisible Attribute (1.x)
303 * UCOMIEnumMoniker.cs: ComImport Attribute (1.x) and Expose to 1.x
304 (not a 2.0 exclusive class)
305 * TypeLibTypeFlags.cs: ComVisible Attribute (2.0)
306 * ITypeLibExporterNotifySink.cs: ComVisible Attribute (2.0)
307 * HandleRef.cs: ComVisible.cs and add ToIntPtr (2.0)
308 * DllImportAttribute.cs: ComVisible Attribute (2.0)
309 * TypeLibTypeAttribute.cs: ComVisible Attribute (2.0)
310 * UnknownWrapper.cs: Serializable, ComVisible Attribute (2.0)
311 * IDFLAGS.cs: ComVisible Attribute (1.x only)
312 * RegistrationClassContext.cs: License + Flags attribute (2.0)
313 * GCHandle.cs: ComVisible Attribute + Operator Overrides (2.0)
314 * TypeLibImportClassAttribute.cs: ComVisible Attribute (2.0)
315 * IMPLYTPEFLAGS.cs: ComVisible Attribute (1.x)
316 * ImportedFromTypeLibAttribute.cs: ComVisible (2.0)
317 * UCOMIBindCtx.cs: Obsolete Attribute (2.0)
318 * FUNCDESC.cs: ComVisible Attribute (1.x)
319 * RegistrationConnectionType.cs: Flags Attribute (2.0)
320 * IDispatchImplType.cs: Obsolete + ComVisible Attribute (2.0)
321 * TypeLibConverter.cs: ComVisible (2.0)
322 * INVOKEKIND.cs: ComVisible Attribute (1.x)
323 * GCHandleType.cs: ComVisible Attribute (2.0) + Serializable
324 * ICustomFactory.cs: ComVisible Attribute (2.0)
325 * FieldOffsetAttribute.cs: ComVisible Attribute (2.0)
326 * LIBFLAGS.cs: ComVisible Attribute (1.x)
327 * ComSourceInterfacesAttributes.cs: ComVisible Attribute (2.0)
328 * STATSTG.cs: ComVisible Attribute (1.x)
329 * InvalidOleVariantTypeException.cs: ComVisible Attribute (2.0)
330 * TypeLibVarFlags.cs: ComVisible Attribute (2.0)
331 * TYPEFLAGS.cs: ComVisible Attribute (1.x)
332 * SafeArrayRankMismatchException.cs: ComVisible Attribute (2.0)
333 * TYPEATTR.cs: ComVisible Attribute (1.x)
334 * GuidAttribute.cs: ComVisible Attribute (2.0)
335 * UCOMIEnumConnectionPoints.cs: ComImport Attribute (1.x) + Expose to
336 1.x (not a 2.0 exclusive)
337 * SafeArrayTypeMismatchException.cs: ComVisible Attribute (2.0)
338 * ObjectCreationDelegate.cs: ComVisible Attribute (2.0)
339 * ITypeLibExporterNameProvider.cs: ComVisible Attribute (2.0) and
340 MarshelAs VarEnum Type.
341 * UCOMIStream.cs: ComImport Attribute (1.x)
342 * TypeLibFuncFlags.cs ComVisible Attribute (2.0)
343 * UnmanagedType.cs: ComVisible Attribute (2.0) + clean up
344 * UCOMIEnumConnections.cs: ComImport Attribute (1.0)
345 * LCIDConversionAttribute.cs: ComVisible Attribute (2.0)
346 * TypeLibFuncAttribute.cs: ComVisible Attribute (2.0)
348 2006-05-02 Jonathan Chambers <jonathan.chambers@ansys.com>
350 * Marshal.cs: Implement BSTR methods
352 2006-01-12 Ben Maurer <bmaurer@andrew.cmu.edu>
354 * SafeHandle.cs: Update to RTM api
356 2005-11-17 Zoltan Varga <vargaz@gmail.com>
358 * DefaultParameterValueAttribute.cs: New file.
360 2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
362 * Marshal.cs: Added null check in SecureStringTo* methods and make
363 them throw a NotSupportedException otherwise (as existing code must
364 deal with this anyway). Fixed Uni -> Unicode method name changes.
366 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
368 * UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
369 UCOMIConnectionPointContainer.cs, UCOMIEnumConnectionPoints.cs,
370 UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
371 UCOMIEnumVARIANT.cs, UCOMIMoniker.cs, UCOMIPersistFile.cs,
372 UCOMIRunningObjectTable.cs, UCOMIStream.cs, UCOMITypeComp.cs,
373 UCOMITypeInfo.cs, UCOMITypeLib.cs: Remove [ComImport] from the default
374 profile (this is new in 2.0) and reduce corcompare extras by 15.
376 2005-09-21 Kornél Pál <kornelpal@hotmail.com>
378 * UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
379 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, UnmanagedType.cs:
380 Removed UnmanagedType_80 that was required because mcs bug #75945
383 2005-08-12 Gert Driesen <drieseng@users.sourceforge.net>
385 * SetWin32ContextInIDispatchAttribute.cs: Make this attribute also
386 available in 1.0 profile (.NET 1.1).
387 * VariantWrapper.cs: Class is also exposed in .NET 1.1. Only
388 serializable in 2.0 profile.
390 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
392 * SafeHandle.cs: New file.
394 2005-08-06 Gert Driesen <drieseng@users.sourceforge.net>
396 * _Activator.cs: ComVisible should only be set in 2.0 profile.
397 Added TypeLibImportClass attribute.
398 * _Assembly.cs: ComVisible should only be set in 2.0 profile. Added
399 TypeLibImportClass attribute. Fixes InterfaceType to match MS.NET.
400 * _AssemblyBuilder.cs: ComVisible should only be set in 2.0 profile.
401 Added TypeLibImportClass attribute.
402 * _AssemblyName.cs: ComVisible should only be set in 2.0 profile.
403 Added TypeLibImportClass attribute.
404 * _Attribute.cs: ComVisible should only be set in 2.0 profile.
405 Added TypeLibImportClass attribute.
406 * _ConstructorBuilder.cs: ComVisible should only be set in 2.0 profile.
407 Added TypeLibImportClass attribute.
408 * _ConstructorInfo.cs: Fixed InterfaceType to match MS.NET. Added
409 TypeLibImportClass attribute. Added missing methods.
410 * _CustomAttributeBuilder.cs: ComVisible should only be set in 2.0 profile.
411 Added TypeLibImportClass attribute.
412 * _EnumBuilder.cs: ComVisible should only be set in 2.0 profile.
413 Added TypeLibImportClass attribute.
414 * _EventBuilder.cs: ComVisible should only be set in 2.0 profile.
415 Added TypeLibImportClass attribute.
416 * _EventInfo.cs: Fixed InterfaceType to match MS.NET. Added
417 TypeLibImportClass attribute. Added missing methods.
418 * _FieldBuilder.cs: ComVisible should only be set in 2.0 profile.
419 Added TypeLibImportClass attribute.
420 * _FieldInfo.cs: Fixed InterfaceType to match MS.NET. Added
421 TypeLibImportClass attribute. Added missing methods.
422 * _ILGenerator.cs: ComVisible should only be set in 2.0 profile.
423 Added TypeLibImportClass attribute.
424 * _LocalBuilder.cs: ComVisible should only be set in 2.0 profile.
425 Added TypeLibImportClass attribute.
426 * _MemberInfo.cs: Fixed InterfaceType to match MS.NET. Added
427 TypeLibImportClass attribute. Added missing methods.
428 * _MethodBase.cs: Fixed InterfaceType to match MS.NET. Added
429 TypeLibImportClass attribute. Added missing methods.
430 * _MethodInfo.cs: Fixed InterfaceType to match MS.NET. Added
431 TypeLibImportClass attribute. Added missing methods.
432 * _MethodBuilder.cs: ComVisible should only be set in 2.0 profile.
433 Added TypeLibImportClass attribute.
434 * _MethodRental.cs: ComVisible should only be set in 2.0 profile.
435 Added TypeLibImportClass attribute.
436 * _Module.cs: ComVisible should only be set in 2.0 profile.
437 Added TypeLibImportClass attribute.
438 * _ModuleBuilder.cs: ComVisible should only be set in 2.0 profile.
439 Added TypeLibImportClass attribute.
440 * _ParameterBuilder.cs: ComVisible should only be set in 2.0 profile.
441 Added TypeLibImportClass attribute.
442 * _ParameterInfo.cs: ComVisible should only be set in 2.0 profile.
443 Added TypeLibImportClass attribute.
444 * _PropertyBuilder.cs: ComVisible should only be setin 2.0 profile.
445 Added TypeLibImportClass attribute.
446 * _PropertyInfo.cs: Fixed InterfaceType to match MS.NET. Added
447 TypeLibImportClass attribute. Added missing methods.
448 * _SignatureHelper.cs: ComVisible should only be set in 2.0 profile.
449 Added TypeLibImportClass attribute.
450 * _Type.cs: Added TypeLibImportClass attribute. Fixed InterfaceType
451 to match MS.NET. Added missing method to match MS.NET.
452 * _Thread.cs: ComVisible should only be set in 2.0 profile.
453 Added TypeLibImportClass attribute.
454 * _TypeBuilder:cs: ComVisible should only be set in 2.0 profile.
455 Added TypeLibImportClass attribute.
456 * Marshal.cs: Removed MarshalAs attribute from parameter to fix
457 API compatibility with MS.NET.
458 * TypeLibImportClassAttribute.cs: Added.
460 2005-07-06 Zoltan Varga <vargaz@freemail.hu>
462 * GCHandle.cs: Add 2.0 FromIntPtr/ToIntPtr methods.
464 2005-06-08 Sebastien Pouliot <sebastien@ximian.com>
466 * RuntimeEnvironment.cs: I get better results when calling Demand.
468 2005-06-07 Sebastien Pouliot <sebastien@ximian.com>
470 * RuntimeEnvironment.cs: Implemented TODO. Added security for CAS.
472 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
474 * _Exception.cs: That one wasn't backported to 1.1 SP1 by MS. This
475 should fix a lot of extra reported in the API status pages.
477 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
479 * Marshal.cs: Add some missing 2.0 attributes.
481 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
484 * _ConstructorInfo.cs
492 * _Type.cs: Chance to .Net 1.1
495 * _AssemblyBuilder.cs
497 * _ConstructorBuilder.cs
498 * _CustomAttributeBuilder.cs
508 * _ParameterBuilder.cs
510 * _PropertyBuilder.cs
511 * _SignatureHelper.cs
513 * _TypeBuilder.cs: Added
515 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
517 * _Attribute.cs: New. Interface for attributes in 2.0.
519 2005-04-13 Marek Safar <marek.safar@seznam.cz>
521 * DefaultCharSetAttribute.cs: Removed useless using.
523 2005-03-31 Alp Toker <alp@atoker.com>
525 * GCHandle.cs: Clearer ArgumentException text in the case of a
526 null-valued IntPtr argument.
528 2005-03-04 Kazuki Oikawa <kazuki@panicode.com>
534 * ComDefaultInterfaceAttribute.cs
535 * ComObjectInUseException.cs
536 * ComSourceInterfacesAttribute.cs
539 * DefaultCharSetAttribute.cs
544 * ExposeAsClassToComAttribute.cs
555 * ITypeLibConverter.cs
556 * ITypeLibExporterNameProvider.cs
557 * ITypeLibExporterNotifySink.cs
561 * PrimaryInteropAssemblyAttribute.cs
569 * TypeLibExporterFlags.cs
570 * TypeLibImporterFlags.cs
572 * UCOMIConnectionPoint.cs
573 * UCOMIConnectionPointContainer.cs
574 * UCOMIEnumConnectionPoints.cs
575 * UCOMIEnumConnections.cs
576 * UCOMIEnumMoniker.cs
578 * UCOMIEnumVARIANT.cs
580 * UCOMIPersistFile.cs
581 * UCOMIRunningObjectTable.cs
586 * UnmanagedFunctionPointerAttribute.cs
589 * VariantWrapper.cs: Added missing attributes.
591 2005-03-03 Kazuki Oikawa <kazuki@panicode.com>
593 * _ConstructorInfo.cs
602 * ComDefaultInterfaceAttribute.cs
603 * ComObjectInUseException.cs
605 * DefaultCharSetAttribute.cs
606 * ExposeAsClassToComAttribute.cs
607 * RegistrationClassContext.cs
608 * RegistrationConnectionType.cs: Add
610 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
612 * UnmanagedFunctionPointerAttribute.cs: Add #region directives.
614 2005-02-21 Kazuki Oikawa <kazuki@panicode.com>
616 * BIND_OPTS.cs, CONNECTEDATA.cs, DISPPARAMS.cs, ELEMDESC.cs,
617 EXCEPINFO.cs, FILETIME.cs, FUNCDESC.cs, STATSTG.cs, TYPEATTR.cs,
618 TYPELIBATTR.cs, UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
619 UCOMIEnumConnectionPoints.cs, UCOMIEnumConnections.cs,
620 UCOMIEnumMoniker.cs, UCOMIEnumString.cs, UCOMIEnumVARIANT.cs,
621 UCOMIMoniker.cs, UCOMIPersistFile.cs, UCOMIRunningObjectTable.cs,
622 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, VARDESC.cs:
623 Corrected the order of the fields and the methods.
625 * BIND_OPTS.cs, CALLCONV.cs, FILETIME.cs, FUNCDESC.cs, FUNCFLAGS.cs,
626 FUNCKIND.cs, IDLFLAG.cs, IMPLTYPEFLAGS.cs, LIBFLAGS.cs, PARAMFLAG.cs,
627 STATSTG.cs, SYSKIND.cs, TYPEFLAGS.cs, VarEnum.cs, VARFLAGS.cs:
628 Added missing attributes.
630 Wed Feb 16 16:20:56 CET 2005 Paolo Molaro <lupus@ximian.com>
632 * GCHandle.cs: check the domain of an handle target is correct.
633 Make the unallocated value 0, since that is the default value
636 2005-02-10 Marek Safar <marek.safar@seznam.cz>
638 * TypeLibVarAttribute.cs,
639 * TypeLibTypeAttribute.cs,
640 * ComSourceInterfacesAttribute.cs: Fix AttributeUsage flags.
642 Sat Jan 29 12:48:03 CET 2005 Paolo Molaro <lupus@ximian.com>
644 * GCHandle.cs: update for runtime changes: the unallocated handle
647 2004-11-25 Raja R Harinath <rharinath@novell.com>
649 * UnmanagedType.cs (mono_bootstrap_NativeTypeMax): Rename from
650 __mono_bootstrap_NativeTypeMax. CSC doesn't like
651 [CLSCompliant(false)] on enum member.
653 2004-09-30 Zoltan Varga <vargaz@freemail.hu>
655 * Marshal.cs: Implement GetDelegateForFunctionPointer.
657 2004-09-29 Zoltan Varga <vargaz@freemail.hu>
659 * UnmanagedFunctionPointerAttribute.cs: New file.
661 * Marshal.cs: Make GetFunctionPointerForDelegate icall private.
663 * MarshalAsAttribute.cs: Add 2.0 IidParamIndex field.
665 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
667 * Marshal.cs: Add some ReliabilityContractAttributes.
669 * Marshal.cs (GetFunctionPointerForDelegate): Implement.
671 * Marshal.cs: Add stubs for missing 2.0 methods.
673 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
675 * DllImportAttribute.cs: Reorder fields and mark this class as visible
678 2004-09-08 Marek Safar <marek.safar@seznam.cz>
680 * Marshal.cs: Class is static in NET_2_0.
682 2004-07-29 Lluis Sanchez Gual <lluis@novell.com>
684 * RuntimeEnvironment.cs: Implemented SystemConfigurationFile and
687 Wed Jul 14 19:28:57 CEST 2004 Paolo Molaro <lupus@ximian.com>
689 * GCHandle.cs: throw exception if the result from AddrOfPinnedObject()
690 is -1 (special value returned by the runtime).
692 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
694 * _Exception.cs: New interface in Fx 2.0 to preserve member's order
697 2004-06-22 Raja R Harinath <rharinath@novell.com>
699 Fix bootstrap with mcs 0.31.
700 * UnmanagedType.cs (UnmanagedType.__mono_bootstrap_NativeTypeMax):
701 New bootstrap-only constant.
703 2004-06-18 Raja R Harinath <rharinath@novell.com>
705 Fix breaking build (see tests/test-272.cs). Since corlib is a
706 bootstrap library, we have to keep this fix even if the in-tree
707 mcs compiler is fixed.
708 * UCOMIEnumConnections.cs: Replace '(UnmanagedType) 80' in
709 attribute field initialization with Consts.UnmanagedType_80.
710 * UCOMIEnumMoniker.cs: Likewise.
711 * UCOMIEnumString.cs: Likewise.
712 * UCOMIStream.cs: Likewise.
713 * UCOMITypeInfo.cs: Likewise.
714 * UCOMITypeLib.cs: Likewise.
716 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
718 * BINDPTR.cs: have layout and charset match MS.NET
719 * CONNECTDATA.cs: have layout and charset match MS.NET
720 * DISPPARAMS.cs: have layout and charset match MS.NET
721 * ELEMDESC.cs: have layout and charset match MS.NET
722 * EXCEPINFO.cs: have layout and charset match MS.NET
723 * IDLDESC.cs: have layout and charset match MS.NET
724 * PARAMDESC.cs: have layout and charset match MS.NET
725 * STATSTG.cs: have layout and charset match MS.NET
726 * TYPEATTR.cs: have layout and charset match MS.NET
727 * TYPEDESC.cs: have layout and charset match MS.NET
728 * TYPELIBATTR.cs: have layout and charset match MS.NET
729 * VARDESC.cs: have layout and charset match MS.NET
731 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
733 * ArrayWithOffset.cs: fixed GetOffset to return int instead of
735 * CONNECTDATA.cs: added missing MarshalAs attribute
736 * EXCEPINFO.cs: added missing MarshalAs attributes
737 * ITypeLibConverter.cs: added missing MarshalAs attributes
738 * ITypeLibImporterNotifySink.cs: added missing MarshalAs attributes
739 * Marshal.cs: added missing MarshalAs attributues, and missing
741 * TypeLibConverter.cs: added missing MarshalAs attributes
742 * UCOMIBindCtx.cs: added missing MarshalAs attributes
743 * UCOMIConnectionPoint.cs: added missing MarshalAs attributes
744 * UCOMIEnumConnectionPoints.cs: added missing MarshalAs attributes
745 * UCOMIEnumConnections.cs: added missing PreserveSig attributes,
746 added missing MarshalAs attributes
747 * UCOMIEnumMoniker.cs: added missing PreserveSig attributes,
748 added missing MarshalAs attributes
749 * UCOMIEnumString.cs: added missing PreserveSig attributes,
750 added missing MarshalAs attributes
751 * UCOMIMoniker.cs: added missing MarshalAs attributes
752 * UCOMIPersistFile.cs: added missing PreserveSig attribute,
753 added missing MarshalAs attributes
754 * UCOMIRunningObjectTable.cs: added missing MarshalAs attributes
755 * UCOMIStream.cs: added missing MarshalAs attributes
756 * UCOMITypeComp.cs: added missing MarshalAs attributes
757 * UCOMITypeInfo.cs: added missing MarshalAs attributes
758 * UCOMITypeLib.cs: added missing PreserveSig attributes, added
759 missing MarshalAs attributes
761 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
763 * MarshalDirectiveException.cs: marked serializable to match MS.NET
764 * SafeArrayRankMismatchException.cs: marked serializable to match
766 * SafeArrayTypeMismatchException.cs: marked serializable to match
769 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
771 * InvalidComObjectException.cs: marked serializable to match MS.NET
772 * InvalidOleVarianTypeException.cs: marked serializable to match
775 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
777 * BestFitMappingAttribute.cs: removed serializable attribute
780 2004-05-30 Gert Driesen (drieseng@users.sourceforge.net)
782 * SetWin32ContextInIDispatchAttribute.cs: only build
784 * VariantWrapper.cs: only build for NET_2_0 profile
786 2004-05-29 Gert Driesen (drieseng@users.sourceforge.net)
788 * SetWin32ContextInIDispatchAttribute.cs: added
789 * VariantWrapper.cs: added
791 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
793 * AutomationProxyAttribute.cs
794 * BestFitMappingAttribute.cs
795 * ClassInterfaceAttribute.cs
796 * CoClassAttribute.cs
797 * ComAliasNameAttribute.cs
798 * ComCompatibleVersionAttribute.cs
799 * ComConversionLossAttribute.cs
800 * ComEventInterfaceAttribute.cs
801 * ComImportAttribute.cs
802 * ComRegisterFunctionAttribute.cs
803 * ComSourceInterfaceAttribute.cs
804 * ComUnregisterFunctionAttribute.cs
807 * DllImportAttribute.cs
808 * FieldOffsetAttribute.cs
810 * IDispatchImplAttribute.cs
811 * ImportedFromTypeLibAttribute.cs
813 * InterfaceTypeAttribute.cs
814 * LCIDConversionAttribute.cs
815 * MarshalAsAttribute.cs
816 * OptionalAttribute.cs
818 * PreserveSigAttribute.cs
819 * PrimaryInteropAssemblyAttribute.cs
821 * StructLayoutAttribute.cs
822 * TypeLibFuncAttribute.Cs
823 * TypeLibTypeAttribute.cs
824 * TypeLibVarAttribute.cs
825 * TypeLibVersionAttribute.cs now that Inherited is
826 false by default on AttributeUsageAttribute (as it
827 should be) we need to explicitly set Inherited to
828 false for those attributes should where it should be
831 2004-05-06 Mike Shaver <shaver@off.net>
832 * Marshal.cs: Implement StringToCoTaskMem{Ansi,Uni}
834 2004-05-05 Zoltan Varga <vargaz@freemail.hu>
836 * Marshal.cs: Applied patch from vladimir@pobox.com (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.
838 2004-01-30 Zoltan Varga <vargaz@freemail.hu>
840 * Marshal.cs: Implement AllocCoTaskMem and FreeCoTaskMem.
842 2003-11-26 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
844 * DispatchWrapper.cs: Added and implemented
845 * ErrorWrapper.cs: Fixed bug
846 * Marshal.cs: Added missing members
848 2003-11-18 Jackson Harper <jackson@ximian.com>
850 * CurrencyWrapper.cs: Fix file name.
852 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
854 * BestFitMappingAttribute.cs: Signature fix
855 * Marshal.cs: Add attribute, fix signatures
856 * MarshalAsAttribute.cs: Add head, add entry
857 * DllImportAttribute.cs: Added v1.1 entries
858 * TypeLibConverter.cs: Added, stubbed
859 * RegistrationServices.cs: Added, stubbed
860 * ExtensibleClassFactory.cs: Added, stubbed
861 * ErrorWrapper.cs: Added, implemented
862 * CurrencyWrapper.cs: Added, implemented
864 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
866 * IRegistrationServices.cs:
867 * ITypeLibConverter.cs:
868 * ITypeLibExporterNameProvider.cs:
869 * ITypeLibExporterNotifySink.cs:
870 * ITypeLibImporterNotifySink.cs: Added missing attribute
871 * UCOMIBindCtx.cs: Added missing attribute, fixed in attribute
872 * UCOMIConnectionPoint.cs:
873 * UCOMIConnectionPointContainer.cs:
874 * UCOMIEnumConnectionPoints.cs:
875 * UCOMIEnumConnections.cs:
876 * UCOMIEnumMoniker.cs:
877 * UCOMIEnumString.cs:
878 * UCOMIEnumVARIANT.cs:
880 * UCOMIPersistFile.cs:
881 * UCOMIRunningObjectTable.cs:
885 * UCOMITypeLib.cs: Added missing attribute
887 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
889 * UCOMIBindCtx.cs: Added and implemented
890 * UCOMIConnectionPoint.cs: Added and implemented
891 * UCOMIConnectionPointContainer.cs: Added and implemented
892 * UCOMIEnumConnectionPoints.cs: Added and implemented
893 * UCOMIEnumConnections.cs: Added and implemented
894 * UCOMIEnumMoniker.cs: Added and implemented
895 * UCOMIEnumString.cs: Added and implemented
896 * UCOMIEnumVARIANT.cs: Added and implemented
897 * UCOMIMoniker.cs: Added and implemented
898 * UCOMIPersistFile.cs: Added and implemented
899 * UCOMIRunningObjectTable.cs: Added and implemented
900 * UCOMIStream.cs: Added and implemented
902 * UCOMTypeComp.cs: renamed
903 * UCOMTypeInfo.cs: renamed
904 * UCOMTypeLib.cs: renamed
906 * ITypeLibConverter.cs: Fixed interface signature
908 * ComSourceInterfacesAttribute.cs: Added and implemented
909 * IDispatchImplAttribute.cs: Added and implemented
910 * InvalidComObjectException.cs: Added and implemented
911 * InvalidOleVariantTypeException.cs: Added and implemented
912 * MarshalDirectiveException.cs: Added and implemented
913 * SafeArrayRankMismatchException.cs: Added and implemented
914 * SafeArrayTypeMismatchException.cs: Added and implemented
915 * SEHException.cs: Added attribute
916 * UnknownWrapper.cs: Added and implemented
929 * VARDESC.cs: Added and implemented
934 * IDispatchImplType.cs:
941 * TypeLibImporterFlags.cs:
942 * VARFLAGS.cs: Added and implemented
944 2003-07-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
946 * ComCompatibleVersionAttribute.cs: Added and implemented
947 * TypeLibVersionAttribute.cs: Added and implemented
949 Wed Jun 18 12:49:54 CEST 2003 Paolo Molaro <lupus@ximian.com>
951 * Marshal.cs: implemented Prelink with icalls.
953 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
955 * RuntimeEnvironment.cs: New file. Stubbed by Dominik Fretz
958 2003-03-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
960 * ExternalException.cs: doesn't need a field to keep the result code.
961 * SEHException.cs: implemented.
963 2003-03-03 Tim Coleman <tim@timcoleman.com>
964 * HandleRef.cs: Add this struct
966 2003-01-05 Sebastien Pouliot <spouliot@videotron.ca>
968 * COMException.cs: New. Minimal (incomplete - i'm not using COM)
969 implementation because this is thrown when dealing with Software
970 Publisher Certificates (SPC) in X509Certificate.
972 2002-08-22 Nick Drochak <ndrochak@gol.com>
974 * OutAttribute.cs: TypeID isn't overriden from Attribute here.
975 * PInvokeMap.cs: Non-existent enum. Must be from beta days.
977 2002-06-24 root <dietmar@ximian.com>
979 * Marshal.cs: impl. Copy()
981 Fri Jun 14 16:18:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
983 * UnmanagedType.cs, Marshal.cs: minor fixes.
985 Wed Jun 12 16:32:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
987 * Marshal.c: stubbed out all the methods and filled in some
989 * BINDPTR.cs, ComMemberType.cs, DESCKIND.cs, DISPPARAMS.cs,
990 EXCEPINFO.cs, INVOKEKIND.cs, TYPEKIND.cs, UCOMTypeInfo.cs,
991 UCOMTypeLib.cs: enums, interfaces and structs needed in Marshal class.
993 Tue Jun 4 18:05:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
995 * GCHandle.cs: changed to fit spec and implementation needs.
997 Tue May 14 16:35:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
999 * CharSet.cs: added missing None enum item.
1001 2002-04-26 Joe Shaw <joe@ximian.com>
1003 * Marshal.cs (StructureToPtr): stub this out.
1005 2002-04-23 Joe Shaw <joe@ximian.com>
1007 * Marshal.cs: Stub out a few functions to get gtk# to build.
1009 2002-04-22 Duncan Mak <duncan@ximian.com>
1011 * ImporterEventKind.cs:
1012 * TypeLibFuncFlags.cs:
1013 * TypeLibTypeFlags.cs:
1014 * TypeLibVarFlags.cs: Fixed various typos and added missing elements.
1016 * ComConventionLossAttribute.cs: Removed, there's a typo.
1017 * ComConversionLossAttribute.cs: Same attribute, slight change of name.
1019 * PreserveSigAttribute.cs:
1020 * ImportedFromTypeLibAttribute.cs: Added missing AttributeUsage
1023 * TypeLibFuncAttribute.cs:
1024 * TypeLibTypeAttribute.cs:
1025 * TypeLibVarAttribute.cs: Added missing constructors.
1028 2002-04-22 Duncan Mak <duncan@ximian.com>
1030 * AutomationProxyAttribute.cs:
1031 * CoClassAttribute.cs:
1032 * ComAliasNameAttribute.cs:
1033 * ComConventionLossAttribute.cs:
1034 * ComEventInterfaceAttribute.cs:
1035 * ComImportAttribute.cs:
1036 * ComRegisterFunctionAttribute.cs:
1037 * ComUnregisterFunctionAttribute.cs:
1038 * DispIdAttribute.cs:
1039 * ImportedFromTypeLibAttribute.cs:
1040 * LCIDConversionAttribute.cs:
1041 * PreserveSigAttribute.cs:
1042 * PrimaryInteropAssemblyAttribute.cs:
1043 * ProgIdAttribute.cs:
1044 * TypeLibFuncAttribute.cs:
1045 * TypeLibFuncFlags.cs:
1046 * TypeLibTypeAttribute.cs:
1047 * TypeLibTypeFlags.cs:
1048 * TypeLibVarAttribute.cs:
1049 * TypeLibVarFlags.cs: Added to CVS.
1051 2002-04-08 Nick Drochak <ndrochak@gol.com>
1053 * Marshal.cs: Make class public.
1054 * ComVisible.cs: New File.
1056 2002-03-24 Nick Drochak <ndrochak@gol.com>
1058 * ClassInterfaceAttribute.cs:
1059 * ClassInterfaceType.cs: New Files.
1061 2002-02-27 Duncan Mak <duncan@ximian.com>
1063 * ExporterEventKind.cs:
1064 * ITypeLibConverter.cs:
1065 * ITypeLibImporterNotifySink.cs: Added to CVS for Kevin Winchester <kwin@ns.sympatico.ca>.
1067 2002-02-26 Duncan Mak <duncan@ximian.com>
1069 * ComInterfaceType.cs: Added to CVS.
1071 * AssemblyRegistrationFlags.cs:
1073 * ICustomAdapter.cs:
1074 * ICustomFactory.cs:
1075 * ICustomMarshaler.cs:
1076 * IRegistrationServices.cs:
1077 * ITypeLibExporterNameProvider.cs:
1078 * ITypeLibImporterNotifySink.cs:
1079 * InterfaceTypeAttribute.cs:
1080 * TypeLibExporterFlags.cs: Committed for Kevin Winchester <kwin@ns.sympatico.ca>.
1082 * GCHandle.cs: Added to CVS. Patch from Ajay kumar Dwivedi.
1084 * GCHandleType.cs: Committed patch from Ajay.
1086 * ImporterEventKind.cs: Added to CVS.
1088 2002-01-24 Miguel de Icaza <miguel@ximian.com>
1090 * StructLayoutAttribute.cs: Flag attribute as targetting structs
1093 * InAttribute.cs: Flag attribute as targettting a paramter
1095 * OutAttribute.cs: ditto.
1097 * DllImportAttribute.cs: Flag attribute as targetting methods.
1099 * MarshalAsAttribute.cs: Flag attribute as targetting fields,
1100 parameters and returnvalues.
1102 2002-01-23 Dick Porter <dick@ximian.com>
1104 * Marshal.cs: Added GetLastWin32Error()
1106 * ExternalException.cs: Implemented
1108 2002-01-17 Miguel de Icaza <miguel@ximian.com>
1110 * ExternalException.cs: Add ExternalException.
1112 2002-01-05 Ravi Pratap <ravi@ximian.com>
1114 * OutAttribute.cs : Decorate with MonoTODO.
1116 Thu Dec 20 15:46:31 CET 2001 Paolo Molaro <lupus@ximian.com>
1118 * FieldOffsetAttribute.cs, InAttribute.cs, MarshalAsAttribute.cs,
1119 OptionalAttribute.cs, StructLayoutAttribute.cs, VarEnum.cs:
1120 more stuff needed by the compiler.
1122 Thu Dec 13 20:22:18 CET 2001 Paolo Molaro <lupus@ximian.com>
1124 * DllImportAttribute.cs: added.
1125 * MethodImplOptions.cs: removed: this is already in CompilerServices.
1127 Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <lupus@ximian.com>
1129 * CallingConvention.cs: add missing Winapi.
1131 2001-07-20 Miguel de Icaza <miguel@ximian.com>
1133 * OutAttribute.cs: New file.
1135 2001-07-18 Michael Lambert <michaellambert@email.com>
1137 * CallingConvention.cs.cs, CharSet.cs, GCHandleType.cs, LayoutKind.cs: Add.