1 2009-11-02 Miguel de Icaza <miguel@novell.com>
3 * Jumbo NET_2_0 removal patch.
5 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
7 * GCHandle.cs: Add missing validations
9 2009-09-22 Sebastien Pouliot <sebastien@ximian.com>
11 * _Assembly.cs: Remove Evidence and GlobalAssemblyCache
12 properties for NET_2_1
13 * Marshal.cs: Avoid depending on SecureString for NET_2_1
15 2009-09-20 Sebastien Pouliot <sebastien@ximian.com>
17 * MarshalAsAttribute.cs: Remove VarEnum field for NET_2_1
19 2009-09-19 Sebastien Pouliot <sebastien@ximian.com>
21 * Marshal.cs: Avoid depending on COM stuff for NET_2_1
23 2009-09-04 Zoltan Varga <vargaz@gmail.com>
25 * SafeBuffer.cs: Mark specific methods as non-cls compliant instead of
28 * SafeBuffer.cs: New net 4.0 class.
30 2009-04-17 Tom Hindle <tom_hindle@sil.org>
32 * Marshal.cs: Improved GetExceptionForHR to return real C# exceptions in
33 certain cases instead of always COMException.
35 2009-02-24 Sebastien Pouliot <sebastien@ximian.com>
37 * SafeHandle.cs: Add default ctor in 2.1 profile (needed to compile
38 new unit tests in moonlight).
40 2009-03-05 Tom Hindle <tom_hindle@sil.org>
42 * Marshal.cs: Implemented GenerateGuidForType
44 2008-06-21 Gert Driesen <drieseng@users.sourceforge.net>
46 * Marshal.cs: Fixed order of arguments for ArgumentException in
47 GetComSlotForMethodInfo.
49 2008-06-19 Kornél Pál <kornelpal@gmail.com>
51 * Marshal.cs: Implement GetHINSTANCE.
53 2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
63 * BestFitMappingAttribute.cs
64 * Marshal.cs: Fix parameter names
66 2008-02-20 Zoltan Varga <vargaz@gmail.com>
68 * Marshal.cs (GetDelegateForFunctionPointer): Add a nullref check.
70 2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
72 * COMException.cs: Fix new-line literal and use of "" detected by
75 2008-01-13 Gert Driesen <drieseng@users.sourceforge.net>
77 * COMException.cs: Added missing colon in ToString.
79 2007-12-04 Gert Driesen <drieseng@users.sourceforge.net>
81 * ExternalException.cs: Set HResult to match MS.
83 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
85 * ComVisible.cs: Fix parameter name (part of #322850).
87 2007-09-14 Zoltan Varga <vargaz@gmail.com>
89 * GCHandle.cs (AddrOfPinnedObject): Use -2 to communicate that the handle is not
90 pinned. Correct exception message. Fixes #82848.
92 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
94 * SafeHandle.cs CriticalHandle.cs TypeLibImporterFlags.cs
95 RegistrationClassContext.cs ArrayWithOffset.cs :
96 * ComObjectInUseException.cs ExposeAsClassToComAttribute.cs :
97 removed obsoleted files.
99 2007-07-18 Miguel de Icaza <miguel@novell.com>
101 * SafeHandle.cs: Harden this, do not call ReleaseHandle if the
104 * CriticalHandle.cs: Harden this, do not call ReleaseHandle if the
107 2007-07-06 Jonathan Chambers <joncham@gmail.com>
109 * ExtensibleClassFactory.cs: Fix ExtensibleClassFactory.
111 2007-06-22 Jonathan Chambers <joncham@gmail.com>
113 * Marshal.cs (ThrowExceptionForHR): Implement/consolidate.
114 * Marshal.cs (GetExceptionForHR): Implement/consolidate.
116 2007-05-11 Jonathan Chambers <joncham@gmail.com>
118 * Marshal.cs (SecureStringToBSTR): BSTR header is size in bytes,
121 2007-05-02 Jonathan Chambers <joncham@gmail.com>
123 * ExtensibleClassFactory.cs: Don't use un-implemented overload.
125 2007-05-02 Dick Porter <dick@ximian.com>
127 * _ConstructorInfo.cs:
137 * AutomationProxyAttribute.cs:
138 * BestFitMappingAttribute.cs:
140 * ClassInterfaceAttribute.cs:
141 * CoClassAttribute.cs:
142 * ComAliasNameAttribute.cs:
143 * ComCompatibleVersionAttribute.cs:
144 * ComConversionLossAttribute.cs:
145 * ComDefaultInterfaceAttribute.cs:
146 * ComEventInterfaceAttribute.cs:
148 * ComImportAttribute.cs:
149 * ComObjectInUseException.cs:
150 * ComRegisterFunctionAttribute.cs:
151 * ComUnregisterFunctionAttribute.cs:
154 * CurrencyWrapper.cs:
155 * DefaultCharSetAttribute.cs:
156 * DispatchWrapper.cs:
157 * DispIdAttribute.cs:
159 * ExtensibleClassFactory.cs:
160 * ExternalException.cs:
163 * StructLayoutAttribute.cs:
164 * TypeLibConverter.cs:
165 * ArrayWithOffset.cs:
176 * CallingConvention.cs:
178 * ClassInterfaceType.cs:
179 * ComInterfaceType.cs:
182 * ExporterEventKind.cs:
184 * RegistrationClassContext.cs:
186 * TypeLibImporterFlags.cs:
188 * VARFLAGS.cs: Update to 2.0 profile
190 2007-04-15 Alp Toker <alp@atoker.com>
192 * Marshal.cs: Add new 2.0 Copy() from IntPtr[] overload.
194 2007-03-12 Raja R Harinath <rharinath@novell.com>
196 * DefaultParameterValueAttribute.cs: Move to System.dll.
198 2007-02-08 Jonathan Chambers <joncham@gmail.com>
200 * Marshal.cs: Throw exceptions for AddRef, Release,
201 and QueryInterface in managed code. Implement GetComInterfaceForObject,
202 GetIDispatchForObject, GetIUnknownForObject, GetObjectForIUnknown,
203 GetObjectsForNativeVariants, IsComObject, ReleaseComObject, and
204 FinalReleaseComObject. Unimplement GetComObjectData and SetComObjectData
205 for now to save space and simplify __ComObject for now. MSDN states the
206 user should never call these methods anyway.
208 2007-01-29 Marek Habersack <grendello@gmail.com>
210 * Marshal.cs: Implement a missing Marshal.Copy overload.
212 2007-01-11 Jonathan Chambers <joncham@gmail.com>
214 * Marshal.cs: Implement Marshal.ReAllocCoTaskMem.
216 2007-01-03 Miguel de Icaza <miguel@novell.com>
218 * SafeHandle.cs: Do not use locks in SafeHandle to protect the
219 access to the refcount, use Interlocked.CompareExchange. The
220 locks were the source of problems with domain finalization when
221 this code was enabled.
223 This should fix Matt Hargett's bug report with a full `make check'
224 that reported variations of:
226 ** (../../class/lib/net_2_0/nunit-console.exe:29644): WARNING **:
227 Finalization of domain <domainname> timed out.
229 Also, it is a lot lighther.
231 2006-12-21 Miguel de Icaza <miguel@novell.com>
233 * CriticalHandle.cs: Add Dispose(bool disposing) method, and
236 2006-12-15 Gert Driesen <drieseng@users.sourceforge.net>
238 * Marshal.cs: Use SystemDefaultCharSize to determine whether to
239 use Ansi or Unicode variant of StringToCoTaskMem.
241 2006-12-15 Miguel de Icaza <miguel@novell.com>
243 * Marshal.cs (SecureStringToCoTaskMemAnsi, SecureStringToBSTR,
244 SecureStringToCoTaskMemUnicode, ZeroFreeCoTaskMemAnsi,
245 ZeroFreeCoTaskMemUnicode, ZeroFreeGlobalAllocAnsi,
246 ZeroFreeGlobalAllocUnicode): Implement.
248 (StringToCoTaskAuto): return the same as Ansi.
250 The ANSI code is out of sync with Mono, which treats ANSI as
253 Code formatting changes
255 2006-12-11 Miguel de Icaza <miguel@novell.com>
257 * SafeHandle.cs: Fix a handful of bugs, and add tests for them.
258 Only release the handle if its owned by us. Also throw
259 ObjectDisposedException's
263 DangerousAddRef will now throw an exception if the object was
266 2006-12-02 Miguel de Icaza <miguel@novell.com>
268 * SafeHandle.cs: Implement this class.
270 2006-10-06 Jonathan Chambers <joncham@gmail.com>
272 * ExtensibleClassFactory.cs: Implement RegisterObjectCreationCallback.
274 2006-08-31 Robert Jordan <robertj@gmx.net>
276 * Marshal.cs: Replaced the *Auto internal calls with managed
277 variants. Fixed SystemDefaultCharSize to return an OS dependent
280 2006-08-09 Jonathan Chambers <joncham@gmail.com>
282 * Marshal.cs: Implement GetIDispatchForObject.
284 2006-08-07 Gert Driesen <drieseng@users.sourceforge.net>
286 * Marshal.cs: Added stubs for GetTypeLibGuid (ITypeLib), GetTypeLibLcid
287 (ITypeLib), GetTypeLibName (ITypeLib).
289 2006-07-28 Jonathan Chambers <joncham@gmail.com>
291 * Marshal.cs: Implemented CreateWrapperOfType and ReleaseComObject.
293 2006-07-15 Jonathan Chambers <joncham@gmail.com>
295 * Marshal.cs: Begin implementing COM Interop. Implemented
296 AddRef, GetComInterfaceForObject, GetComObjectData, GetIUnknownForObject,
297 GetObjectForIUnknown, GetTypedObjectForIUnknown, IsComObject, QueryInterface
298 Release, SetComObjectData, and ThrowExceptionForHR.
300 2006-06-07 Jonathan Chambers <jonathan.chambers@ansys.com>
302 * Marshal.cs: Implement GetComSlotForMethodInfo
304 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
306 * Marshal.cs: Implement VARIANT marshalling methods
308 2006-05-20 Zac Bowling <zac@zacbowling.com>
309 * VarEnum.cs: ComVisible Attribute (2.0)
310 * InterfaceTypeAttribute.cs: ComVisible Attribute (2.0)
311 * UCOMITypeInfo.cs: ComImport Attribute (1.x)
312 * UCOMITypeComp.cs: ComImport Attribute (1.x)
313 * MarshalAsAttribute.cs: ComVisible Attribute (2.0)
314 * StructLayoutAttribute.cs: ComVisible Attribute (2.0)
315 * ProgIdAttribute.cs: ComVisible Attribute (2.0)
316 * PrimaryInteropAssemblyAttribute.cs: ComVisible Attribute (2.0)
317 * ImporterEventKind.cs: ComVisible Attribute (2.0)
318 * UCOMIPersistFile.cs: ComImport Attribute (1.x)
319 * SetWin32ContextInIDispatchAttribute.cs: Obselete and ComVisible
321 * IRegistrationServices.cs: ComVisible Attribute and CAS Attributes (2.0)
322 * InAttribute.cs: ComVisible Attribute (2.0)
323 * UCOMIMoniker.cs: ComImport Attribute (1.x)
324 * MarshalDirectiveException.cs: ComVisible Attribute (2.0)
325 * IDLDESC.cs: ComVisible Attribute (1.x)
326 * FUNCFLAGS.cs: ComVisible Attribute (1.x)
327 * UCOMIConnectionPointContainer.cs: ComImport Attribute (1.x)
328 * TypeLibExporterFlags.cs: ComVisible Attribute (2.0)
329 * ICustomMarshaler.cs: ComVisible Attribute (2.0)
330 * LayoutKind.cs: ComVisible Attribute (2.0) + Serializable + Clean
331 * ICustomAdapter.cs: ComVisible Attribute (2.0)
332 * UnmanagedFunctionPointerAttribute.cs: ComVisible Attribute and Param
333 Signature of UnmanagedFunctionPointerAttribute(...)
334 * FUNCKIND.cs: ComVisble Attribute (1.x)
335 * TypeLibVersionAttribute.cs: ComVisible Attribute (2.0) + Missing in
337 * TypeLibVarAttribute.cs: ComVisible Attribute (2.0)
338 * ITypeLibConverter.cs: ComVisible Attribute (2.0)
339 * UCOMIRunningObjectTable.cs: ComImport Attribute (1.x)
340 * IDispatchImplAttribute.cs: Obsolete + ComVisible Attribute (2.0)
341 * ITypeLibImporterNotifySink.cs: ComVisible Attribute (2.0)
342 * PreserveSigAttribute.cs: ComVisible Attribute (2.0)
343 * SYSKIND.cs: ComVisible Attribute (1.x)
344 * UCOMIEnumVARIANT.cs: ComImport Attribute (1.x)
345 * UCOMIEnumString.cs: ComImport Attribute (1.x) and Expose to 1.x (not
346 a 2.0 exclusive class)
347 * OutAttribute.cs: ComVisible Attribute (2.0)
348 * InvalidComObjectException.cs: ComVisible Attribute (2.0)
349 * SEHException.cs: ComVisible Attribute (2.0)
350 * UCOMIConnectionPoint.cs: ComImport Attribute (1.x)
351 * TypeLibImporterFlags.cs: ComVisible Attribute (2.0) and
353 * OptionalAttribute.cs: ComVisible Attribute (2.0)
354 * TYPEDESC.cs: ComVisible Attribute (1.x)
355 * UCOMIEnumMoniker.cs: ComImport Attribute (1.x) and Expose to 1.x
356 (not a 2.0 exclusive class)
357 * TypeLibTypeFlags.cs: ComVisible Attribute (2.0)
358 * ITypeLibExporterNotifySink.cs: ComVisible Attribute (2.0)
359 * HandleRef.cs: ComVisible.cs and add ToIntPtr (2.0)
360 * DllImportAttribute.cs: ComVisible Attribute (2.0)
361 * TypeLibTypeAttribute.cs: ComVisible Attribute (2.0)
362 * UnknownWrapper.cs: Serializable, ComVisible Attribute (2.0)
363 * IDFLAGS.cs: ComVisible Attribute (1.x only)
364 * RegistrationClassContext.cs: License + Flags attribute (2.0)
365 * GCHandle.cs: ComVisible Attribute + Operator Overrides (2.0)
366 * TypeLibImportClassAttribute.cs: ComVisible Attribute (2.0)
367 * IMPLYTPEFLAGS.cs: ComVisible Attribute (1.x)
368 * ImportedFromTypeLibAttribute.cs: ComVisible (2.0)
369 * UCOMIBindCtx.cs: Obsolete Attribute (2.0)
370 * FUNCDESC.cs: ComVisible Attribute (1.x)
371 * RegistrationConnectionType.cs: Flags Attribute (2.0)
372 * IDispatchImplType.cs: Obsolete + ComVisible Attribute (2.0)
373 * TypeLibConverter.cs: ComVisible (2.0)
374 * INVOKEKIND.cs: ComVisible Attribute (1.x)
375 * GCHandleType.cs: ComVisible Attribute (2.0) + Serializable
376 * ICustomFactory.cs: ComVisible Attribute (2.0)
377 * FieldOffsetAttribute.cs: ComVisible Attribute (2.0)
378 * LIBFLAGS.cs: ComVisible Attribute (1.x)
379 * ComSourceInterfacesAttributes.cs: ComVisible Attribute (2.0)
380 * STATSTG.cs: ComVisible Attribute (1.x)
381 * InvalidOleVariantTypeException.cs: ComVisible Attribute (2.0)
382 * TypeLibVarFlags.cs: ComVisible Attribute (2.0)
383 * TYPEFLAGS.cs: ComVisible Attribute (1.x)
384 * SafeArrayRankMismatchException.cs: ComVisible Attribute (2.0)
385 * TYPEATTR.cs: ComVisible Attribute (1.x)
386 * GuidAttribute.cs: ComVisible Attribute (2.0)
387 * UCOMIEnumConnectionPoints.cs: ComImport Attribute (1.x) + Expose to
388 1.x (not a 2.0 exclusive)
389 * SafeArrayTypeMismatchException.cs: ComVisible Attribute (2.0)
390 * ObjectCreationDelegate.cs: ComVisible Attribute (2.0)
391 * ITypeLibExporterNameProvider.cs: ComVisible Attribute (2.0) and
392 MarshelAs VarEnum Type.
393 * UCOMIStream.cs: ComImport Attribute (1.x)
394 * TypeLibFuncFlags.cs ComVisible Attribute (2.0)
395 * UnmanagedType.cs: ComVisible Attribute (2.0) + clean up
396 * UCOMIEnumConnections.cs: ComImport Attribute (1.0)
397 * LCIDConversionAttribute.cs: ComVisible Attribute (2.0)
398 * TypeLibFuncAttribute.cs: ComVisible Attribute (2.0)
400 2006-05-02 Jonathan Chambers <jonathan.chambers@ansys.com>
402 * Marshal.cs: Implement BSTR methods
404 2006-01-12 Ben Maurer <bmaurer@andrew.cmu.edu>
406 * SafeHandle.cs: Update to RTM api
408 2005-11-17 Zoltan Varga <vargaz@gmail.com>
410 * DefaultParameterValueAttribute.cs: New file.
412 2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
414 * Marshal.cs: Added null check in SecureStringTo* methods and make
415 them throw a NotSupportedException otherwise (as existing code must
416 deal with this anyway). Fixed Uni -> Unicode method name changes.
418 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
420 * UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
421 UCOMIConnectionPointContainer.cs, UCOMIEnumConnectionPoints.cs,
422 UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
423 UCOMIEnumVARIANT.cs, UCOMIMoniker.cs, UCOMIPersistFile.cs,
424 UCOMIRunningObjectTable.cs, UCOMIStream.cs, UCOMITypeComp.cs,
425 UCOMITypeInfo.cs, UCOMITypeLib.cs: Remove [ComImport] from the default
426 profile (this is new in 2.0) and reduce corcompare extras by 15.
428 2005-09-21 Kornél Pál <kornelpal@hotmail.com>
430 * UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
431 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, UnmanagedType.cs:
432 Removed UnmanagedType_80 that was required because mcs bug #75945
435 2005-08-12 Gert Driesen <drieseng@users.sourceforge.net>
437 * SetWin32ContextInIDispatchAttribute.cs: Make this attribute also
438 available in 1.0 profile (.NET 1.1).
439 * VariantWrapper.cs: Class is also exposed in .NET 1.1. Only
440 serializable in 2.0 profile.
442 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
444 * SafeHandle.cs: New file.
446 2005-08-06 Gert Driesen <drieseng@users.sourceforge.net>
448 * _Activator.cs: ComVisible should only be set in 2.0 profile.
449 Added TypeLibImportClass attribute.
450 * _Assembly.cs: ComVisible should only be set in 2.0 profile. Added
451 TypeLibImportClass attribute. Fixes InterfaceType to match MS.NET.
452 * _AssemblyBuilder.cs: ComVisible should only be set in 2.0 profile.
453 Added TypeLibImportClass attribute.
454 * _AssemblyName.cs: ComVisible should only be set in 2.0 profile.
455 Added TypeLibImportClass attribute.
456 * _Attribute.cs: ComVisible should only be set in 2.0 profile.
457 Added TypeLibImportClass attribute.
458 * _ConstructorBuilder.cs: ComVisible should only be set in 2.0 profile.
459 Added TypeLibImportClass attribute.
460 * _ConstructorInfo.cs: Fixed InterfaceType to match MS.NET. Added
461 TypeLibImportClass attribute. Added missing methods.
462 * _CustomAttributeBuilder.cs: ComVisible should only be set in 2.0 profile.
463 Added TypeLibImportClass attribute.
464 * _EnumBuilder.cs: ComVisible should only be set in 2.0 profile.
465 Added TypeLibImportClass attribute.
466 * _EventBuilder.cs: ComVisible should only be set in 2.0 profile.
467 Added TypeLibImportClass attribute.
468 * _EventInfo.cs: Fixed InterfaceType to match MS.NET. Added
469 TypeLibImportClass attribute. Added missing methods.
470 * _FieldBuilder.cs: ComVisible should only be set in 2.0 profile.
471 Added TypeLibImportClass attribute.
472 * _FieldInfo.cs: Fixed InterfaceType to match MS.NET. Added
473 TypeLibImportClass attribute. Added missing methods.
474 * _ILGenerator.cs: ComVisible should only be set in 2.0 profile.
475 Added TypeLibImportClass attribute.
476 * _LocalBuilder.cs: ComVisible should only be set in 2.0 profile.
477 Added TypeLibImportClass attribute.
478 * _MemberInfo.cs: Fixed InterfaceType to match MS.NET. Added
479 TypeLibImportClass attribute. Added missing methods.
480 * _MethodBase.cs: Fixed InterfaceType to match MS.NET. Added
481 TypeLibImportClass attribute. Added missing methods.
482 * _MethodInfo.cs: Fixed InterfaceType to match MS.NET. Added
483 TypeLibImportClass attribute. Added missing methods.
484 * _MethodBuilder.cs: ComVisible should only be set in 2.0 profile.
485 Added TypeLibImportClass attribute.
486 * _MethodRental.cs: ComVisible should only be set in 2.0 profile.
487 Added TypeLibImportClass attribute.
488 * _Module.cs: ComVisible should only be set in 2.0 profile.
489 Added TypeLibImportClass attribute.
490 * _ModuleBuilder.cs: ComVisible should only be set in 2.0 profile.
491 Added TypeLibImportClass attribute.
492 * _ParameterBuilder.cs: ComVisible should only be set in 2.0 profile.
493 Added TypeLibImportClass attribute.
494 * _ParameterInfo.cs: ComVisible should only be set in 2.0 profile.
495 Added TypeLibImportClass attribute.
496 * _PropertyBuilder.cs: ComVisible should only be setin 2.0 profile.
497 Added TypeLibImportClass attribute.
498 * _PropertyInfo.cs: Fixed InterfaceType to match MS.NET. Added
499 TypeLibImportClass attribute. Added missing methods.
500 * _SignatureHelper.cs: ComVisible should only be set in 2.0 profile.
501 Added TypeLibImportClass attribute.
502 * _Type.cs: Added TypeLibImportClass attribute. Fixed InterfaceType
503 to match MS.NET. Added missing method to match MS.NET.
504 * _Thread.cs: ComVisible should only be set in 2.0 profile.
505 Added TypeLibImportClass attribute.
506 * _TypeBuilder:cs: ComVisible should only be set in 2.0 profile.
507 Added TypeLibImportClass attribute.
508 * Marshal.cs: Removed MarshalAs attribute from parameter to fix
509 API compatibility with MS.NET.
510 * TypeLibImportClassAttribute.cs: Added.
512 2005-07-06 Zoltan Varga <vargaz@freemail.hu>
514 * GCHandle.cs: Add 2.0 FromIntPtr/ToIntPtr methods.
516 2005-06-08 Sebastien Pouliot <sebastien@ximian.com>
518 * RuntimeEnvironment.cs: I get better results when calling Demand.
520 2005-06-07 Sebastien Pouliot <sebastien@ximian.com>
522 * RuntimeEnvironment.cs: Implemented TODO. Added security for CAS.
524 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
526 * _Exception.cs: That one wasn't backported to 1.1 SP1 by MS. This
527 should fix a lot of extra reported in the API status pages.
529 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
531 * Marshal.cs: Add some missing 2.0 attributes.
533 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
536 * _ConstructorInfo.cs
544 * _Type.cs: Chance to .Net 1.1
547 * _AssemblyBuilder.cs
549 * _ConstructorBuilder.cs
550 * _CustomAttributeBuilder.cs
560 * _ParameterBuilder.cs
562 * _PropertyBuilder.cs
563 * _SignatureHelper.cs
565 * _TypeBuilder.cs: Added
567 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
569 * _Attribute.cs: New. Interface for attributes in 2.0.
571 2005-04-13 Marek Safar <marek.safar@seznam.cz>
573 * DefaultCharSetAttribute.cs: Removed useless using.
575 2005-03-31 Alp Toker <alp@atoker.com>
577 * GCHandle.cs: Clearer ArgumentException text in the case of a
578 null-valued IntPtr argument.
580 2005-03-04 Kazuki Oikawa <kazuki@panicode.com>
586 * ComDefaultInterfaceAttribute.cs
587 * ComObjectInUseException.cs
588 * ComSourceInterfacesAttribute.cs
591 * DefaultCharSetAttribute.cs
596 * ExposeAsClassToComAttribute.cs
607 * ITypeLibConverter.cs
608 * ITypeLibExporterNameProvider.cs
609 * ITypeLibExporterNotifySink.cs
613 * PrimaryInteropAssemblyAttribute.cs
621 * TypeLibExporterFlags.cs
622 * TypeLibImporterFlags.cs
624 * UCOMIConnectionPoint.cs
625 * UCOMIConnectionPointContainer.cs
626 * UCOMIEnumConnectionPoints.cs
627 * UCOMIEnumConnections.cs
628 * UCOMIEnumMoniker.cs
630 * UCOMIEnumVARIANT.cs
632 * UCOMIPersistFile.cs
633 * UCOMIRunningObjectTable.cs
638 * UnmanagedFunctionPointerAttribute.cs
641 * VariantWrapper.cs: Added missing attributes.
643 2005-03-03 Kazuki Oikawa <kazuki@panicode.com>
645 * _ConstructorInfo.cs
654 * ComDefaultInterfaceAttribute.cs
655 * ComObjectInUseException.cs
657 * DefaultCharSetAttribute.cs
658 * ExposeAsClassToComAttribute.cs
659 * RegistrationClassContext.cs
660 * RegistrationConnectionType.cs: Add
662 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
664 * UnmanagedFunctionPointerAttribute.cs: Add #region directives.
666 2005-02-21 Kazuki Oikawa <kazuki@panicode.com>
668 * BIND_OPTS.cs, CONNECTEDATA.cs, DISPPARAMS.cs, ELEMDESC.cs,
669 EXCEPINFO.cs, FILETIME.cs, FUNCDESC.cs, STATSTG.cs, TYPEATTR.cs,
670 TYPELIBATTR.cs, UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
671 UCOMIEnumConnectionPoints.cs, UCOMIEnumConnections.cs,
672 UCOMIEnumMoniker.cs, UCOMIEnumString.cs, UCOMIEnumVARIANT.cs,
673 UCOMIMoniker.cs, UCOMIPersistFile.cs, UCOMIRunningObjectTable.cs,
674 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, VARDESC.cs:
675 Corrected the order of the fields and the methods.
677 * BIND_OPTS.cs, CALLCONV.cs, FILETIME.cs, FUNCDESC.cs, FUNCFLAGS.cs,
678 FUNCKIND.cs, IDLFLAG.cs, IMPLTYPEFLAGS.cs, LIBFLAGS.cs, PARAMFLAG.cs,
679 STATSTG.cs, SYSKIND.cs, TYPEFLAGS.cs, VarEnum.cs, VARFLAGS.cs:
680 Added missing attributes.
682 Wed Feb 16 16:20:56 CET 2005 Paolo Molaro <lupus@ximian.com>
684 * GCHandle.cs: check the domain of an handle target is correct.
685 Make the unallocated value 0, since that is the default value
688 2005-02-10 Marek Safar <marek.safar@seznam.cz>
690 * TypeLibVarAttribute.cs,
691 * TypeLibTypeAttribute.cs,
692 * ComSourceInterfacesAttribute.cs: Fix AttributeUsage flags.
694 Sat Jan 29 12:48:03 CET 2005 Paolo Molaro <lupus@ximian.com>
696 * GCHandle.cs: update for runtime changes: the unallocated handle
699 2004-11-25 Raja R Harinath <rharinath@novell.com>
701 * UnmanagedType.cs (mono_bootstrap_NativeTypeMax): Rename from
702 __mono_bootstrap_NativeTypeMax. CSC doesn't like
703 [CLSCompliant(false)] on enum member.
705 2004-09-30 Zoltan Varga <vargaz@freemail.hu>
707 * Marshal.cs: Implement GetDelegateForFunctionPointer.
709 2004-09-29 Zoltan Varga <vargaz@freemail.hu>
711 * UnmanagedFunctionPointerAttribute.cs: New file.
713 * Marshal.cs: Make GetFunctionPointerForDelegate icall private.
715 * MarshalAsAttribute.cs: Add 2.0 IidParamIndex field.
717 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
719 * Marshal.cs: Add some ReliabilityContractAttributes.
721 * Marshal.cs (GetFunctionPointerForDelegate): Implement.
723 * Marshal.cs: Add stubs for missing 2.0 methods.
725 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
727 * DllImportAttribute.cs: Reorder fields and mark this class as visible
730 2004-09-08 Marek Safar <marek.safar@seznam.cz>
732 * Marshal.cs: Class is static in NET_2_0.
734 2004-07-29 Lluis Sanchez Gual <lluis@novell.com>
736 * RuntimeEnvironment.cs: Implemented SystemConfigurationFile and
739 Wed Jul 14 19:28:57 CEST 2004 Paolo Molaro <lupus@ximian.com>
741 * GCHandle.cs: throw exception if the result from AddrOfPinnedObject()
742 is -1 (special value returned by the runtime).
744 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
746 * _Exception.cs: New interface in Fx 2.0 to preserve member's order
749 2004-06-22 Raja R Harinath <rharinath@novell.com>
751 Fix bootstrap with mcs 0.31.
752 * UnmanagedType.cs (UnmanagedType.__mono_bootstrap_NativeTypeMax):
753 New bootstrap-only constant.
755 2004-06-18 Raja R Harinath <rharinath@novell.com>
757 Fix breaking build (see tests/test-272.cs). Since corlib is a
758 bootstrap library, we have to keep this fix even if the in-tree
759 mcs compiler is fixed.
760 * UCOMIEnumConnections.cs: Replace '(UnmanagedType) 80' in
761 attribute field initialization with Consts.UnmanagedType_80.
762 * UCOMIEnumMoniker.cs: Likewise.
763 * UCOMIEnumString.cs: Likewise.
764 * UCOMIStream.cs: Likewise.
765 * UCOMITypeInfo.cs: Likewise.
766 * UCOMITypeLib.cs: Likewise.
768 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
770 * BINDPTR.cs: have layout and charset match MS.NET
771 * CONNECTDATA.cs: have layout and charset match MS.NET
772 * DISPPARAMS.cs: have layout and charset match MS.NET
773 * ELEMDESC.cs: have layout and charset match MS.NET
774 * EXCEPINFO.cs: have layout and charset match MS.NET
775 * IDLDESC.cs: have layout and charset match MS.NET
776 * PARAMDESC.cs: have layout and charset match MS.NET
777 * STATSTG.cs: have layout and charset match MS.NET
778 * TYPEATTR.cs: have layout and charset match MS.NET
779 * TYPEDESC.cs: have layout and charset match MS.NET
780 * TYPELIBATTR.cs: have layout and charset match MS.NET
781 * VARDESC.cs: have layout and charset match MS.NET
783 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
785 * ArrayWithOffset.cs: fixed GetOffset to return int instead of
787 * CONNECTDATA.cs: added missing MarshalAs attribute
788 * EXCEPINFO.cs: added missing MarshalAs attributes
789 * ITypeLibConverter.cs: added missing MarshalAs attributes
790 * ITypeLibImporterNotifySink.cs: added missing MarshalAs attributes
791 * Marshal.cs: added missing MarshalAs attributues, and missing
793 * TypeLibConverter.cs: added missing MarshalAs attributes
794 * UCOMIBindCtx.cs: added missing MarshalAs attributes
795 * UCOMIConnectionPoint.cs: added missing MarshalAs attributes
796 * UCOMIEnumConnectionPoints.cs: added missing MarshalAs attributes
797 * UCOMIEnumConnections.cs: added missing PreserveSig attributes,
798 added missing MarshalAs attributes
799 * UCOMIEnumMoniker.cs: added missing PreserveSig attributes,
800 added missing MarshalAs attributes
801 * UCOMIEnumString.cs: added missing PreserveSig attributes,
802 added missing MarshalAs attributes
803 * UCOMIMoniker.cs: added missing MarshalAs attributes
804 * UCOMIPersistFile.cs: added missing PreserveSig attribute,
805 added missing MarshalAs attributes
806 * UCOMIRunningObjectTable.cs: added missing MarshalAs attributes
807 * UCOMIStream.cs: added missing MarshalAs attributes
808 * UCOMITypeComp.cs: added missing MarshalAs attributes
809 * UCOMITypeInfo.cs: added missing MarshalAs attributes
810 * UCOMITypeLib.cs: added missing PreserveSig attributes, added
811 missing MarshalAs attributes
813 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
815 * MarshalDirectiveException.cs: marked serializable to match MS.NET
816 * SafeArrayRankMismatchException.cs: marked serializable to match
818 * SafeArrayTypeMismatchException.cs: marked serializable to match
821 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
823 * InvalidComObjectException.cs: marked serializable to match MS.NET
824 * InvalidOleVarianTypeException.cs: marked serializable to match
827 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
829 * BestFitMappingAttribute.cs: removed serializable attribute
832 2004-05-30 Gert Driesen (drieseng@users.sourceforge.net)
834 * SetWin32ContextInIDispatchAttribute.cs: only build
836 * VariantWrapper.cs: only build for NET_2_0 profile
838 2004-05-29 Gert Driesen (drieseng@users.sourceforge.net)
840 * SetWin32ContextInIDispatchAttribute.cs: added
841 * VariantWrapper.cs: added
843 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
845 * AutomationProxyAttribute.cs
846 * BestFitMappingAttribute.cs
847 * ClassInterfaceAttribute.cs
848 * CoClassAttribute.cs
849 * ComAliasNameAttribute.cs
850 * ComCompatibleVersionAttribute.cs
851 * ComConversionLossAttribute.cs
852 * ComEventInterfaceAttribute.cs
853 * ComImportAttribute.cs
854 * ComRegisterFunctionAttribute.cs
855 * ComSourceInterfaceAttribute.cs
856 * ComUnregisterFunctionAttribute.cs
859 * DllImportAttribute.cs
860 * FieldOffsetAttribute.cs
862 * IDispatchImplAttribute.cs
863 * ImportedFromTypeLibAttribute.cs
865 * InterfaceTypeAttribute.cs
866 * LCIDConversionAttribute.cs
867 * MarshalAsAttribute.cs
868 * OptionalAttribute.cs
870 * PreserveSigAttribute.cs
871 * PrimaryInteropAssemblyAttribute.cs
873 * StructLayoutAttribute.cs
874 * TypeLibFuncAttribute.Cs
875 * TypeLibTypeAttribute.cs
876 * TypeLibVarAttribute.cs
877 * TypeLibVersionAttribute.cs now that Inherited is
878 false by default on AttributeUsageAttribute (as it
879 should be) we need to explicitly set Inherited to
880 false for those attributes should where it should be
883 2004-05-06 Mike Shaver <shaver@off.net>
884 * Marshal.cs: Implement StringToCoTaskMem{Ansi,Uni}
886 2004-05-05 Zoltan Varga <vargaz@freemail.hu>
888 * Marshal.cs: Applied patch from vladimir@pobox.com (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.
890 2004-01-30 Zoltan Varga <vargaz@freemail.hu>
892 * Marshal.cs: Implement AllocCoTaskMem and FreeCoTaskMem.
894 2003-11-26 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
896 * DispatchWrapper.cs: Added and implemented
897 * ErrorWrapper.cs: Fixed bug
898 * Marshal.cs: Added missing members
900 2003-11-18 Jackson Harper <jackson@ximian.com>
902 * CurrencyWrapper.cs: Fix file name.
904 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
906 * BestFitMappingAttribute.cs: Signature fix
907 * Marshal.cs: Add attribute, fix signatures
908 * MarshalAsAttribute.cs: Add head, add entry
909 * DllImportAttribute.cs: Added v1.1 entries
910 * TypeLibConverter.cs: Added, stubbed
911 * RegistrationServices.cs: Added, stubbed
912 * ExtensibleClassFactory.cs: Added, stubbed
913 * ErrorWrapper.cs: Added, implemented
914 * CurrencyWrapper.cs: Added, implemented
916 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
918 * IRegistrationServices.cs:
919 * ITypeLibConverter.cs:
920 * ITypeLibExporterNameProvider.cs:
921 * ITypeLibExporterNotifySink.cs:
922 * ITypeLibImporterNotifySink.cs: Added missing attribute
923 * UCOMIBindCtx.cs: Added missing attribute, fixed in attribute
924 * UCOMIConnectionPoint.cs:
925 * UCOMIConnectionPointContainer.cs:
926 * UCOMIEnumConnectionPoints.cs:
927 * UCOMIEnumConnections.cs:
928 * UCOMIEnumMoniker.cs:
929 * UCOMIEnumString.cs:
930 * UCOMIEnumVARIANT.cs:
932 * UCOMIPersistFile.cs:
933 * UCOMIRunningObjectTable.cs:
937 * UCOMITypeLib.cs: Added missing attribute
939 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
941 * UCOMIBindCtx.cs: Added and implemented
942 * UCOMIConnectionPoint.cs: Added and implemented
943 * UCOMIConnectionPointContainer.cs: Added and implemented
944 * UCOMIEnumConnectionPoints.cs: Added and implemented
945 * UCOMIEnumConnections.cs: Added and implemented
946 * UCOMIEnumMoniker.cs: Added and implemented
947 * UCOMIEnumString.cs: Added and implemented
948 * UCOMIEnumVARIANT.cs: Added and implemented
949 * UCOMIMoniker.cs: Added and implemented
950 * UCOMIPersistFile.cs: Added and implemented
951 * UCOMIRunningObjectTable.cs: Added and implemented
952 * UCOMIStream.cs: Added and implemented
954 * UCOMTypeComp.cs: renamed
955 * UCOMTypeInfo.cs: renamed
956 * UCOMTypeLib.cs: renamed
958 * ITypeLibConverter.cs: Fixed interface signature
960 * ComSourceInterfacesAttribute.cs: Added and implemented
961 * IDispatchImplAttribute.cs: Added and implemented
962 * InvalidComObjectException.cs: Added and implemented
963 * InvalidOleVariantTypeException.cs: Added and implemented
964 * MarshalDirectiveException.cs: Added and implemented
965 * SafeArrayRankMismatchException.cs: Added and implemented
966 * SafeArrayTypeMismatchException.cs: Added and implemented
967 * SEHException.cs: Added attribute
968 * UnknownWrapper.cs: Added and implemented
981 * VARDESC.cs: Added and implemented
986 * IDispatchImplType.cs:
993 * TypeLibImporterFlags.cs:
994 * VARFLAGS.cs: Added and implemented
996 2003-07-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
998 * ComCompatibleVersionAttribute.cs: Added and implemented
999 * TypeLibVersionAttribute.cs: Added and implemented
1001 Wed Jun 18 12:49:54 CEST 2003 Paolo Molaro <lupus@ximian.com>
1003 * Marshal.cs: implemented Prelink with icalls.
1005 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1007 * RuntimeEnvironment.cs: New file. Stubbed by Dominik Fretz
1010 2003-03-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1012 * ExternalException.cs: doesn't need a field to keep the result code.
1013 * SEHException.cs: implemented.
1015 2003-03-03 Tim Coleman <tim@timcoleman.com>
1016 * HandleRef.cs: Add this struct
1018 2003-01-05 Sebastien Pouliot <spouliot@videotron.ca>
1020 * COMException.cs: New. Minimal (incomplete - i'm not using COM)
1021 implementation because this is thrown when dealing with Software
1022 Publisher Certificates (SPC) in X509Certificate.
1024 2002-08-22 Nick Drochak <ndrochak@gol.com>
1026 * OutAttribute.cs: TypeID isn't overriden from Attribute here.
1027 * PInvokeMap.cs: Non-existent enum. Must be from beta days.
1029 2002-06-24 root <dietmar@ximian.com>
1031 * Marshal.cs: impl. Copy()
1033 Fri Jun 14 16:18:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
1035 * UnmanagedType.cs, Marshal.cs: minor fixes.
1037 Wed Jun 12 16:32:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
1039 * Marshal.c: stubbed out all the methods and filled in some
1041 * BINDPTR.cs, ComMemberType.cs, DESCKIND.cs, DISPPARAMS.cs,
1042 EXCEPINFO.cs, INVOKEKIND.cs, TYPEKIND.cs, UCOMTypeInfo.cs,
1043 UCOMTypeLib.cs: enums, interfaces and structs needed in Marshal class.
1045 Tue Jun 4 18:05:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
1047 * GCHandle.cs: changed to fit spec and implementation needs.
1049 Tue May 14 16:35:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
1051 * CharSet.cs: added missing None enum item.
1053 2002-04-26 Joe Shaw <joe@ximian.com>
1055 * Marshal.cs (StructureToPtr): stub this out.
1057 2002-04-23 Joe Shaw <joe@ximian.com>
1059 * Marshal.cs: Stub out a few functions to get gtk# to build.
1061 2002-04-22 Duncan Mak <duncan@ximian.com>
1063 * ImporterEventKind.cs:
1064 * TypeLibFuncFlags.cs:
1065 * TypeLibTypeFlags.cs:
1066 * TypeLibVarFlags.cs: Fixed various typos and added missing elements.
1068 * ComConventionLossAttribute.cs: Removed, there's a typo.
1069 * ComConversionLossAttribute.cs: Same attribute, slight change of name.
1071 * PreserveSigAttribute.cs:
1072 * ImportedFromTypeLibAttribute.cs: Added missing AttributeUsage
1075 * TypeLibFuncAttribute.cs:
1076 * TypeLibTypeAttribute.cs:
1077 * TypeLibVarAttribute.cs: Added missing constructors.
1080 2002-04-22 Duncan Mak <duncan@ximian.com>
1082 * AutomationProxyAttribute.cs:
1083 * CoClassAttribute.cs:
1084 * ComAliasNameAttribute.cs:
1085 * ComConventionLossAttribute.cs:
1086 * ComEventInterfaceAttribute.cs:
1087 * ComImportAttribute.cs:
1088 * ComRegisterFunctionAttribute.cs:
1089 * ComUnregisterFunctionAttribute.cs:
1090 * DispIdAttribute.cs:
1091 * ImportedFromTypeLibAttribute.cs:
1092 * LCIDConversionAttribute.cs:
1093 * PreserveSigAttribute.cs:
1094 * PrimaryInteropAssemblyAttribute.cs:
1095 * ProgIdAttribute.cs:
1096 * TypeLibFuncAttribute.cs:
1097 * TypeLibFuncFlags.cs:
1098 * TypeLibTypeAttribute.cs:
1099 * TypeLibTypeFlags.cs:
1100 * TypeLibVarAttribute.cs:
1101 * TypeLibVarFlags.cs: Added to CVS.
1103 2002-04-08 Nick Drochak <ndrochak@gol.com>
1105 * Marshal.cs: Make class public.
1106 * ComVisible.cs: New File.
1108 2002-03-24 Nick Drochak <ndrochak@gol.com>
1110 * ClassInterfaceAttribute.cs:
1111 * ClassInterfaceType.cs: New Files.
1113 2002-02-27 Duncan Mak <duncan@ximian.com>
1115 * ExporterEventKind.cs:
1116 * ITypeLibConverter.cs:
1117 * ITypeLibImporterNotifySink.cs: Added to CVS for Kevin Winchester <kwin@ns.sympatico.ca>.
1119 2002-02-26 Duncan Mak <duncan@ximian.com>
1121 * ComInterfaceType.cs: Added to CVS.
1123 * AssemblyRegistrationFlags.cs:
1125 * ICustomAdapter.cs:
1126 * ICustomFactory.cs:
1127 * ICustomMarshaler.cs:
1128 * IRegistrationServices.cs:
1129 * ITypeLibExporterNameProvider.cs:
1130 * ITypeLibImporterNotifySink.cs:
1131 * InterfaceTypeAttribute.cs:
1132 * TypeLibExporterFlags.cs: Committed for Kevin Winchester <kwin@ns.sympatico.ca>.
1134 * GCHandle.cs: Added to CVS. Patch from Ajay kumar Dwivedi.
1136 * GCHandleType.cs: Committed patch from Ajay.
1138 * ImporterEventKind.cs: Added to CVS.
1140 2002-01-24 Miguel de Icaza <miguel@ximian.com>
1142 * StructLayoutAttribute.cs: Flag attribute as targetting structs
1145 * InAttribute.cs: Flag attribute as targettting a paramter
1147 * OutAttribute.cs: ditto.
1149 * DllImportAttribute.cs: Flag attribute as targetting methods.
1151 * MarshalAsAttribute.cs: Flag attribute as targetting fields,
1152 parameters and returnvalues.
1154 2002-01-23 Dick Porter <dick@ximian.com>
1156 * Marshal.cs: Added GetLastWin32Error()
1158 * ExternalException.cs: Implemented
1160 2002-01-17 Miguel de Icaza <miguel@ximian.com>
1162 * ExternalException.cs: Add ExternalException.
1164 2002-01-05 Ravi Pratap <ravi@ximian.com>
1166 * OutAttribute.cs : Decorate with MonoTODO.
1168 Thu Dec 20 15:46:31 CET 2001 Paolo Molaro <lupus@ximian.com>
1170 * FieldOffsetAttribute.cs, InAttribute.cs, MarshalAsAttribute.cs,
1171 OptionalAttribute.cs, StructLayoutAttribute.cs, VarEnum.cs:
1172 more stuff needed by the compiler.
1174 Thu Dec 13 20:22:18 CET 2001 Paolo Molaro <lupus@ximian.com>
1176 * DllImportAttribute.cs: added.
1177 * MethodImplOptions.cs: removed: this is already in CompilerServices.
1179 Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <lupus@ximian.com>
1181 * CallingConvention.cs: add missing Winapi.
1183 2001-07-20 Miguel de Icaza <miguel@ximian.com>
1185 * OutAttribute.cs: New file.
1187 2001-07-18 Michael Lambert <michaellambert@email.com>
1189 * CallingConvention.cs.cs, CharSet.cs, GCHandleType.cs, LayoutKind.cs: Add.