1 2009-12-13 Miguel de Icaza <miguel@novell.com>
3 * SafeBuffer.cs: When comparing the end, we only need to compare
4 source+size being bigger than last_byte, not bigger or equal,
5 otherwise we can not access the last element.
7 2009-11-08 Miguel de Icaza <miguel@novell.com>
9 * Marshal.cs: Expose copy_*_unamnaged to SafeBuffer.
11 * SafeBuffer.cs: Update SafeBufer implementation
13 2009-11-02 Miguel de Icaza <miguel@novell.com>
15 * Jumbo NET_2_0 removal patch.
17 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
19 * GCHandle.cs: Add missing validations
21 2009-09-22 Sebastien Pouliot <sebastien@ximian.com>
23 * _Assembly.cs: Remove Evidence and GlobalAssemblyCache
24 properties for NET_2_1
25 * Marshal.cs: Avoid depending on SecureString for NET_2_1
27 2009-09-20 Sebastien Pouliot <sebastien@ximian.com>
29 * MarshalAsAttribute.cs: Remove VarEnum field for NET_2_1
31 2009-09-19 Sebastien Pouliot <sebastien@ximian.com>
33 * Marshal.cs: Avoid depending on COM stuff for NET_2_1
35 2009-09-04 Zoltan Varga <vargaz@gmail.com>
37 * SafeBuffer.cs: Mark specific methods as non-cls compliant instead of
40 * SafeBuffer.cs: New net 4.0 class.
42 2009-04-17 Tom Hindle <tom_hindle@sil.org>
44 * Marshal.cs: Improved GetExceptionForHR to return real C# exceptions in
45 certain cases instead of always COMException.
47 2009-02-24 Sebastien Pouliot <sebastien@ximian.com>
49 * SafeHandle.cs: Add default ctor in 2.1 profile (needed to compile
50 new unit tests in moonlight).
52 2009-03-05 Tom Hindle <tom_hindle@sil.org>
54 * Marshal.cs: Implemented GenerateGuidForType
56 2008-06-21 Gert Driesen <drieseng@users.sourceforge.net>
58 * Marshal.cs: Fixed order of arguments for ArgumentException in
59 GetComSlotForMethodInfo.
61 2008-06-19 Kornél Pál <kornelpal@gmail.com>
63 * Marshal.cs: Implement GetHINSTANCE.
65 2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
75 * BestFitMappingAttribute.cs
76 * Marshal.cs: Fix parameter names
78 2008-02-20 Zoltan Varga <vargaz@gmail.com>
80 * Marshal.cs (GetDelegateForFunctionPointer): Add a nullref check.
82 2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
84 * COMException.cs: Fix new-line literal and use of "" detected by
87 2008-01-13 Gert Driesen <drieseng@users.sourceforge.net>
89 * COMException.cs: Added missing colon in ToString.
91 2007-12-04 Gert Driesen <drieseng@users.sourceforge.net>
93 * ExternalException.cs: Set HResult to match MS.
95 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
97 * ComVisible.cs: Fix parameter name (part of #322850).
99 2007-09-14 Zoltan Varga <vargaz@gmail.com>
101 * GCHandle.cs (AddrOfPinnedObject): Use -2 to communicate that the handle is not
102 pinned. Correct exception message. Fixes #82848.
104 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
106 * SafeHandle.cs CriticalHandle.cs TypeLibImporterFlags.cs
107 RegistrationClassContext.cs ArrayWithOffset.cs :
108 * ComObjectInUseException.cs ExposeAsClassToComAttribute.cs :
109 removed obsoleted files.
111 2007-07-18 Miguel de Icaza <miguel@novell.com>
113 * SafeHandle.cs: Harden this, do not call ReleaseHandle if the
116 * CriticalHandle.cs: Harden this, do not call ReleaseHandle if the
119 2007-07-06 Jonathan Chambers <joncham@gmail.com>
121 * ExtensibleClassFactory.cs: Fix ExtensibleClassFactory.
123 2007-06-22 Jonathan Chambers <joncham@gmail.com>
125 * Marshal.cs (ThrowExceptionForHR): Implement/consolidate.
126 * Marshal.cs (GetExceptionForHR): Implement/consolidate.
128 2007-05-11 Jonathan Chambers <joncham@gmail.com>
130 * Marshal.cs (SecureStringToBSTR): BSTR header is size in bytes,
133 2007-05-02 Jonathan Chambers <joncham@gmail.com>
135 * ExtensibleClassFactory.cs: Don't use un-implemented overload.
137 2007-05-02 Dick Porter <dick@ximian.com>
139 * _ConstructorInfo.cs:
149 * AutomationProxyAttribute.cs:
150 * BestFitMappingAttribute.cs:
152 * ClassInterfaceAttribute.cs:
153 * CoClassAttribute.cs:
154 * ComAliasNameAttribute.cs:
155 * ComCompatibleVersionAttribute.cs:
156 * ComConversionLossAttribute.cs:
157 * ComDefaultInterfaceAttribute.cs:
158 * ComEventInterfaceAttribute.cs:
160 * ComImportAttribute.cs:
161 * ComObjectInUseException.cs:
162 * ComRegisterFunctionAttribute.cs:
163 * ComUnregisterFunctionAttribute.cs:
166 * CurrencyWrapper.cs:
167 * DefaultCharSetAttribute.cs:
168 * DispatchWrapper.cs:
169 * DispIdAttribute.cs:
171 * ExtensibleClassFactory.cs:
172 * ExternalException.cs:
175 * StructLayoutAttribute.cs:
176 * TypeLibConverter.cs:
177 * ArrayWithOffset.cs:
188 * CallingConvention.cs:
190 * ClassInterfaceType.cs:
191 * ComInterfaceType.cs:
194 * ExporterEventKind.cs:
196 * RegistrationClassContext.cs:
198 * TypeLibImporterFlags.cs:
200 * VARFLAGS.cs: Update to 2.0 profile
202 2007-04-15 Alp Toker <alp@atoker.com>
204 * Marshal.cs: Add new 2.0 Copy() from IntPtr[] overload.
206 2007-03-12 Raja R Harinath <rharinath@novell.com>
208 * DefaultParameterValueAttribute.cs: Move to System.dll.
210 2007-02-08 Jonathan Chambers <joncham@gmail.com>
212 * Marshal.cs: Throw exceptions for AddRef, Release,
213 and QueryInterface in managed code. Implement GetComInterfaceForObject,
214 GetIDispatchForObject, GetIUnknownForObject, GetObjectForIUnknown,
215 GetObjectsForNativeVariants, IsComObject, ReleaseComObject, and
216 FinalReleaseComObject. Unimplement GetComObjectData and SetComObjectData
217 for now to save space and simplify __ComObject for now. MSDN states the
218 user should never call these methods anyway.
220 2007-01-29 Marek Habersack <grendello@gmail.com>
222 * Marshal.cs: Implement a missing Marshal.Copy overload.
224 2007-01-11 Jonathan Chambers <joncham@gmail.com>
226 * Marshal.cs: Implement Marshal.ReAllocCoTaskMem.
228 2007-01-03 Miguel de Icaza <miguel@novell.com>
230 * SafeHandle.cs: Do not use locks in SafeHandle to protect the
231 access to the refcount, use Interlocked.CompareExchange. The
232 locks were the source of problems with domain finalization when
233 this code was enabled.
235 This should fix Matt Hargett's bug report with a full `make check'
236 that reported variations of:
238 ** (../../class/lib/net_2_0/nunit-console.exe:29644): WARNING **:
239 Finalization of domain <domainname> timed out.
241 Also, it is a lot lighther.
243 2006-12-21 Miguel de Icaza <miguel@novell.com>
245 * CriticalHandle.cs: Add Dispose(bool disposing) method, and
248 2006-12-15 Gert Driesen <drieseng@users.sourceforge.net>
250 * Marshal.cs: Use SystemDefaultCharSize to determine whether to
251 use Ansi or Unicode variant of StringToCoTaskMem.
253 2006-12-15 Miguel de Icaza <miguel@novell.com>
255 * Marshal.cs (SecureStringToCoTaskMemAnsi, SecureStringToBSTR,
256 SecureStringToCoTaskMemUnicode, ZeroFreeCoTaskMemAnsi,
257 ZeroFreeCoTaskMemUnicode, ZeroFreeGlobalAllocAnsi,
258 ZeroFreeGlobalAllocUnicode): Implement.
260 (StringToCoTaskAuto): return the same as Ansi.
262 The ANSI code is out of sync with Mono, which treats ANSI as
265 Code formatting changes
267 2006-12-11 Miguel de Icaza <miguel@novell.com>
269 * SafeHandle.cs: Fix a handful of bugs, and add tests for them.
270 Only release the handle if its owned by us. Also throw
271 ObjectDisposedException's
275 DangerousAddRef will now throw an exception if the object was
278 2006-12-02 Miguel de Icaza <miguel@novell.com>
280 * SafeHandle.cs: Implement this class.
282 2006-10-06 Jonathan Chambers <joncham@gmail.com>
284 * ExtensibleClassFactory.cs: Implement RegisterObjectCreationCallback.
286 2006-08-31 Robert Jordan <robertj@gmx.net>
288 * Marshal.cs: Replaced the *Auto internal calls with managed
289 variants. Fixed SystemDefaultCharSize to return an OS dependent
292 2006-08-09 Jonathan Chambers <joncham@gmail.com>
294 * Marshal.cs: Implement GetIDispatchForObject.
296 2006-08-07 Gert Driesen <drieseng@users.sourceforge.net>
298 * Marshal.cs: Added stubs for GetTypeLibGuid (ITypeLib), GetTypeLibLcid
299 (ITypeLib), GetTypeLibName (ITypeLib).
301 2006-07-28 Jonathan Chambers <joncham@gmail.com>
303 * Marshal.cs: Implemented CreateWrapperOfType and ReleaseComObject.
305 2006-07-15 Jonathan Chambers <joncham@gmail.com>
307 * Marshal.cs: Begin implementing COM Interop. Implemented
308 AddRef, GetComInterfaceForObject, GetComObjectData, GetIUnknownForObject,
309 GetObjectForIUnknown, GetTypedObjectForIUnknown, IsComObject, QueryInterface
310 Release, SetComObjectData, and ThrowExceptionForHR.
312 2006-06-07 Jonathan Chambers <jonathan.chambers@ansys.com>
314 * Marshal.cs: Implement GetComSlotForMethodInfo
316 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
318 * Marshal.cs: Implement VARIANT marshalling methods
320 2006-05-20 Zac Bowling <zac@zacbowling.com>
321 * VarEnum.cs: ComVisible Attribute (2.0)
322 * InterfaceTypeAttribute.cs: ComVisible Attribute (2.0)
323 * UCOMITypeInfo.cs: ComImport Attribute (1.x)
324 * UCOMITypeComp.cs: ComImport Attribute (1.x)
325 * MarshalAsAttribute.cs: ComVisible Attribute (2.0)
326 * StructLayoutAttribute.cs: ComVisible Attribute (2.0)
327 * ProgIdAttribute.cs: ComVisible Attribute (2.0)
328 * PrimaryInteropAssemblyAttribute.cs: ComVisible Attribute (2.0)
329 * ImporterEventKind.cs: ComVisible Attribute (2.0)
330 * UCOMIPersistFile.cs: ComImport Attribute (1.x)
331 * SetWin32ContextInIDispatchAttribute.cs: Obselete and ComVisible
333 * IRegistrationServices.cs: ComVisible Attribute and CAS Attributes (2.0)
334 * InAttribute.cs: ComVisible Attribute (2.0)
335 * UCOMIMoniker.cs: ComImport Attribute (1.x)
336 * MarshalDirectiveException.cs: ComVisible Attribute (2.0)
337 * IDLDESC.cs: ComVisible Attribute (1.x)
338 * FUNCFLAGS.cs: ComVisible Attribute (1.x)
339 * UCOMIConnectionPointContainer.cs: ComImport Attribute (1.x)
340 * TypeLibExporterFlags.cs: ComVisible Attribute (2.0)
341 * ICustomMarshaler.cs: ComVisible Attribute (2.0)
342 * LayoutKind.cs: ComVisible Attribute (2.0) + Serializable + Clean
343 * ICustomAdapter.cs: ComVisible Attribute (2.0)
344 * UnmanagedFunctionPointerAttribute.cs: ComVisible Attribute and Param
345 Signature of UnmanagedFunctionPointerAttribute(...)
346 * FUNCKIND.cs: ComVisble Attribute (1.x)
347 * TypeLibVersionAttribute.cs: ComVisible Attribute (2.0) + Missing in
349 * TypeLibVarAttribute.cs: ComVisible Attribute (2.0)
350 * ITypeLibConverter.cs: ComVisible Attribute (2.0)
351 * UCOMIRunningObjectTable.cs: ComImport Attribute (1.x)
352 * IDispatchImplAttribute.cs: Obsolete + ComVisible Attribute (2.0)
353 * ITypeLibImporterNotifySink.cs: ComVisible Attribute (2.0)
354 * PreserveSigAttribute.cs: ComVisible Attribute (2.0)
355 * SYSKIND.cs: ComVisible Attribute (1.x)
356 * UCOMIEnumVARIANT.cs: ComImport Attribute (1.x)
357 * UCOMIEnumString.cs: ComImport Attribute (1.x) and Expose to 1.x (not
358 a 2.0 exclusive class)
359 * OutAttribute.cs: ComVisible Attribute (2.0)
360 * InvalidComObjectException.cs: ComVisible Attribute (2.0)
361 * SEHException.cs: ComVisible Attribute (2.0)
362 * UCOMIConnectionPoint.cs: ComImport Attribute (1.x)
363 * TypeLibImporterFlags.cs: ComVisible Attribute (2.0) and
365 * OptionalAttribute.cs: ComVisible Attribute (2.0)
366 * TYPEDESC.cs: ComVisible Attribute (1.x)
367 * UCOMIEnumMoniker.cs: ComImport Attribute (1.x) and Expose to 1.x
368 (not a 2.0 exclusive class)
369 * TypeLibTypeFlags.cs: ComVisible Attribute (2.0)
370 * ITypeLibExporterNotifySink.cs: ComVisible Attribute (2.0)
371 * HandleRef.cs: ComVisible.cs and add ToIntPtr (2.0)
372 * DllImportAttribute.cs: ComVisible Attribute (2.0)
373 * TypeLibTypeAttribute.cs: ComVisible Attribute (2.0)
374 * UnknownWrapper.cs: Serializable, ComVisible Attribute (2.0)
375 * IDFLAGS.cs: ComVisible Attribute (1.x only)
376 * RegistrationClassContext.cs: License + Flags attribute (2.0)
377 * GCHandle.cs: ComVisible Attribute + Operator Overrides (2.0)
378 * TypeLibImportClassAttribute.cs: ComVisible Attribute (2.0)
379 * IMPLYTPEFLAGS.cs: ComVisible Attribute (1.x)
380 * ImportedFromTypeLibAttribute.cs: ComVisible (2.0)
381 * UCOMIBindCtx.cs: Obsolete Attribute (2.0)
382 * FUNCDESC.cs: ComVisible Attribute (1.x)
383 * RegistrationConnectionType.cs: Flags Attribute (2.0)
384 * IDispatchImplType.cs: Obsolete + ComVisible Attribute (2.0)
385 * TypeLibConverter.cs: ComVisible (2.0)
386 * INVOKEKIND.cs: ComVisible Attribute (1.x)
387 * GCHandleType.cs: ComVisible Attribute (2.0) + Serializable
388 * ICustomFactory.cs: ComVisible Attribute (2.0)
389 * FieldOffsetAttribute.cs: ComVisible Attribute (2.0)
390 * LIBFLAGS.cs: ComVisible Attribute (1.x)
391 * ComSourceInterfacesAttributes.cs: ComVisible Attribute (2.0)
392 * STATSTG.cs: ComVisible Attribute (1.x)
393 * InvalidOleVariantTypeException.cs: ComVisible Attribute (2.0)
394 * TypeLibVarFlags.cs: ComVisible Attribute (2.0)
395 * TYPEFLAGS.cs: ComVisible Attribute (1.x)
396 * SafeArrayRankMismatchException.cs: ComVisible Attribute (2.0)
397 * TYPEATTR.cs: ComVisible Attribute (1.x)
398 * GuidAttribute.cs: ComVisible Attribute (2.0)
399 * UCOMIEnumConnectionPoints.cs: ComImport Attribute (1.x) + Expose to
400 1.x (not a 2.0 exclusive)
401 * SafeArrayTypeMismatchException.cs: ComVisible Attribute (2.0)
402 * ObjectCreationDelegate.cs: ComVisible Attribute (2.0)
403 * ITypeLibExporterNameProvider.cs: ComVisible Attribute (2.0) and
404 MarshelAs VarEnum Type.
405 * UCOMIStream.cs: ComImport Attribute (1.x)
406 * TypeLibFuncFlags.cs ComVisible Attribute (2.0)
407 * UnmanagedType.cs: ComVisible Attribute (2.0) + clean up
408 * UCOMIEnumConnections.cs: ComImport Attribute (1.0)
409 * LCIDConversionAttribute.cs: ComVisible Attribute (2.0)
410 * TypeLibFuncAttribute.cs: ComVisible Attribute (2.0)
412 2006-05-02 Jonathan Chambers <jonathan.chambers@ansys.com>
414 * Marshal.cs: Implement BSTR methods
416 2006-01-12 Ben Maurer <bmaurer@andrew.cmu.edu>
418 * SafeHandle.cs: Update to RTM api
420 2005-11-17 Zoltan Varga <vargaz@gmail.com>
422 * DefaultParameterValueAttribute.cs: New file.
424 2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
426 * Marshal.cs: Added null check in SecureStringTo* methods and make
427 them throw a NotSupportedException otherwise (as existing code must
428 deal with this anyway). Fixed Uni -> Unicode method name changes.
430 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
432 * UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
433 UCOMIConnectionPointContainer.cs, UCOMIEnumConnectionPoints.cs,
434 UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
435 UCOMIEnumVARIANT.cs, UCOMIMoniker.cs, UCOMIPersistFile.cs,
436 UCOMIRunningObjectTable.cs, UCOMIStream.cs, UCOMITypeComp.cs,
437 UCOMITypeInfo.cs, UCOMITypeLib.cs: Remove [ComImport] from the default
438 profile (this is new in 2.0) and reduce corcompare extras by 15.
440 2005-09-21 Kornél Pál <kornelpal@hotmail.com>
442 * UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
443 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, UnmanagedType.cs:
444 Removed UnmanagedType_80 that was required because mcs bug #75945
447 2005-08-12 Gert Driesen <drieseng@users.sourceforge.net>
449 * SetWin32ContextInIDispatchAttribute.cs: Make this attribute also
450 available in 1.0 profile (.NET 1.1).
451 * VariantWrapper.cs: Class is also exposed in .NET 1.1. Only
452 serializable in 2.0 profile.
454 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
456 * SafeHandle.cs: New file.
458 2005-08-06 Gert Driesen <drieseng@users.sourceforge.net>
460 * _Activator.cs: ComVisible should only be set in 2.0 profile.
461 Added TypeLibImportClass attribute.
462 * _Assembly.cs: ComVisible should only be set in 2.0 profile. Added
463 TypeLibImportClass attribute. Fixes InterfaceType to match MS.NET.
464 * _AssemblyBuilder.cs: ComVisible should only be set in 2.0 profile.
465 Added TypeLibImportClass attribute.
466 * _AssemblyName.cs: ComVisible should only be set in 2.0 profile.
467 Added TypeLibImportClass attribute.
468 * _Attribute.cs: ComVisible should only be set in 2.0 profile.
469 Added TypeLibImportClass attribute.
470 * _ConstructorBuilder.cs: ComVisible should only be set in 2.0 profile.
471 Added TypeLibImportClass attribute.
472 * _ConstructorInfo.cs: Fixed InterfaceType to match MS.NET. Added
473 TypeLibImportClass attribute. Added missing methods.
474 * _CustomAttributeBuilder.cs: ComVisible should only be set in 2.0 profile.
475 Added TypeLibImportClass attribute.
476 * _EnumBuilder.cs: ComVisible should only be set in 2.0 profile.
477 Added TypeLibImportClass attribute.
478 * _EventBuilder.cs: ComVisible should only be set in 2.0 profile.
479 Added TypeLibImportClass attribute.
480 * _EventInfo.cs: Fixed InterfaceType to match MS.NET. Added
481 TypeLibImportClass attribute. Added missing methods.
482 * _FieldBuilder.cs: ComVisible should only be set in 2.0 profile.
483 Added TypeLibImportClass attribute.
484 * _FieldInfo.cs: Fixed InterfaceType to match MS.NET. Added
485 TypeLibImportClass attribute. Added missing methods.
486 * _ILGenerator.cs: ComVisible should only be set in 2.0 profile.
487 Added TypeLibImportClass attribute.
488 * _LocalBuilder.cs: ComVisible should only be set in 2.0 profile.
489 Added TypeLibImportClass attribute.
490 * _MemberInfo.cs: Fixed InterfaceType to match MS.NET. Added
491 TypeLibImportClass attribute. Added missing methods.
492 * _MethodBase.cs: Fixed InterfaceType to match MS.NET. Added
493 TypeLibImportClass attribute. Added missing methods.
494 * _MethodInfo.cs: Fixed InterfaceType to match MS.NET. Added
495 TypeLibImportClass attribute. Added missing methods.
496 * _MethodBuilder.cs: ComVisible should only be set in 2.0 profile.
497 Added TypeLibImportClass attribute.
498 * _MethodRental.cs: ComVisible should only be set in 2.0 profile.
499 Added TypeLibImportClass attribute.
500 * _Module.cs: ComVisible should only be set in 2.0 profile.
501 Added TypeLibImportClass attribute.
502 * _ModuleBuilder.cs: ComVisible should only be set in 2.0 profile.
503 Added TypeLibImportClass attribute.
504 * _ParameterBuilder.cs: ComVisible should only be set in 2.0 profile.
505 Added TypeLibImportClass attribute.
506 * _ParameterInfo.cs: ComVisible should only be set in 2.0 profile.
507 Added TypeLibImportClass attribute.
508 * _PropertyBuilder.cs: ComVisible should only be setin 2.0 profile.
509 Added TypeLibImportClass attribute.
510 * _PropertyInfo.cs: Fixed InterfaceType to match MS.NET. Added
511 TypeLibImportClass attribute. Added missing methods.
512 * _SignatureHelper.cs: ComVisible should only be set in 2.0 profile.
513 Added TypeLibImportClass attribute.
514 * _Type.cs: Added TypeLibImportClass attribute. Fixed InterfaceType
515 to match MS.NET. Added missing method to match MS.NET.
516 * _Thread.cs: ComVisible should only be set in 2.0 profile.
517 Added TypeLibImportClass attribute.
518 * _TypeBuilder:cs: ComVisible should only be set in 2.0 profile.
519 Added TypeLibImportClass attribute.
520 * Marshal.cs: Removed MarshalAs attribute from parameter to fix
521 API compatibility with MS.NET.
522 * TypeLibImportClassAttribute.cs: Added.
524 2005-07-06 Zoltan Varga <vargaz@freemail.hu>
526 * GCHandle.cs: Add 2.0 FromIntPtr/ToIntPtr methods.
528 2005-06-08 Sebastien Pouliot <sebastien@ximian.com>
530 * RuntimeEnvironment.cs: I get better results when calling Demand.
532 2005-06-07 Sebastien Pouliot <sebastien@ximian.com>
534 * RuntimeEnvironment.cs: Implemented TODO. Added security for CAS.
536 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
538 * _Exception.cs: That one wasn't backported to 1.1 SP1 by MS. This
539 should fix a lot of extra reported in the API status pages.
541 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
543 * Marshal.cs: Add some missing 2.0 attributes.
545 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
548 * _ConstructorInfo.cs
556 * _Type.cs: Chance to .Net 1.1
559 * _AssemblyBuilder.cs
561 * _ConstructorBuilder.cs
562 * _CustomAttributeBuilder.cs
572 * _ParameterBuilder.cs
574 * _PropertyBuilder.cs
575 * _SignatureHelper.cs
577 * _TypeBuilder.cs: Added
579 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
581 * _Attribute.cs: New. Interface for attributes in 2.0.
583 2005-04-13 Marek Safar <marek.safar@seznam.cz>
585 * DefaultCharSetAttribute.cs: Removed useless using.
587 2005-03-31 Alp Toker <alp@atoker.com>
589 * GCHandle.cs: Clearer ArgumentException text in the case of a
590 null-valued IntPtr argument.
592 2005-03-04 Kazuki Oikawa <kazuki@panicode.com>
598 * ComDefaultInterfaceAttribute.cs
599 * ComObjectInUseException.cs
600 * ComSourceInterfacesAttribute.cs
603 * DefaultCharSetAttribute.cs
608 * ExposeAsClassToComAttribute.cs
619 * ITypeLibConverter.cs
620 * ITypeLibExporterNameProvider.cs
621 * ITypeLibExporterNotifySink.cs
625 * PrimaryInteropAssemblyAttribute.cs
633 * TypeLibExporterFlags.cs
634 * TypeLibImporterFlags.cs
636 * UCOMIConnectionPoint.cs
637 * UCOMIConnectionPointContainer.cs
638 * UCOMIEnumConnectionPoints.cs
639 * UCOMIEnumConnections.cs
640 * UCOMIEnumMoniker.cs
642 * UCOMIEnumVARIANT.cs
644 * UCOMIPersistFile.cs
645 * UCOMIRunningObjectTable.cs
650 * UnmanagedFunctionPointerAttribute.cs
653 * VariantWrapper.cs: Added missing attributes.
655 2005-03-03 Kazuki Oikawa <kazuki@panicode.com>
657 * _ConstructorInfo.cs
666 * ComDefaultInterfaceAttribute.cs
667 * ComObjectInUseException.cs
669 * DefaultCharSetAttribute.cs
670 * ExposeAsClassToComAttribute.cs
671 * RegistrationClassContext.cs
672 * RegistrationConnectionType.cs: Add
674 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
676 * UnmanagedFunctionPointerAttribute.cs: Add #region directives.
678 2005-02-21 Kazuki Oikawa <kazuki@panicode.com>
680 * BIND_OPTS.cs, CONNECTEDATA.cs, DISPPARAMS.cs, ELEMDESC.cs,
681 EXCEPINFO.cs, FILETIME.cs, FUNCDESC.cs, STATSTG.cs, TYPEATTR.cs,
682 TYPELIBATTR.cs, UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
683 UCOMIEnumConnectionPoints.cs, UCOMIEnumConnections.cs,
684 UCOMIEnumMoniker.cs, UCOMIEnumString.cs, UCOMIEnumVARIANT.cs,
685 UCOMIMoniker.cs, UCOMIPersistFile.cs, UCOMIRunningObjectTable.cs,
686 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, VARDESC.cs:
687 Corrected the order of the fields and the methods.
689 * BIND_OPTS.cs, CALLCONV.cs, FILETIME.cs, FUNCDESC.cs, FUNCFLAGS.cs,
690 FUNCKIND.cs, IDLFLAG.cs, IMPLTYPEFLAGS.cs, LIBFLAGS.cs, PARAMFLAG.cs,
691 STATSTG.cs, SYSKIND.cs, TYPEFLAGS.cs, VarEnum.cs, VARFLAGS.cs:
692 Added missing attributes.
694 Wed Feb 16 16:20:56 CET 2005 Paolo Molaro <lupus@ximian.com>
696 * GCHandle.cs: check the domain of an handle target is correct.
697 Make the unallocated value 0, since that is the default value
700 2005-02-10 Marek Safar <marek.safar@seznam.cz>
702 * TypeLibVarAttribute.cs,
703 * TypeLibTypeAttribute.cs,
704 * ComSourceInterfacesAttribute.cs: Fix AttributeUsage flags.
706 Sat Jan 29 12:48:03 CET 2005 Paolo Molaro <lupus@ximian.com>
708 * GCHandle.cs: update for runtime changes: the unallocated handle
711 2004-11-25 Raja R Harinath <rharinath@novell.com>
713 * UnmanagedType.cs (mono_bootstrap_NativeTypeMax): Rename from
714 __mono_bootstrap_NativeTypeMax. CSC doesn't like
715 [CLSCompliant(false)] on enum member.
717 2004-09-30 Zoltan Varga <vargaz@freemail.hu>
719 * Marshal.cs: Implement GetDelegateForFunctionPointer.
721 2004-09-29 Zoltan Varga <vargaz@freemail.hu>
723 * UnmanagedFunctionPointerAttribute.cs: New file.
725 * Marshal.cs: Make GetFunctionPointerForDelegate icall private.
727 * MarshalAsAttribute.cs: Add 2.0 IidParamIndex field.
729 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
731 * Marshal.cs: Add some ReliabilityContractAttributes.
733 * Marshal.cs (GetFunctionPointerForDelegate): Implement.
735 * Marshal.cs: Add stubs for missing 2.0 methods.
737 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
739 * DllImportAttribute.cs: Reorder fields and mark this class as visible
742 2004-09-08 Marek Safar <marek.safar@seznam.cz>
744 * Marshal.cs: Class is static in NET_2_0.
746 2004-07-29 Lluis Sanchez Gual <lluis@novell.com>
748 * RuntimeEnvironment.cs: Implemented SystemConfigurationFile and
751 Wed Jul 14 19:28:57 CEST 2004 Paolo Molaro <lupus@ximian.com>
753 * GCHandle.cs: throw exception if the result from AddrOfPinnedObject()
754 is -1 (special value returned by the runtime).
756 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
758 * _Exception.cs: New interface in Fx 2.0 to preserve member's order
761 2004-06-22 Raja R Harinath <rharinath@novell.com>
763 Fix bootstrap with mcs 0.31.
764 * UnmanagedType.cs (UnmanagedType.__mono_bootstrap_NativeTypeMax):
765 New bootstrap-only constant.
767 2004-06-18 Raja R Harinath <rharinath@novell.com>
769 Fix breaking build (see tests/test-272.cs). Since corlib is a
770 bootstrap library, we have to keep this fix even if the in-tree
771 mcs compiler is fixed.
772 * UCOMIEnumConnections.cs: Replace '(UnmanagedType) 80' in
773 attribute field initialization with Consts.UnmanagedType_80.
774 * UCOMIEnumMoniker.cs: Likewise.
775 * UCOMIEnumString.cs: Likewise.
776 * UCOMIStream.cs: Likewise.
777 * UCOMITypeInfo.cs: Likewise.
778 * UCOMITypeLib.cs: Likewise.
780 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
782 * BINDPTR.cs: have layout and charset match MS.NET
783 * CONNECTDATA.cs: have layout and charset match MS.NET
784 * DISPPARAMS.cs: have layout and charset match MS.NET
785 * ELEMDESC.cs: have layout and charset match MS.NET
786 * EXCEPINFO.cs: have layout and charset match MS.NET
787 * IDLDESC.cs: have layout and charset match MS.NET
788 * PARAMDESC.cs: have layout and charset match MS.NET
789 * STATSTG.cs: have layout and charset match MS.NET
790 * TYPEATTR.cs: have layout and charset match MS.NET
791 * TYPEDESC.cs: have layout and charset match MS.NET
792 * TYPELIBATTR.cs: have layout and charset match MS.NET
793 * VARDESC.cs: have layout and charset match MS.NET
795 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
797 * ArrayWithOffset.cs: fixed GetOffset to return int instead of
799 * CONNECTDATA.cs: added missing MarshalAs attribute
800 * EXCEPINFO.cs: added missing MarshalAs attributes
801 * ITypeLibConverter.cs: added missing MarshalAs attributes
802 * ITypeLibImporterNotifySink.cs: added missing MarshalAs attributes
803 * Marshal.cs: added missing MarshalAs attributues, and missing
805 * TypeLibConverter.cs: added missing MarshalAs attributes
806 * UCOMIBindCtx.cs: added missing MarshalAs attributes
807 * UCOMIConnectionPoint.cs: added missing MarshalAs attributes
808 * UCOMIEnumConnectionPoints.cs: added missing MarshalAs attributes
809 * UCOMIEnumConnections.cs: added missing PreserveSig attributes,
810 added missing MarshalAs attributes
811 * UCOMIEnumMoniker.cs: added missing PreserveSig attributes,
812 added missing MarshalAs attributes
813 * UCOMIEnumString.cs: added missing PreserveSig attributes,
814 added missing MarshalAs attributes
815 * UCOMIMoniker.cs: added missing MarshalAs attributes
816 * UCOMIPersistFile.cs: added missing PreserveSig attribute,
817 added missing MarshalAs attributes
818 * UCOMIRunningObjectTable.cs: added missing MarshalAs attributes
819 * UCOMIStream.cs: added missing MarshalAs attributes
820 * UCOMITypeComp.cs: added missing MarshalAs attributes
821 * UCOMITypeInfo.cs: added missing MarshalAs attributes
822 * UCOMITypeLib.cs: added missing PreserveSig attributes, added
823 missing MarshalAs attributes
825 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
827 * MarshalDirectiveException.cs: marked serializable to match MS.NET
828 * SafeArrayRankMismatchException.cs: marked serializable to match
830 * SafeArrayTypeMismatchException.cs: marked serializable to match
833 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
835 * InvalidComObjectException.cs: marked serializable to match MS.NET
836 * InvalidOleVarianTypeException.cs: marked serializable to match
839 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
841 * BestFitMappingAttribute.cs: removed serializable attribute
844 2004-05-30 Gert Driesen (drieseng@users.sourceforge.net)
846 * SetWin32ContextInIDispatchAttribute.cs: only build
848 * VariantWrapper.cs: only build for NET_2_0 profile
850 2004-05-29 Gert Driesen (drieseng@users.sourceforge.net)
852 * SetWin32ContextInIDispatchAttribute.cs: added
853 * VariantWrapper.cs: added
855 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
857 * AutomationProxyAttribute.cs
858 * BestFitMappingAttribute.cs
859 * ClassInterfaceAttribute.cs
860 * CoClassAttribute.cs
861 * ComAliasNameAttribute.cs
862 * ComCompatibleVersionAttribute.cs
863 * ComConversionLossAttribute.cs
864 * ComEventInterfaceAttribute.cs
865 * ComImportAttribute.cs
866 * ComRegisterFunctionAttribute.cs
867 * ComSourceInterfaceAttribute.cs
868 * ComUnregisterFunctionAttribute.cs
871 * DllImportAttribute.cs
872 * FieldOffsetAttribute.cs
874 * IDispatchImplAttribute.cs
875 * ImportedFromTypeLibAttribute.cs
877 * InterfaceTypeAttribute.cs
878 * LCIDConversionAttribute.cs
879 * MarshalAsAttribute.cs
880 * OptionalAttribute.cs
882 * PreserveSigAttribute.cs
883 * PrimaryInteropAssemblyAttribute.cs
885 * StructLayoutAttribute.cs
886 * TypeLibFuncAttribute.Cs
887 * TypeLibTypeAttribute.cs
888 * TypeLibVarAttribute.cs
889 * TypeLibVersionAttribute.cs now that Inherited is
890 false by default on AttributeUsageAttribute (as it
891 should be) we need to explicitly set Inherited to
892 false for those attributes should where it should be
895 2004-05-06 Mike Shaver <shaver@off.net>
896 * Marshal.cs: Implement StringToCoTaskMem{Ansi,Uni}
898 2004-05-05 Zoltan Varga <vargaz@freemail.hu>
900 * Marshal.cs: Applied patch from vladimir@pobox.com (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.
902 2004-01-30 Zoltan Varga <vargaz@freemail.hu>
904 * Marshal.cs: Implement AllocCoTaskMem and FreeCoTaskMem.
906 2003-11-26 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
908 * DispatchWrapper.cs: Added and implemented
909 * ErrorWrapper.cs: Fixed bug
910 * Marshal.cs: Added missing members
912 2003-11-18 Jackson Harper <jackson@ximian.com>
914 * CurrencyWrapper.cs: Fix file name.
916 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
918 * BestFitMappingAttribute.cs: Signature fix
919 * Marshal.cs: Add attribute, fix signatures
920 * MarshalAsAttribute.cs: Add head, add entry
921 * DllImportAttribute.cs: Added v1.1 entries
922 * TypeLibConverter.cs: Added, stubbed
923 * RegistrationServices.cs: Added, stubbed
924 * ExtensibleClassFactory.cs: Added, stubbed
925 * ErrorWrapper.cs: Added, implemented
926 * CurrencyWrapper.cs: Added, implemented
928 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
930 * IRegistrationServices.cs:
931 * ITypeLibConverter.cs:
932 * ITypeLibExporterNameProvider.cs:
933 * ITypeLibExporterNotifySink.cs:
934 * ITypeLibImporterNotifySink.cs: Added missing attribute
935 * UCOMIBindCtx.cs: Added missing attribute, fixed in attribute
936 * UCOMIConnectionPoint.cs:
937 * UCOMIConnectionPointContainer.cs:
938 * UCOMIEnumConnectionPoints.cs:
939 * UCOMIEnumConnections.cs:
940 * UCOMIEnumMoniker.cs:
941 * UCOMIEnumString.cs:
942 * UCOMIEnumVARIANT.cs:
944 * UCOMIPersistFile.cs:
945 * UCOMIRunningObjectTable.cs:
949 * UCOMITypeLib.cs: Added missing attribute
951 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
953 * UCOMIBindCtx.cs: Added and implemented
954 * UCOMIConnectionPoint.cs: Added and implemented
955 * UCOMIConnectionPointContainer.cs: Added and implemented
956 * UCOMIEnumConnectionPoints.cs: Added and implemented
957 * UCOMIEnumConnections.cs: Added and implemented
958 * UCOMIEnumMoniker.cs: Added and implemented
959 * UCOMIEnumString.cs: Added and implemented
960 * UCOMIEnumVARIANT.cs: Added and implemented
961 * UCOMIMoniker.cs: Added and implemented
962 * UCOMIPersistFile.cs: Added and implemented
963 * UCOMIRunningObjectTable.cs: Added and implemented
964 * UCOMIStream.cs: Added and implemented
966 * UCOMTypeComp.cs: renamed
967 * UCOMTypeInfo.cs: renamed
968 * UCOMTypeLib.cs: renamed
970 * ITypeLibConverter.cs: Fixed interface signature
972 * ComSourceInterfacesAttribute.cs: Added and implemented
973 * IDispatchImplAttribute.cs: Added and implemented
974 * InvalidComObjectException.cs: Added and implemented
975 * InvalidOleVariantTypeException.cs: Added and implemented
976 * MarshalDirectiveException.cs: Added and implemented
977 * SafeArrayRankMismatchException.cs: Added and implemented
978 * SafeArrayTypeMismatchException.cs: Added and implemented
979 * SEHException.cs: Added attribute
980 * UnknownWrapper.cs: Added and implemented
993 * VARDESC.cs: Added and implemented
998 * IDispatchImplType.cs:
1005 * TypeLibImporterFlags.cs:
1006 * VARFLAGS.cs: Added and implemented
1008 2003-07-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1010 * ComCompatibleVersionAttribute.cs: Added and implemented
1011 * TypeLibVersionAttribute.cs: Added and implemented
1013 Wed Jun 18 12:49:54 CEST 2003 Paolo Molaro <lupus@ximian.com>
1015 * Marshal.cs: implemented Prelink with icalls.
1017 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1019 * RuntimeEnvironment.cs: New file. Stubbed by Dominik Fretz
1022 2003-03-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1024 * ExternalException.cs: doesn't need a field to keep the result code.
1025 * SEHException.cs: implemented.
1027 2003-03-03 Tim Coleman <tim@timcoleman.com>
1028 * HandleRef.cs: Add this struct
1030 2003-01-05 Sebastien Pouliot <spouliot@videotron.ca>
1032 * COMException.cs: New. Minimal (incomplete - i'm not using COM)
1033 implementation because this is thrown when dealing with Software
1034 Publisher Certificates (SPC) in X509Certificate.
1036 2002-08-22 Nick Drochak <ndrochak@gol.com>
1038 * OutAttribute.cs: TypeID isn't overriden from Attribute here.
1039 * PInvokeMap.cs: Non-existent enum. Must be from beta days.
1041 2002-06-24 root <dietmar@ximian.com>
1043 * Marshal.cs: impl. Copy()
1045 Fri Jun 14 16:18:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
1047 * UnmanagedType.cs, Marshal.cs: minor fixes.
1049 Wed Jun 12 16:32:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
1051 * Marshal.c: stubbed out all the methods and filled in some
1053 * BINDPTR.cs, ComMemberType.cs, DESCKIND.cs, DISPPARAMS.cs,
1054 EXCEPINFO.cs, INVOKEKIND.cs, TYPEKIND.cs, UCOMTypeInfo.cs,
1055 UCOMTypeLib.cs: enums, interfaces and structs needed in Marshal class.
1057 Tue Jun 4 18:05:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
1059 * GCHandle.cs: changed to fit spec and implementation needs.
1061 Tue May 14 16:35:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
1063 * CharSet.cs: added missing None enum item.
1065 2002-04-26 Joe Shaw <joe@ximian.com>
1067 * Marshal.cs (StructureToPtr): stub this out.
1069 2002-04-23 Joe Shaw <joe@ximian.com>
1071 * Marshal.cs: Stub out a few functions to get gtk# to build.
1073 2002-04-22 Duncan Mak <duncan@ximian.com>
1075 * ImporterEventKind.cs:
1076 * TypeLibFuncFlags.cs:
1077 * TypeLibTypeFlags.cs:
1078 * TypeLibVarFlags.cs: Fixed various typos and added missing elements.
1080 * ComConventionLossAttribute.cs: Removed, there's a typo.
1081 * ComConversionLossAttribute.cs: Same attribute, slight change of name.
1083 * PreserveSigAttribute.cs:
1084 * ImportedFromTypeLibAttribute.cs: Added missing AttributeUsage
1087 * TypeLibFuncAttribute.cs:
1088 * TypeLibTypeAttribute.cs:
1089 * TypeLibVarAttribute.cs: Added missing constructors.
1092 2002-04-22 Duncan Mak <duncan@ximian.com>
1094 * AutomationProxyAttribute.cs:
1095 * CoClassAttribute.cs:
1096 * ComAliasNameAttribute.cs:
1097 * ComConventionLossAttribute.cs:
1098 * ComEventInterfaceAttribute.cs:
1099 * ComImportAttribute.cs:
1100 * ComRegisterFunctionAttribute.cs:
1101 * ComUnregisterFunctionAttribute.cs:
1102 * DispIdAttribute.cs:
1103 * ImportedFromTypeLibAttribute.cs:
1104 * LCIDConversionAttribute.cs:
1105 * PreserveSigAttribute.cs:
1106 * PrimaryInteropAssemblyAttribute.cs:
1107 * ProgIdAttribute.cs:
1108 * TypeLibFuncAttribute.cs:
1109 * TypeLibFuncFlags.cs:
1110 * TypeLibTypeAttribute.cs:
1111 * TypeLibTypeFlags.cs:
1112 * TypeLibVarAttribute.cs:
1113 * TypeLibVarFlags.cs: Added to CVS.
1115 2002-04-08 Nick Drochak <ndrochak@gol.com>
1117 * Marshal.cs: Make class public.
1118 * ComVisible.cs: New File.
1120 2002-03-24 Nick Drochak <ndrochak@gol.com>
1122 * ClassInterfaceAttribute.cs:
1123 * ClassInterfaceType.cs: New Files.
1125 2002-02-27 Duncan Mak <duncan@ximian.com>
1127 * ExporterEventKind.cs:
1128 * ITypeLibConverter.cs:
1129 * ITypeLibImporterNotifySink.cs: Added to CVS for Kevin Winchester <kwin@ns.sympatico.ca>.
1131 2002-02-26 Duncan Mak <duncan@ximian.com>
1133 * ComInterfaceType.cs: Added to CVS.
1135 * AssemblyRegistrationFlags.cs:
1137 * ICustomAdapter.cs:
1138 * ICustomFactory.cs:
1139 * ICustomMarshaler.cs:
1140 * IRegistrationServices.cs:
1141 * ITypeLibExporterNameProvider.cs:
1142 * ITypeLibImporterNotifySink.cs:
1143 * InterfaceTypeAttribute.cs:
1144 * TypeLibExporterFlags.cs: Committed for Kevin Winchester <kwin@ns.sympatico.ca>.
1146 * GCHandle.cs: Added to CVS. Patch from Ajay kumar Dwivedi.
1148 * GCHandleType.cs: Committed patch from Ajay.
1150 * ImporterEventKind.cs: Added to CVS.
1152 2002-01-24 Miguel de Icaza <miguel@ximian.com>
1154 * StructLayoutAttribute.cs: Flag attribute as targetting structs
1157 * InAttribute.cs: Flag attribute as targettting a paramter
1159 * OutAttribute.cs: ditto.
1161 * DllImportAttribute.cs: Flag attribute as targetting methods.
1163 * MarshalAsAttribute.cs: Flag attribute as targetting fields,
1164 parameters and returnvalues.
1166 2002-01-23 Dick Porter <dick@ximian.com>
1168 * Marshal.cs: Added GetLastWin32Error()
1170 * ExternalException.cs: Implemented
1172 2002-01-17 Miguel de Icaza <miguel@ximian.com>
1174 * ExternalException.cs: Add ExternalException.
1176 2002-01-05 Ravi Pratap <ravi@ximian.com>
1178 * OutAttribute.cs : Decorate with MonoTODO.
1180 Thu Dec 20 15:46:31 CET 2001 Paolo Molaro <lupus@ximian.com>
1182 * FieldOffsetAttribute.cs, InAttribute.cs, MarshalAsAttribute.cs,
1183 OptionalAttribute.cs, StructLayoutAttribute.cs, VarEnum.cs:
1184 more stuff needed by the compiler.
1186 Thu Dec 13 20:22:18 CET 2001 Paolo Molaro <lupus@ximian.com>
1188 * DllImportAttribute.cs: added.
1189 * MethodImplOptions.cs: removed: this is already in CompilerServices.
1191 Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <lupus@ximian.com>
1193 * CallingConvention.cs: add missing Winapi.
1195 2001-07-20 Miguel de Icaza <miguel@ximian.com>
1197 * OutAttribute.cs: New file.
1199 2001-07-18 Michael Lambert <michaellambert@email.com>
1201 * CallingConvention.cs.cs, CharSet.cs, GCHandleType.cs, LayoutKind.cs: Add.