1 2009-02-24 Sebastien Pouliot <sebastien@ximian.com>
3 * SafeHandle.cs: Add default ctor in 2.1 profile (needed to compile
4 new unit tests in moonlight).
6 2009-03-05 Tom Hindle <tom_hindle@sil.org>
8 * Marshal.cs: Implemented GenerateGuidForType
10 2008-06-21 Gert Driesen <drieseng@users.sourceforge.net>
12 * Marshal.cs: Fixed order of arguments for ArgumentException in
13 GetComSlotForMethodInfo.
15 2008-06-19 Kornél Pál <kornelpal@gmail.com>
17 * Marshal.cs: Implement GetHINSTANCE.
19 2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
29 * BestFitMappingAttribute.cs
30 * Marshal.cs: Fix parameter names
32 2008-02-20 Zoltan Varga <vargaz@gmail.com>
34 * Marshal.cs (GetDelegateForFunctionPointer): Add a nullref check.
36 2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
38 * COMException.cs: Fix new-line literal and use of "" detected by
41 2008-01-13 Gert Driesen <drieseng@users.sourceforge.net>
43 * COMException.cs: Added missing colon in ToString.
45 2007-12-04 Gert Driesen <drieseng@users.sourceforge.net>
47 * ExternalException.cs: Set HResult to match MS.
49 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
51 * ComVisible.cs: Fix parameter name (part of #322850).
53 2007-09-14 Zoltan Varga <vargaz@gmail.com>
55 * GCHandle.cs (AddrOfPinnedObject): Use -2 to communicate that the handle is not
56 pinned. Correct exception message. Fixes #82848.
58 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
60 * SafeHandle.cs CriticalHandle.cs TypeLibImporterFlags.cs
61 RegistrationClassContext.cs ArrayWithOffset.cs :
62 * ComObjectInUseException.cs ExposeAsClassToComAttribute.cs :
63 removed obsoleted files.
65 2007-07-18 Miguel de Icaza <miguel@novell.com>
67 * SafeHandle.cs: Harden this, do not call ReleaseHandle if the
70 * CriticalHandle.cs: Harden this, do not call ReleaseHandle if the
73 2007-07-06 Jonathan Chambers <joncham@gmail.com>
75 * ExtensibleClassFactory.cs: Fix ExtensibleClassFactory.
77 2007-06-22 Jonathan Chambers <joncham@gmail.com>
79 * Marshal.cs (ThrowExceptionForHR): Implement/consolidate.
80 * Marshal.cs (GetExceptionForHR): Implement/consolidate.
82 2007-05-11 Jonathan Chambers <joncham@gmail.com>
84 * Marshal.cs (SecureStringToBSTR): BSTR header is size in bytes,
87 2007-05-02 Jonathan Chambers <joncham@gmail.com>
89 * ExtensibleClassFactory.cs: Don't use un-implemented overload.
91 2007-05-02 Dick Porter <dick@ximian.com>
93 * _ConstructorInfo.cs:
103 * AutomationProxyAttribute.cs:
104 * BestFitMappingAttribute.cs:
106 * ClassInterfaceAttribute.cs:
107 * CoClassAttribute.cs:
108 * ComAliasNameAttribute.cs:
109 * ComCompatibleVersionAttribute.cs:
110 * ComConversionLossAttribute.cs:
111 * ComDefaultInterfaceAttribute.cs:
112 * ComEventInterfaceAttribute.cs:
114 * ComImportAttribute.cs:
115 * ComObjectInUseException.cs:
116 * ComRegisterFunctionAttribute.cs:
117 * ComUnregisterFunctionAttribute.cs:
120 * CurrencyWrapper.cs:
121 * DefaultCharSetAttribute.cs:
122 * DispatchWrapper.cs:
123 * DispIdAttribute.cs:
125 * ExtensibleClassFactory.cs:
126 * ExternalException.cs:
129 * StructLayoutAttribute.cs:
130 * TypeLibConverter.cs:
131 * ArrayWithOffset.cs:
142 * CallingConvention.cs:
144 * ClassInterfaceType.cs:
145 * ComInterfaceType.cs:
148 * ExporterEventKind.cs:
150 * RegistrationClassContext.cs:
152 * TypeLibImporterFlags.cs:
154 * VARFLAGS.cs: Update to 2.0 profile
156 2007-04-15 Alp Toker <alp@atoker.com>
158 * Marshal.cs: Add new 2.0 Copy() from IntPtr[] overload.
160 2007-03-12 Raja R Harinath <rharinath@novell.com>
162 * DefaultParameterValueAttribute.cs: Move to System.dll.
164 2007-02-08 Jonathan Chambers <joncham@gmail.com>
166 * Marshal.cs: Throw exceptions for AddRef, Release,
167 and QueryInterface in managed code. Implement GetComInterfaceForObject,
168 GetIDispatchForObject, GetIUnknownForObject, GetObjectForIUnknown,
169 GetObjectsForNativeVariants, IsComObject, ReleaseComObject, and
170 FinalReleaseComObject. Unimplement GetComObjectData and SetComObjectData
171 for now to save space and simplify __ComObject for now. MSDN states the
172 user should never call these methods anyway.
174 2007-01-29 Marek Habersack <grendello@gmail.com>
176 * Marshal.cs: Implement a missing Marshal.Copy overload.
178 2007-01-11 Jonathan Chambers <joncham@gmail.com>
180 * Marshal.cs: Implement Marshal.ReAllocCoTaskMem.
182 2007-01-03 Miguel de Icaza <miguel@novell.com>
184 * SafeHandle.cs: Do not use locks in SafeHandle to protect the
185 access to the refcount, use Interlocked.CompareExchange. The
186 locks were the source of problems with domain finalization when
187 this code was enabled.
189 This should fix Matt Hargett's bug report with a full `make check'
190 that reported variations of:
192 ** (../../class/lib/net_2_0/nunit-console.exe:29644): WARNING **:
193 Finalization of domain <domainname> timed out.
195 Also, it is a lot lighther.
197 2006-12-21 Miguel de Icaza <miguel@novell.com>
199 * CriticalHandle.cs: Add Dispose(bool disposing) method, and
202 2006-12-15 Gert Driesen <drieseng@users.sourceforge.net>
204 * Marshal.cs: Use SystemDefaultCharSize to determine whether to
205 use Ansi or Unicode variant of StringToCoTaskMem.
207 2006-12-15 Miguel de Icaza <miguel@novell.com>
209 * Marshal.cs (SecureStringToCoTaskMemAnsi, SecureStringToBSTR,
210 SecureStringToCoTaskMemUnicode, ZeroFreeCoTaskMemAnsi,
211 ZeroFreeCoTaskMemUnicode, ZeroFreeGlobalAllocAnsi,
212 ZeroFreeGlobalAllocUnicode): Implement.
214 (StringToCoTaskAuto): return the same as Ansi.
216 The ANSI code is out of sync with Mono, which treats ANSI as
219 Code formatting changes
221 2006-12-11 Miguel de Icaza <miguel@novell.com>
223 * SafeHandle.cs: Fix a handful of bugs, and add tests for them.
224 Only release the handle if its owned by us. Also throw
225 ObjectDisposedException's
229 DangerousAddRef will now throw an exception if the object was
232 2006-12-02 Miguel de Icaza <miguel@novell.com>
234 * SafeHandle.cs: Implement this class.
236 2006-10-06 Jonathan Chambers <joncham@gmail.com>
238 * ExtensibleClassFactory.cs: Implement RegisterObjectCreationCallback.
240 2006-08-31 Robert Jordan <robertj@gmx.net>
242 * Marshal.cs: Replaced the *Auto internal calls with managed
243 variants. Fixed SystemDefaultCharSize to return an OS dependent
246 2006-08-09 Jonathan Chambers <joncham@gmail.com>
248 * Marshal.cs: Implement GetIDispatchForObject.
250 2006-08-07 Gert Driesen <drieseng@users.sourceforge.net>
252 * Marshal.cs: Added stubs for GetTypeLibGuid (ITypeLib), GetTypeLibLcid
253 (ITypeLib), GetTypeLibName (ITypeLib).
255 2006-07-28 Jonathan Chambers <joncham@gmail.com>
257 * Marshal.cs: Implemented CreateWrapperOfType and ReleaseComObject.
259 2006-07-15 Jonathan Chambers <joncham@gmail.com>
261 * Marshal.cs: Begin implementing COM Interop. Implemented
262 AddRef, GetComInterfaceForObject, GetComObjectData, GetIUnknownForObject,
263 GetObjectForIUnknown, GetTypedObjectForIUnknown, IsComObject, QueryInterface
264 Release, SetComObjectData, and ThrowExceptionForHR.
266 2006-06-07 Jonathan Chambers <jonathan.chambers@ansys.com>
268 * Marshal.cs: Implement GetComSlotForMethodInfo
270 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
272 * Marshal.cs: Implement VARIANT marshalling methods
274 2006-05-20 Zac Bowling <zac@zacbowling.com>
275 * VarEnum.cs: ComVisible Attribute (2.0)
276 * InterfaceTypeAttribute.cs: ComVisible Attribute (2.0)
277 * UCOMITypeInfo.cs: ComImport Attribute (1.x)
278 * UCOMITypeComp.cs: ComImport Attribute (1.x)
279 * MarshalAsAttribute.cs: ComVisible Attribute (2.0)
280 * StructLayoutAttribute.cs: ComVisible Attribute (2.0)
281 * ProgIdAttribute.cs: ComVisible Attribute (2.0)
282 * PrimaryInteropAssemblyAttribute.cs: ComVisible Attribute (2.0)
283 * ImporterEventKind.cs: ComVisible Attribute (2.0)
284 * UCOMIPersistFile.cs: ComImport Attribute (1.x)
285 * SetWin32ContextInIDispatchAttribute.cs: Obselete and ComVisible
287 * IRegistrationServices.cs: ComVisible Attribute and CAS Attributes (2.0)
288 * InAttribute.cs: ComVisible Attribute (2.0)
289 * UCOMIMoniker.cs: ComImport Attribute (1.x)
290 * MarshalDirectiveException.cs: ComVisible Attribute (2.0)
291 * IDLDESC.cs: ComVisible Attribute (1.x)
292 * FUNCFLAGS.cs: ComVisible Attribute (1.x)
293 * UCOMIConnectionPointContainer.cs: ComImport Attribute (1.x)
294 * TypeLibExporterFlags.cs: ComVisible Attribute (2.0)
295 * ICustomMarshaler.cs: ComVisible Attribute (2.0)
296 * LayoutKind.cs: ComVisible Attribute (2.0) + Serializable + Clean
297 * ICustomAdapter.cs: ComVisible Attribute (2.0)
298 * UnmanagedFunctionPointerAttribute.cs: ComVisible Attribute and Param
299 Signature of UnmanagedFunctionPointerAttribute(...)
300 * FUNCKIND.cs: ComVisble Attribute (1.x)
301 * TypeLibVersionAttribute.cs: ComVisible Attribute (2.0) + Missing in
303 * TypeLibVarAttribute.cs: ComVisible Attribute (2.0)
304 * ITypeLibConverter.cs: ComVisible Attribute (2.0)
305 * UCOMIRunningObjectTable.cs: ComImport Attribute (1.x)
306 * IDispatchImplAttribute.cs: Obsolete + ComVisible Attribute (2.0)
307 * ITypeLibImporterNotifySink.cs: ComVisible Attribute (2.0)
308 * PreserveSigAttribute.cs: ComVisible Attribute (2.0)
309 * SYSKIND.cs: ComVisible Attribute (1.x)
310 * UCOMIEnumVARIANT.cs: ComImport Attribute (1.x)
311 * UCOMIEnumString.cs: ComImport Attribute (1.x) and Expose to 1.x (not
312 a 2.0 exclusive class)
313 * OutAttribute.cs: ComVisible Attribute (2.0)
314 * InvalidComObjectException.cs: ComVisible Attribute (2.0)
315 * SEHException.cs: ComVisible Attribute (2.0)
316 * UCOMIConnectionPoint.cs: ComImport Attribute (1.x)
317 * TypeLibImporterFlags.cs: ComVisible Attribute (2.0) and
319 * OptionalAttribute.cs: ComVisible Attribute (2.0)
320 * TYPEDESC.cs: ComVisible Attribute (1.x)
321 * UCOMIEnumMoniker.cs: ComImport Attribute (1.x) and Expose to 1.x
322 (not a 2.0 exclusive class)
323 * TypeLibTypeFlags.cs: ComVisible Attribute (2.0)
324 * ITypeLibExporterNotifySink.cs: ComVisible Attribute (2.0)
325 * HandleRef.cs: ComVisible.cs and add ToIntPtr (2.0)
326 * DllImportAttribute.cs: ComVisible Attribute (2.0)
327 * TypeLibTypeAttribute.cs: ComVisible Attribute (2.0)
328 * UnknownWrapper.cs: Serializable, ComVisible Attribute (2.0)
329 * IDFLAGS.cs: ComVisible Attribute (1.x only)
330 * RegistrationClassContext.cs: License + Flags attribute (2.0)
331 * GCHandle.cs: ComVisible Attribute + Operator Overrides (2.0)
332 * TypeLibImportClassAttribute.cs: ComVisible Attribute (2.0)
333 * IMPLYTPEFLAGS.cs: ComVisible Attribute (1.x)
334 * ImportedFromTypeLibAttribute.cs: ComVisible (2.0)
335 * UCOMIBindCtx.cs: Obsolete Attribute (2.0)
336 * FUNCDESC.cs: ComVisible Attribute (1.x)
337 * RegistrationConnectionType.cs: Flags Attribute (2.0)
338 * IDispatchImplType.cs: Obsolete + ComVisible Attribute (2.0)
339 * TypeLibConverter.cs: ComVisible (2.0)
340 * INVOKEKIND.cs: ComVisible Attribute (1.x)
341 * GCHandleType.cs: ComVisible Attribute (2.0) + Serializable
342 * ICustomFactory.cs: ComVisible Attribute (2.0)
343 * FieldOffsetAttribute.cs: ComVisible Attribute (2.0)
344 * LIBFLAGS.cs: ComVisible Attribute (1.x)
345 * ComSourceInterfacesAttributes.cs: ComVisible Attribute (2.0)
346 * STATSTG.cs: ComVisible Attribute (1.x)
347 * InvalidOleVariantTypeException.cs: ComVisible Attribute (2.0)
348 * TypeLibVarFlags.cs: ComVisible Attribute (2.0)
349 * TYPEFLAGS.cs: ComVisible Attribute (1.x)
350 * SafeArrayRankMismatchException.cs: ComVisible Attribute (2.0)
351 * TYPEATTR.cs: ComVisible Attribute (1.x)
352 * GuidAttribute.cs: ComVisible Attribute (2.0)
353 * UCOMIEnumConnectionPoints.cs: ComImport Attribute (1.x) + Expose to
354 1.x (not a 2.0 exclusive)
355 * SafeArrayTypeMismatchException.cs: ComVisible Attribute (2.0)
356 * ObjectCreationDelegate.cs: ComVisible Attribute (2.0)
357 * ITypeLibExporterNameProvider.cs: ComVisible Attribute (2.0) and
358 MarshelAs VarEnum Type.
359 * UCOMIStream.cs: ComImport Attribute (1.x)
360 * TypeLibFuncFlags.cs ComVisible Attribute (2.0)
361 * UnmanagedType.cs: ComVisible Attribute (2.0) + clean up
362 * UCOMIEnumConnections.cs: ComImport Attribute (1.0)
363 * LCIDConversionAttribute.cs: ComVisible Attribute (2.0)
364 * TypeLibFuncAttribute.cs: ComVisible Attribute (2.0)
366 2006-05-02 Jonathan Chambers <jonathan.chambers@ansys.com>
368 * Marshal.cs: Implement BSTR methods
370 2006-01-12 Ben Maurer <bmaurer@andrew.cmu.edu>
372 * SafeHandle.cs: Update to RTM api
374 2005-11-17 Zoltan Varga <vargaz@gmail.com>
376 * DefaultParameterValueAttribute.cs: New file.
378 2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
380 * Marshal.cs: Added null check in SecureStringTo* methods and make
381 them throw a NotSupportedException otherwise (as existing code must
382 deal with this anyway). Fixed Uni -> Unicode method name changes.
384 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
386 * UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
387 UCOMIConnectionPointContainer.cs, UCOMIEnumConnectionPoints.cs,
388 UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
389 UCOMIEnumVARIANT.cs, UCOMIMoniker.cs, UCOMIPersistFile.cs,
390 UCOMIRunningObjectTable.cs, UCOMIStream.cs, UCOMITypeComp.cs,
391 UCOMITypeInfo.cs, UCOMITypeLib.cs: Remove [ComImport] from the default
392 profile (this is new in 2.0) and reduce corcompare extras by 15.
394 2005-09-21 Kornél Pál <kornelpal@hotmail.com>
396 * UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
397 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, UnmanagedType.cs:
398 Removed UnmanagedType_80 that was required because mcs bug #75945
401 2005-08-12 Gert Driesen <drieseng@users.sourceforge.net>
403 * SetWin32ContextInIDispatchAttribute.cs: Make this attribute also
404 available in 1.0 profile (.NET 1.1).
405 * VariantWrapper.cs: Class is also exposed in .NET 1.1. Only
406 serializable in 2.0 profile.
408 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
410 * SafeHandle.cs: New file.
412 2005-08-06 Gert Driesen <drieseng@users.sourceforge.net>
414 * _Activator.cs: ComVisible should only be set in 2.0 profile.
415 Added TypeLibImportClass attribute.
416 * _Assembly.cs: ComVisible should only be set in 2.0 profile. Added
417 TypeLibImportClass attribute. Fixes InterfaceType to match MS.NET.
418 * _AssemblyBuilder.cs: ComVisible should only be set in 2.0 profile.
419 Added TypeLibImportClass attribute.
420 * _AssemblyName.cs: ComVisible should only be set in 2.0 profile.
421 Added TypeLibImportClass attribute.
422 * _Attribute.cs: ComVisible should only be set in 2.0 profile.
423 Added TypeLibImportClass attribute.
424 * _ConstructorBuilder.cs: ComVisible should only be set in 2.0 profile.
425 Added TypeLibImportClass attribute.
426 * _ConstructorInfo.cs: Fixed InterfaceType to match MS.NET. Added
427 TypeLibImportClass attribute. Added missing methods.
428 * _CustomAttributeBuilder.cs: ComVisible should only be set in 2.0 profile.
429 Added TypeLibImportClass attribute.
430 * _EnumBuilder.cs: ComVisible should only be set in 2.0 profile.
431 Added TypeLibImportClass attribute.
432 * _EventBuilder.cs: ComVisible should only be set in 2.0 profile.
433 Added TypeLibImportClass attribute.
434 * _EventInfo.cs: Fixed InterfaceType to match MS.NET. Added
435 TypeLibImportClass attribute. Added missing methods.
436 * _FieldBuilder.cs: ComVisible should only be set in 2.0 profile.
437 Added TypeLibImportClass attribute.
438 * _FieldInfo.cs: Fixed InterfaceType to match MS.NET. Added
439 TypeLibImportClass attribute. Added missing methods.
440 * _ILGenerator.cs: ComVisible should only be set in 2.0 profile.
441 Added TypeLibImportClass attribute.
442 * _LocalBuilder.cs: ComVisible should only be set in 2.0 profile.
443 Added TypeLibImportClass attribute.
444 * _MemberInfo.cs: Fixed InterfaceType to match MS.NET. Added
445 TypeLibImportClass attribute. Added missing methods.
446 * _MethodBase.cs: Fixed InterfaceType to match MS.NET. Added
447 TypeLibImportClass attribute. Added missing methods.
448 * _MethodInfo.cs: Fixed InterfaceType to match MS.NET. Added
449 TypeLibImportClass attribute. Added missing methods.
450 * _MethodBuilder.cs: ComVisible should only be set in 2.0 profile.
451 Added TypeLibImportClass attribute.
452 * _MethodRental.cs: ComVisible should only be set in 2.0 profile.
453 Added TypeLibImportClass attribute.
454 * _Module.cs: ComVisible should only be set in 2.0 profile.
455 Added TypeLibImportClass attribute.
456 * _ModuleBuilder.cs: ComVisible should only be set in 2.0 profile.
457 Added TypeLibImportClass attribute.
458 * _ParameterBuilder.cs: ComVisible should only be set in 2.0 profile.
459 Added TypeLibImportClass attribute.
460 * _ParameterInfo.cs: ComVisible should only be set in 2.0 profile.
461 Added TypeLibImportClass attribute.
462 * _PropertyBuilder.cs: ComVisible should only be setin 2.0 profile.
463 Added TypeLibImportClass attribute.
464 * _PropertyInfo.cs: Fixed InterfaceType to match MS.NET. Added
465 TypeLibImportClass attribute. Added missing methods.
466 * _SignatureHelper.cs: ComVisible should only be set in 2.0 profile.
467 Added TypeLibImportClass attribute.
468 * _Type.cs: Added TypeLibImportClass attribute. Fixed InterfaceType
469 to match MS.NET. Added missing method to match MS.NET.
470 * _Thread.cs: ComVisible should only be set in 2.0 profile.
471 Added TypeLibImportClass attribute.
472 * _TypeBuilder:cs: ComVisible should only be set in 2.0 profile.
473 Added TypeLibImportClass attribute.
474 * Marshal.cs: Removed MarshalAs attribute from parameter to fix
475 API compatibility with MS.NET.
476 * TypeLibImportClassAttribute.cs: Added.
478 2005-07-06 Zoltan Varga <vargaz@freemail.hu>
480 * GCHandle.cs: Add 2.0 FromIntPtr/ToIntPtr methods.
482 2005-06-08 Sebastien Pouliot <sebastien@ximian.com>
484 * RuntimeEnvironment.cs: I get better results when calling Demand.
486 2005-06-07 Sebastien Pouliot <sebastien@ximian.com>
488 * RuntimeEnvironment.cs: Implemented TODO. Added security for CAS.
490 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
492 * _Exception.cs: That one wasn't backported to 1.1 SP1 by MS. This
493 should fix a lot of extra reported in the API status pages.
495 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
497 * Marshal.cs: Add some missing 2.0 attributes.
499 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
502 * _ConstructorInfo.cs
510 * _Type.cs: Chance to .Net 1.1
513 * _AssemblyBuilder.cs
515 * _ConstructorBuilder.cs
516 * _CustomAttributeBuilder.cs
526 * _ParameterBuilder.cs
528 * _PropertyBuilder.cs
529 * _SignatureHelper.cs
531 * _TypeBuilder.cs: Added
533 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
535 * _Attribute.cs: New. Interface for attributes in 2.0.
537 2005-04-13 Marek Safar <marek.safar@seznam.cz>
539 * DefaultCharSetAttribute.cs: Removed useless using.
541 2005-03-31 Alp Toker <alp@atoker.com>
543 * GCHandle.cs: Clearer ArgumentException text in the case of a
544 null-valued IntPtr argument.
546 2005-03-04 Kazuki Oikawa <kazuki@panicode.com>
552 * ComDefaultInterfaceAttribute.cs
553 * ComObjectInUseException.cs
554 * ComSourceInterfacesAttribute.cs
557 * DefaultCharSetAttribute.cs
562 * ExposeAsClassToComAttribute.cs
573 * ITypeLibConverter.cs
574 * ITypeLibExporterNameProvider.cs
575 * ITypeLibExporterNotifySink.cs
579 * PrimaryInteropAssemblyAttribute.cs
587 * TypeLibExporterFlags.cs
588 * TypeLibImporterFlags.cs
590 * UCOMIConnectionPoint.cs
591 * UCOMIConnectionPointContainer.cs
592 * UCOMIEnumConnectionPoints.cs
593 * UCOMIEnumConnections.cs
594 * UCOMIEnumMoniker.cs
596 * UCOMIEnumVARIANT.cs
598 * UCOMIPersistFile.cs
599 * UCOMIRunningObjectTable.cs
604 * UnmanagedFunctionPointerAttribute.cs
607 * VariantWrapper.cs: Added missing attributes.
609 2005-03-03 Kazuki Oikawa <kazuki@panicode.com>
611 * _ConstructorInfo.cs
620 * ComDefaultInterfaceAttribute.cs
621 * ComObjectInUseException.cs
623 * DefaultCharSetAttribute.cs
624 * ExposeAsClassToComAttribute.cs
625 * RegistrationClassContext.cs
626 * RegistrationConnectionType.cs: Add
628 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
630 * UnmanagedFunctionPointerAttribute.cs: Add #region directives.
632 2005-02-21 Kazuki Oikawa <kazuki@panicode.com>
634 * BIND_OPTS.cs, CONNECTEDATA.cs, DISPPARAMS.cs, ELEMDESC.cs,
635 EXCEPINFO.cs, FILETIME.cs, FUNCDESC.cs, STATSTG.cs, TYPEATTR.cs,
636 TYPELIBATTR.cs, UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
637 UCOMIEnumConnectionPoints.cs, UCOMIEnumConnections.cs,
638 UCOMIEnumMoniker.cs, UCOMIEnumString.cs, UCOMIEnumVARIANT.cs,
639 UCOMIMoniker.cs, UCOMIPersistFile.cs, UCOMIRunningObjectTable.cs,
640 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, VARDESC.cs:
641 Corrected the order of the fields and the methods.
643 * BIND_OPTS.cs, CALLCONV.cs, FILETIME.cs, FUNCDESC.cs, FUNCFLAGS.cs,
644 FUNCKIND.cs, IDLFLAG.cs, IMPLTYPEFLAGS.cs, LIBFLAGS.cs, PARAMFLAG.cs,
645 STATSTG.cs, SYSKIND.cs, TYPEFLAGS.cs, VarEnum.cs, VARFLAGS.cs:
646 Added missing attributes.
648 Wed Feb 16 16:20:56 CET 2005 Paolo Molaro <lupus@ximian.com>
650 * GCHandle.cs: check the domain of an handle target is correct.
651 Make the unallocated value 0, since that is the default value
654 2005-02-10 Marek Safar <marek.safar@seznam.cz>
656 * TypeLibVarAttribute.cs,
657 * TypeLibTypeAttribute.cs,
658 * ComSourceInterfacesAttribute.cs: Fix AttributeUsage flags.
660 Sat Jan 29 12:48:03 CET 2005 Paolo Molaro <lupus@ximian.com>
662 * GCHandle.cs: update for runtime changes: the unallocated handle
665 2004-11-25 Raja R Harinath <rharinath@novell.com>
667 * UnmanagedType.cs (mono_bootstrap_NativeTypeMax): Rename from
668 __mono_bootstrap_NativeTypeMax. CSC doesn't like
669 [CLSCompliant(false)] on enum member.
671 2004-09-30 Zoltan Varga <vargaz@freemail.hu>
673 * Marshal.cs: Implement GetDelegateForFunctionPointer.
675 2004-09-29 Zoltan Varga <vargaz@freemail.hu>
677 * UnmanagedFunctionPointerAttribute.cs: New file.
679 * Marshal.cs: Make GetFunctionPointerForDelegate icall private.
681 * MarshalAsAttribute.cs: Add 2.0 IidParamIndex field.
683 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
685 * Marshal.cs: Add some ReliabilityContractAttributes.
687 * Marshal.cs (GetFunctionPointerForDelegate): Implement.
689 * Marshal.cs: Add stubs for missing 2.0 methods.
691 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
693 * DllImportAttribute.cs: Reorder fields and mark this class as visible
696 2004-09-08 Marek Safar <marek.safar@seznam.cz>
698 * Marshal.cs: Class is static in NET_2_0.
700 2004-07-29 Lluis Sanchez Gual <lluis@novell.com>
702 * RuntimeEnvironment.cs: Implemented SystemConfigurationFile and
705 Wed Jul 14 19:28:57 CEST 2004 Paolo Molaro <lupus@ximian.com>
707 * GCHandle.cs: throw exception if the result from AddrOfPinnedObject()
708 is -1 (special value returned by the runtime).
710 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
712 * _Exception.cs: New interface in Fx 2.0 to preserve member's order
715 2004-06-22 Raja R Harinath <rharinath@novell.com>
717 Fix bootstrap with mcs 0.31.
718 * UnmanagedType.cs (UnmanagedType.__mono_bootstrap_NativeTypeMax):
719 New bootstrap-only constant.
721 2004-06-18 Raja R Harinath <rharinath@novell.com>
723 Fix breaking build (see tests/test-272.cs). Since corlib is a
724 bootstrap library, we have to keep this fix even if the in-tree
725 mcs compiler is fixed.
726 * UCOMIEnumConnections.cs: Replace '(UnmanagedType) 80' in
727 attribute field initialization with Consts.UnmanagedType_80.
728 * UCOMIEnumMoniker.cs: Likewise.
729 * UCOMIEnumString.cs: Likewise.
730 * UCOMIStream.cs: Likewise.
731 * UCOMITypeInfo.cs: Likewise.
732 * UCOMITypeLib.cs: Likewise.
734 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
736 * BINDPTR.cs: have layout and charset match MS.NET
737 * CONNECTDATA.cs: have layout and charset match MS.NET
738 * DISPPARAMS.cs: have layout and charset match MS.NET
739 * ELEMDESC.cs: have layout and charset match MS.NET
740 * EXCEPINFO.cs: have layout and charset match MS.NET
741 * IDLDESC.cs: have layout and charset match MS.NET
742 * PARAMDESC.cs: have layout and charset match MS.NET
743 * STATSTG.cs: have layout and charset match MS.NET
744 * TYPEATTR.cs: have layout and charset match MS.NET
745 * TYPEDESC.cs: have layout and charset match MS.NET
746 * TYPELIBATTR.cs: have layout and charset match MS.NET
747 * VARDESC.cs: have layout and charset match MS.NET
749 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
751 * ArrayWithOffset.cs: fixed GetOffset to return int instead of
753 * CONNECTDATA.cs: added missing MarshalAs attribute
754 * EXCEPINFO.cs: added missing MarshalAs attributes
755 * ITypeLibConverter.cs: added missing MarshalAs attributes
756 * ITypeLibImporterNotifySink.cs: added missing MarshalAs attributes
757 * Marshal.cs: added missing MarshalAs attributues, and missing
759 * TypeLibConverter.cs: added missing MarshalAs attributes
760 * UCOMIBindCtx.cs: added missing MarshalAs attributes
761 * UCOMIConnectionPoint.cs: added missing MarshalAs attributes
762 * UCOMIEnumConnectionPoints.cs: added missing MarshalAs attributes
763 * UCOMIEnumConnections.cs: added missing PreserveSig attributes,
764 added missing MarshalAs attributes
765 * UCOMIEnumMoniker.cs: added missing PreserveSig attributes,
766 added missing MarshalAs attributes
767 * UCOMIEnumString.cs: added missing PreserveSig attributes,
768 added missing MarshalAs attributes
769 * UCOMIMoniker.cs: added missing MarshalAs attributes
770 * UCOMIPersistFile.cs: added missing PreserveSig attribute,
771 added missing MarshalAs attributes
772 * UCOMIRunningObjectTable.cs: added missing MarshalAs attributes
773 * UCOMIStream.cs: added missing MarshalAs attributes
774 * UCOMITypeComp.cs: added missing MarshalAs attributes
775 * UCOMITypeInfo.cs: added missing MarshalAs attributes
776 * UCOMITypeLib.cs: added missing PreserveSig attributes, added
777 missing MarshalAs attributes
779 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
781 * MarshalDirectiveException.cs: marked serializable to match MS.NET
782 * SafeArrayRankMismatchException.cs: marked serializable to match
784 * SafeArrayTypeMismatchException.cs: marked serializable to match
787 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
789 * InvalidComObjectException.cs: marked serializable to match MS.NET
790 * InvalidOleVarianTypeException.cs: marked serializable to match
793 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
795 * BestFitMappingAttribute.cs: removed serializable attribute
798 2004-05-30 Gert Driesen (drieseng@users.sourceforge.net)
800 * SetWin32ContextInIDispatchAttribute.cs: only build
802 * VariantWrapper.cs: only build for NET_2_0 profile
804 2004-05-29 Gert Driesen (drieseng@users.sourceforge.net)
806 * SetWin32ContextInIDispatchAttribute.cs: added
807 * VariantWrapper.cs: added
809 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
811 * AutomationProxyAttribute.cs
812 * BestFitMappingAttribute.cs
813 * ClassInterfaceAttribute.cs
814 * CoClassAttribute.cs
815 * ComAliasNameAttribute.cs
816 * ComCompatibleVersionAttribute.cs
817 * ComConversionLossAttribute.cs
818 * ComEventInterfaceAttribute.cs
819 * ComImportAttribute.cs
820 * ComRegisterFunctionAttribute.cs
821 * ComSourceInterfaceAttribute.cs
822 * ComUnregisterFunctionAttribute.cs
825 * DllImportAttribute.cs
826 * FieldOffsetAttribute.cs
828 * IDispatchImplAttribute.cs
829 * ImportedFromTypeLibAttribute.cs
831 * InterfaceTypeAttribute.cs
832 * LCIDConversionAttribute.cs
833 * MarshalAsAttribute.cs
834 * OptionalAttribute.cs
836 * PreserveSigAttribute.cs
837 * PrimaryInteropAssemblyAttribute.cs
839 * StructLayoutAttribute.cs
840 * TypeLibFuncAttribute.Cs
841 * TypeLibTypeAttribute.cs
842 * TypeLibVarAttribute.cs
843 * TypeLibVersionAttribute.cs now that Inherited is
844 false by default on AttributeUsageAttribute (as it
845 should be) we need to explicitly set Inherited to
846 false for those attributes should where it should be
849 2004-05-06 Mike Shaver <shaver@off.net>
850 * Marshal.cs: Implement StringToCoTaskMem{Ansi,Uni}
852 2004-05-05 Zoltan Varga <vargaz@freemail.hu>
854 * Marshal.cs: Applied patch from vladimir@pobox.com (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.
856 2004-01-30 Zoltan Varga <vargaz@freemail.hu>
858 * Marshal.cs: Implement AllocCoTaskMem and FreeCoTaskMem.
860 2003-11-26 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
862 * DispatchWrapper.cs: Added and implemented
863 * ErrorWrapper.cs: Fixed bug
864 * Marshal.cs: Added missing members
866 2003-11-18 Jackson Harper <jackson@ximian.com>
868 * CurrencyWrapper.cs: Fix file name.
870 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
872 * BestFitMappingAttribute.cs: Signature fix
873 * Marshal.cs: Add attribute, fix signatures
874 * MarshalAsAttribute.cs: Add head, add entry
875 * DllImportAttribute.cs: Added v1.1 entries
876 * TypeLibConverter.cs: Added, stubbed
877 * RegistrationServices.cs: Added, stubbed
878 * ExtensibleClassFactory.cs: Added, stubbed
879 * ErrorWrapper.cs: Added, implemented
880 * CurrencyWrapper.cs: Added, implemented
882 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
884 * IRegistrationServices.cs:
885 * ITypeLibConverter.cs:
886 * ITypeLibExporterNameProvider.cs:
887 * ITypeLibExporterNotifySink.cs:
888 * ITypeLibImporterNotifySink.cs: Added missing attribute
889 * UCOMIBindCtx.cs: Added missing attribute, fixed in attribute
890 * UCOMIConnectionPoint.cs:
891 * UCOMIConnectionPointContainer.cs:
892 * UCOMIEnumConnectionPoints.cs:
893 * UCOMIEnumConnections.cs:
894 * UCOMIEnumMoniker.cs:
895 * UCOMIEnumString.cs:
896 * UCOMIEnumVARIANT.cs:
898 * UCOMIPersistFile.cs:
899 * UCOMIRunningObjectTable.cs:
903 * UCOMITypeLib.cs: Added missing attribute
905 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
907 * UCOMIBindCtx.cs: Added and implemented
908 * UCOMIConnectionPoint.cs: Added and implemented
909 * UCOMIConnectionPointContainer.cs: Added and implemented
910 * UCOMIEnumConnectionPoints.cs: Added and implemented
911 * UCOMIEnumConnections.cs: Added and implemented
912 * UCOMIEnumMoniker.cs: Added and implemented
913 * UCOMIEnumString.cs: Added and implemented
914 * UCOMIEnumVARIANT.cs: Added and implemented
915 * UCOMIMoniker.cs: Added and implemented
916 * UCOMIPersistFile.cs: Added and implemented
917 * UCOMIRunningObjectTable.cs: Added and implemented
918 * UCOMIStream.cs: Added and implemented
920 * UCOMTypeComp.cs: renamed
921 * UCOMTypeInfo.cs: renamed
922 * UCOMTypeLib.cs: renamed
924 * ITypeLibConverter.cs: Fixed interface signature
926 * ComSourceInterfacesAttribute.cs: Added and implemented
927 * IDispatchImplAttribute.cs: Added and implemented
928 * InvalidComObjectException.cs: Added and implemented
929 * InvalidOleVariantTypeException.cs: Added and implemented
930 * MarshalDirectiveException.cs: Added and implemented
931 * SafeArrayRankMismatchException.cs: Added and implemented
932 * SafeArrayTypeMismatchException.cs: Added and implemented
933 * SEHException.cs: Added attribute
934 * UnknownWrapper.cs: Added and implemented
947 * VARDESC.cs: Added and implemented
952 * IDispatchImplType.cs:
959 * TypeLibImporterFlags.cs:
960 * VARFLAGS.cs: Added and implemented
962 2003-07-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
964 * ComCompatibleVersionAttribute.cs: Added and implemented
965 * TypeLibVersionAttribute.cs: Added and implemented
967 Wed Jun 18 12:49:54 CEST 2003 Paolo Molaro <lupus@ximian.com>
969 * Marshal.cs: implemented Prelink with icalls.
971 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
973 * RuntimeEnvironment.cs: New file. Stubbed by Dominik Fretz
976 2003-03-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
978 * ExternalException.cs: doesn't need a field to keep the result code.
979 * SEHException.cs: implemented.
981 2003-03-03 Tim Coleman <tim@timcoleman.com>
982 * HandleRef.cs: Add this struct
984 2003-01-05 Sebastien Pouliot <spouliot@videotron.ca>
986 * COMException.cs: New. Minimal (incomplete - i'm not using COM)
987 implementation because this is thrown when dealing with Software
988 Publisher Certificates (SPC) in X509Certificate.
990 2002-08-22 Nick Drochak <ndrochak@gol.com>
992 * OutAttribute.cs: TypeID isn't overriden from Attribute here.
993 * PInvokeMap.cs: Non-existent enum. Must be from beta days.
995 2002-06-24 root <dietmar@ximian.com>
997 * Marshal.cs: impl. Copy()
999 Fri Jun 14 16:18:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
1001 * UnmanagedType.cs, Marshal.cs: minor fixes.
1003 Wed Jun 12 16:32:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
1005 * Marshal.c: stubbed out all the methods and filled in some
1007 * BINDPTR.cs, ComMemberType.cs, DESCKIND.cs, DISPPARAMS.cs,
1008 EXCEPINFO.cs, INVOKEKIND.cs, TYPEKIND.cs, UCOMTypeInfo.cs,
1009 UCOMTypeLib.cs: enums, interfaces and structs needed in Marshal class.
1011 Tue Jun 4 18:05:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
1013 * GCHandle.cs: changed to fit spec and implementation needs.
1015 Tue May 14 16:35:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
1017 * CharSet.cs: added missing None enum item.
1019 2002-04-26 Joe Shaw <joe@ximian.com>
1021 * Marshal.cs (StructureToPtr): stub this out.
1023 2002-04-23 Joe Shaw <joe@ximian.com>
1025 * Marshal.cs: Stub out a few functions to get gtk# to build.
1027 2002-04-22 Duncan Mak <duncan@ximian.com>
1029 * ImporterEventKind.cs:
1030 * TypeLibFuncFlags.cs:
1031 * TypeLibTypeFlags.cs:
1032 * TypeLibVarFlags.cs: Fixed various typos and added missing elements.
1034 * ComConventionLossAttribute.cs: Removed, there's a typo.
1035 * ComConversionLossAttribute.cs: Same attribute, slight change of name.
1037 * PreserveSigAttribute.cs:
1038 * ImportedFromTypeLibAttribute.cs: Added missing AttributeUsage
1041 * TypeLibFuncAttribute.cs:
1042 * TypeLibTypeAttribute.cs:
1043 * TypeLibVarAttribute.cs: Added missing constructors.
1046 2002-04-22 Duncan Mak <duncan@ximian.com>
1048 * AutomationProxyAttribute.cs:
1049 * CoClassAttribute.cs:
1050 * ComAliasNameAttribute.cs:
1051 * ComConventionLossAttribute.cs:
1052 * ComEventInterfaceAttribute.cs:
1053 * ComImportAttribute.cs:
1054 * ComRegisterFunctionAttribute.cs:
1055 * ComUnregisterFunctionAttribute.cs:
1056 * DispIdAttribute.cs:
1057 * ImportedFromTypeLibAttribute.cs:
1058 * LCIDConversionAttribute.cs:
1059 * PreserveSigAttribute.cs:
1060 * PrimaryInteropAssemblyAttribute.cs:
1061 * ProgIdAttribute.cs:
1062 * TypeLibFuncAttribute.cs:
1063 * TypeLibFuncFlags.cs:
1064 * TypeLibTypeAttribute.cs:
1065 * TypeLibTypeFlags.cs:
1066 * TypeLibVarAttribute.cs:
1067 * TypeLibVarFlags.cs: Added to CVS.
1069 2002-04-08 Nick Drochak <ndrochak@gol.com>
1071 * Marshal.cs: Make class public.
1072 * ComVisible.cs: New File.
1074 2002-03-24 Nick Drochak <ndrochak@gol.com>
1076 * ClassInterfaceAttribute.cs:
1077 * ClassInterfaceType.cs: New Files.
1079 2002-02-27 Duncan Mak <duncan@ximian.com>
1081 * ExporterEventKind.cs:
1082 * ITypeLibConverter.cs:
1083 * ITypeLibImporterNotifySink.cs: Added to CVS for Kevin Winchester <kwin@ns.sympatico.ca>.
1085 2002-02-26 Duncan Mak <duncan@ximian.com>
1087 * ComInterfaceType.cs: Added to CVS.
1089 * AssemblyRegistrationFlags.cs:
1091 * ICustomAdapter.cs:
1092 * ICustomFactory.cs:
1093 * ICustomMarshaler.cs:
1094 * IRegistrationServices.cs:
1095 * ITypeLibExporterNameProvider.cs:
1096 * ITypeLibImporterNotifySink.cs:
1097 * InterfaceTypeAttribute.cs:
1098 * TypeLibExporterFlags.cs: Committed for Kevin Winchester <kwin@ns.sympatico.ca>.
1100 * GCHandle.cs: Added to CVS. Patch from Ajay kumar Dwivedi.
1102 * GCHandleType.cs: Committed patch from Ajay.
1104 * ImporterEventKind.cs: Added to CVS.
1106 2002-01-24 Miguel de Icaza <miguel@ximian.com>
1108 * StructLayoutAttribute.cs: Flag attribute as targetting structs
1111 * InAttribute.cs: Flag attribute as targettting a paramter
1113 * OutAttribute.cs: ditto.
1115 * DllImportAttribute.cs: Flag attribute as targetting methods.
1117 * MarshalAsAttribute.cs: Flag attribute as targetting fields,
1118 parameters and returnvalues.
1120 2002-01-23 Dick Porter <dick@ximian.com>
1122 * Marshal.cs: Added GetLastWin32Error()
1124 * ExternalException.cs: Implemented
1126 2002-01-17 Miguel de Icaza <miguel@ximian.com>
1128 * ExternalException.cs: Add ExternalException.
1130 2002-01-05 Ravi Pratap <ravi@ximian.com>
1132 * OutAttribute.cs : Decorate with MonoTODO.
1134 Thu Dec 20 15:46:31 CET 2001 Paolo Molaro <lupus@ximian.com>
1136 * FieldOffsetAttribute.cs, InAttribute.cs, MarshalAsAttribute.cs,
1137 OptionalAttribute.cs, StructLayoutAttribute.cs, VarEnum.cs:
1138 more stuff needed by the compiler.
1140 Thu Dec 13 20:22:18 CET 2001 Paolo Molaro <lupus@ximian.com>
1142 * DllImportAttribute.cs: added.
1143 * MethodImplOptions.cs: removed: this is already in CompilerServices.
1145 Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <lupus@ximian.com>
1147 * CallingConvention.cs: add missing Winapi.
1149 2001-07-20 Miguel de Icaza <miguel@ximian.com>
1151 * OutAttribute.cs: New file.
1153 2001-07-18 Michael Lambert <michaellambert@email.com>
1155 * CallingConvention.cs.cs, CharSet.cs, GCHandleType.cs, LayoutKind.cs: Add.