1 2007-06-22 Jonathan Chambers <joncham@gmail.com>
3 * __ComObject.cs (ThrowExceptionForHR): Implement/consolidate.
4 * __ComObject.cs (GetExceptionForHR): Implement/consolidate.
6 2007-05-11 Jonathan Chambers <joncham@gmail.com>
8 * Marshal.cs (SecureStringToBSTR): BSTR header is size in bytes,
11 2007-05-02 Jonathan Chambers <joncham@gmail.com>
13 * ExtensibleClassFactory.cs: Don't use un-implemented overload.
15 2007-05-02 Dick Porter <dick@ximian.com>
17 * _ConstructorInfo.cs:
27 * AutomationProxyAttribute.cs:
28 * BestFitMappingAttribute.cs:
30 * ClassInterfaceAttribute.cs:
31 * CoClassAttribute.cs:
32 * ComAliasNameAttribute.cs:
33 * ComCompatibleVersionAttribute.cs:
34 * ComConversionLossAttribute.cs:
35 * ComDefaultInterfaceAttribute.cs:
36 * ComEventInterfaceAttribute.cs:
38 * ComImportAttribute.cs:
39 * ComObjectInUseException.cs:
40 * ComRegisterFunctionAttribute.cs:
41 * ComUnregisterFunctionAttribute.cs:
45 * DefaultCharSetAttribute.cs:
49 * ExtensibleClassFactory.cs:
50 * ExternalException.cs:
53 * StructLayoutAttribute.cs:
54 * TypeLibConverter.cs:
66 * CallingConvention.cs:
68 * ClassInterfaceType.cs:
69 * ComInterfaceType.cs:
72 * ExporterEventKind.cs:
74 * RegistrationClassContext.cs:
76 * TypeLibImporterFlags.cs:
78 * VARFLAGS.cs: Update to 2.0 profile
80 2007-04-15 Alp Toker <alp@atoker.com>
82 * Marshal.cs: Add new 2.0 Copy() from IntPtr[] overload.
84 2007-03-12 Raja R Harinath <rharinath@novell.com>
86 * DefaultParameterValueAttribute.cs: Move to System.dll.
88 2007-02-08 Jonathan Chambers <joncham@gmail.com>
90 * Marshal.cs: Throw exceptions for AddRef, Release,
91 and QueryInterface in managed code. Implement GetComInterfaceForObject,
92 GetIDispatchForObject, GetIUnknownForObject, GetObjectForIUnknown,
93 GetObjectsForNativeVariants, IsComObject, ReleaseComObject, and
94 FinalReleaseComObject. Unimplement GetComObjectData and SetComObjectData
95 for now to save space and simplify __ComObject for now. MSDN states the
96 user should never call these methods anyway.
98 2007-01-29 Marek Habersack <grendello@gmail.com>
100 * Marshal.cs: Implement a missing Marshal.Copy overload.
102 2007-01-11 Jonathan Chambers <joncham@gmail.com>
104 * Marshal.cs: Implement Marshal.ReAllocCoTaskMem.
106 2007-01-03 Miguel de Icaza <miguel@novell.com>
108 * SafeHandle.cs: Do not use locks in SafeHandle to protect the
109 access to the refcount, use Interlocked.CompareExchange. The
110 locks were the source of problems with domain finalization when
111 this code was enabled.
113 This should fix Matt Hargett's bug report with a full `make check'
114 that reported variations of:
116 ** (../../class/lib/net_2_0/nunit-console.exe:29644): WARNING **:
117 Finalization of domain <domainname> timed out.
119 Also, it is a lot lighther.
121 2006-12-21 Miguel de Icaza <miguel@novell.com>
123 * CriticalHandle.cs: Add Dispose(bool disposing) method, and
126 2006-12-15 Gert Driesen <drieseng@users.sourceforge.net>
128 * Marshal.cs: Use SystemDefaultCharSize to determine whether to
129 use Ansi or Unicode variant of StringToCoTaskMem.
131 2006-12-15 Miguel de Icaza <miguel@novell.com>
133 * Marshal.cs (SecureStringToCoTaskMemAnsi, SecureStringToBSTR,
134 SecureStringToCoTaskMemUnicode, ZeroFreeCoTaskMemAnsi,
135 ZeroFreeCoTaskMemUnicode, ZeroFreeGlobalAllocAnsi,
136 ZeroFreeGlobalAllocUnicode): Implement.
138 (StringToCoTaskAuto): return the same as Ansi.
140 The ANSI code is out of sync with Mono, which treats ANSI as
143 Code formatting changes
145 2006-12-11 Miguel de Icaza <miguel@novell.com>
147 * SafeHandle.cs: Fix a handful of bugs, and add tests for them.
148 Only release the handle if its owned by us. Also throw
149 ObjectDisposedException's
153 DangerousAddRef will now throw an exception if the object was
156 2006-12-02 Miguel de Icaza <miguel@novell.com>
158 * SafeHandle.cs: Implement this class.
160 2006-10-06 Jonathan Chambers <joncham@gmail.com>
162 * ExtensibleClassFactory.cs: Implement RegisterObjectCreationCallback.
164 2006-08-31 Robert Jordan <robertj@gmx.net>
166 * Marshal.cs: Replaced the *Auto internal calls with managed
167 variants. Fixed SystemDefaultCharSize to return an OS dependent
170 2006-08-09 Jonathan Chambers <joncham@gmail.com>
172 * Marshal.cs: Implement GetIDispatchForObject.
174 2006-08-07 Gert Driesen <drieseng@users.sourceforge.net>
176 * Marshal.cs: Added stubs for GetTypeLibGuid (ITypeLib), GetTypeLibLcid
177 (ITypeLib), GetTypeLibName (ITypeLib).
179 2006-07-28 Jonathan Chambers <joncham@gmail.com>
181 * Marshal.cs: Implemented CreateWrapperOfType and ReleaseComObject.
183 2006-07-15 Jonathan Chambers <joncham@gmail.com>
185 * Marshal.cs: Begin implementing COM Interop. Implemented
186 AddRef, GetComInterfaceForObject, GetComObjectData, GetIUnknownForObject,
187 GetObjectForIUnknown, GetTypedObjectForIUnknown, IsComObject, QueryInterface
188 Release, SetComObjectData, and ThrowExceptionForHR.
190 2006-06-07 Jonathan Chambers <jonathan.chambers@ansys.com>
192 * Marshal.cs: Implement GetComSlotForMethodInfo
194 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
196 * Marshal.cs: Implement VARIANT marshalling methods
198 2006-05-20 Zac Bowling <zac@zacbowling.com>
199 * VarEnum.cs: ComVisible Attribute (2.0)
200 * InterfaceTypeAttribute.cs: ComVisible Attribute (2.0)
201 * UCOMITypeInfo.cs: ComImport Attribute (1.x)
202 * UCOMITypeComp.cs: ComImport Attribute (1.x)
203 * MarshalAsAttribute.cs: ComVisible Attribute (2.0)
204 * StructLayoutAttribute.cs: ComVisible Attribute (2.0)
205 * ProgIdAttribute.cs: ComVisible Attribute (2.0)
206 * PrimaryInteropAssemblyAttribute.cs: ComVisible Attribute (2.0)
207 * ImporterEventKind.cs: ComVisible Attribute (2.0)
208 * UCOMIPersistFile.cs: ComImport Attribute (1.x)
209 * SetWin32ContextInIDispatchAttribute.cs: Obselete and ComVisible
211 * IRegistrationServices.cs: ComVisible Attribute and CAS Attributes (2.0)
212 * InAttribute.cs: ComVisible Attribute (2.0)
213 * UCOMIMoniker.cs: ComImport Attribute (1.x)
214 * MarshalDirectiveException.cs: ComVisible Attribute (2.0)
215 * IDLDESC.cs: ComVisible Attribute (1.x)
216 * FUNCFLAGS.cs: ComVisible Attribute (1.x)
217 * UCOMIConnectionPointContainer.cs: ComImport Attribute (1.x)
218 * TypeLibExporterFlags.cs: ComVisible Attribute (2.0)
219 * ICustomMarshaler.cs: ComVisible Attribute (2.0)
220 * LayoutKind.cs: ComVisible Attribute (2.0) + Serializable + Clean
221 * ICustomAdapter.cs: ComVisible Attribute (2.0)
222 * UnmanagedFunctionPointerAttribute.cs: ComVisible Attribute and Param
223 Signature of UnmanagedFunctionPointerAttribute(...)
224 * FUNCKIND.cs: ComVisble Attribute (1.x)
225 * TypeLibVersionAttribute.cs: ComVisible Attribute (2.0) + Missing in
227 * TypeLibVarAttribute.cs: ComVisible Attribute (2.0)
228 * ITypeLibConverter.cs: ComVisible Attribute (2.0)
229 * UCOMIRunningObjectTable.cs: ComImport Attribute (1.x)
230 * IDispatchImplAttribute.cs: Obsolete + ComVisible Attribute (2.0)
231 * ITypeLibImporterNotifySink.cs: ComVisible Attribute (2.0)
232 * PreserveSigAttribute.cs: ComVisible Attribute (2.0)
233 * SYSKIND.cs: ComVisible Attribute (1.x)
234 * UCOMIEnumVARIANT.cs: ComImport Attribute (1.x)
235 * UCOMIEnumString.cs: ComImport Attribute (1.x) and Expose to 1.x (not
236 a 2.0 exclusive class)
237 * OutAttribute.cs: ComVisible Attribute (2.0)
238 * InvalidComObjectException.cs: ComVisible Attribute (2.0)
239 * SEHException.cs: ComVisible Attribute (2.0)
240 * UCOMIConnectionPoint.cs: ComImport Attribute (1.x)
241 * TypeLibImporterFlags.cs: ComVisible Attribute (2.0) and
243 * OptionalAttribute.cs: ComVisible Attribute (2.0)
244 * TYPEDESC.cs: ComVisible Attribute (1.x)
245 * UCOMIEnumMoniker.cs: ComImport Attribute (1.x) and Expose to 1.x
246 (not a 2.0 exclusive class)
247 * TypeLibTypeFlags.cs: ComVisible Attribute (2.0)
248 * ITypeLibExporterNotifySink.cs: ComVisible Attribute (2.0)
249 * HandleRef.cs: ComVisible.cs and add ToIntPtr (2.0)
250 * DllImportAttribute.cs: ComVisible Attribute (2.0)
251 * TypeLibTypeAttribute.cs: ComVisible Attribute (2.0)
252 * UnknownWrapper.cs: Serializable, ComVisible Attribute (2.0)
253 * IDFLAGS.cs: ComVisible Attribute (1.x only)
254 * RegistrationClassContext.cs: License + Flags attribute (2.0)
255 * GCHandle.cs: ComVisible Attribute + Operator Overrides (2.0)
256 * TypeLibImportClassAttribute.cs: ComVisible Attribute (2.0)
257 * IMPLYTPEFLAGS.cs: ComVisible Attribute (1.x)
258 * ImportedFromTypeLibAttribute.cs: ComVisible (2.0)
259 * UCOMIBindCtx.cs: Obsolete Attribute (2.0)
260 * FUNCDESC.cs: ComVisible Attribute (1.x)
261 * RegistrationConnectionType.cs: Flags Attribute (2.0)
262 * IDispatchImplType.cs: Obsolete + ComVisible Attribute (2.0)
263 * TypeLibConverter.cs: ComVisible (2.0)
264 * INVOKEKIND.cs: ComVisible Attribute (1.x)
265 * GCHandleType.cs: ComVisible Attribute (2.0) + Serializable
266 * ICustomFactory.cs: ComVisible Attribute (2.0)
267 * FieldOffsetAttribute.cs: ComVisible Attribute (2.0)
268 * LIBFLAGS.cs: ComVisible Attribute (1.x)
269 * ComSourceInterfacesAttributes.cs: ComVisible Attribute (2.0)
270 * STATSTG.cs: ComVisible Attribute (1.x)
271 * InvalidOleVariantTypeException.cs: ComVisible Attribute (2.0)
272 * TypeLibVarFlags.cs: ComVisible Attribute (2.0)
273 * TYPEFLAGS.cs: ComVisible Attribute (1.x)
274 * SafeArrayRankMismatchException.cs: ComVisible Attribute (2.0)
275 * TYPEATTR.cs: ComVisible Attribute (1.x)
276 * GuidAttribute.cs: ComVisible Attribute (2.0)
277 * UCOMIEnumConnectionPoints.cs: ComImport Attribute (1.x) + Expose to
278 1.x (not a 2.0 exclusive)
279 * SafeArrayTypeMismatchException.cs: ComVisible Attribute (2.0)
280 * ObjectCreationDelegate.cs: ComVisible Attribute (2.0)
281 * ITypeLibExporterNameProvider.cs: ComVisible Attribute (2.0) and
282 MarshelAs VarEnum Type.
283 * UCOMIStream.cs: ComImport Attribute (1.x)
284 * TypeLibFuncFlags.cs ComVisible Attribute (2.0)
285 * UnmanagedType.cs: ComVisible Attribute (2.0) + clean up
286 * UCOMIEnumConnections.cs: ComImport Attribute (1.0)
287 * LCIDConversionAttribute.cs: ComVisible Attribute (2.0)
288 * TypeLibFuncAttribute.cs: ComVisible Attribute (2.0)
290 2006-05-02 Jonathan Chambers <jonathan.chambers@ansys.com>
292 * Marshal.cs: Implement BSTR methods
294 2006-01-12 Ben Maurer <bmaurer@andrew.cmu.edu>
296 * SafeHandle.cs: Update to RTM api
298 2005-11-17 Zoltan Varga <vargaz@gmail.com>
300 * DefaultParameterValueAttribute.cs: New file.
302 2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
304 * Marshal.cs: Added null check in SecureStringTo* methods and make
305 them throw a NotSupportedException otherwise (as existing code must
306 deal with this anyway). Fixed Uni -> Unicode method name changes.
308 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
310 * UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
311 UCOMIConnectionPointContainer.cs, UCOMIEnumConnectionPoints.cs,
312 UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
313 UCOMIEnumVARIANT.cs, UCOMIMoniker.cs, UCOMIPersistFile.cs,
314 UCOMIRunningObjectTable.cs, UCOMIStream.cs, UCOMITypeComp.cs,
315 UCOMITypeInfo.cs, UCOMITypeLib.cs: Remove [ComImport] from the default
316 profile (this is new in 2.0) and reduce corcompare extras by 15.
318 2005-09-21 Kornél Pál <kornelpal@hotmail.com>
320 * UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
321 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, UnmanagedType.cs:
322 Removed UnmanagedType_80 that was required because mcs bug #75945
325 2005-08-12 Gert Driesen <drieseng@users.sourceforge.net>
327 * SetWin32ContextInIDispatchAttribute.cs: Make this attribute also
328 available in 1.0 profile (.NET 1.1).
329 * VariantWrapper.cs: Class is also exposed in .NET 1.1. Only
330 serializable in 2.0 profile.
332 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
334 * SafeHandle.cs: New file.
336 2005-08-06 Gert Driesen <drieseng@users.sourceforge.net>
338 * _Activator.cs: ComVisible should only be set in 2.0 profile.
339 Added TypeLibImportClass attribute.
340 * _Assembly.cs: ComVisible should only be set in 2.0 profile. Added
341 TypeLibImportClass attribute. Fixes InterfaceType to match MS.NET.
342 * _AssemblyBuilder.cs: ComVisible should only be set in 2.0 profile.
343 Added TypeLibImportClass attribute.
344 * _AssemblyName.cs: ComVisible should only be set in 2.0 profile.
345 Added TypeLibImportClass attribute.
346 * _Attribute.cs: ComVisible should only be set in 2.0 profile.
347 Added TypeLibImportClass attribute.
348 * _ConstructorBuilder.cs: ComVisible should only be set in 2.0 profile.
349 Added TypeLibImportClass attribute.
350 * _ConstructorInfo.cs: Fixed InterfaceType to match MS.NET. Added
351 TypeLibImportClass attribute. Added missing methods.
352 * _CustomAttributeBuilder.cs: ComVisible should only be set in 2.0 profile.
353 Added TypeLibImportClass attribute.
354 * _EnumBuilder.cs: ComVisible should only be set in 2.0 profile.
355 Added TypeLibImportClass attribute.
356 * _EventBuilder.cs: ComVisible should only be set in 2.0 profile.
357 Added TypeLibImportClass attribute.
358 * _EventInfo.cs: Fixed InterfaceType to match MS.NET. Added
359 TypeLibImportClass attribute. Added missing methods.
360 * _FieldBuilder.cs: ComVisible should only be set in 2.0 profile.
361 Added TypeLibImportClass attribute.
362 * _FieldInfo.cs: Fixed InterfaceType to match MS.NET. Added
363 TypeLibImportClass attribute. Added missing methods.
364 * _ILGenerator.cs: ComVisible should only be set in 2.0 profile.
365 Added TypeLibImportClass attribute.
366 * _LocalBuilder.cs: ComVisible should only be set in 2.0 profile.
367 Added TypeLibImportClass attribute.
368 * _MemberInfo.cs: Fixed InterfaceType to match MS.NET. Added
369 TypeLibImportClass attribute. Added missing methods.
370 * _MethodBase.cs: Fixed InterfaceType to match MS.NET. Added
371 TypeLibImportClass attribute. Added missing methods.
372 * _MethodInfo.cs: Fixed InterfaceType to match MS.NET. Added
373 TypeLibImportClass attribute. Added missing methods.
374 * _MethodBuilder.cs: ComVisible should only be set in 2.0 profile.
375 Added TypeLibImportClass attribute.
376 * _MethodRental.cs: ComVisible should only be set in 2.0 profile.
377 Added TypeLibImportClass attribute.
378 * _Module.cs: ComVisible should only be set in 2.0 profile.
379 Added TypeLibImportClass attribute.
380 * _ModuleBuilder.cs: ComVisible should only be set in 2.0 profile.
381 Added TypeLibImportClass attribute.
382 * _ParameterBuilder.cs: ComVisible should only be set in 2.0 profile.
383 Added TypeLibImportClass attribute.
384 * _ParameterInfo.cs: ComVisible should only be set in 2.0 profile.
385 Added TypeLibImportClass attribute.
386 * _PropertyBuilder.cs: ComVisible should only be setin 2.0 profile.
387 Added TypeLibImportClass attribute.
388 * _PropertyInfo.cs: Fixed InterfaceType to match MS.NET. Added
389 TypeLibImportClass attribute. Added missing methods.
390 * _SignatureHelper.cs: ComVisible should only be set in 2.0 profile.
391 Added TypeLibImportClass attribute.
392 * _Type.cs: Added TypeLibImportClass attribute. Fixed InterfaceType
393 to match MS.NET. Added missing method to match MS.NET.
394 * _Thread.cs: ComVisible should only be set in 2.0 profile.
395 Added TypeLibImportClass attribute.
396 * _TypeBuilder:cs: ComVisible should only be set in 2.0 profile.
397 Added TypeLibImportClass attribute.
398 * Marshal.cs: Removed MarshalAs attribute from parameter to fix
399 API compatibility with MS.NET.
400 * TypeLibImportClassAttribute.cs: Added.
402 2005-07-06 Zoltan Varga <vargaz@freemail.hu>
404 * GCHandle.cs: Add 2.0 FromIntPtr/ToIntPtr methods.
406 2005-06-08 Sebastien Pouliot <sebastien@ximian.com>
408 * RuntimeEnvironment.cs: I get better results when calling Demand.
410 2005-06-07 Sebastien Pouliot <sebastien@ximian.com>
412 * RuntimeEnvironment.cs: Implemented TODO. Added security for CAS.
414 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
416 * _Exception.cs: That one wasn't backported to 1.1 SP1 by MS. This
417 should fix a lot of extra reported in the API status pages.
419 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
421 * Marshal.cs: Add some missing 2.0 attributes.
423 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
426 * _ConstructorInfo.cs
434 * _Type.cs: Chance to .Net 1.1
437 * _AssemblyBuilder.cs
439 * _ConstructorBuilder.cs
440 * _CustomAttributeBuilder.cs
450 * _ParameterBuilder.cs
452 * _PropertyBuilder.cs
453 * _SignatureHelper.cs
455 * _TypeBuilder.cs: Added
457 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
459 * _Attribute.cs: New. Interface for attributes in 2.0.
461 2005-04-13 Marek Safar <marek.safar@seznam.cz>
463 * DefaultCharSetAttribute.cs: Removed useless using.
465 2005-03-31 Alp Toker <alp@atoker.com>
467 * GCHandle.cs: Clearer ArgumentException text in the case of a
468 null-valued IntPtr argument.
470 2005-03-04 Kazuki Oikawa <kazuki@panicode.com>
476 * ComDefaultInterfaceAttribute.cs
477 * ComObjectInUseException.cs
478 * ComSourceInterfacesAttribute.cs
481 * DefaultCharSetAttribute.cs
486 * ExposeAsClassToComAttribute.cs
497 * ITypeLibConverter.cs
498 * ITypeLibExporterNameProvider.cs
499 * ITypeLibExporterNotifySink.cs
503 * PrimaryInteropAssemblyAttribute.cs
511 * TypeLibExporterFlags.cs
512 * TypeLibImporterFlags.cs
514 * UCOMIConnectionPoint.cs
515 * UCOMIConnectionPointContainer.cs
516 * UCOMIEnumConnectionPoints.cs
517 * UCOMIEnumConnections.cs
518 * UCOMIEnumMoniker.cs
520 * UCOMIEnumVARIANT.cs
522 * UCOMIPersistFile.cs
523 * UCOMIRunningObjectTable.cs
528 * UnmanagedFunctionPointerAttribute.cs
531 * VariantWrapper.cs: Added missing attributes.
533 2005-03-03 Kazuki Oikawa <kazuki@panicode.com>
535 * _ConstructorInfo.cs
544 * ComDefaultInterfaceAttribute.cs
545 * ComObjectInUseException.cs
547 * DefaultCharSetAttribute.cs
548 * ExposeAsClassToComAttribute.cs
549 * RegistrationClassContext.cs
550 * RegistrationConnectionType.cs: Add
552 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
554 * UnmanagedFunctionPointerAttribute.cs: Add #region directives.
556 2005-02-21 Kazuki Oikawa <kazuki@panicode.com>
558 * BIND_OPTS.cs, CONNECTEDATA.cs, DISPPARAMS.cs, ELEMDESC.cs,
559 EXCEPINFO.cs, FILETIME.cs, FUNCDESC.cs, STATSTG.cs, TYPEATTR.cs,
560 TYPELIBATTR.cs, UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
561 UCOMIEnumConnectionPoints.cs, UCOMIEnumConnections.cs,
562 UCOMIEnumMoniker.cs, UCOMIEnumString.cs, UCOMIEnumVARIANT.cs,
563 UCOMIMoniker.cs, UCOMIPersistFile.cs, UCOMIRunningObjectTable.cs,
564 UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, VARDESC.cs:
565 Corrected the order of the fields and the methods.
567 * BIND_OPTS.cs, CALLCONV.cs, FILETIME.cs, FUNCDESC.cs, FUNCFLAGS.cs,
568 FUNCKIND.cs, IDLFLAG.cs, IMPLTYPEFLAGS.cs, LIBFLAGS.cs, PARAMFLAG.cs,
569 STATSTG.cs, SYSKIND.cs, TYPEFLAGS.cs, VarEnum.cs, VARFLAGS.cs:
570 Added missing attributes.
572 Wed Feb 16 16:20:56 CET 2005 Paolo Molaro <lupus@ximian.com>
574 * GCHandle.cs: check the domain of an handle target is correct.
575 Make the unallocated value 0, since that is the default value
578 2005-02-10 Marek Safar <marek.safar@seznam.cz>
580 * TypeLibVarAttribute.cs,
581 * TypeLibTypeAttribute.cs,
582 * ComSourceInterfacesAttribute.cs: Fix AttributeUsage flags.
584 Sat Jan 29 12:48:03 CET 2005 Paolo Molaro <lupus@ximian.com>
586 * GCHandle.cs: update for runtime changes: the unallocated handle
589 2004-11-25 Raja R Harinath <rharinath@novell.com>
591 * UnmanagedType.cs (mono_bootstrap_NativeTypeMax): Rename from
592 __mono_bootstrap_NativeTypeMax. CSC doesn't like
593 [CLSCompliant(false)] on enum member.
595 2004-09-30 Zoltan Varga <vargaz@freemail.hu>
597 * Marshal.cs: Implement GetDelegateForFunctionPointer.
599 2004-09-29 Zoltan Varga <vargaz@freemail.hu>
601 * UnmanagedFunctionPointerAttribute.cs: New file.
603 * Marshal.cs: Make GetFunctionPointerForDelegate icall private.
605 * MarshalAsAttribute.cs: Add 2.0 IidParamIndex field.
607 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
609 * Marshal.cs: Add some ReliabilityContractAttributes.
611 * Marshal.cs (GetFunctionPointerForDelegate): Implement.
613 * Marshal.cs: Add stubs for missing 2.0 methods.
615 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
617 * DllImportAttribute.cs: Reorder fields and mark this class as visible
620 2004-09-08 Marek Safar <marek.safar@seznam.cz>
622 * Marshal.cs: Class is static in NET_2_0.
624 2004-07-29 Lluis Sanchez Gual <lluis@novell.com>
626 * RuntimeEnvironment.cs: Implemented SystemConfigurationFile and
629 Wed Jul 14 19:28:57 CEST 2004 Paolo Molaro <lupus@ximian.com>
631 * GCHandle.cs: throw exception if the result from AddrOfPinnedObject()
632 is -1 (special value returned by the runtime).
634 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
636 * _Exception.cs: New interface in Fx 2.0 to preserve member's order
639 2004-06-22 Raja R Harinath <rharinath@novell.com>
641 Fix bootstrap with mcs 0.31.
642 * UnmanagedType.cs (UnmanagedType.__mono_bootstrap_NativeTypeMax):
643 New bootstrap-only constant.
645 2004-06-18 Raja R Harinath <rharinath@novell.com>
647 Fix breaking build (see tests/test-272.cs). Since corlib is a
648 bootstrap library, we have to keep this fix even if the in-tree
649 mcs compiler is fixed.
650 * UCOMIEnumConnections.cs: Replace '(UnmanagedType) 80' in
651 attribute field initialization with Consts.UnmanagedType_80.
652 * UCOMIEnumMoniker.cs: Likewise.
653 * UCOMIEnumString.cs: Likewise.
654 * UCOMIStream.cs: Likewise.
655 * UCOMITypeInfo.cs: Likewise.
656 * UCOMITypeLib.cs: Likewise.
658 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
660 * BINDPTR.cs: have layout and charset match MS.NET
661 * CONNECTDATA.cs: have layout and charset match MS.NET
662 * DISPPARAMS.cs: have layout and charset match MS.NET
663 * ELEMDESC.cs: have layout and charset match MS.NET
664 * EXCEPINFO.cs: have layout and charset match MS.NET
665 * IDLDESC.cs: have layout and charset match MS.NET
666 * PARAMDESC.cs: have layout and charset match MS.NET
667 * STATSTG.cs: have layout and charset match MS.NET
668 * TYPEATTR.cs: have layout and charset match MS.NET
669 * TYPEDESC.cs: have layout and charset match MS.NET
670 * TYPELIBATTR.cs: have layout and charset match MS.NET
671 * VARDESC.cs: have layout and charset match MS.NET
673 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
675 * ArrayWithOffset.cs: fixed GetOffset to return int instead of
677 * CONNECTDATA.cs: added missing MarshalAs attribute
678 * EXCEPINFO.cs: added missing MarshalAs attributes
679 * ITypeLibConverter.cs: added missing MarshalAs attributes
680 * ITypeLibImporterNotifySink.cs: added missing MarshalAs attributes
681 * Marshal.cs: added missing MarshalAs attributues, and missing
683 * TypeLibConverter.cs: added missing MarshalAs attributes
684 * UCOMIBindCtx.cs: added missing MarshalAs attributes
685 * UCOMIConnectionPoint.cs: added missing MarshalAs attributes
686 * UCOMIEnumConnectionPoints.cs: added missing MarshalAs attributes
687 * UCOMIEnumConnections.cs: added missing PreserveSig attributes,
688 added missing MarshalAs attributes
689 * UCOMIEnumMoniker.cs: added missing PreserveSig attributes,
690 added missing MarshalAs attributes
691 * UCOMIEnumString.cs: added missing PreserveSig attributes,
692 added missing MarshalAs attributes
693 * UCOMIMoniker.cs: added missing MarshalAs attributes
694 * UCOMIPersistFile.cs: added missing PreserveSig attribute,
695 added missing MarshalAs attributes
696 * UCOMIRunningObjectTable.cs: added missing MarshalAs attributes
697 * UCOMIStream.cs: added missing MarshalAs attributes
698 * UCOMITypeComp.cs: added missing MarshalAs attributes
699 * UCOMITypeInfo.cs: added missing MarshalAs attributes
700 * UCOMITypeLib.cs: added missing PreserveSig attributes, added
701 missing MarshalAs attributes
703 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
705 * MarshalDirectiveException.cs: marked serializable to match MS.NET
706 * SafeArrayRankMismatchException.cs: marked serializable to match
708 * SafeArrayTypeMismatchException.cs: marked serializable to match
711 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
713 * InvalidComObjectException.cs: marked serializable to match MS.NET
714 * InvalidOleVarianTypeException.cs: marked serializable to match
717 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
719 * BestFitMappingAttribute.cs: removed serializable attribute
722 2004-05-30 Gert Driesen (drieseng@users.sourceforge.net)
724 * SetWin32ContextInIDispatchAttribute.cs: only build
726 * VariantWrapper.cs: only build for NET_2_0 profile
728 2004-05-29 Gert Driesen (drieseng@users.sourceforge.net)
730 * SetWin32ContextInIDispatchAttribute.cs: added
731 * VariantWrapper.cs: added
733 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
735 * AutomationProxyAttribute.cs
736 * BestFitMappingAttribute.cs
737 * ClassInterfaceAttribute.cs
738 * CoClassAttribute.cs
739 * ComAliasNameAttribute.cs
740 * ComCompatibleVersionAttribute.cs
741 * ComConversionLossAttribute.cs
742 * ComEventInterfaceAttribute.cs
743 * ComImportAttribute.cs
744 * ComRegisterFunctionAttribute.cs
745 * ComSourceInterfaceAttribute.cs
746 * ComUnregisterFunctionAttribute.cs
749 * DllImportAttribute.cs
750 * FieldOffsetAttribute.cs
752 * IDispatchImplAttribute.cs
753 * ImportedFromTypeLibAttribute.cs
755 * InterfaceTypeAttribute.cs
756 * LCIDConversionAttribute.cs
757 * MarshalAsAttribute.cs
758 * OptionalAttribute.cs
760 * PreserveSigAttribute.cs
761 * PrimaryInteropAssemblyAttribute.cs
763 * StructLayoutAttribute.cs
764 * TypeLibFuncAttribute.Cs
765 * TypeLibTypeAttribute.cs
766 * TypeLibVarAttribute.cs
767 * TypeLibVersionAttribute.cs now that Inherited is
768 false by default on AttributeUsageAttribute (as it
769 should be) we need to explicitly set Inherited to
770 false for those attributes should where it should be
773 2004-05-06 Mike Shaver <shaver@off.net>
774 * Marshal.cs: Implement StringToCoTaskMem{Ansi,Uni}
776 2004-05-05 Zoltan Varga <vargaz@freemail.hu>
778 * Marshal.cs: Applied patch from vladimir@pobox.com (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.
780 2004-01-30 Zoltan Varga <vargaz@freemail.hu>
782 * Marshal.cs: Implement AllocCoTaskMem and FreeCoTaskMem.
784 2003-11-26 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
786 * DispatchWrapper.cs: Added and implemented
787 * ErrorWrapper.cs: Fixed bug
788 * Marshal.cs: Added missing members
790 2003-11-18 Jackson Harper <jackson@ximian.com>
792 * CurrencyWrapper.cs: Fix file name.
794 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
796 * BestFitMappingAttribute.cs: Signature fix
797 * Marshal.cs: Add attribute, fix signatures
798 * MarshalAsAttribute.cs: Add head, add entry
799 * DllImportAttribute.cs: Added v1.1 entries
800 * TypeLibConverter.cs: Added, stubbed
801 * RegistrationServices.cs: Added, stubbed
802 * ExtensibleClassFactory.cs: Added, stubbed
803 * ErrorWrapper.cs: Added, implemented
804 * CurrencyWrapper.cs: Added, implemented
806 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
808 * IRegistrationServices.cs:
809 * ITypeLibConverter.cs:
810 * ITypeLibExporterNameProvider.cs:
811 * ITypeLibExporterNotifySink.cs:
812 * ITypeLibImporterNotifySink.cs: Added missing attribute
813 * UCOMIBindCtx.cs: Added missing attribute, fixed in attribute
814 * UCOMIConnectionPoint.cs:
815 * UCOMIConnectionPointContainer.cs:
816 * UCOMIEnumConnectionPoints.cs:
817 * UCOMIEnumConnections.cs:
818 * UCOMIEnumMoniker.cs:
819 * UCOMIEnumString.cs:
820 * UCOMIEnumVARIANT.cs:
822 * UCOMIPersistFile.cs:
823 * UCOMIRunningObjectTable.cs:
827 * UCOMITypeLib.cs: Added missing attribute
829 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
831 * UCOMIBindCtx.cs: Added and implemented
832 * UCOMIConnectionPoint.cs: Added and implemented
833 * UCOMIConnectionPointContainer.cs: Added and implemented
834 * UCOMIEnumConnectionPoints.cs: Added and implemented
835 * UCOMIEnumConnections.cs: Added and implemented
836 * UCOMIEnumMoniker.cs: Added and implemented
837 * UCOMIEnumString.cs: Added and implemented
838 * UCOMIEnumVARIANT.cs: Added and implemented
839 * UCOMIMoniker.cs: Added and implemented
840 * UCOMIPersistFile.cs: Added and implemented
841 * UCOMIRunningObjectTable.cs: Added and implemented
842 * UCOMIStream.cs: Added and implemented
844 * UCOMTypeComp.cs: renamed
845 * UCOMTypeInfo.cs: renamed
846 * UCOMTypeLib.cs: renamed
848 * ITypeLibConverter.cs: Fixed interface signature
850 * ComSourceInterfacesAttribute.cs: Added and implemented
851 * IDispatchImplAttribute.cs: Added and implemented
852 * InvalidComObjectException.cs: Added and implemented
853 * InvalidOleVariantTypeException.cs: Added and implemented
854 * MarshalDirectiveException.cs: Added and implemented
855 * SafeArrayRankMismatchException.cs: Added and implemented
856 * SafeArrayTypeMismatchException.cs: Added and implemented
857 * SEHException.cs: Added attribute
858 * UnknownWrapper.cs: Added and implemented
871 * VARDESC.cs: Added and implemented
876 * IDispatchImplType.cs:
883 * TypeLibImporterFlags.cs:
884 * VARFLAGS.cs: Added and implemented
886 2003-07-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
888 * ComCompatibleVersionAttribute.cs: Added and implemented
889 * TypeLibVersionAttribute.cs: Added and implemented
891 Wed Jun 18 12:49:54 CEST 2003 Paolo Molaro <lupus@ximian.com>
893 * Marshal.cs: implemented Prelink with icalls.
895 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
897 * RuntimeEnvironment.cs: New file. Stubbed by Dominik Fretz
900 2003-03-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
902 * ExternalException.cs: doesn't need a field to keep the result code.
903 * SEHException.cs: implemented.
905 2003-03-03 Tim Coleman <tim@timcoleman.com>
906 * HandleRef.cs: Add this struct
908 2003-01-05 Sebastien Pouliot <spouliot@videotron.ca>
910 * COMException.cs: New. Minimal (incomplete - i'm not using COM)
911 implementation because this is thrown when dealing with Software
912 Publisher Certificates (SPC) in X509Certificate.
914 2002-08-22 Nick Drochak <ndrochak@gol.com>
916 * OutAttribute.cs: TypeID isn't overriden from Attribute here.
917 * PInvokeMap.cs: Non-existent enum. Must be from beta days.
919 2002-06-24 root <dietmar@ximian.com>
921 * Marshal.cs: impl. Copy()
923 Fri Jun 14 16:18:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
925 * UnmanagedType.cs, Marshal.cs: minor fixes.
927 Wed Jun 12 16:32:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
929 * Marshal.c: stubbed out all the methods and filled in some
931 * BINDPTR.cs, ComMemberType.cs, DESCKIND.cs, DISPPARAMS.cs,
932 EXCEPINFO.cs, INVOKEKIND.cs, TYPEKIND.cs, UCOMTypeInfo.cs,
933 UCOMTypeLib.cs: enums, interfaces and structs needed in Marshal class.
935 Tue Jun 4 18:05:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
937 * GCHandle.cs: changed to fit spec and implementation needs.
939 Tue May 14 16:35:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
941 * CharSet.cs: added missing None enum item.
943 2002-04-26 Joe Shaw <joe@ximian.com>
945 * Marshal.cs (StructureToPtr): stub this out.
947 2002-04-23 Joe Shaw <joe@ximian.com>
949 * Marshal.cs: Stub out a few functions to get gtk# to build.
951 2002-04-22 Duncan Mak <duncan@ximian.com>
953 * ImporterEventKind.cs:
954 * TypeLibFuncFlags.cs:
955 * TypeLibTypeFlags.cs:
956 * TypeLibVarFlags.cs: Fixed various typos and added missing elements.
958 * ComConventionLossAttribute.cs: Removed, there's a typo.
959 * ComConversionLossAttribute.cs: Same attribute, slight change of name.
961 * PreserveSigAttribute.cs:
962 * ImportedFromTypeLibAttribute.cs: Added missing AttributeUsage
965 * TypeLibFuncAttribute.cs:
966 * TypeLibTypeAttribute.cs:
967 * TypeLibVarAttribute.cs: Added missing constructors.
970 2002-04-22 Duncan Mak <duncan@ximian.com>
972 * AutomationProxyAttribute.cs:
973 * CoClassAttribute.cs:
974 * ComAliasNameAttribute.cs:
975 * ComConventionLossAttribute.cs:
976 * ComEventInterfaceAttribute.cs:
977 * ComImportAttribute.cs:
978 * ComRegisterFunctionAttribute.cs:
979 * ComUnregisterFunctionAttribute.cs:
980 * DispIdAttribute.cs:
981 * ImportedFromTypeLibAttribute.cs:
982 * LCIDConversionAttribute.cs:
983 * PreserveSigAttribute.cs:
984 * PrimaryInteropAssemblyAttribute.cs:
985 * ProgIdAttribute.cs:
986 * TypeLibFuncAttribute.cs:
987 * TypeLibFuncFlags.cs:
988 * TypeLibTypeAttribute.cs:
989 * TypeLibTypeFlags.cs:
990 * TypeLibVarAttribute.cs:
991 * TypeLibVarFlags.cs: Added to CVS.
993 2002-04-08 Nick Drochak <ndrochak@gol.com>
995 * Marshal.cs: Make class public.
996 * ComVisible.cs: New File.
998 2002-03-24 Nick Drochak <ndrochak@gol.com>
1000 * ClassInterfaceAttribute.cs:
1001 * ClassInterfaceType.cs: New Files.
1003 2002-02-27 Duncan Mak <duncan@ximian.com>
1005 * ExporterEventKind.cs:
1006 * ITypeLibConverter.cs:
1007 * ITypeLibImporterNotifySink.cs: Added to CVS for Kevin Winchester <kwin@ns.sympatico.ca>.
1009 2002-02-26 Duncan Mak <duncan@ximian.com>
1011 * ComInterfaceType.cs: Added to CVS.
1013 * AssemblyRegistrationFlags.cs:
1015 * ICustomAdapter.cs:
1016 * ICustomFactory.cs:
1017 * ICustomMarshaler.cs:
1018 * IRegistrationServices.cs:
1019 * ITypeLibExporterNameProvider.cs:
1020 * ITypeLibImporterNotifySink.cs:
1021 * InterfaceTypeAttribute.cs:
1022 * TypeLibExporterFlags.cs: Committed for Kevin Winchester <kwin@ns.sympatico.ca>.
1024 * GCHandle.cs: Added to CVS. Patch from Ajay kumar Dwivedi.
1026 * GCHandleType.cs: Committed patch from Ajay.
1028 * ImporterEventKind.cs: Added to CVS.
1030 2002-01-24 Miguel de Icaza <miguel@ximian.com>
1032 * StructLayoutAttribute.cs: Flag attribute as targetting structs
1035 * InAttribute.cs: Flag attribute as targettting a paramter
1037 * OutAttribute.cs: ditto.
1039 * DllImportAttribute.cs: Flag attribute as targetting methods.
1041 * MarshalAsAttribute.cs: Flag attribute as targetting fields,
1042 parameters and returnvalues.
1044 2002-01-23 Dick Porter <dick@ximian.com>
1046 * Marshal.cs: Added GetLastWin32Error()
1048 * ExternalException.cs: Implemented
1050 2002-01-17 Miguel de Icaza <miguel@ximian.com>
1052 * ExternalException.cs: Add ExternalException.
1054 2002-01-05 Ravi Pratap <ravi@ximian.com>
1056 * OutAttribute.cs : Decorate with MonoTODO.
1058 Thu Dec 20 15:46:31 CET 2001 Paolo Molaro <lupus@ximian.com>
1060 * FieldOffsetAttribute.cs, InAttribute.cs, MarshalAsAttribute.cs,
1061 OptionalAttribute.cs, StructLayoutAttribute.cs, VarEnum.cs:
1062 more stuff needed by the compiler.
1064 Thu Dec 13 20:22:18 CET 2001 Paolo Molaro <lupus@ximian.com>
1066 * DllImportAttribute.cs: added.
1067 * MethodImplOptions.cs: removed: this is already in CompilerServices.
1069 Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <lupus@ximian.com>
1071 * CallingConvention.cs: add missing Winapi.
1073 2001-07-20 Miguel de Icaza <miguel@ximian.com>
1075 * OutAttribute.cs: New file.
1077 2001-07-18 Michael Lambert <michaellambert@email.com>
1079 * CallingConvention.cs.cs, CharSet.cs, GCHandleType.cs, LayoutKind.cs: Add.