1 2009-04-17 Tom Hindle <tom_hindle@sil.org>
3 * Marshal.cs: Improved GetExceptionForHR to return real C# exceptions in
4 certain cases instead of always COMException.
6 2009-02-24 Sebastien Pouliot <sebastien@ximian.com>
8 * SafeHandle.cs: Add default ctor in 2.1 profile (needed to compile
9 new unit tests in moonlight).
11 2009-03-05 Tom Hindle <tom_hindle@sil.org>
13 * Marshal.cs: Implemented GenerateGuidForType
15 2008-06-21 Gert Driesen <drieseng@users.sourceforge.net>
17 * Marshal.cs: Fixed order of arguments for ArgumentException in
18 GetComSlotForMethodInfo.
20 2008-06-19 Kornél Pál <kornelpal@gmail.com>
22 * Marshal.cs: Implement GetHINSTANCE.
24 2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
34 * BestFitMappingAttribute.cs
35 * Marshal.cs: Fix parameter names
37 2008-02-20 Zoltan Varga <vargaz@gmail.com>
39 * Marshal.cs (GetDelegateForFunctionPointer): Add a nullref check.
41 2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
43 * COMException.cs: Fix new-line literal and use of "" detected by
46 2008-01-13 Gert Driesen <drieseng@users.sourceforge.net>
48 * COMException.cs: Added missing colon in ToString.
50 2007-12-04 Gert Driesen <drieseng@users.sourceforge.net>
52 * ExternalException.cs: Set HResult to match MS.
54 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
56 * ComVisible.cs: Fix parameter name (part of #322850).
58 2007-09-14 Zoltan Varga <vargaz@gmail.com>
60 * GCHandle.cs (AddrOfPinnedObject): Use -2 to communicate that the handle is not
61 pinned. Correct exception message. Fixes #82848.
63 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
65 * SafeHandle.cs CriticalHandle.cs TypeLibImporterFlags.cs
66 RegistrationClassContext.cs ArrayWithOffset.cs :
67 * ComObjectInUseException.cs ExposeAsClassToComAttribute.cs :
68 removed obsoleted files.
70 2007-07-18 Miguel de Icaza <miguel@novell.com>
72 * SafeHandle.cs: Harden this, do not call ReleaseHandle if the
75 * CriticalHandle.cs: Harden this, do not call ReleaseHandle if the
78 2007-07-06 Jonathan Chambers <joncham@gmail.com>
80 * ExtensibleClassFactory.cs: Fix ExtensibleClassFactory.
82 2007-06-22 Jonathan Chambers <joncham@gmail.com>
84 * Marshal.cs (ThrowExceptionForHR): Implement/consolidate.
85 * Marshal.cs (GetExceptionForHR): Implement/consolidate.
87 2007-05-11 Jonathan Chambers <joncham@gmail.com>
89 * Marshal.cs (SecureStringToBSTR): BSTR header is size in bytes,
92 2007-05-02 Jonathan Chambers <joncham@gmail.com>
94 * ExtensibleClassFactory.cs: Don't use un-implemented overload.
96 2007-05-02 Dick Porter <dick@ximian.com>
98 * _ConstructorInfo.cs:
108 * AutomationProxyAttribute.cs:
109 * BestFitMappingAttribute.cs:
111 * ClassInterfaceAttribute.cs:
112 * CoClassAttribute.cs:
113 * ComAliasNameAttribute.cs:
114 * ComCompatibleVersionAttribute.cs:
115 * ComConversionLossAttribute.cs:
116 * ComDefaultInterfaceAttribute.cs:
117 * ComEventInterfaceAttribute.cs:
119 * ComImportAttribute.cs:
120 * ComObjectInUseException.cs:
121 * ComRegisterFunctionAttribute.cs:
122 * ComUnregisterFunctionAttribute.cs:
125 * CurrencyWrapper.cs:
126 * DefaultCharSetAttribute.cs:
127 * DispatchWrapper.cs:
128 * DispIdAttribute.cs:
130 * ExtensibleClassFactory.cs:
131 * ExternalException.cs:
134 * StructLayoutAttribute.cs:
135 * TypeLibConverter.cs:
136 * ArrayWithOffset.cs:
147 * CallingConvention.cs:
149 * ClassInterfaceType.cs:
150 * ComInterfaceType.cs:
153 * ExporterEventKind.cs:
155 * RegistrationClassContext.cs:
157 * TypeLibImporterFlags.cs:
159 * VARFLAGS.cs: Update to 2.0 profile
161 2007-04-15 Alp Toker <alp@atoker.com>
163 * Marshal.cs: Add new 2.0 Copy() from IntPtr[] overload.
165 2007-03-12 Raja R Harinath <rharinath@novell.com>
167 * DefaultParameterValueAttribute.cs: Move to System.dll.
169 2007-02-08 Jonathan Chambers <joncham@gmail.com>
171 * Marshal.cs: Throw exceptions for AddRef, Release,
172 and QueryInterface in managed code. Implement GetComInterfaceForObject,
173 GetIDispatchForObject, GetIUnknownForObject, GetObjectForIUnknown,
174 GetObjectsForNativeVariants, IsComObject, ReleaseComObject, and
175 FinalReleaseComObject. Unimplement GetComObjectData and SetComObjectData
176 for now to save space and simplify __ComObject for now. MSDN states the
177 user should never call these methods anyway.
179 2007-01-29 Marek Habersack <grendello@gmail.com>
181 * Marshal.cs: Implement a missing Marshal.Copy overload.
183 2007-01-11 Jonathan Chambers <joncham@gmail.com>
185 * Marshal.cs: Implement Marshal.ReAllocCoTaskMem.
187 2007-01-03 Miguel de Icaza <miguel@novell.com>
189 * SafeHandle.cs: Do not use locks in SafeHandle to protect the
190 access to the refcount, use Interlocked.CompareExchange. The
191 locks were the source of problems with domain finalization when
192 this code was enabled.
194 This should fix Matt Hargett's bug report with a full `make check'
195 that reported variations of:
197 ** (../../class/lib/net_2_0/nunit-console.exe:29644): WARNING **:
198 Finalization of domain <domainname> timed out.
200 Also, it is a lot lighther.
202 2006-12-21 Miguel de Icaza <miguel@novell.com>
204 * CriticalHandle.cs: Add Dispose(bool disposing) method, and
207 2006-12-15 Gert Driesen <drieseng@users.sourceforge.net>
209 * Marshal.cs: Use SystemDefaultCharSize to determine whether to
210 use Ansi or Unicode variant of StringToCoTaskMem.
212 2006-12-15 Miguel de Icaza <miguel@novell.com>
214 * Marshal.cs (SecureStringToCoTaskMemAnsi, SecureStringToBSTR,
215 SecureStringToCoTaskMemUnicode, ZeroFreeCoTaskMemAnsi,
216 ZeroFreeCoTaskMemUnicode, ZeroFreeGlobalAllocAnsi,
217 ZeroFreeGlobalAllocUnicode): Implement.
219 (StringToCoTaskAuto): return the same as Ansi.
221 The ANSI code is out of sync with Mono, which treats ANSI as
224 Code formatting changes
226 2006-12-11 Miguel de Icaza <miguel@novell.com>
228 * SafeHandle.cs: Fix a handful of bugs, and add tests for them.
229 Only release the handle if its owned by us. Also throw
230 ObjectDisposedException's
234 DangerousAddRef will now throw an exception if the object was
237 2006-12-02 Miguel de Icaza <miguel@novell.com>
239 * SafeHandle.cs: Implement this class.
241 2006-10-06 Jonathan Chambers <joncham@gmail.com>
243 * ExtensibleClassFactory.cs: Implement RegisterObjectCreationCallback.
245 2006-08-31 Robert Jordan <robertj@gmx.net>
247 * Marshal.cs: Replaced the *Auto internal calls with managed
248 variants. Fixed SystemDefaultCharSize to return an OS dependent
251 2006-08-09 Jonathan Chambers <joncham@gmail.com>
253 * Marshal.cs: Implement GetIDispatchForObject.
255 2006-08-07 Gert Driesen <drieseng@users.sourceforge.net>
257 * Marshal.cs: Added stubs for GetTypeLibGuid (ITypeLib), GetTypeLibLcid
258 (ITypeLib), GetTypeLibName (ITypeLib).
260 2006-07-28 Jonathan Chambers <joncham@gmail.com>
262 * Marshal.cs: Implemented CreateWrapperOfType and ReleaseComObject.
264 2006-07-15 Jonathan Chambers <joncham@gmail.com>
266 * Marshal.cs: Begin implementing COM Interop. Implemented
267 AddRef, GetComInterfaceForObject, GetComObjectData, GetIUnknownForObject,
268 GetObjectForIUnknown, GetTypedObjectForIUnknown, IsComObject, QueryInterface
269 Release, SetComObjectData, and ThrowExceptionForHR.
271 2006-06-07 Jonathan Chambers <jonathan.chambers@ansys.com>
273 * Marshal.cs: Implement GetComSlotForMethodInfo
275 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
277 * Marshal.cs: Implement VARIANT marshalling methods
279 2006-05-20 Zac Bowling <zac@zacbowling.com>
280 * VarEnum.cs: ComVisible Attribute (2.0)
281 * InterfaceTypeAttribute.cs: ComVisible Attribute (2.0)
282 * UCOMITypeInfo.cs: ComImport Attribute (1.x)
283 * UCOMITypeComp.cs: ComImport Attribute (1.x)
284 * MarshalAsAttribute.cs: ComVisible Attribute (2.0)
285 * StructLayoutAttribute.cs: ComVisible Attribute (2.0)
286 * ProgIdAttribute.cs: ComVisible Attribute (2.0)
287 * PrimaryInteropAssemblyAttribute.cs: ComVisible Attribute (2.0)
288 * ImporterEventKind.cs: ComVisible Attribute (2.0)
289 * UCOMIPersistFile.cs: ComImport Attribute (1.x)
290 * SetWin32ContextInIDispatchAttribute.cs: Obselete and ComVisible
292 * IRegistrationServices.cs: ComVisible Attribute and CAS Attributes (2.0)
293 * InAttribute.cs: ComVisible Attribute (2.0)
294 * UCOMIMoniker.cs: ComImport Attribute (1.x)
295 * MarshalDirectiveException.cs: ComVisible Attribute (2.0)
296 * IDLDESC.cs: ComVisible Attribute (1.x)
297 * FUNCFLAGS.cs: ComVisible Attribute (1.x)
298 * UCOMIConnectionPointContainer.cs: ComImport Attribute (1.x)
299 * TypeLibExporterFlags.cs: ComVisible Attribute (2.0)
300 * ICustomMarshaler.cs: ComVisible Attribute (2.0)
301 * LayoutKind.cs: ComVisible Attribute (2.0) + Serializable + Clean
302 * ICustomAdapter.cs: ComVisible Attribute (2.0)
303 * UnmanagedFunctionPointerAttribute.cs: ComVisible Attribute and Param
304 Signature of UnmanagedFunctionPointerAttribute(...)
305 * FUNCKIND.cs: ComVisble Attribute (1.x)
306 * TypeLibVersionAttribute.cs: ComVisible Attribute (2.0) + Missing in
308 * TypeLibVarAttribute.cs: ComVisible Attribute (2.0)
309 * ITypeLibConverter.cs: ComVisible Attribute (2.0)
310 * UCOMIRunningObjectTable.cs: ComImport Attribute (1.x)
311 * IDispatchImplAttribute.cs: Obsolete + ComVisible Attribute (2.0)
312 * ITypeLibImporterNotifySink.cs: ComVisible Attribute (2.0)
313 * PreserveSigAttribute.cs: ComVisible Attribute (2.0)
314 * SYSKIND.cs: ComVisible Attribute (1.x)
315 * UCOMIEnumVARIANT.cs: ComImport Attribute (1.x)
316 * UCOMIEnumString.cs: ComImport Attribute (1.x) and Expose to 1.x (not
317 a 2.0 exclusive class)
318 * OutAttribute.cs: ComVisible Attribute (2.0)
319 * InvalidComObjectException.cs: ComVisible Attribute (2.0)
320 * SEHException.cs: ComVisible Attribute (2.0)
321 * UCOMIConnectionPoint.cs: ComImport Attribute (1.x)
322 * TypeLibImporterFlags.cs: ComVisible Attribute (2.0) and
324 * OptionalAttribute.cs: ComVisible Attribute (2.0)
325 * TYPEDESC.cs: ComVisible Attribute (1.x)
326 * UCOMIEnumMoniker.cs: ComImport Attribute (1.x) and Expose to 1.x
327 (not a 2.0 exclusive class)
328 * TypeLibTypeFlags.cs: ComVisible Attribute (2.0)
329 * ITypeLibExporterNotifySink.cs: ComVisible Attribute (2.0)
330 * HandleRef.cs: ComVisible.cs and add ToIntPtr (2.0)
331 * DllImportAttribute.cs: ComVisible Attribute (2.0)
332 * TypeLibTypeAttribute.cs: ComVisible Attribute (2.0)
333 * UnknownWrapper.cs: Serializable, ComVisible Attribute (2.0)
334 * IDFLAGS.cs: ComVisible Attribute (1.x only)
335 * RegistrationClassContext.cs: License + Flags attribute (2.0)
336 * GCHandle.cs: ComVisible Attribute + Operator Overrides (2.0)
337 * TypeLibImportClassAttribute.cs: ComVisible Attribute (2.0)
338 * IMPLYTPEFLAGS.cs: ComVisible Attribute (1.x)
339 * ImportedFromTypeLibAttribute.cs: ComVisible (2.0)
340 * UCOMIBindCtx.cs: Obsolete Attribute (2.0)
341 * FUNCDESC.cs: ComVisible Attribute (1.x)
342 * RegistrationConnectionType.cs: Flags Attribute (2.0)
343 * IDispatchImplType.cs: Obsolete + ComVisible Attribute (2.0)
344 * TypeLibConverter.cs: ComVisible (2.0)
345 * INVOKEKIND.cs: ComVisible Attribute (1.x)
346 * GCHandleType.cs: ComVisible Attribute (2.0) + Serializable
347 * ICustomFactory.cs: ComVisible Attribute (2.0)
348 * FieldOffsetAttribute.cs: ComVisible Attribute (2.0)
349 * LIBFLAGS.cs: ComVisible Attribute (1.x)
350 * ComSourceInterfacesAttributes.cs: ComVisible Attribute (2.0)
351 * STATSTG.cs: ComVisible Attribute (1.x)
352 * InvalidOleVariantTypeException.cs: ComVisible Attribute (2.0)
353 * TypeLibVarFlags.cs: ComVisible Attribute (2.0)
354 * TYPEFLAGS.cs: ComVisible Attribute (1.x)
355 * SafeArrayRankMismatchException.cs: ComVisible Attribute (2.0)
356 * TYPEATTR.cs: ComVisible Attribute (1.x)
357 * GuidAttribute.cs: ComVisible Attribute (2.0)
358 * UCOMIEnumConnectionPoints.cs: ComImport Attribute (1.x) + Expose to
359 1.x (not a 2.0 exclusive)
360 * SafeArrayTypeMismatchException.cs: ComVisible Attribute (2.0)
361 * ObjectCreationDelegate.cs: ComVisible Attribute (2.0)
362 * ITypeLibExporterNameProvider.cs: ComVisible Attribute (2.0) and
363 MarshelAs VarEnum Type.
364 * UCOMIStream.cs: ComImport Attribute (1.x)
365 * TypeLibFuncFlags.cs ComVisible Attribute (2.0)
366 * UnmanagedType.cs: ComVisible Attribute (2.0) + clean up
367 * UCOMIEnumConnections.cs: ComImport Attribute (1.0)
368 * LCIDConversionAttribute.cs: ComVisible Attribute (2.0)
369 * TypeLibFuncAttribute.cs: ComVisible Attribute (2.0)
371 2006-05-02 Jonathan Chambers <jonathan.chambers@ansys.com>
373 * Marshal.cs: Implement BSTR methods
375 2006-01-12 Ben Maurer <bmaurer@andrew.cmu.edu>
377 * SafeHandle.cs: Update to RTM api
379 2005-11-17 Zoltan Varga <vargaz@gmail.com>
381 * DefaultParameterValueAttribute.cs: New file.
383 2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
385 * Marshal.cs: Added null check in SecureStringTo* methods and make
386 them throw a NotSupportedException otherwise (as existing code must
387 deal with this anyway). Fixed Uni -> Unicode method name changes.
389 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
391 * UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
392 UCOMIConnectionPointContainer.cs, UCOMIEnumConnectionPoints.cs,
393 UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
394 UCOMIEnumVARIANT.cs, UCOMIMoniker.cs, UCOMIPersistFile.cs,
395 UCOMIRunningObjectTable.cs, UCOMIStream.cs, UCOMITypeComp.cs,
396 UCOMITypeInfo.cs, UCOMITypeLib.cs: Remove [ComImport] from the default
397 profile (this is new in 2.0) and reduce corcompare extras by 15.
399 2005-09-21 Kornél Pál <kornelpal@hotmail.com>
401 * UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
402 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, UnmanagedType.cs:
403 Removed UnmanagedType_80 that was required because mcs bug #75945
406 2005-08-12 Gert Driesen <drieseng@users.sourceforge.net>
408 * SetWin32ContextInIDispatchAttribute.cs: Make this attribute also
409 available in 1.0 profile (.NET 1.1).
410 * VariantWrapper.cs: Class is also exposed in .NET 1.1. Only
411 serializable in 2.0 profile.
413 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
415 * SafeHandle.cs: New file.
417 2005-08-06 Gert Driesen <drieseng@users.sourceforge.net>
419 * _Activator.cs: ComVisible should only be set in 2.0 profile.
420 Added TypeLibImportClass attribute.
421 * _Assembly.cs: ComVisible should only be set in 2.0 profile. Added
422 TypeLibImportClass attribute. Fixes InterfaceType to match MS.NET.
423 * _AssemblyBuilder.cs: ComVisible should only be set in 2.0 profile.
424 Added TypeLibImportClass attribute.
425 * _AssemblyName.cs: ComVisible should only be set in 2.0 profile.
426 Added TypeLibImportClass attribute.
427 * _Attribute.cs: ComVisible should only be set in 2.0 profile.
428 Added TypeLibImportClass attribute.
429 * _ConstructorBuilder.cs: ComVisible should only be set in 2.0 profile.
430 Added TypeLibImportClass attribute.
431 * _ConstructorInfo.cs: Fixed InterfaceType to match MS.NET. Added
432 TypeLibImportClass attribute. Added missing methods.
433 * _CustomAttributeBuilder.cs: ComVisible should only be set in 2.0 profile.
434 Added TypeLibImportClass attribute.
435 * _EnumBuilder.cs: ComVisible should only be set in 2.0 profile.
436 Added TypeLibImportClass attribute.
437 * _EventBuilder.cs: ComVisible should only be set in 2.0 profile.
438 Added TypeLibImportClass attribute.
439 * _EventInfo.cs: Fixed InterfaceType to match MS.NET. Added
440 TypeLibImportClass attribute. Added missing methods.
441 * _FieldBuilder.cs: ComVisible should only be set in 2.0 profile.
442 Added TypeLibImportClass attribute.
443 * _FieldInfo.cs: Fixed InterfaceType to match MS.NET. Added
444 TypeLibImportClass attribute. Added missing methods.
445 * _ILGenerator.cs: ComVisible should only be set in 2.0 profile.
446 Added TypeLibImportClass attribute.
447 * _LocalBuilder.cs: ComVisible should only be set in 2.0 profile.
448 Added TypeLibImportClass attribute.
449 * _MemberInfo.cs: Fixed InterfaceType to match MS.NET. Added
450 TypeLibImportClass attribute. Added missing methods.
451 * _MethodBase.cs: Fixed InterfaceType to match MS.NET. Added
452 TypeLibImportClass attribute. Added missing methods.
453 * _MethodInfo.cs: Fixed InterfaceType to match MS.NET. Added
454 TypeLibImportClass attribute. Added missing methods.
455 * _MethodBuilder.cs: ComVisible should only be set in 2.0 profile.
456 Added TypeLibImportClass attribute.
457 * _MethodRental.cs: ComVisible should only be set in 2.0 profile.
458 Added TypeLibImportClass attribute.
459 * _Module.cs: ComVisible should only be set in 2.0 profile.
460 Added TypeLibImportClass attribute.
461 * _ModuleBuilder.cs: ComVisible should only be set in 2.0 profile.
462 Added TypeLibImportClass attribute.
463 * _ParameterBuilder.cs: ComVisible should only be set in 2.0 profile.
464 Added TypeLibImportClass attribute.
465 * _ParameterInfo.cs: ComVisible should only be set in 2.0 profile.
466 Added TypeLibImportClass attribute.
467 * _PropertyBuilder.cs: ComVisible should only be setin 2.0 profile.
468 Added TypeLibImportClass attribute.
469 * _PropertyInfo.cs: Fixed InterfaceType to match MS.NET. Added
470 TypeLibImportClass attribute. Added missing methods.
471 * _SignatureHelper.cs: ComVisible should only be set in 2.0 profile.
472 Added TypeLibImportClass attribute.
473 * _Type.cs: Added TypeLibImportClass attribute. Fixed InterfaceType
474 to match MS.NET. Added missing method to match MS.NET.
475 * _Thread.cs: ComVisible should only be set in 2.0 profile.
476 Added TypeLibImportClass attribute.
477 * _TypeBuilder:cs: ComVisible should only be set in 2.0 profile.
478 Added TypeLibImportClass attribute.
479 * Marshal.cs: Removed MarshalAs attribute from parameter to fix
480 API compatibility with MS.NET.
481 * TypeLibImportClassAttribute.cs: Added.
483 2005-07-06 Zoltan Varga <vargaz@freemail.hu>
485 * GCHandle.cs: Add 2.0 FromIntPtr/ToIntPtr methods.
487 2005-06-08 Sebastien Pouliot <sebastien@ximian.com>
489 * RuntimeEnvironment.cs: I get better results when calling Demand.
491 2005-06-07 Sebastien Pouliot <sebastien@ximian.com>
493 * RuntimeEnvironment.cs: Implemented TODO. Added security for CAS.
495 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
497 * _Exception.cs: That one wasn't backported to 1.1 SP1 by MS. This
498 should fix a lot of extra reported in the API status pages.
500 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
502 * Marshal.cs: Add some missing 2.0 attributes.
504 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
507 * _ConstructorInfo.cs
515 * _Type.cs: Chance to .Net 1.1
518 * _AssemblyBuilder.cs
520 * _ConstructorBuilder.cs
521 * _CustomAttributeBuilder.cs
531 * _ParameterBuilder.cs
533 * _PropertyBuilder.cs
534 * _SignatureHelper.cs
536 * _TypeBuilder.cs: Added
538 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
540 * _Attribute.cs: New. Interface for attributes in 2.0.
542 2005-04-13 Marek Safar <marek.safar@seznam.cz>
544 * DefaultCharSetAttribute.cs: Removed useless using.
546 2005-03-31 Alp Toker <alp@atoker.com>
548 * GCHandle.cs: Clearer ArgumentException text in the case of a
549 null-valued IntPtr argument.
551 2005-03-04 Kazuki Oikawa <kazuki@panicode.com>
557 * ComDefaultInterfaceAttribute.cs
558 * ComObjectInUseException.cs
559 * ComSourceInterfacesAttribute.cs
562 * DefaultCharSetAttribute.cs
567 * ExposeAsClassToComAttribute.cs
578 * ITypeLibConverter.cs
579 * ITypeLibExporterNameProvider.cs
580 * ITypeLibExporterNotifySink.cs
584 * PrimaryInteropAssemblyAttribute.cs
592 * TypeLibExporterFlags.cs
593 * TypeLibImporterFlags.cs
595 * UCOMIConnectionPoint.cs
596 * UCOMIConnectionPointContainer.cs
597 * UCOMIEnumConnectionPoints.cs
598 * UCOMIEnumConnections.cs
599 * UCOMIEnumMoniker.cs
601 * UCOMIEnumVARIANT.cs
603 * UCOMIPersistFile.cs
604 * UCOMIRunningObjectTable.cs
609 * UnmanagedFunctionPointerAttribute.cs
612 * VariantWrapper.cs: Added missing attributes.
614 2005-03-03 Kazuki Oikawa <kazuki@panicode.com>
616 * _ConstructorInfo.cs
625 * ComDefaultInterfaceAttribute.cs
626 * ComObjectInUseException.cs
628 * DefaultCharSetAttribute.cs
629 * ExposeAsClassToComAttribute.cs
630 * RegistrationClassContext.cs
631 * RegistrationConnectionType.cs: Add
633 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
635 * UnmanagedFunctionPointerAttribute.cs: Add #region directives.
637 2005-02-21 Kazuki Oikawa <kazuki@panicode.com>
639 * BIND_OPTS.cs, CONNECTEDATA.cs, DISPPARAMS.cs, ELEMDESC.cs,
640 EXCEPINFO.cs, FILETIME.cs, FUNCDESC.cs, STATSTG.cs, TYPEATTR.cs,
641 TYPELIBATTR.cs, UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
642 UCOMIEnumConnectionPoints.cs, UCOMIEnumConnections.cs,
643 UCOMIEnumMoniker.cs, UCOMIEnumString.cs, UCOMIEnumVARIANT.cs,
644 UCOMIMoniker.cs, UCOMIPersistFile.cs, UCOMIRunningObjectTable.cs,
645 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, VARDESC.cs:
646 Corrected the order of the fields and the methods.
648 * BIND_OPTS.cs, CALLCONV.cs, FILETIME.cs, FUNCDESC.cs, FUNCFLAGS.cs,
649 FUNCKIND.cs, IDLFLAG.cs, IMPLTYPEFLAGS.cs, LIBFLAGS.cs, PARAMFLAG.cs,
650 STATSTG.cs, SYSKIND.cs, TYPEFLAGS.cs, VarEnum.cs, VARFLAGS.cs:
651 Added missing attributes.
653 Wed Feb 16 16:20:56 CET 2005 Paolo Molaro <lupus@ximian.com>
655 * GCHandle.cs: check the domain of an handle target is correct.
656 Make the unallocated value 0, since that is the default value
659 2005-02-10 Marek Safar <marek.safar@seznam.cz>
661 * TypeLibVarAttribute.cs,
662 * TypeLibTypeAttribute.cs,
663 * ComSourceInterfacesAttribute.cs: Fix AttributeUsage flags.
665 Sat Jan 29 12:48:03 CET 2005 Paolo Molaro <lupus@ximian.com>
667 * GCHandle.cs: update for runtime changes: the unallocated handle
670 2004-11-25 Raja R Harinath <rharinath@novell.com>
672 * UnmanagedType.cs (mono_bootstrap_NativeTypeMax): Rename from
673 __mono_bootstrap_NativeTypeMax. CSC doesn't like
674 [CLSCompliant(false)] on enum member.
676 2004-09-30 Zoltan Varga <vargaz@freemail.hu>
678 * Marshal.cs: Implement GetDelegateForFunctionPointer.
680 2004-09-29 Zoltan Varga <vargaz@freemail.hu>
682 * UnmanagedFunctionPointerAttribute.cs: New file.
684 * Marshal.cs: Make GetFunctionPointerForDelegate icall private.
686 * MarshalAsAttribute.cs: Add 2.0 IidParamIndex field.
688 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
690 * Marshal.cs: Add some ReliabilityContractAttributes.
692 * Marshal.cs (GetFunctionPointerForDelegate): Implement.
694 * Marshal.cs: Add stubs for missing 2.0 methods.
696 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
698 * DllImportAttribute.cs: Reorder fields and mark this class as visible
701 2004-09-08 Marek Safar <marek.safar@seznam.cz>
703 * Marshal.cs: Class is static in NET_2_0.
705 2004-07-29 Lluis Sanchez Gual <lluis@novell.com>
707 * RuntimeEnvironment.cs: Implemented SystemConfigurationFile and
710 Wed Jul 14 19:28:57 CEST 2004 Paolo Molaro <lupus@ximian.com>
712 * GCHandle.cs: throw exception if the result from AddrOfPinnedObject()
713 is -1 (special value returned by the runtime).
715 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
717 * _Exception.cs: New interface in Fx 2.0 to preserve member's order
720 2004-06-22 Raja R Harinath <rharinath@novell.com>
722 Fix bootstrap with mcs 0.31.
723 * UnmanagedType.cs (UnmanagedType.__mono_bootstrap_NativeTypeMax):
724 New bootstrap-only constant.
726 2004-06-18 Raja R Harinath <rharinath@novell.com>
728 Fix breaking build (see tests/test-272.cs). Since corlib is a
729 bootstrap library, we have to keep this fix even if the in-tree
730 mcs compiler is fixed.
731 * UCOMIEnumConnections.cs: Replace '(UnmanagedType) 80' in
732 attribute field initialization with Consts.UnmanagedType_80.
733 * UCOMIEnumMoniker.cs: Likewise.
734 * UCOMIEnumString.cs: Likewise.
735 * UCOMIStream.cs: Likewise.
736 * UCOMITypeInfo.cs: Likewise.
737 * UCOMITypeLib.cs: Likewise.
739 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
741 * BINDPTR.cs: have layout and charset match MS.NET
742 * CONNECTDATA.cs: have layout and charset match MS.NET
743 * DISPPARAMS.cs: have layout and charset match MS.NET
744 * ELEMDESC.cs: have layout and charset match MS.NET
745 * EXCEPINFO.cs: have layout and charset match MS.NET
746 * IDLDESC.cs: have layout and charset match MS.NET
747 * PARAMDESC.cs: have layout and charset match MS.NET
748 * STATSTG.cs: have layout and charset match MS.NET
749 * TYPEATTR.cs: have layout and charset match MS.NET
750 * TYPEDESC.cs: have layout and charset match MS.NET
751 * TYPELIBATTR.cs: have layout and charset match MS.NET
752 * VARDESC.cs: have layout and charset match MS.NET
754 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
756 * ArrayWithOffset.cs: fixed GetOffset to return int instead of
758 * CONNECTDATA.cs: added missing MarshalAs attribute
759 * EXCEPINFO.cs: added missing MarshalAs attributes
760 * ITypeLibConverter.cs: added missing MarshalAs attributes
761 * ITypeLibImporterNotifySink.cs: added missing MarshalAs attributes
762 * Marshal.cs: added missing MarshalAs attributues, and missing
764 * TypeLibConverter.cs: added missing MarshalAs attributes
765 * UCOMIBindCtx.cs: added missing MarshalAs attributes
766 * UCOMIConnectionPoint.cs: added missing MarshalAs attributes
767 * UCOMIEnumConnectionPoints.cs: added missing MarshalAs attributes
768 * UCOMIEnumConnections.cs: added missing PreserveSig attributes,
769 added missing MarshalAs attributes
770 * UCOMIEnumMoniker.cs: added missing PreserveSig attributes,
771 added missing MarshalAs attributes
772 * UCOMIEnumString.cs: added missing PreserveSig attributes,
773 added missing MarshalAs attributes
774 * UCOMIMoniker.cs: added missing MarshalAs attributes
775 * UCOMIPersistFile.cs: added missing PreserveSig attribute,
776 added missing MarshalAs attributes
777 * UCOMIRunningObjectTable.cs: added missing MarshalAs attributes
778 * UCOMIStream.cs: added missing MarshalAs attributes
779 * UCOMITypeComp.cs: added missing MarshalAs attributes
780 * UCOMITypeInfo.cs: added missing MarshalAs attributes
781 * UCOMITypeLib.cs: added missing PreserveSig attributes, added
782 missing MarshalAs attributes
784 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
786 * MarshalDirectiveException.cs: marked serializable to match MS.NET
787 * SafeArrayRankMismatchException.cs: marked serializable to match
789 * SafeArrayTypeMismatchException.cs: marked serializable to match
792 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
794 * InvalidComObjectException.cs: marked serializable to match MS.NET
795 * InvalidOleVarianTypeException.cs: marked serializable to match
798 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
800 * BestFitMappingAttribute.cs: removed serializable attribute
803 2004-05-30 Gert Driesen (drieseng@users.sourceforge.net)
805 * SetWin32ContextInIDispatchAttribute.cs: only build
807 * VariantWrapper.cs: only build for NET_2_0 profile
809 2004-05-29 Gert Driesen (drieseng@users.sourceforge.net)
811 * SetWin32ContextInIDispatchAttribute.cs: added
812 * VariantWrapper.cs: added
814 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
816 * AutomationProxyAttribute.cs
817 * BestFitMappingAttribute.cs
818 * ClassInterfaceAttribute.cs
819 * CoClassAttribute.cs
820 * ComAliasNameAttribute.cs
821 * ComCompatibleVersionAttribute.cs
822 * ComConversionLossAttribute.cs
823 * ComEventInterfaceAttribute.cs
824 * ComImportAttribute.cs
825 * ComRegisterFunctionAttribute.cs
826 * ComSourceInterfaceAttribute.cs
827 * ComUnregisterFunctionAttribute.cs
830 * DllImportAttribute.cs
831 * FieldOffsetAttribute.cs
833 * IDispatchImplAttribute.cs
834 * ImportedFromTypeLibAttribute.cs
836 * InterfaceTypeAttribute.cs
837 * LCIDConversionAttribute.cs
838 * MarshalAsAttribute.cs
839 * OptionalAttribute.cs
841 * PreserveSigAttribute.cs
842 * PrimaryInteropAssemblyAttribute.cs
844 * StructLayoutAttribute.cs
845 * TypeLibFuncAttribute.Cs
846 * TypeLibTypeAttribute.cs
847 * TypeLibVarAttribute.cs
848 * TypeLibVersionAttribute.cs now that Inherited is
849 false by default on AttributeUsageAttribute (as it
850 should be) we need to explicitly set Inherited to
851 false for those attributes should where it should be
854 2004-05-06 Mike Shaver <shaver@off.net>
855 * Marshal.cs: Implement StringToCoTaskMem{Ansi,Uni}
857 2004-05-05 Zoltan Varga <vargaz@freemail.hu>
859 * Marshal.cs: Applied patch from vladimir@pobox.com (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.
861 2004-01-30 Zoltan Varga <vargaz@freemail.hu>
863 * Marshal.cs: Implement AllocCoTaskMem and FreeCoTaskMem.
865 2003-11-26 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
867 * DispatchWrapper.cs: Added and implemented
868 * ErrorWrapper.cs: Fixed bug
869 * Marshal.cs: Added missing members
871 2003-11-18 Jackson Harper <jackson@ximian.com>
873 * CurrencyWrapper.cs: Fix file name.
875 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
877 * BestFitMappingAttribute.cs: Signature fix
878 * Marshal.cs: Add attribute, fix signatures
879 * MarshalAsAttribute.cs: Add head, add entry
880 * DllImportAttribute.cs: Added v1.1 entries
881 * TypeLibConverter.cs: Added, stubbed
882 * RegistrationServices.cs: Added, stubbed
883 * ExtensibleClassFactory.cs: Added, stubbed
884 * ErrorWrapper.cs: Added, implemented
885 * CurrencyWrapper.cs: Added, implemented
887 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
889 * IRegistrationServices.cs:
890 * ITypeLibConverter.cs:
891 * ITypeLibExporterNameProvider.cs:
892 * ITypeLibExporterNotifySink.cs:
893 * ITypeLibImporterNotifySink.cs: Added missing attribute
894 * UCOMIBindCtx.cs: Added missing attribute, fixed in attribute
895 * UCOMIConnectionPoint.cs:
896 * UCOMIConnectionPointContainer.cs:
897 * UCOMIEnumConnectionPoints.cs:
898 * UCOMIEnumConnections.cs:
899 * UCOMIEnumMoniker.cs:
900 * UCOMIEnumString.cs:
901 * UCOMIEnumVARIANT.cs:
903 * UCOMIPersistFile.cs:
904 * UCOMIRunningObjectTable.cs:
908 * UCOMITypeLib.cs: Added missing attribute
910 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
912 * UCOMIBindCtx.cs: Added and implemented
913 * UCOMIConnectionPoint.cs: Added and implemented
914 * UCOMIConnectionPointContainer.cs: Added and implemented
915 * UCOMIEnumConnectionPoints.cs: Added and implemented
916 * UCOMIEnumConnections.cs: Added and implemented
917 * UCOMIEnumMoniker.cs: Added and implemented
918 * UCOMIEnumString.cs: Added and implemented
919 * UCOMIEnumVARIANT.cs: Added and implemented
920 * UCOMIMoniker.cs: Added and implemented
921 * UCOMIPersistFile.cs: Added and implemented
922 * UCOMIRunningObjectTable.cs: Added and implemented
923 * UCOMIStream.cs: Added and implemented
925 * UCOMTypeComp.cs: renamed
926 * UCOMTypeInfo.cs: renamed
927 * UCOMTypeLib.cs: renamed
929 * ITypeLibConverter.cs: Fixed interface signature
931 * ComSourceInterfacesAttribute.cs: Added and implemented
932 * IDispatchImplAttribute.cs: Added and implemented
933 * InvalidComObjectException.cs: Added and implemented
934 * InvalidOleVariantTypeException.cs: Added and implemented
935 * MarshalDirectiveException.cs: Added and implemented
936 * SafeArrayRankMismatchException.cs: Added and implemented
937 * SafeArrayTypeMismatchException.cs: Added and implemented
938 * SEHException.cs: Added attribute
939 * UnknownWrapper.cs: Added and implemented
952 * VARDESC.cs: Added and implemented
957 * IDispatchImplType.cs:
964 * TypeLibImporterFlags.cs:
965 * VARFLAGS.cs: Added and implemented
967 2003-07-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
969 * ComCompatibleVersionAttribute.cs: Added and implemented
970 * TypeLibVersionAttribute.cs: Added and implemented
972 Wed Jun 18 12:49:54 CEST 2003 Paolo Molaro <lupus@ximian.com>
974 * Marshal.cs: implemented Prelink with icalls.
976 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
978 * RuntimeEnvironment.cs: New file. Stubbed by Dominik Fretz
981 2003-03-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
983 * ExternalException.cs: doesn't need a field to keep the result code.
984 * SEHException.cs: implemented.
986 2003-03-03 Tim Coleman <tim@timcoleman.com>
987 * HandleRef.cs: Add this struct
989 2003-01-05 Sebastien Pouliot <spouliot@videotron.ca>
991 * COMException.cs: New. Minimal (incomplete - i'm not using COM)
992 implementation because this is thrown when dealing with Software
993 Publisher Certificates (SPC) in X509Certificate.
995 2002-08-22 Nick Drochak <ndrochak@gol.com>
997 * OutAttribute.cs: TypeID isn't overriden from Attribute here.
998 * PInvokeMap.cs: Non-existent enum. Must be from beta days.
1000 2002-06-24 root <dietmar@ximian.com>
1002 * Marshal.cs: impl. Copy()
1004 Fri Jun 14 16:18:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
1006 * UnmanagedType.cs, Marshal.cs: minor fixes.
1008 Wed Jun 12 16:32:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
1010 * Marshal.c: stubbed out all the methods and filled in some
1012 * BINDPTR.cs, ComMemberType.cs, DESCKIND.cs, DISPPARAMS.cs,
1013 EXCEPINFO.cs, INVOKEKIND.cs, TYPEKIND.cs, UCOMTypeInfo.cs,
1014 UCOMTypeLib.cs: enums, interfaces and structs needed in Marshal class.
1016 Tue Jun 4 18:05:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
1018 * GCHandle.cs: changed to fit spec and implementation needs.
1020 Tue May 14 16:35:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
1022 * CharSet.cs: added missing None enum item.
1024 2002-04-26 Joe Shaw <joe@ximian.com>
1026 * Marshal.cs (StructureToPtr): stub this out.
1028 2002-04-23 Joe Shaw <joe@ximian.com>
1030 * Marshal.cs: Stub out a few functions to get gtk# to build.
1032 2002-04-22 Duncan Mak <duncan@ximian.com>
1034 * ImporterEventKind.cs:
1035 * TypeLibFuncFlags.cs:
1036 * TypeLibTypeFlags.cs:
1037 * TypeLibVarFlags.cs: Fixed various typos and added missing elements.
1039 * ComConventionLossAttribute.cs: Removed, there's a typo.
1040 * ComConversionLossAttribute.cs: Same attribute, slight change of name.
1042 * PreserveSigAttribute.cs:
1043 * ImportedFromTypeLibAttribute.cs: Added missing AttributeUsage
1046 * TypeLibFuncAttribute.cs:
1047 * TypeLibTypeAttribute.cs:
1048 * TypeLibVarAttribute.cs: Added missing constructors.
1051 2002-04-22 Duncan Mak <duncan@ximian.com>
1053 * AutomationProxyAttribute.cs:
1054 * CoClassAttribute.cs:
1055 * ComAliasNameAttribute.cs:
1056 * ComConventionLossAttribute.cs:
1057 * ComEventInterfaceAttribute.cs:
1058 * ComImportAttribute.cs:
1059 * ComRegisterFunctionAttribute.cs:
1060 * ComUnregisterFunctionAttribute.cs:
1061 * DispIdAttribute.cs:
1062 * ImportedFromTypeLibAttribute.cs:
1063 * LCIDConversionAttribute.cs:
1064 * PreserveSigAttribute.cs:
1065 * PrimaryInteropAssemblyAttribute.cs:
1066 * ProgIdAttribute.cs:
1067 * TypeLibFuncAttribute.cs:
1068 * TypeLibFuncFlags.cs:
1069 * TypeLibTypeAttribute.cs:
1070 * TypeLibTypeFlags.cs:
1071 * TypeLibVarAttribute.cs:
1072 * TypeLibVarFlags.cs: Added to CVS.
1074 2002-04-08 Nick Drochak <ndrochak@gol.com>
1076 * Marshal.cs: Make class public.
1077 * ComVisible.cs: New File.
1079 2002-03-24 Nick Drochak <ndrochak@gol.com>
1081 * ClassInterfaceAttribute.cs:
1082 * ClassInterfaceType.cs: New Files.
1084 2002-02-27 Duncan Mak <duncan@ximian.com>
1086 * ExporterEventKind.cs:
1087 * ITypeLibConverter.cs:
1088 * ITypeLibImporterNotifySink.cs: Added to CVS for Kevin Winchester <kwin@ns.sympatico.ca>.
1090 2002-02-26 Duncan Mak <duncan@ximian.com>
1092 * ComInterfaceType.cs: Added to CVS.
1094 * AssemblyRegistrationFlags.cs:
1096 * ICustomAdapter.cs:
1097 * ICustomFactory.cs:
1098 * ICustomMarshaler.cs:
1099 * IRegistrationServices.cs:
1100 * ITypeLibExporterNameProvider.cs:
1101 * ITypeLibImporterNotifySink.cs:
1102 * InterfaceTypeAttribute.cs:
1103 * TypeLibExporterFlags.cs: Committed for Kevin Winchester <kwin@ns.sympatico.ca>.
1105 * GCHandle.cs: Added to CVS. Patch from Ajay kumar Dwivedi.
1107 * GCHandleType.cs: Committed patch from Ajay.
1109 * ImporterEventKind.cs: Added to CVS.
1111 2002-01-24 Miguel de Icaza <miguel@ximian.com>
1113 * StructLayoutAttribute.cs: Flag attribute as targetting structs
1116 * InAttribute.cs: Flag attribute as targettting a paramter
1118 * OutAttribute.cs: ditto.
1120 * DllImportAttribute.cs: Flag attribute as targetting methods.
1122 * MarshalAsAttribute.cs: Flag attribute as targetting fields,
1123 parameters and returnvalues.
1125 2002-01-23 Dick Porter <dick@ximian.com>
1127 * Marshal.cs: Added GetLastWin32Error()
1129 * ExternalException.cs: Implemented
1131 2002-01-17 Miguel de Icaza <miguel@ximian.com>
1133 * ExternalException.cs: Add ExternalException.
1135 2002-01-05 Ravi Pratap <ravi@ximian.com>
1137 * OutAttribute.cs : Decorate with MonoTODO.
1139 Thu Dec 20 15:46:31 CET 2001 Paolo Molaro <lupus@ximian.com>
1141 * FieldOffsetAttribute.cs, InAttribute.cs, MarshalAsAttribute.cs,
1142 OptionalAttribute.cs, StructLayoutAttribute.cs, VarEnum.cs:
1143 more stuff needed by the compiler.
1145 Thu Dec 13 20:22:18 CET 2001 Paolo Molaro <lupus@ximian.com>
1147 * DllImportAttribute.cs: added.
1148 * MethodImplOptions.cs: removed: this is already in CompilerServices.
1150 Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <lupus@ximian.com>
1152 * CallingConvention.cs: add missing Winapi.
1154 2001-07-20 Miguel de Icaza <miguel@ximian.com>
1156 * OutAttribute.cs: New file.
1158 2001-07-18 Michael Lambert <michaellambert@email.com>
1160 * CallingConvention.cs.cs, CharSet.cs, GCHandleType.cs, LayoutKind.cs: Add.