1 2010-03-16 Jb Evain <jbevain@novell.com>
3 * MarshalAsAttribute.cs, Marshal.cs: use MOONLIGHT symbol to
4 disambiguate MonoTouch and Moonlight code.
6 2009-12-13 Miguel de Icaza <miguel@novell.com>
8 * SafeBuffer.cs: When comparing the end, we only need to compare
9 source+size being bigger than last_byte, not bigger or equal,
10 otherwise we can not access the last element.
12 2009-11-08 Miguel de Icaza <miguel@novell.com>
14 * Marshal.cs: Expose copy_*_unamnaged to SafeBuffer.
16 * SafeBuffer.cs: Update SafeBufer implementation
18 2009-11-02 Miguel de Icaza <miguel@novell.com>
20 * Jumbo NET_2_0 removal patch.
22 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
24 * GCHandle.cs: Add missing validations
26 2009-09-22 Sebastien Pouliot <sebastien@ximian.com>
28 * _Assembly.cs: Remove Evidence and GlobalAssemblyCache
29 properties for NET_2_1
30 * Marshal.cs: Avoid depending on SecureString for NET_2_1
32 2009-09-20 Sebastien Pouliot <sebastien@ximian.com>
34 * MarshalAsAttribute.cs: Remove VarEnum field for NET_2_1
36 2009-09-19 Sebastien Pouliot <sebastien@ximian.com>
38 * Marshal.cs: Avoid depending on COM stuff for NET_2_1
40 2009-09-04 Zoltan Varga <vargaz@gmail.com>
42 * SafeBuffer.cs: Mark specific methods as non-cls compliant instead of
45 * SafeBuffer.cs: New net 4.0 class.
47 2009-04-17 Tom Hindle <tom_hindle@sil.org>
49 * Marshal.cs: Improved GetExceptionForHR to return real C# exceptions in
50 certain cases instead of always COMException.
52 2009-02-24 Sebastien Pouliot <sebastien@ximian.com>
54 * SafeHandle.cs: Add default ctor in 2.1 profile (needed to compile
55 new unit tests in moonlight).
57 2009-03-05 Tom Hindle <tom_hindle@sil.org>
59 * Marshal.cs: Implemented GenerateGuidForType
61 2008-06-21 Gert Driesen <drieseng@users.sourceforge.net>
63 * Marshal.cs: Fixed order of arguments for ArgumentException in
64 GetComSlotForMethodInfo.
66 2008-06-19 Kornél Pál <kornelpal@gmail.com>
68 * Marshal.cs: Implement GetHINSTANCE.
70 2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
80 * BestFitMappingAttribute.cs
81 * Marshal.cs: Fix parameter names
83 2008-02-20 Zoltan Varga <vargaz@gmail.com>
85 * Marshal.cs (GetDelegateForFunctionPointer): Add a nullref check.
87 2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
89 * COMException.cs: Fix new-line literal and use of "" detected by
92 2008-01-13 Gert Driesen <drieseng@users.sourceforge.net>
94 * COMException.cs: Added missing colon in ToString.
96 2007-12-04 Gert Driesen <drieseng@users.sourceforge.net>
98 * ExternalException.cs: Set HResult to match MS.
100 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
102 * ComVisible.cs: Fix parameter name (part of #322850).
104 2007-09-14 Zoltan Varga <vargaz@gmail.com>
106 * GCHandle.cs (AddrOfPinnedObject): Use -2 to communicate that the handle is not
107 pinned. Correct exception message. Fixes #82848.
109 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
111 * SafeHandle.cs CriticalHandle.cs TypeLibImporterFlags.cs
112 RegistrationClassContext.cs ArrayWithOffset.cs :
113 * ComObjectInUseException.cs ExposeAsClassToComAttribute.cs :
114 removed obsoleted files.
116 2007-07-18 Miguel de Icaza <miguel@novell.com>
118 * SafeHandle.cs: Harden this, do not call ReleaseHandle if the
121 * CriticalHandle.cs: Harden this, do not call ReleaseHandle if the
124 2007-07-06 Jonathan Chambers <joncham@gmail.com>
126 * ExtensibleClassFactory.cs: Fix ExtensibleClassFactory.
128 2007-06-22 Jonathan Chambers <joncham@gmail.com>
130 * Marshal.cs (ThrowExceptionForHR): Implement/consolidate.
131 * Marshal.cs (GetExceptionForHR): Implement/consolidate.
133 2007-05-11 Jonathan Chambers <joncham@gmail.com>
135 * Marshal.cs (SecureStringToBSTR): BSTR header is size in bytes,
138 2007-05-02 Jonathan Chambers <joncham@gmail.com>
140 * ExtensibleClassFactory.cs: Don't use un-implemented overload.
142 2007-05-02 Dick Porter <dick@ximian.com>
144 * _ConstructorInfo.cs:
154 * AutomationProxyAttribute.cs:
155 * BestFitMappingAttribute.cs:
157 * ClassInterfaceAttribute.cs:
158 * CoClassAttribute.cs:
159 * ComAliasNameAttribute.cs:
160 * ComCompatibleVersionAttribute.cs:
161 * ComConversionLossAttribute.cs:
162 * ComDefaultInterfaceAttribute.cs:
163 * ComEventInterfaceAttribute.cs:
165 * ComImportAttribute.cs:
166 * ComObjectInUseException.cs:
167 * ComRegisterFunctionAttribute.cs:
168 * ComUnregisterFunctionAttribute.cs:
171 * CurrencyWrapper.cs:
172 * DefaultCharSetAttribute.cs:
173 * DispatchWrapper.cs:
174 * DispIdAttribute.cs:
176 * ExtensibleClassFactory.cs:
177 * ExternalException.cs:
180 * StructLayoutAttribute.cs:
181 * TypeLibConverter.cs:
182 * ArrayWithOffset.cs:
193 * CallingConvention.cs:
195 * ClassInterfaceType.cs:
196 * ComInterfaceType.cs:
199 * ExporterEventKind.cs:
201 * RegistrationClassContext.cs:
203 * TypeLibImporterFlags.cs:
205 * VARFLAGS.cs: Update to 2.0 profile
207 2007-04-15 Alp Toker <alp@atoker.com>
209 * Marshal.cs: Add new 2.0 Copy() from IntPtr[] overload.
211 2007-03-12 Raja R Harinath <rharinath@novell.com>
213 * DefaultParameterValueAttribute.cs: Move to System.dll.
215 2007-02-08 Jonathan Chambers <joncham@gmail.com>
217 * Marshal.cs: Throw exceptions for AddRef, Release,
218 and QueryInterface in managed code. Implement GetComInterfaceForObject,
219 GetIDispatchForObject, GetIUnknownForObject, GetObjectForIUnknown,
220 GetObjectsForNativeVariants, IsComObject, ReleaseComObject, and
221 FinalReleaseComObject. Unimplement GetComObjectData and SetComObjectData
222 for now to save space and simplify __ComObject for now. MSDN states the
223 user should never call these methods anyway.
225 2007-01-29 Marek Habersack <grendello@gmail.com>
227 * Marshal.cs: Implement a missing Marshal.Copy overload.
229 2007-01-11 Jonathan Chambers <joncham@gmail.com>
231 * Marshal.cs: Implement Marshal.ReAllocCoTaskMem.
233 2007-01-03 Miguel de Icaza <miguel@novell.com>
235 * SafeHandle.cs: Do not use locks in SafeHandle to protect the
236 access to the refcount, use Interlocked.CompareExchange. The
237 locks were the source of problems with domain finalization when
238 this code was enabled.
240 This should fix Matt Hargett's bug report with a full `make check'
241 that reported variations of:
243 ** (../../class/lib/net_2_0/nunit-console.exe:29644): WARNING **:
244 Finalization of domain <domainname> timed out.
246 Also, it is a lot lighther.
248 2006-12-21 Miguel de Icaza <miguel@novell.com>
250 * CriticalHandle.cs: Add Dispose(bool disposing) method, and
253 2006-12-15 Gert Driesen <drieseng@users.sourceforge.net>
255 * Marshal.cs: Use SystemDefaultCharSize to determine whether to
256 use Ansi or Unicode variant of StringToCoTaskMem.
258 2006-12-15 Miguel de Icaza <miguel@novell.com>
260 * Marshal.cs (SecureStringToCoTaskMemAnsi, SecureStringToBSTR,
261 SecureStringToCoTaskMemUnicode, ZeroFreeCoTaskMemAnsi,
262 ZeroFreeCoTaskMemUnicode, ZeroFreeGlobalAllocAnsi,
263 ZeroFreeGlobalAllocUnicode): Implement.
265 (StringToCoTaskAuto): return the same as Ansi.
267 The ANSI code is out of sync with Mono, which treats ANSI as
270 Code formatting changes
272 2006-12-11 Miguel de Icaza <miguel@novell.com>
274 * SafeHandle.cs: Fix a handful of bugs, and add tests for them.
275 Only release the handle if its owned by us. Also throw
276 ObjectDisposedException's
280 DangerousAddRef will now throw an exception if the object was
283 2006-12-02 Miguel de Icaza <miguel@novell.com>
285 * SafeHandle.cs: Implement this class.
287 2006-10-06 Jonathan Chambers <joncham@gmail.com>
289 * ExtensibleClassFactory.cs: Implement RegisterObjectCreationCallback.
291 2006-08-31 Robert Jordan <robertj@gmx.net>
293 * Marshal.cs: Replaced the *Auto internal calls with managed
294 variants. Fixed SystemDefaultCharSize to return an OS dependent
297 2006-08-09 Jonathan Chambers <joncham@gmail.com>
299 * Marshal.cs: Implement GetIDispatchForObject.
301 2006-08-07 Gert Driesen <drieseng@users.sourceforge.net>
303 * Marshal.cs: Added stubs for GetTypeLibGuid (ITypeLib), GetTypeLibLcid
304 (ITypeLib), GetTypeLibName (ITypeLib).
306 2006-07-28 Jonathan Chambers <joncham@gmail.com>
308 * Marshal.cs: Implemented CreateWrapperOfType and ReleaseComObject.
310 2006-07-15 Jonathan Chambers <joncham@gmail.com>
312 * Marshal.cs: Begin implementing COM Interop. Implemented
313 AddRef, GetComInterfaceForObject, GetComObjectData, GetIUnknownForObject,
314 GetObjectForIUnknown, GetTypedObjectForIUnknown, IsComObject, QueryInterface
315 Release, SetComObjectData, and ThrowExceptionForHR.
317 2006-06-07 Jonathan Chambers <jonathan.chambers@ansys.com>
319 * Marshal.cs: Implement GetComSlotForMethodInfo
321 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
323 * Marshal.cs: Implement VARIANT marshalling methods
325 2006-05-20 Zac Bowling <zac@zacbowling.com>
326 * VarEnum.cs: ComVisible Attribute (2.0)
327 * InterfaceTypeAttribute.cs: ComVisible Attribute (2.0)
328 * UCOMITypeInfo.cs: ComImport Attribute (1.x)
329 * UCOMITypeComp.cs: ComImport Attribute (1.x)
330 * MarshalAsAttribute.cs: ComVisible Attribute (2.0)
331 * StructLayoutAttribute.cs: ComVisible Attribute (2.0)
332 * ProgIdAttribute.cs: ComVisible Attribute (2.0)
333 * PrimaryInteropAssemblyAttribute.cs: ComVisible Attribute (2.0)
334 * ImporterEventKind.cs: ComVisible Attribute (2.0)
335 * UCOMIPersistFile.cs: ComImport Attribute (1.x)
336 * SetWin32ContextInIDispatchAttribute.cs: Obselete and ComVisible
338 * IRegistrationServices.cs: ComVisible Attribute and CAS Attributes (2.0)
339 * InAttribute.cs: ComVisible Attribute (2.0)
340 * UCOMIMoniker.cs: ComImport Attribute (1.x)
341 * MarshalDirectiveException.cs: ComVisible Attribute (2.0)
342 * IDLDESC.cs: ComVisible Attribute (1.x)
343 * FUNCFLAGS.cs: ComVisible Attribute (1.x)
344 * UCOMIConnectionPointContainer.cs: ComImport Attribute (1.x)
345 * TypeLibExporterFlags.cs: ComVisible Attribute (2.0)
346 * ICustomMarshaler.cs: ComVisible Attribute (2.0)
347 * LayoutKind.cs: ComVisible Attribute (2.0) + Serializable + Clean
348 * ICustomAdapter.cs: ComVisible Attribute (2.0)
349 * UnmanagedFunctionPointerAttribute.cs: ComVisible Attribute and Param
350 Signature of UnmanagedFunctionPointerAttribute(...)
351 * FUNCKIND.cs: ComVisble Attribute (1.x)
352 * TypeLibVersionAttribute.cs: ComVisible Attribute (2.0) + Missing in
354 * TypeLibVarAttribute.cs: ComVisible Attribute (2.0)
355 * ITypeLibConverter.cs: ComVisible Attribute (2.0)
356 * UCOMIRunningObjectTable.cs: ComImport Attribute (1.x)
357 * IDispatchImplAttribute.cs: Obsolete + ComVisible Attribute (2.0)
358 * ITypeLibImporterNotifySink.cs: ComVisible Attribute (2.0)
359 * PreserveSigAttribute.cs: ComVisible Attribute (2.0)
360 * SYSKIND.cs: ComVisible Attribute (1.x)
361 * UCOMIEnumVARIANT.cs: ComImport Attribute (1.x)
362 * UCOMIEnumString.cs: ComImport Attribute (1.x) and Expose to 1.x (not
363 a 2.0 exclusive class)
364 * OutAttribute.cs: ComVisible Attribute (2.0)
365 * InvalidComObjectException.cs: ComVisible Attribute (2.0)
366 * SEHException.cs: ComVisible Attribute (2.0)
367 * UCOMIConnectionPoint.cs: ComImport Attribute (1.x)
368 * TypeLibImporterFlags.cs: ComVisible Attribute (2.0) and
370 * OptionalAttribute.cs: ComVisible Attribute (2.0)
371 * TYPEDESC.cs: ComVisible Attribute (1.x)
372 * UCOMIEnumMoniker.cs: ComImport Attribute (1.x) and Expose to 1.x
373 (not a 2.0 exclusive class)
374 * TypeLibTypeFlags.cs: ComVisible Attribute (2.0)
375 * ITypeLibExporterNotifySink.cs: ComVisible Attribute (2.0)
376 * HandleRef.cs: ComVisible.cs and add ToIntPtr (2.0)
377 * DllImportAttribute.cs: ComVisible Attribute (2.0)
378 * TypeLibTypeAttribute.cs: ComVisible Attribute (2.0)
379 * UnknownWrapper.cs: Serializable, ComVisible Attribute (2.0)
380 * IDFLAGS.cs: ComVisible Attribute (1.x only)
381 * RegistrationClassContext.cs: License + Flags attribute (2.0)
382 * GCHandle.cs: ComVisible Attribute + Operator Overrides (2.0)
383 * TypeLibImportClassAttribute.cs: ComVisible Attribute (2.0)
384 * IMPLYTPEFLAGS.cs: ComVisible Attribute (1.x)
385 * ImportedFromTypeLibAttribute.cs: ComVisible (2.0)
386 * UCOMIBindCtx.cs: Obsolete Attribute (2.0)
387 * FUNCDESC.cs: ComVisible Attribute (1.x)
388 * RegistrationConnectionType.cs: Flags Attribute (2.0)
389 * IDispatchImplType.cs: Obsolete + ComVisible Attribute (2.0)
390 * TypeLibConverter.cs: ComVisible (2.0)
391 * INVOKEKIND.cs: ComVisible Attribute (1.x)
392 * GCHandleType.cs: ComVisible Attribute (2.0) + Serializable
393 * ICustomFactory.cs: ComVisible Attribute (2.0)
394 * FieldOffsetAttribute.cs: ComVisible Attribute (2.0)
395 * LIBFLAGS.cs: ComVisible Attribute (1.x)
396 * ComSourceInterfacesAttributes.cs: ComVisible Attribute (2.0)
397 * STATSTG.cs: ComVisible Attribute (1.x)
398 * InvalidOleVariantTypeException.cs: ComVisible Attribute (2.0)
399 * TypeLibVarFlags.cs: ComVisible Attribute (2.0)
400 * TYPEFLAGS.cs: ComVisible Attribute (1.x)
401 * SafeArrayRankMismatchException.cs: ComVisible Attribute (2.0)
402 * TYPEATTR.cs: ComVisible Attribute (1.x)
403 * GuidAttribute.cs: ComVisible Attribute (2.0)
404 * UCOMIEnumConnectionPoints.cs: ComImport Attribute (1.x) + Expose to
405 1.x (not a 2.0 exclusive)
406 * SafeArrayTypeMismatchException.cs: ComVisible Attribute (2.0)
407 * ObjectCreationDelegate.cs: ComVisible Attribute (2.0)
408 * ITypeLibExporterNameProvider.cs: ComVisible Attribute (2.0) and
409 MarshelAs VarEnum Type.
410 * UCOMIStream.cs: ComImport Attribute (1.x)
411 * TypeLibFuncFlags.cs ComVisible Attribute (2.0)
412 * UnmanagedType.cs: ComVisible Attribute (2.0) + clean up
413 * UCOMIEnumConnections.cs: ComImport Attribute (1.0)
414 * LCIDConversionAttribute.cs: ComVisible Attribute (2.0)
415 * TypeLibFuncAttribute.cs: ComVisible Attribute (2.0)
417 2006-05-02 Jonathan Chambers <jonathan.chambers@ansys.com>
419 * Marshal.cs: Implement BSTR methods
421 2006-01-12 Ben Maurer <bmaurer@andrew.cmu.edu>
423 * SafeHandle.cs: Update to RTM api
425 2005-11-17 Zoltan Varga <vargaz@gmail.com>
427 * DefaultParameterValueAttribute.cs: New file.
429 2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
431 * Marshal.cs: Added null check in SecureStringTo* methods and make
432 them throw a NotSupportedException otherwise (as existing code must
433 deal with this anyway). Fixed Uni -> Unicode method name changes.
435 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
437 * UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
438 UCOMIConnectionPointContainer.cs, UCOMIEnumConnectionPoints.cs,
439 UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
440 UCOMIEnumVARIANT.cs, UCOMIMoniker.cs, UCOMIPersistFile.cs,
441 UCOMIRunningObjectTable.cs, UCOMIStream.cs, UCOMITypeComp.cs,
442 UCOMITypeInfo.cs, UCOMITypeLib.cs: Remove [ComImport] from the default
443 profile (this is new in 2.0) and reduce corcompare extras by 15.
445 2005-09-21 Kornél Pál <kornelpal@hotmail.com>
447 * UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
448 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, UnmanagedType.cs:
449 Removed UnmanagedType_80 that was required because mcs bug #75945
452 2005-08-12 Gert Driesen <drieseng@users.sourceforge.net>
454 * SetWin32ContextInIDispatchAttribute.cs: Make this attribute also
455 available in 1.0 profile (.NET 1.1).
456 * VariantWrapper.cs: Class is also exposed in .NET 1.1. Only
457 serializable in 2.0 profile.
459 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
461 * SafeHandle.cs: New file.
463 2005-08-06 Gert Driesen <drieseng@users.sourceforge.net>
465 * _Activator.cs: ComVisible should only be set in 2.0 profile.
466 Added TypeLibImportClass attribute.
467 * _Assembly.cs: ComVisible should only be set in 2.0 profile. Added
468 TypeLibImportClass attribute. Fixes InterfaceType to match MS.NET.
469 * _AssemblyBuilder.cs: ComVisible should only be set in 2.0 profile.
470 Added TypeLibImportClass attribute.
471 * _AssemblyName.cs: ComVisible should only be set in 2.0 profile.
472 Added TypeLibImportClass attribute.
473 * _Attribute.cs: ComVisible should only be set in 2.0 profile.
474 Added TypeLibImportClass attribute.
475 * _ConstructorBuilder.cs: ComVisible should only be set in 2.0 profile.
476 Added TypeLibImportClass attribute.
477 * _ConstructorInfo.cs: Fixed InterfaceType to match MS.NET. Added
478 TypeLibImportClass attribute. Added missing methods.
479 * _CustomAttributeBuilder.cs: ComVisible should only be set in 2.0 profile.
480 Added TypeLibImportClass attribute.
481 * _EnumBuilder.cs: ComVisible should only be set in 2.0 profile.
482 Added TypeLibImportClass attribute.
483 * _EventBuilder.cs: ComVisible should only be set in 2.0 profile.
484 Added TypeLibImportClass attribute.
485 * _EventInfo.cs: Fixed InterfaceType to match MS.NET. Added
486 TypeLibImportClass attribute. Added missing methods.
487 * _FieldBuilder.cs: ComVisible should only be set in 2.0 profile.
488 Added TypeLibImportClass attribute.
489 * _FieldInfo.cs: Fixed InterfaceType to match MS.NET. Added
490 TypeLibImportClass attribute. Added missing methods.
491 * _ILGenerator.cs: ComVisible should only be set in 2.0 profile.
492 Added TypeLibImportClass attribute.
493 * _LocalBuilder.cs: ComVisible should only be set in 2.0 profile.
494 Added TypeLibImportClass attribute.
495 * _MemberInfo.cs: Fixed InterfaceType to match MS.NET. Added
496 TypeLibImportClass attribute. Added missing methods.
497 * _MethodBase.cs: Fixed InterfaceType to match MS.NET. Added
498 TypeLibImportClass attribute. Added missing methods.
499 * _MethodInfo.cs: Fixed InterfaceType to match MS.NET. Added
500 TypeLibImportClass attribute. Added missing methods.
501 * _MethodBuilder.cs: ComVisible should only be set in 2.0 profile.
502 Added TypeLibImportClass attribute.
503 * _MethodRental.cs: ComVisible should only be set in 2.0 profile.
504 Added TypeLibImportClass attribute.
505 * _Module.cs: ComVisible should only be set in 2.0 profile.
506 Added TypeLibImportClass attribute.
507 * _ModuleBuilder.cs: ComVisible should only be set in 2.0 profile.
508 Added TypeLibImportClass attribute.
509 * _ParameterBuilder.cs: ComVisible should only be set in 2.0 profile.
510 Added TypeLibImportClass attribute.
511 * _ParameterInfo.cs: ComVisible should only be set in 2.0 profile.
512 Added TypeLibImportClass attribute.
513 * _PropertyBuilder.cs: ComVisible should only be setin 2.0 profile.
514 Added TypeLibImportClass attribute.
515 * _PropertyInfo.cs: Fixed InterfaceType to match MS.NET. Added
516 TypeLibImportClass attribute. Added missing methods.
517 * _SignatureHelper.cs: ComVisible should only be set in 2.0 profile.
518 Added TypeLibImportClass attribute.
519 * _Type.cs: Added TypeLibImportClass attribute. Fixed InterfaceType
520 to match MS.NET. Added missing method to match MS.NET.
521 * _Thread.cs: ComVisible should only be set in 2.0 profile.
522 Added TypeLibImportClass attribute.
523 * _TypeBuilder:cs: ComVisible should only be set in 2.0 profile.
524 Added TypeLibImportClass attribute.
525 * Marshal.cs: Removed MarshalAs attribute from parameter to fix
526 API compatibility with MS.NET.
527 * TypeLibImportClassAttribute.cs: Added.
529 2005-07-06 Zoltan Varga <vargaz@freemail.hu>
531 * GCHandle.cs: Add 2.0 FromIntPtr/ToIntPtr methods.
533 2005-06-08 Sebastien Pouliot <sebastien@ximian.com>
535 * RuntimeEnvironment.cs: I get better results when calling Demand.
537 2005-06-07 Sebastien Pouliot <sebastien@ximian.com>
539 * RuntimeEnvironment.cs: Implemented TODO. Added security for CAS.
541 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
543 * _Exception.cs: That one wasn't backported to 1.1 SP1 by MS. This
544 should fix a lot of extra reported in the API status pages.
546 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
548 * Marshal.cs: Add some missing 2.0 attributes.
550 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
553 * _ConstructorInfo.cs
561 * _Type.cs: Chance to .Net 1.1
564 * _AssemblyBuilder.cs
566 * _ConstructorBuilder.cs
567 * _CustomAttributeBuilder.cs
577 * _ParameterBuilder.cs
579 * _PropertyBuilder.cs
580 * _SignatureHelper.cs
582 * _TypeBuilder.cs: Added
584 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
586 * _Attribute.cs: New. Interface for attributes in 2.0.
588 2005-04-13 Marek Safar <marek.safar@seznam.cz>
590 * DefaultCharSetAttribute.cs: Removed useless using.
592 2005-03-31 Alp Toker <alp@atoker.com>
594 * GCHandle.cs: Clearer ArgumentException text in the case of a
595 null-valued IntPtr argument.
597 2005-03-04 Kazuki Oikawa <kazuki@panicode.com>
603 * ComDefaultInterfaceAttribute.cs
604 * ComObjectInUseException.cs
605 * ComSourceInterfacesAttribute.cs
608 * DefaultCharSetAttribute.cs
613 * ExposeAsClassToComAttribute.cs
624 * ITypeLibConverter.cs
625 * ITypeLibExporterNameProvider.cs
626 * ITypeLibExporterNotifySink.cs
630 * PrimaryInteropAssemblyAttribute.cs
638 * TypeLibExporterFlags.cs
639 * TypeLibImporterFlags.cs
641 * UCOMIConnectionPoint.cs
642 * UCOMIConnectionPointContainer.cs
643 * UCOMIEnumConnectionPoints.cs
644 * UCOMIEnumConnections.cs
645 * UCOMIEnumMoniker.cs
647 * UCOMIEnumVARIANT.cs
649 * UCOMIPersistFile.cs
650 * UCOMIRunningObjectTable.cs
655 * UnmanagedFunctionPointerAttribute.cs
658 * VariantWrapper.cs: Added missing attributes.
660 2005-03-03 Kazuki Oikawa <kazuki@panicode.com>
662 * _ConstructorInfo.cs
671 * ComDefaultInterfaceAttribute.cs
672 * ComObjectInUseException.cs
674 * DefaultCharSetAttribute.cs
675 * ExposeAsClassToComAttribute.cs
676 * RegistrationClassContext.cs
677 * RegistrationConnectionType.cs: Add
679 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
681 * UnmanagedFunctionPointerAttribute.cs: Add #region directives.
683 2005-02-21 Kazuki Oikawa <kazuki@panicode.com>
685 * BIND_OPTS.cs, CONNECTEDATA.cs, DISPPARAMS.cs, ELEMDESC.cs,
686 EXCEPINFO.cs, FILETIME.cs, FUNCDESC.cs, STATSTG.cs, TYPEATTR.cs,
687 TYPELIBATTR.cs, UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
688 UCOMIEnumConnectionPoints.cs, UCOMIEnumConnections.cs,
689 UCOMIEnumMoniker.cs, UCOMIEnumString.cs, UCOMIEnumVARIANT.cs,
690 UCOMIMoniker.cs, UCOMIPersistFile.cs, UCOMIRunningObjectTable.cs,
691 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, VARDESC.cs:
692 Corrected the order of the fields and the methods.
694 * BIND_OPTS.cs, CALLCONV.cs, FILETIME.cs, FUNCDESC.cs, FUNCFLAGS.cs,
695 FUNCKIND.cs, IDLFLAG.cs, IMPLTYPEFLAGS.cs, LIBFLAGS.cs, PARAMFLAG.cs,
696 STATSTG.cs, SYSKIND.cs, TYPEFLAGS.cs, VarEnum.cs, VARFLAGS.cs:
697 Added missing attributes.
699 Wed Feb 16 16:20:56 CET 2005 Paolo Molaro <lupus@ximian.com>
701 * GCHandle.cs: check the domain of an handle target is correct.
702 Make the unallocated value 0, since that is the default value
705 2005-02-10 Marek Safar <marek.safar@seznam.cz>
707 * TypeLibVarAttribute.cs,
708 * TypeLibTypeAttribute.cs,
709 * ComSourceInterfacesAttribute.cs: Fix AttributeUsage flags.
711 Sat Jan 29 12:48:03 CET 2005 Paolo Molaro <lupus@ximian.com>
713 * GCHandle.cs: update for runtime changes: the unallocated handle
716 2004-11-25 Raja R Harinath <rharinath@novell.com>
718 * UnmanagedType.cs (mono_bootstrap_NativeTypeMax): Rename from
719 __mono_bootstrap_NativeTypeMax. CSC doesn't like
720 [CLSCompliant(false)] on enum member.
722 2004-09-30 Zoltan Varga <vargaz@freemail.hu>
724 * Marshal.cs: Implement GetDelegateForFunctionPointer.
726 2004-09-29 Zoltan Varga <vargaz@freemail.hu>
728 * UnmanagedFunctionPointerAttribute.cs: New file.
730 * Marshal.cs: Make GetFunctionPointerForDelegate icall private.
732 * MarshalAsAttribute.cs: Add 2.0 IidParamIndex field.
734 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
736 * Marshal.cs: Add some ReliabilityContractAttributes.
738 * Marshal.cs (GetFunctionPointerForDelegate): Implement.
740 * Marshal.cs: Add stubs for missing 2.0 methods.
742 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
744 * DllImportAttribute.cs: Reorder fields and mark this class as visible
747 2004-09-08 Marek Safar <marek.safar@seznam.cz>
749 * Marshal.cs: Class is static in NET_2_0.
751 2004-07-29 Lluis Sanchez Gual <lluis@novell.com>
753 * RuntimeEnvironment.cs: Implemented SystemConfigurationFile and
756 Wed Jul 14 19:28:57 CEST 2004 Paolo Molaro <lupus@ximian.com>
758 * GCHandle.cs: throw exception if the result from AddrOfPinnedObject()
759 is -1 (special value returned by the runtime).
761 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
763 * _Exception.cs: New interface in Fx 2.0 to preserve member's order
766 2004-06-22 Raja R Harinath <rharinath@novell.com>
768 Fix bootstrap with mcs 0.31.
769 * UnmanagedType.cs (UnmanagedType.__mono_bootstrap_NativeTypeMax):
770 New bootstrap-only constant.
772 2004-06-18 Raja R Harinath <rharinath@novell.com>
774 Fix breaking build (see tests/test-272.cs). Since corlib is a
775 bootstrap library, we have to keep this fix even if the in-tree
776 mcs compiler is fixed.
777 * UCOMIEnumConnections.cs: Replace '(UnmanagedType) 80' in
778 attribute field initialization with Consts.UnmanagedType_80.
779 * UCOMIEnumMoniker.cs: Likewise.
780 * UCOMIEnumString.cs: Likewise.
781 * UCOMIStream.cs: Likewise.
782 * UCOMITypeInfo.cs: Likewise.
783 * UCOMITypeLib.cs: Likewise.
785 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
787 * BINDPTR.cs: have layout and charset match MS.NET
788 * CONNECTDATA.cs: have layout and charset match MS.NET
789 * DISPPARAMS.cs: have layout and charset match MS.NET
790 * ELEMDESC.cs: have layout and charset match MS.NET
791 * EXCEPINFO.cs: have layout and charset match MS.NET
792 * IDLDESC.cs: have layout and charset match MS.NET
793 * PARAMDESC.cs: have layout and charset match MS.NET
794 * STATSTG.cs: have layout and charset match MS.NET
795 * TYPEATTR.cs: have layout and charset match MS.NET
796 * TYPEDESC.cs: have layout and charset match MS.NET
797 * TYPELIBATTR.cs: have layout and charset match MS.NET
798 * VARDESC.cs: have layout and charset match MS.NET
800 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
802 * ArrayWithOffset.cs: fixed GetOffset to return int instead of
804 * CONNECTDATA.cs: added missing MarshalAs attribute
805 * EXCEPINFO.cs: added missing MarshalAs attributes
806 * ITypeLibConverter.cs: added missing MarshalAs attributes
807 * ITypeLibImporterNotifySink.cs: added missing MarshalAs attributes
808 * Marshal.cs: added missing MarshalAs attributues, and missing
810 * TypeLibConverter.cs: added missing MarshalAs attributes
811 * UCOMIBindCtx.cs: added missing MarshalAs attributes
812 * UCOMIConnectionPoint.cs: added missing MarshalAs attributes
813 * UCOMIEnumConnectionPoints.cs: added missing MarshalAs attributes
814 * UCOMIEnumConnections.cs: added missing PreserveSig attributes,
815 added missing MarshalAs attributes
816 * UCOMIEnumMoniker.cs: added missing PreserveSig attributes,
817 added missing MarshalAs attributes
818 * UCOMIEnumString.cs: added missing PreserveSig attributes,
819 added missing MarshalAs attributes
820 * UCOMIMoniker.cs: added missing MarshalAs attributes
821 * UCOMIPersistFile.cs: added missing PreserveSig attribute,
822 added missing MarshalAs attributes
823 * UCOMIRunningObjectTable.cs: added missing MarshalAs attributes
824 * UCOMIStream.cs: added missing MarshalAs attributes
825 * UCOMITypeComp.cs: added missing MarshalAs attributes
826 * UCOMITypeInfo.cs: added missing MarshalAs attributes
827 * UCOMITypeLib.cs: added missing PreserveSig attributes, added
828 missing MarshalAs attributes
830 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
832 * MarshalDirectiveException.cs: marked serializable to match MS.NET
833 * SafeArrayRankMismatchException.cs: marked serializable to match
835 * SafeArrayTypeMismatchException.cs: marked serializable to match
838 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
840 * InvalidComObjectException.cs: marked serializable to match MS.NET
841 * InvalidOleVarianTypeException.cs: marked serializable to match
844 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
846 * BestFitMappingAttribute.cs: removed serializable attribute
849 2004-05-30 Gert Driesen (drieseng@users.sourceforge.net)
851 * SetWin32ContextInIDispatchAttribute.cs: only build
853 * VariantWrapper.cs: only build for NET_2_0 profile
855 2004-05-29 Gert Driesen (drieseng@users.sourceforge.net)
857 * SetWin32ContextInIDispatchAttribute.cs: added
858 * VariantWrapper.cs: added
860 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
862 * AutomationProxyAttribute.cs
863 * BestFitMappingAttribute.cs
864 * ClassInterfaceAttribute.cs
865 * CoClassAttribute.cs
866 * ComAliasNameAttribute.cs
867 * ComCompatibleVersionAttribute.cs
868 * ComConversionLossAttribute.cs
869 * ComEventInterfaceAttribute.cs
870 * ComImportAttribute.cs
871 * ComRegisterFunctionAttribute.cs
872 * ComSourceInterfaceAttribute.cs
873 * ComUnregisterFunctionAttribute.cs
876 * DllImportAttribute.cs
877 * FieldOffsetAttribute.cs
879 * IDispatchImplAttribute.cs
880 * ImportedFromTypeLibAttribute.cs
882 * InterfaceTypeAttribute.cs
883 * LCIDConversionAttribute.cs
884 * MarshalAsAttribute.cs
885 * OptionalAttribute.cs
887 * PreserveSigAttribute.cs
888 * PrimaryInteropAssemblyAttribute.cs
890 * StructLayoutAttribute.cs
891 * TypeLibFuncAttribute.Cs
892 * TypeLibTypeAttribute.cs
893 * TypeLibVarAttribute.cs
894 * TypeLibVersionAttribute.cs now that Inherited is
895 false by default on AttributeUsageAttribute (as it
896 should be) we need to explicitly set Inherited to
897 false for those attributes should where it should be
900 2004-05-06 Mike Shaver <shaver@off.net>
901 * Marshal.cs: Implement StringToCoTaskMem{Ansi,Uni}
903 2004-05-05 Zoltan Varga <vargaz@freemail.hu>
905 * Marshal.cs: Applied patch from vladimir@pobox.com (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.
907 2004-01-30 Zoltan Varga <vargaz@freemail.hu>
909 * Marshal.cs: Implement AllocCoTaskMem and FreeCoTaskMem.
911 2003-11-26 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
913 * DispatchWrapper.cs: Added and implemented
914 * ErrorWrapper.cs: Fixed bug
915 * Marshal.cs: Added missing members
917 2003-11-18 Jackson Harper <jackson@ximian.com>
919 * CurrencyWrapper.cs: Fix file name.
921 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
923 * BestFitMappingAttribute.cs: Signature fix
924 * Marshal.cs: Add attribute, fix signatures
925 * MarshalAsAttribute.cs: Add head, add entry
926 * DllImportAttribute.cs: Added v1.1 entries
927 * TypeLibConverter.cs: Added, stubbed
928 * RegistrationServices.cs: Added, stubbed
929 * ExtensibleClassFactory.cs: Added, stubbed
930 * ErrorWrapper.cs: Added, implemented
931 * CurrencyWrapper.cs: Added, implemented
933 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
935 * IRegistrationServices.cs:
936 * ITypeLibConverter.cs:
937 * ITypeLibExporterNameProvider.cs:
938 * ITypeLibExporterNotifySink.cs:
939 * ITypeLibImporterNotifySink.cs: Added missing attribute
940 * UCOMIBindCtx.cs: Added missing attribute, fixed in attribute
941 * UCOMIConnectionPoint.cs:
942 * UCOMIConnectionPointContainer.cs:
943 * UCOMIEnumConnectionPoints.cs:
944 * UCOMIEnumConnections.cs:
945 * UCOMIEnumMoniker.cs:
946 * UCOMIEnumString.cs:
947 * UCOMIEnumVARIANT.cs:
949 * UCOMIPersistFile.cs:
950 * UCOMIRunningObjectTable.cs:
954 * UCOMITypeLib.cs: Added missing attribute
956 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
958 * UCOMIBindCtx.cs: Added and implemented
959 * UCOMIConnectionPoint.cs: Added and implemented
960 * UCOMIConnectionPointContainer.cs: Added and implemented
961 * UCOMIEnumConnectionPoints.cs: Added and implemented
962 * UCOMIEnumConnections.cs: Added and implemented
963 * UCOMIEnumMoniker.cs: Added and implemented
964 * UCOMIEnumString.cs: Added and implemented
965 * UCOMIEnumVARIANT.cs: Added and implemented
966 * UCOMIMoniker.cs: Added and implemented
967 * UCOMIPersistFile.cs: Added and implemented
968 * UCOMIRunningObjectTable.cs: Added and implemented
969 * UCOMIStream.cs: Added and implemented
971 * UCOMTypeComp.cs: renamed
972 * UCOMTypeInfo.cs: renamed
973 * UCOMTypeLib.cs: renamed
975 * ITypeLibConverter.cs: Fixed interface signature
977 * ComSourceInterfacesAttribute.cs: Added and implemented
978 * IDispatchImplAttribute.cs: Added and implemented
979 * InvalidComObjectException.cs: Added and implemented
980 * InvalidOleVariantTypeException.cs: Added and implemented
981 * MarshalDirectiveException.cs: Added and implemented
982 * SafeArrayRankMismatchException.cs: Added and implemented
983 * SafeArrayTypeMismatchException.cs: Added and implemented
984 * SEHException.cs: Added attribute
985 * UnknownWrapper.cs: Added and implemented
998 * VARDESC.cs: Added and implemented
1003 * IDispatchImplType.cs:
1010 * TypeLibImporterFlags.cs:
1011 * VARFLAGS.cs: Added and implemented
1013 2003-07-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1015 * ComCompatibleVersionAttribute.cs: Added and implemented
1016 * TypeLibVersionAttribute.cs: Added and implemented
1018 Wed Jun 18 12:49:54 CEST 2003 Paolo Molaro <lupus@ximian.com>
1020 * Marshal.cs: implemented Prelink with icalls.
1022 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1024 * RuntimeEnvironment.cs: New file. Stubbed by Dominik Fretz
1027 2003-03-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1029 * ExternalException.cs: doesn't need a field to keep the result code.
1030 * SEHException.cs: implemented.
1032 2003-03-03 Tim Coleman <tim@timcoleman.com>
1033 * HandleRef.cs: Add this struct
1035 2003-01-05 Sebastien Pouliot <spouliot@videotron.ca>
1037 * COMException.cs: New. Minimal (incomplete - i'm not using COM)
1038 implementation because this is thrown when dealing with Software
1039 Publisher Certificates (SPC) in X509Certificate.
1041 2002-08-22 Nick Drochak <ndrochak@gol.com>
1043 * OutAttribute.cs: TypeID isn't overriden from Attribute here.
1044 * PInvokeMap.cs: Non-existent enum. Must be from beta days.
1046 2002-06-24 root <dietmar@ximian.com>
1048 * Marshal.cs: impl. Copy()
1050 Fri Jun 14 16:18:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
1052 * UnmanagedType.cs, Marshal.cs: minor fixes.
1054 Wed Jun 12 16:32:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
1056 * Marshal.c: stubbed out all the methods and filled in some
1058 * BINDPTR.cs, ComMemberType.cs, DESCKIND.cs, DISPPARAMS.cs,
1059 EXCEPINFO.cs, INVOKEKIND.cs, TYPEKIND.cs, UCOMTypeInfo.cs,
1060 UCOMTypeLib.cs: enums, interfaces and structs needed in Marshal class.
1062 Tue Jun 4 18:05:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
1064 * GCHandle.cs: changed to fit spec and implementation needs.
1066 Tue May 14 16:35:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
1068 * CharSet.cs: added missing None enum item.
1070 2002-04-26 Joe Shaw <joe@ximian.com>
1072 * Marshal.cs (StructureToPtr): stub this out.
1074 2002-04-23 Joe Shaw <joe@ximian.com>
1076 * Marshal.cs: Stub out a few functions to get gtk# to build.
1078 2002-04-22 Duncan Mak <duncan@ximian.com>
1080 * ImporterEventKind.cs:
1081 * TypeLibFuncFlags.cs:
1082 * TypeLibTypeFlags.cs:
1083 * TypeLibVarFlags.cs: Fixed various typos and added missing elements.
1085 * ComConventionLossAttribute.cs: Removed, there's a typo.
1086 * ComConversionLossAttribute.cs: Same attribute, slight change of name.
1088 * PreserveSigAttribute.cs:
1089 * ImportedFromTypeLibAttribute.cs: Added missing AttributeUsage
1092 * TypeLibFuncAttribute.cs:
1093 * TypeLibTypeAttribute.cs:
1094 * TypeLibVarAttribute.cs: Added missing constructors.
1097 2002-04-22 Duncan Mak <duncan@ximian.com>
1099 * AutomationProxyAttribute.cs:
1100 * CoClassAttribute.cs:
1101 * ComAliasNameAttribute.cs:
1102 * ComConventionLossAttribute.cs:
1103 * ComEventInterfaceAttribute.cs:
1104 * ComImportAttribute.cs:
1105 * ComRegisterFunctionAttribute.cs:
1106 * ComUnregisterFunctionAttribute.cs:
1107 * DispIdAttribute.cs:
1108 * ImportedFromTypeLibAttribute.cs:
1109 * LCIDConversionAttribute.cs:
1110 * PreserveSigAttribute.cs:
1111 * PrimaryInteropAssemblyAttribute.cs:
1112 * ProgIdAttribute.cs:
1113 * TypeLibFuncAttribute.cs:
1114 * TypeLibFuncFlags.cs:
1115 * TypeLibTypeAttribute.cs:
1116 * TypeLibTypeFlags.cs:
1117 * TypeLibVarAttribute.cs:
1118 * TypeLibVarFlags.cs: Added to CVS.
1120 2002-04-08 Nick Drochak <ndrochak@gol.com>
1122 * Marshal.cs: Make class public.
1123 * ComVisible.cs: New File.
1125 2002-03-24 Nick Drochak <ndrochak@gol.com>
1127 * ClassInterfaceAttribute.cs:
1128 * ClassInterfaceType.cs: New Files.
1130 2002-02-27 Duncan Mak <duncan@ximian.com>
1132 * ExporterEventKind.cs:
1133 * ITypeLibConverter.cs:
1134 * ITypeLibImporterNotifySink.cs: Added to CVS for Kevin Winchester <kwin@ns.sympatico.ca>.
1136 2002-02-26 Duncan Mak <duncan@ximian.com>
1138 * ComInterfaceType.cs: Added to CVS.
1140 * AssemblyRegistrationFlags.cs:
1142 * ICustomAdapter.cs:
1143 * ICustomFactory.cs:
1144 * ICustomMarshaler.cs:
1145 * IRegistrationServices.cs:
1146 * ITypeLibExporterNameProvider.cs:
1147 * ITypeLibImporterNotifySink.cs:
1148 * InterfaceTypeAttribute.cs:
1149 * TypeLibExporterFlags.cs: Committed for Kevin Winchester <kwin@ns.sympatico.ca>.
1151 * GCHandle.cs: Added to CVS. Patch from Ajay kumar Dwivedi.
1153 * GCHandleType.cs: Committed patch from Ajay.
1155 * ImporterEventKind.cs: Added to CVS.
1157 2002-01-24 Miguel de Icaza <miguel@ximian.com>
1159 * StructLayoutAttribute.cs: Flag attribute as targetting structs
1162 * InAttribute.cs: Flag attribute as targettting a paramter
1164 * OutAttribute.cs: ditto.
1166 * DllImportAttribute.cs: Flag attribute as targetting methods.
1168 * MarshalAsAttribute.cs: Flag attribute as targetting fields,
1169 parameters and returnvalues.
1171 2002-01-23 Dick Porter <dick@ximian.com>
1173 * Marshal.cs: Added GetLastWin32Error()
1175 * ExternalException.cs: Implemented
1177 2002-01-17 Miguel de Icaza <miguel@ximian.com>
1179 * ExternalException.cs: Add ExternalException.
1181 2002-01-05 Ravi Pratap <ravi@ximian.com>
1183 * OutAttribute.cs : Decorate with MonoTODO.
1185 Thu Dec 20 15:46:31 CET 2001 Paolo Molaro <lupus@ximian.com>
1187 * FieldOffsetAttribute.cs, InAttribute.cs, MarshalAsAttribute.cs,
1188 OptionalAttribute.cs, StructLayoutAttribute.cs, VarEnum.cs:
1189 more stuff needed by the compiler.
1191 Thu Dec 13 20:22:18 CET 2001 Paolo Molaro <lupus@ximian.com>
1193 * DllImportAttribute.cs: added.
1194 * MethodImplOptions.cs: removed: this is already in CompilerServices.
1196 Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <lupus@ximian.com>
1198 * CallingConvention.cs: add missing Winapi.
1200 2001-07-20 Miguel de Icaza <miguel@ximian.com>
1202 * OutAttribute.cs: New file.
1204 2001-07-18 Michael Lambert <michaellambert@email.com>
1206 * CallingConvention.cs.cs, CharSet.cs, GCHandleType.cs, LayoutKind.cs: Add.