New test.
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / ChangeLog
1 2006-08-31 Robert Jordan  <robertj@gmx.net>
2
3         * Marshal.cs: Replaced the *Auto internal calls with managed
4         variants. Fixed SystemDefaultCharSize to return an OS dependent
5         value.
6
7 2006-08-09  Jonathan Chambers  <joncham@gmail.com>
8
9         * Marshal.cs: Implement GetIDispatchForObject.
10         
11 2006-08-07  Gert Driesen  <drieseng@users.sourceforge.net>
12
13         * Marshal.cs: Added stubs for GetTypeLibGuid (ITypeLib), GetTypeLibLcid
14         (ITypeLib), GetTypeLibName (ITypeLib).
15
16 2006-07-28  Jonathan Chambers  <joncham@gmail.com>
17
18         * Marshal.cs: Implemented CreateWrapperOfType and ReleaseComObject.
19         
20 2006-07-15  Jonathan Chambers  <joncham@gmail.com>
21
22         * Marshal.cs: Begin implementing COM Interop. Implemented
23         AddRef, GetComInterfaceForObject, GetComObjectData, GetIUnknownForObject,
24         GetObjectForIUnknown, GetTypedObjectForIUnknown, IsComObject, QueryInterface
25         Release, SetComObjectData, and ThrowExceptionForHR.
26         
27 2006-06-07  Jonathan Chambers  <jonathan.chambers@ansys.com>
28
29         * Marshal.cs: Implement GetComSlotForMethodInfo
30
31 2006-06-05  Jonathan Chambers  <jonathan.chambers@ansys.com>
32
33         * Marshal.cs: Implement VARIANT marshalling methods
34
35 2006-05-20  Zac Bowling <zac@zacbowling.com>
36         * VarEnum.cs: ComVisible Attribute (2.0)
37         * InterfaceTypeAttribute.cs: ComVisible Attribute (2.0)
38         * UCOMITypeInfo.cs: ComImport Attribute (1.x)
39         * UCOMITypeComp.cs: ComImport Attribute (1.x)
40         * MarshalAsAttribute.cs: ComVisible Attribute (2.0)
41         * StructLayoutAttribute.cs: ComVisible Attribute (2.0)
42         * ProgIdAttribute.cs: ComVisible Attribute (2.0)
43         * PrimaryInteropAssemblyAttribute.cs: ComVisible Attribute (2.0)
44         * ImporterEventKind.cs: ComVisible Attribute (2.0)
45         * UCOMIPersistFile.cs: ComImport Attribute (1.x)
46         * SetWin32ContextInIDispatchAttribute.cs: Obselete and ComVisible
47         Attribute (2.0)
48         * IRegistrationServices.cs: ComVisible Attribute and CAS Attributes (2.0)
49         * InAttribute.cs: ComVisible Attribute (2.0)
50         * UCOMIMoniker.cs: ComImport Attribute (1.x)
51         * MarshalDirectiveException.cs: ComVisible Attribute (2.0)
52         * IDLDESC.cs: ComVisible Attribute (1.x)
53         * FUNCFLAGS.cs: ComVisible Attribute (1.x)
54         * UCOMIConnectionPointContainer.cs: ComImport Attribute (1.x)
55         * TypeLibExporterFlags.cs: ComVisible Attribute (2.0)
56         * ICustomMarshaler.cs: ComVisible Attribute (2.0)
57         * LayoutKind.cs: ComVisible Attribute (2.0) + Serializable + Clean
58         * ICustomAdapter.cs: ComVisible Attribute (2.0)
59         * UnmanagedFunctionPointerAttribute.cs: ComVisible Attribute and Param
60         Signature of UnmanagedFunctionPointerAttribute(...)
61         * FUNCKIND.cs: ComVisble Attribute (1.x)
62         * TypeLibVersionAttribute.cs: ComVisible Attribute (2.0) + Missing in
63         2.0
64         * TypeLibVarAttribute.cs: ComVisible Attribute (2.0)
65         * ITypeLibConverter.cs: ComVisible Attribute (2.0)
66         * UCOMIRunningObjectTable.cs: ComImport Attribute (1.x)
67         * IDispatchImplAttribute.cs: Obsolete + ComVisible Attribute (2.0)
68         * ITypeLibImporterNotifySink.cs: ComVisible Attribute (2.0)
69         * PreserveSigAttribute.cs: ComVisible Attribute (2.0)
70         * SYSKIND.cs: ComVisible Attribute (1.x) 
71         * UCOMIEnumVARIANT.cs: ComImport Attribute (1.x)
72         * UCOMIEnumString.cs: ComImport Attribute (1.x) and Expose to 1.x (not
73         a 2.0 exclusive class)
74         * OutAttribute.cs: ComVisible Attribute (2.0)
75         * InvalidComObjectException.cs: ComVisible Attribute (2.0)
76         * SEHException.cs: ComVisible Attribute (2.0)
77         * UCOMIConnectionPoint.cs: ComImport Attribute (1.x)
78         * TypeLibImporterFlags.cs: ComVisible Attribute (2.0) and
79         Serializable
80         * OptionalAttribute.cs: ComVisible Attribute (2.0)
81         * TYPEDESC.cs: ComVisible Attribute (1.x)
82         * UCOMIEnumMoniker.cs: ComImport Attribute (1.x) and Expose to 1.x
83         (not a 2.0 exclusive class)
84         * TypeLibTypeFlags.cs: ComVisible Attribute (2.0)
85         * ITypeLibExporterNotifySink.cs: ComVisible Attribute (2.0)
86         * HandleRef.cs: ComVisible.cs and add ToIntPtr (2.0)
87         * DllImportAttribute.cs: ComVisible Attribute (2.0)
88         * TypeLibTypeAttribute.cs: ComVisible Attribute (2.0)
89         * UnknownWrapper.cs: Serializable, ComVisible Attribute (2.0)
90         * IDFLAGS.cs: ComVisible Attribute (1.x only)
91         * RegistrationClassContext.cs: License + Flags attribute (2.0)
92         * GCHandle.cs: ComVisible Attribute + Operator Overrides (2.0)
93         * TypeLibImportClassAttribute.cs: ComVisible Attribute (2.0)
94         * IMPLYTPEFLAGS.cs: ComVisible Attribute (1.x)
95         * ImportedFromTypeLibAttribute.cs: ComVisible (2.0)
96         * UCOMIBindCtx.cs: Obsolete Attribute (2.0)
97         * FUNCDESC.cs: ComVisible Attribute (1.x)
98         * RegistrationConnectionType.cs: Flags Attribute (2.0)
99         * IDispatchImplType.cs: Obsolete + ComVisible Attribute (2.0)
100         * TypeLibConverter.cs: ComVisible (2.0)
101         * INVOKEKIND.cs: ComVisible Attribute (1.x)
102         * GCHandleType.cs: ComVisible Attribute (2.0) + Serializable
103         * ICustomFactory.cs: ComVisible Attribute (2.0)
104         * FieldOffsetAttribute.cs: ComVisible Attribute (2.0)
105         * LIBFLAGS.cs: ComVisible Attribute (1.x)
106         * ComSourceInterfacesAttributes.cs: ComVisible Attribute (2.0)
107         * STATSTG.cs: ComVisible Attribute (1.x)
108         * InvalidOleVariantTypeException.cs: ComVisible Attribute (2.0)
109         * TypeLibVarFlags.cs: ComVisible Attribute (2.0)
110         * TYPEFLAGS.cs: ComVisible Attribute (1.x)
111         * SafeArrayRankMismatchException.cs: ComVisible Attribute (2.0)
112         * TYPEATTR.cs: ComVisible Attribute (1.x)
113         * GuidAttribute.cs: ComVisible Attribute (2.0)
114         * UCOMIEnumConnectionPoints.cs: ComImport Attribute (1.x) + Expose to
115         1.x (not a 2.0 exclusive)
116         * SafeArrayTypeMismatchException.cs: ComVisible Attribute (2.0)
117         * ObjectCreationDelegate.cs: ComVisible Attribute (2.0)
118         * ITypeLibExporterNameProvider.cs: ComVisible Attribute (2.0) and
119         MarshelAs VarEnum Type.
120         * UCOMIStream.cs: ComImport Attribute (1.x)
121         * TypeLibFuncFlags.cs ComVisible Attribute (2.0)
122         * UnmanagedType.cs: ComVisible Attribute (2.0) + clean up
123         * UCOMIEnumConnections.cs: ComImport Attribute (1.0)
124         * LCIDConversionAttribute.cs: ComVisible Attribute (2.0)
125         * TypeLibFuncAttribute.cs: ComVisible Attribute (2.0)
126
127 2006-05-02  Jonathan Chambers  <jonathan.chambers@ansys.com>
128
129         * Marshal.cs: Implement BSTR methods
130
131 2006-01-12  Ben Maurer  <bmaurer@andrew.cmu.edu>
132
133         * SafeHandle.cs: Update to RTM api
134
135 2005-11-17  Zoltan Varga  <vargaz@gmail.com>
136
137         * DefaultParameterValueAttribute.cs: New file.
138
139 2005-10-28  Sebastien Pouliot  <sebastien@ximian.com>
140
141         * Marshal.cs: Added null check in SecureStringTo* methods and make 
142         them throw a NotSupportedException otherwise (as existing code must
143         deal with this anyway). Fixed Uni -> Unicode method name changes.
144
145 2005-09-25  Sebastien Pouliot  <sebastien@ximian.com>
146
147         * UCOMIBindCtx.cs, UCOMIConnectionPoint.cs, 
148         UCOMIConnectionPointContainer.cs, UCOMIEnumConnectionPoints.cs,
149         UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
150         UCOMIEnumVARIANT.cs, UCOMIMoniker.cs, UCOMIPersistFile.cs, 
151         UCOMIRunningObjectTable.cs, UCOMIStream.cs, UCOMITypeComp.cs,
152         UCOMITypeInfo.cs, UCOMITypeLib.cs: Remove [ComImport] from the default
153         profile (this is new in 2.0) and reduce corcompare extras by 15.
154
155 2005-09-21  Kornél Pál  <kornelpal@hotmail.com>
156
157         * UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
158           UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, UnmanagedType.cs:
159           Removed UnmanagedType_80 that was required because mcs bug #75945
160           was not discovered.
161
162 2005-08-12  Gert Driesen  <drieseng@users.sourceforge.net>
163
164         * SetWin32ContextInIDispatchAttribute.cs: Make this attribute also
165         available in 1.0 profile (.NET 1.1).
166         * VariantWrapper.cs: Class is also exposed in .NET 1.1. Only 
167         serializable in 2.0 profile.
168
169 2005-08-10  Zoltan Varga  <vargaz@freemail.hu>
170
171         * SafeHandle.cs: New file.
172
173 2005-08-06  Gert Driesen  <drieseng@users.sourceforge.net>
174
175         * _Activator.cs: ComVisible should only be set in 2.0 profile.
176         Added TypeLibImportClass attribute.
177         * _Assembly.cs: ComVisible should only be set in 2.0 profile. Added
178         TypeLibImportClass attribute. Fixes InterfaceType to match MS.NET.
179         * _AssemblyBuilder.cs: ComVisible should only be set in 2.0 profile.
180         Added TypeLibImportClass attribute.
181         * _AssemblyName.cs: ComVisible should only be set in 2.0 profile.
182         Added TypeLibImportClass attribute.
183         * _Attribute.cs: ComVisible should only be set in 2.0 profile.
184         Added TypeLibImportClass attribute.
185         * _ConstructorBuilder.cs: ComVisible should only be set in 2.0 profile.
186         Added TypeLibImportClass attribute.
187         * _ConstructorInfo.cs: Fixed InterfaceType to match MS.NET. Added
188         TypeLibImportClass attribute. Added missing methods.
189         * _CustomAttributeBuilder.cs: ComVisible should only be set in 2.0 profile.
190         Added TypeLibImportClass attribute.
191         * _EnumBuilder.cs: ComVisible should only be set in 2.0 profile.
192         Added TypeLibImportClass attribute.
193         * _EventBuilder.cs: ComVisible should only be set in 2.0 profile.
194         Added TypeLibImportClass attribute.
195         * _EventInfo.cs: Fixed InterfaceType to match MS.NET. Added
196         TypeLibImportClass attribute. Added missing methods.
197         * _FieldBuilder.cs: ComVisible should only be set in 2.0 profile.
198         Added TypeLibImportClass attribute.
199         * _FieldInfo.cs: Fixed InterfaceType to match MS.NET. Added
200         TypeLibImportClass attribute. Added missing methods.
201         * _ILGenerator.cs: ComVisible should only be set in 2.0 profile.
202         Added TypeLibImportClass attribute.
203         * _LocalBuilder.cs: ComVisible should only be set in 2.0 profile.
204         Added TypeLibImportClass attribute.
205         * _MemberInfo.cs: Fixed InterfaceType to match MS.NET. Added
206         TypeLibImportClass attribute. Added missing methods. 
207         * _MethodBase.cs: Fixed InterfaceType to match MS.NET. Added
208         TypeLibImportClass attribute. Added missing methods.
209         * _MethodInfo.cs: Fixed InterfaceType to match MS.NET. Added
210         TypeLibImportClass attribute. Added missing methods.
211         * _MethodBuilder.cs: ComVisible should only be set in 2.0 profile.
212         Added TypeLibImportClass attribute.
213         * _MethodRental.cs: ComVisible should only be set in 2.0 profile.
214         Added TypeLibImportClass attribute.
215         * _Module.cs: ComVisible should only be set in 2.0 profile.
216         Added TypeLibImportClass attribute.
217         * _ModuleBuilder.cs: ComVisible should only be set in 2.0 profile.
218         Added TypeLibImportClass attribute.
219         * _ParameterBuilder.cs: ComVisible should only be set in 2.0 profile.
220         Added TypeLibImportClass attribute.
221         * _ParameterInfo.cs: ComVisible should only be set in 2.0 profile.
222         Added TypeLibImportClass attribute.
223         * _PropertyBuilder.cs: ComVisible should only be setin 2.0 profile.
224         Added TypeLibImportClass attribute.
225         * _PropertyInfo.cs: Fixed InterfaceType to match MS.NET. Added
226         TypeLibImportClass attribute. Added missing methods.
227         * _SignatureHelper.cs: ComVisible should only be set in 2.0 profile.
228         Added TypeLibImportClass attribute.
229         * _Type.cs: Added TypeLibImportClass attribute. Fixed InterfaceType 
230         to match MS.NET. Added missing method to match MS.NET.
231         * _Thread.cs: ComVisible should only be set in 2.0 profile.
232         Added TypeLibImportClass attribute.
233         * _TypeBuilder:cs: ComVisible should only be set in 2.0 profile.
234         Added TypeLibImportClass attribute.
235         * Marshal.cs: Removed MarshalAs attribute from parameter to fix
236         API compatibility with MS.NET.
237         * TypeLibImportClassAttribute.cs: Added.
238
239 2005-07-06  Zoltan Varga  <vargaz@freemail.hu>
240
241         * GCHandle.cs: Add 2.0 FromIntPtr/ToIntPtr methods.
242
243 2005-06-08  Sebastien Pouliot  <sebastien@ximian.com>
244
245         * RuntimeEnvironment.cs: I get better results when calling Demand.
246
247 2005-06-07  Sebastien Pouliot  <sebastien@ximian.com>
248
249         * RuntimeEnvironment.cs: Implemented TODO. Added security for CAS.
250
251 2005-06-06  Sebastien Pouliot  <sebastien@ximian.com>
252
253         * _Exception.cs: That one wasn't backported to 1.1 SP1 by MS. This
254         should fix a lot of extra reported in the API status pages.
255
256 2005-06-06  Zoltan Varga  <vargaz@freemail.hu>
257
258         * Marshal.cs: Add some missing 2.0 attributes.
259
260 2005-05-15  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>
261
262         * _Attribute.cs
263         * _ConstructorInfo.cs
264         * _EventInfo.cs
265         * _Exception.cs
266         * _FieldInfo.cs
267         * _MemberInfo.cs
268         * _MethodBase.cs
269         * _MethodInfo.cs
270         * _PropertyInfo.cs
271         * _Type.cs: Chance to .Net 1.1
272         * _Activator.cs
273         * _Assembly.cs
274         * _AssemblyBuilder.cs
275         * _AssemblyName.cs
276         * _ConstructorBuilder.cs
277         * _CustomAttributeBuilder.cs
278         * _EnumBuilder.cs
279         * _EventBuilder.cs
280         * _FieldBuilder.cs
281         * _ILGenerator.cs
282         * _LocalBuilder.cs
283         * _MethodBuilder.cs
284         * _MethodRental.cs
285         * _Module.cs
286         * _ModuleBuilder.cs
287         * _ParameterBuilder.cs
288         * _ParameterInfo.cs
289         * _PropertyBuilder.cs
290         * _SignatureHelper.cs
291         * _Thread.cs
292         * _TypeBuilder.cs: Added
293
294 2005-04-22  Sebastien Pouliot  <sebastien@ximian.com>
295
296         * _Attribute.cs: New. Interface for attributes in 2.0.
297
298 2005-04-13  Marek Safar  <marek.safar@seznam.cz>
299
300         * DefaultCharSetAttribute.cs: Removed useless using.
301
302 2005-03-31  Alp Toker  <alp@atoker.com>
303
304         * GCHandle.cs: Clearer ArgumentException text in the case of a
305         null-valued IntPtr argument.
306
307 2005-03-04  Kazuki Oikawa  <kazuki@panicode.com>
308
309         * _Exception.cs
310         * BIND_OPTS.cs
311         * BINDPTR.cs
312         * CALLCONV.cs
313         * ComDefaultInterfaceAttribute.cs
314         * ComObjectInUseException.cs
315         * ComSourceInterfacesAttribute.cs
316         * CONNECTDATA.cs
317         * CriticalHandle.cs
318         * DefaultCharSetAttribute.cs
319         * DESCKIND.cs
320         * DISPPARAMS.cs
321         * ELEMDESC.cs
322         * EXCEPINFO.cs
323         * ExposeAsClassToComAttribute.cs
324         * FILETIME.cs
325         * FUNCDESC.cs
326         * FUNCFLAGS.cs
327         * FUNCKIND.cs
328         * GCHandle.cs
329         * ICustomAdapter.cs
330         * IDLDESC.cs
331         * IDLFLAG.cs
332         * IMPLTYPEFLAGS.cs
333         * INVOKEKIND.cs
334         * ITypeLibConverter.cs
335         * ITypeLibExporterNameProvider.cs
336         * ITypeLibExporterNotifySink.cs
337         * LIBFLAGS.cs
338         * PARAMDESC.cs
339         * PARAMFLAG.cs
340         * PrimaryInteropAssemblyAttribute.cs
341         * STATSTG.cs
342         * SYSKIND.cs
343         * TYPEATTR.cs
344         * TYPEDESC.cs
345         * TYPEFLAGS.cs
346         * TYPEKIND.cs
347         * TYPELIBATTR.cs
348         * TypeLibExporterFlags.cs
349         * TypeLibImporterFlags.cs
350         * UCOMIBindCtx.cs
351         * UCOMIConnectionPoint.cs
352         * UCOMIConnectionPointContainer.cs
353         * UCOMIEnumConnectionPoints.cs
354         * UCOMIEnumConnections.cs
355         * UCOMIEnumMoniker.cs
356         * UCOMIEnumString.cs
357         * UCOMIEnumVARIANT.cs
358         * UCOMIMoniker.cs
359         * UCOMIPersistFile.cs
360         * UCOMIRunningObjectTable.cs
361         * UCOMIStream.cs
362         * UCOMITypeComp.cs
363         * UCOMITypeInfo.cs
364         * UCOMITypeLib.cs
365         * UnmanagedFunctionPointerAttribute.cs
366         * VARDESC.cs
367         * VARFLAGS.cs
368         * VariantWrapper.cs: Added missing attributes.
369
370 2005-03-03  Kazuki Oikawa  <kazuki@panicode.com>
371
372         * _ConstructorInfo.cs
373         * _EventInfo.cs
374         * _FieldInfo.cs
375         * _MemberInfo.cs
376         * _MethodBase.cs
377         * _MethodInfo.cs
378         * _PropertyInfo.cs
379         * _Type.cs
380         * BStrWrapper.cs
381         * ComDefaultInterfaceAttribute.cs
382         * ComObjectInUseException.cs
383         * CriticalHandle.cs
384         * DefaultCharSetAttribute.cs
385         * ExposeAsClassToComAttribute.cs
386         * RegistrationClassContext.cs
387         * RegistrationConnectionType.cs: Add
388
389 2005-02-21  Zoltan Varga  <vargaz@freemail.hu>
390
391         * UnmanagedFunctionPointerAttribute.cs: Add #region directives.
392
393 2005-02-21  Kazuki Oikawa  <kazuki@panicode.com>
394
395         * BIND_OPTS.cs, CONNECTEDATA.cs, DISPPARAMS.cs, ELEMDESC.cs,
396         EXCEPINFO.cs, FILETIME.cs, FUNCDESC.cs, STATSTG.cs, TYPEATTR.cs,
397         TYPELIBATTR.cs, UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
398         UCOMIEnumConnectionPoints.cs, UCOMIEnumConnections.cs,
399         UCOMIEnumMoniker.cs, UCOMIEnumString.cs, UCOMIEnumVARIANT.cs,
400         UCOMIMoniker.cs, UCOMIPersistFile.cs, UCOMIRunningObjectTable.cs,
401         UCOMIStream.cs, UCOMITypeInfo.cs, UCOMITypeLib.cs, VARDESC.cs:
402         Corrected the order of the fields and the methods.
403
404         * BIND_OPTS.cs, CALLCONV.cs, FILETIME.cs, FUNCDESC.cs, FUNCFLAGS.cs,
405         FUNCKIND.cs, IDLFLAG.cs, IMPLTYPEFLAGS.cs, LIBFLAGS.cs, PARAMFLAG.cs,
406         STATSTG.cs, SYSKIND.cs, TYPEFLAGS.cs, VarEnum.cs, VARFLAGS.cs:
407         Added missing attributes.
408
409 Wed Feb 16 16:20:56 CET 2005 Paolo Molaro <lupus@ximian.com>
410
411         * GCHandle.cs: check the domain of an handle target is correct.
412         Make the unallocated value 0, since that is the default value
413         for valuetypes.
414
415 2005-02-10  Marek Safar  <marek.safar@seznam.cz>
416
417         * TypeLibVarAttribute.cs,
418         * TypeLibTypeAttribute.cs,
419         * ComSourceInterfacesAttribute.cs: Fix AttributeUsage flags.
420
421 Sat Jan 29 12:48:03 CET 2005 Paolo Molaro <lupus@ximian.com>
422
423         * GCHandle.cs: update for runtime changes: the unallocated handle
424         is -1, now.
425
426 2004-11-25  Raja R Harinath  <rharinath@novell.com>
427
428         * UnmanagedType.cs (mono_bootstrap_NativeTypeMax): Rename from
429         __mono_bootstrap_NativeTypeMax.  CSC doesn't like
430         [CLSCompliant(false)] on enum member.
431
432 2004-09-30  Zoltan Varga  <vargaz@freemail.hu>
433
434         * Marshal.cs: Implement GetDelegateForFunctionPointer.
435
436 2004-09-29  Zoltan Varga  <vargaz@freemail.hu>
437
438         * UnmanagedFunctionPointerAttribute.cs: New file.
439
440         * Marshal.cs: Make GetFunctionPointerForDelegate icall private.
441
442         * MarshalAsAttribute.cs: Add 2.0 IidParamIndex field.
443
444 2004-09-28  Zoltan Varga  <vargaz@freemail.hu>
445
446         * Marshal.cs: Add some ReliabilityContractAttributes.
447         
448         * Marshal.cs (GetFunctionPointerForDelegate): Implement.
449
450         * Marshal.cs: Add stubs for missing 2.0 methods.
451
452 2004-09-24  Zoltan Varga  <vargaz@freemail.hu>
453
454         * DllImportAttribute.cs: Reorder fields and mark this class as visible
455         to the runtime.
456
457 2004-09-08  Marek Safar  <marek.safar@seznam.cz>
458
459         * Marshal.cs: Class is static in NET_2_0.
460
461 2004-07-29  Lluis Sanchez Gual  <lluis@novell.com>
462
463         * RuntimeEnvironment.cs: Implemented SystemConfigurationFile and
464           GetSystemVersion().
465
466 Wed Jul 14 19:28:57 CEST 2004 Paolo Molaro <lupus@ximian.com>
467
468         * GCHandle.cs: throw exception if the result from AddrOfPinnedObject()
469         is -1 (special value returned by the runtime).
470
471 2004-07-07  Sebastien Pouliot  <sebastien@ximian.com>
472
473         * _Exception.cs: New interface in Fx 2.0 to preserve member's order
474         for COM interop.
475
476 2004-06-22  Raja R Harinath  <rharinath@novell.com>
477
478         Fix bootstrap with mcs 0.31.
479         * UnmanagedType.cs (UnmanagedType.__mono_bootstrap_NativeTypeMax): 
480         New bootstrap-only constant.
481
482 2004-06-18  Raja R Harinath  <rharinath@novell.com>
483
484         Fix breaking build (see tests/test-272.cs).  Since corlib is a
485         bootstrap library, we have to keep this fix even if the in-tree
486         mcs compiler is fixed.
487         * UCOMIEnumConnections.cs: Replace '(UnmanagedType) 80' in
488         attribute field initialization with Consts.UnmanagedType_80.
489         * UCOMIEnumMoniker.cs: Likewise.
490         * UCOMIEnumString.cs: Likewise.
491         * UCOMIStream.cs: Likewise.
492         * UCOMITypeInfo.cs: Likewise.
493         * UCOMITypeLib.cs: Likewise.
494
495 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
496
497         * BINDPTR.cs: have layout and charset match MS.NET
498         * CONNECTDATA.cs: have layout and charset match MS.NET
499         * DISPPARAMS.cs: have layout and charset match MS.NET
500         * ELEMDESC.cs: have layout and charset match MS.NET
501         * EXCEPINFO.cs: have layout and charset match MS.NET
502         * IDLDESC.cs: have layout and charset match MS.NET
503         * PARAMDESC.cs: have layout and charset match MS.NET
504         * STATSTG.cs: have layout and charset match MS.NET
505         * TYPEATTR.cs: have layout and charset match MS.NET
506         * TYPEDESC.cs: have layout and charset match MS.NET
507         * TYPELIBATTR.cs: have layout and charset match MS.NET
508         * VARDESC.cs: have layout and charset match MS.NET
509
510 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
511
512         * ArrayWithOffset.cs: fixed GetOffset to return int instead of
513         object
514         * CONNECTDATA.cs: added missing MarshalAs attribute
515         * EXCEPINFO.cs: added missing MarshalAs attributes
516         * ITypeLibConverter.cs: added missing MarshalAs attributes
517         * ITypeLibImporterNotifySink.cs: added missing MarshalAs attributes
518         * Marshal.cs: added missing MarshalAs attributues, and missing
519         Out attributes
520         * TypeLibConverter.cs: added missing MarshalAs attributes
521         * UCOMIBindCtx.cs: added missing MarshalAs attributes
522         * UCOMIConnectionPoint.cs: added missing MarshalAs attributes
523         * UCOMIEnumConnectionPoints.cs: added missing MarshalAs attributes
524         * UCOMIEnumConnections.cs: added missing PreserveSig attributes,
525         added missing MarshalAs attributes
526         * UCOMIEnumMoniker.cs: added missing PreserveSig attributes,
527         added missing MarshalAs attributes
528         * UCOMIEnumString.cs: added missing PreserveSig attributes,
529         added missing MarshalAs attributes
530         * UCOMIMoniker.cs: added missing MarshalAs attributes
531         * UCOMIPersistFile.cs: added missing PreserveSig attribute,
532         added missing MarshalAs attributes
533         * UCOMIRunningObjectTable.cs: added missing MarshalAs attributes
534         * UCOMIStream.cs: added missing MarshalAs attributes
535         * UCOMITypeComp.cs: added missing MarshalAs attributes
536         * UCOMITypeInfo.cs: added missing MarshalAs attributes
537         * UCOMITypeLib.cs: added missing PreserveSig attributes, added
538         missing MarshalAs attributes
539
540 2004-06-17  Gert Driesen <drieseng@users.sourceforge.net>
541
542         * MarshalDirectiveException.cs: marked serializable to match MS.NET
543         * SafeArrayRankMismatchException.cs: marked serializable to match
544         MS.NET
545         * SafeArrayTypeMismatchException.cs: marked serializable to match
546         MS.NET
547
548 2004-06-17  Gert Driesen <drieseng@users.sourceforge.net>
549
550         * InvalidComObjectException.cs: marked serializable to match MS.NET
551         * InvalidOleVarianTypeException.cs: marked serializable to match
552         MS.NET
553
554 2004-06-17  Gert Driesen <drieseng@users.sourceforge.net>
555
556         * BestFitMappingAttribute.cs: removed serializable attribute
557         to match MS.NET
558
559 2004-05-30  Gert Driesen (drieseng@users.sourceforge.net)
560
561         * SetWin32ContextInIDispatchAttribute.cs: only build
562         for NET_2_0 profile
563         * VariantWrapper.cs: only build for NET_2_0 profile
564
565 2004-05-29  Gert Driesen (drieseng@users.sourceforge.net)
566
567         * SetWin32ContextInIDispatchAttribute.cs: added
568         * VariantWrapper.cs: added
569
570 2004-05-19  Gert Driesen (drieseng@users.sourceforge.net)
571
572         * AutomationProxyAttribute.cs
573         * BestFitMappingAttribute.cs
574         * ClassInterfaceAttribute.cs
575         * CoClassAttribute.cs
576         * ComAliasNameAttribute.cs
577         * ComCompatibleVersionAttribute.cs
578         * ComConversionLossAttribute.cs
579         * ComEventInterfaceAttribute.cs
580         * ComImportAttribute.cs
581         * ComRegisterFunctionAttribute.cs
582         * ComSourceInterfaceAttribute.cs
583         * ComUnregisterFunctionAttribute.cs
584         * Comvisible.cs
585         * DispIdAttribute.cs
586         * DllImportAttribute.cs
587         * FieldOffsetAttribute.cs
588         * GuidAttribute.cs
589         * IDispatchImplAttribute.cs
590         * ImportedFromTypeLibAttribute.cs
591         * InAttribute.cs
592         * InterfaceTypeAttribute.cs
593         * LCIDConversionAttribute.cs
594         * MarshalAsAttribute.cs
595         * OptionalAttribute.cs
596         * OutAttribute.cs
597         * PreserveSigAttribute.cs
598         * PrimaryInteropAssemblyAttribute.cs
599         * ProgIdAttribute.cs
600         * StructLayoutAttribute.cs
601         * TypeLibFuncAttribute.Cs
602         * TypeLibTypeAttribute.cs
603         * TypeLibVarAttribute.cs
604         * TypeLibVersionAttribute.cs now that Inherited is 
605         false by default on AttributeUsageAttribute (as it 
606         should be) we need to explicitly set Inherited to 
607         false for those attributes should where it should be
608         false.
609
610 2004-05-06  Mike Shaver  <shaver@off.net>
611         * Marshal.cs: Implement StringToCoTaskMem{Ansi,Uni}
612
613 2004-05-05  Zoltan Varga  <vargaz@freemail.hu>
614
615         * Marshal.cs: Applied patch from vladimir@pobox.com (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.
616
617 2004-01-30  Zoltan Varga  <vargaz@freemail.hu>
618
619         * Marshal.cs: Implement AllocCoTaskMem and FreeCoTaskMem.
620
621 2003-11-26  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
622
623         * DispatchWrapper.cs: Added and implemented
624         * ErrorWrapper.cs: Fixed bug
625         * Marshal.cs: Added missing members
626
627 2003-11-18  Jackson Harper <jackson@ximian.com>
628
629         * CurrencyWrapper.cs: Fix file name.
630         
631 2003-11-18  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
632
633         * BestFitMappingAttribute.cs: Signature fix
634         * Marshal.cs: Add attribute, fix signatures
635         * MarshalAsAttribute.cs: Add head, add entry
636         * DllImportAttribute.cs: Added v1.1 entries
637         * TypeLibConverter.cs: Added, stubbed
638         * RegistrationServices.cs: Added, stubbed
639         * ExtensibleClassFactory.cs: Added, stubbed
640         * ErrorWrapper.cs: Added, implemented
641         * CurrencyWrapper.cs: Added, implemented
642
643 2003-11-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
644
645         * IRegistrationServices.cs:
646         * ITypeLibConverter.cs:
647         * ITypeLibExporterNameProvider.cs:
648         * ITypeLibExporterNotifySink.cs:
649         * ITypeLibImporterNotifySink.cs: Added missing attribute
650         * UCOMIBindCtx.cs: Added missing attribute, fixed in attribute
651         * UCOMIConnectionPoint.cs:
652         * UCOMIConnectionPointContainer.cs:
653         * UCOMIEnumConnectionPoints.cs:
654         * UCOMIEnumConnections.cs:
655         * UCOMIEnumMoniker.cs:
656         * UCOMIEnumString.cs:
657         * UCOMIEnumVARIANT.cs:
658         * UCOMIMoniker.cs:
659         * UCOMIPersistFile.cs:
660         * UCOMIRunningObjectTable.cs:
661         * UCOMIStream.cs:
662         * UCOMITypeComp.cs:
663         * UCOMITypeInfo.cs:
664         * UCOMITypeLib.cs: Added missing attribute
665
666 2003-08-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
667
668         * UCOMIBindCtx.cs: Added and implemented
669         * UCOMIConnectionPoint.cs: Added and implemented
670         * UCOMIConnectionPointContainer.cs: Added and implemented
671         * UCOMIEnumConnectionPoints.cs: Added and implemented
672         * UCOMIEnumConnections.cs: Added and implemented
673         * UCOMIEnumMoniker.cs: Added and implemented
674         * UCOMIEnumString.cs: Added and implemented
675         * UCOMIEnumVARIANT.cs: Added and implemented
676         * UCOMIMoniker.cs: Added and implemented
677         * UCOMIPersistFile.cs: Added and implemented
678         * UCOMIRunningObjectTable.cs: Added and implemented
679         * UCOMIStream.cs: Added and implemented
680
681         * UCOMTypeComp.cs: renamed
682         * UCOMTypeInfo.cs: renamed
683         * UCOMTypeLib.cs: renamed
684
685         * ITypeLibConverter.cs: Fixed interface signature
686
687         * ComSourceInterfacesAttribute.cs: Added and implemented
688         * IDispatchImplAttribute.cs: Added and implemented
689         * InvalidComObjectException.cs: Added and implemented
690         * InvalidOleVariantTypeException.cs: Added and implemented
691         * MarshalDirectiveException.cs: Added and implemented
692         * SafeArrayRankMismatchException.cs: Added and implemented
693         * SafeArrayTypeMismatchException.cs: Added and implemented
694         * SEHException.cs: Added attribute
695         * UnknownWrapper.cs: Added and implemented
696
697         * BIND_OPTS.cs:
698         * CONNECTDATA.cs:
699         * ELEMDESC.cs:
700         * FILETIME.cs:
701         * FUNCDESC.cs:
702         * IDLDESC.cs:
703         * PARAMDESC.cs:
704         * STATSTG.cs:
705         * TYPEATTR.cs:
706         * TYPEDESC.cs:
707         * TYPELIBATTR.cs:
708         * VARDESC.cs: Added and implemented
709
710         * CALLCONV.cs:
711         * FUNCFLAGS.cs:
712         * FUNCKIND.cs:
713         * IDispatchImplType.cs:
714         * IDLFLAG.cs:
715         * IMPLTYPEFLAGS.cs:
716         * LIBFLAGS.cs:
717         * PARAMFLAG.cs:
718         * SYSKIND.cs:
719         * TYPEFLAGS.cs: 
720         * TypeLibImporterFlags.cs:
721         * VARFLAGS.cs: Added and implemented
722
723 2003-07-12  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
724
725         * ComCompatibleVersionAttribute.cs: Added and implemented
726         * TypeLibVersionAttribute.cs: Added and implemented
727
728 Wed Jun 18 12:49:54 CEST 2003 Paolo Molaro <lupus@ximian.com>
729
730         * Marshal.cs: implemented Prelink with icalls.
731
732 2003-04-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
733
734         * RuntimeEnvironment.cs: New file. Stubbed by Dominik Fretz
735         (roboto@gmx.net).
736
737 2003-03-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
738
739         * ExternalException.cs: doesn't need a field to keep the result code.
740         * SEHException.cs: implemented.
741
742 2003-03-03  Tim Coleman <tim@timcoleman.com>
743         * HandleRef.cs: Add this struct
744
745 2003-01-05  Sebastien Pouliot <spouliot@videotron.ca>
746
747         * COMException.cs: New. Minimal (incomplete - i'm not using COM)
748         implementation because this is thrown when dealing with Software 
749         Publisher Certificates (SPC) in X509Certificate.
750
751 2002-08-22  Nick Drochak  <ndrochak@gol.com>
752
753         * OutAttribute.cs: TypeID isn't overriden from Attribute here.
754         * PInvokeMap.cs: Non-existent enum.  Must be from beta days.
755
756 2002-06-24  root  <dietmar@ximian.com>
757
758         * Marshal.cs: impl. Copy()
759
760 Fri Jun 14 16:18:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
761
762         * UnmanagedType.cs, Marshal.cs: minor fixes.
763
764 Wed Jun 12 16:32:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
765
766         * Marshal.c: stubbed out all the methods and filled in some
767         implementation.
768         * BINDPTR.cs, ComMemberType.cs, DESCKIND.cs, DISPPARAMS.cs,
769         EXCEPINFO.cs, INVOKEKIND.cs, TYPEKIND.cs, UCOMTypeInfo.cs,
770         UCOMTypeLib.cs: enums, interfaces and structs needed in Marshal class.
771
772 Tue Jun 4 18:05:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
773
774         * GCHandle.cs: changed to fit spec and implementation needs.
775
776 Tue May 14 16:35:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
777
778         * CharSet.cs: added missing None enum item.
779
780 2002-04-26  Joe Shaw  <joe@ximian.com>
781
782         * Marshal.cs (StructureToPtr): stub this out.
783
784 2002-04-23  Joe Shaw  <joe@ximian.com>
785
786         * Marshal.cs: Stub out a few functions to get gtk# to build.
787
788 2002-04-22  Duncan Mak  <duncan@ximian.com>
789
790         * ImporterEventKind.cs: 
791         * TypeLibFuncFlags.cs:
792         * TypeLibTypeFlags.cs:
793         * TypeLibVarFlags.cs: Fixed various typos and added missing elements.
794
795         * ComConventionLossAttribute.cs: Removed, there's a typo.
796         * ComConversionLossAttribute.cs: Same attribute, slight change of name.
797
798         * PreserveSigAttribute.cs:
799         * ImportedFromTypeLibAttribute.cs: Added missing AttributeUsage
800         attribute.
801
802         * TypeLibFuncAttribute.cs:
803         * TypeLibTypeAttribute.cs:
804         * TypeLibVarAttribute.cs: Added missing constructors. 
805         
806         
807 2002-04-22  Duncan Mak  <duncan@ximian.com>
808
809         * AutomationProxyAttribute.cs: 
810         * CoClassAttribute.cs: 
811         * ComAliasNameAttribute.cs: 
812         * ComConventionLossAttribute.cs: 
813         * ComEventInterfaceAttribute.cs: 
814         * ComImportAttribute.cs: 
815         * ComRegisterFunctionAttribute.cs: 
816         * ComUnregisterFunctionAttribute.cs: 
817         * DispIdAttribute.cs: 
818         * ImportedFromTypeLibAttribute.cs: 
819         * LCIDConversionAttribute.cs: 
820         * PreserveSigAttribute.cs: 
821         * PrimaryInteropAssemblyAttribute.cs: 
822         * ProgIdAttribute.cs: 
823         * TypeLibFuncAttribute.cs: 
824         * TypeLibFuncFlags.cs: 
825         * TypeLibTypeAttribute.cs: 
826         * TypeLibTypeFlags.cs: 
827         * TypeLibVarAttribute.cs: 
828         * TypeLibVarFlags.cs:  Added to CVS.
829
830 2002-04-08  Nick Drochak  <ndrochak@gol.com>
831
832         * Marshal.cs: Make class public.
833         * ComVisible.cs: New File.
834
835 2002-03-24  Nick Drochak  <ndrochak@gol.com>
836
837         * ClassInterfaceAttribute.cs:
838         * ClassInterfaceType.cs: New Files.
839
840 2002-02-27  Duncan Mak  <duncan@ximian.com>
841
842         * ExporterEventKind.cs:
843         * ITypeLibConverter.cs:
844         * ITypeLibImporterNotifySink.cs: Added to CVS for Kevin Winchester <kwin@ns.sympatico.ca>.
845
846 2002-02-26  Duncan Mak  <duncan@ximian.com>
847
848         * ComInterfaceType.cs: Added to CVS.
849
850         * AssemblyRegistrationFlags.cs:
851         * GuidAttribute.cs:
852         * ICustomAdapter.cs:
853         * ICustomFactory.cs:
854         * ICustomMarshaler.cs: 
855         * IRegistrationServices.cs:
856         * ITypeLibExporterNameProvider.cs:
857         * ITypeLibImporterNotifySink.cs:
858         * InterfaceTypeAttribute.cs:
859         * TypeLibExporterFlags.cs: Committed for Kevin Winchester <kwin@ns.sympatico.ca>.
860         
861         * GCHandle.cs: Added to CVS. Patch from Ajay kumar Dwivedi.
862
863         * GCHandleType.cs: Committed patch from Ajay.
864
865         * ImporterEventKind.cs: Added to CVS.
866
867 2002-01-24  Miguel de Icaza  <miguel@ximian.com>
868
869         * StructLayoutAttribute.cs: Flag attribute as targetting structs
870         or classes. 
871         
872         * InAttribute.cs: Flag attribute as targettting a paramter
873
874         * OutAttribute.cs: ditto.
875         
876         * DllImportAttribute.cs: Flag attribute as targetting methods.
877         
878         * MarshalAsAttribute.cs: Flag attribute as targetting fields,
879         parameters and returnvalues.
880
881 2002-01-23  Dick Porter  <dick@ximian.com>
882
883         * Marshal.cs: Added GetLastWin32Error()
884
885         * ExternalException.cs: Implemented
886
887 2002-01-17  Miguel de Icaza  <miguel@ximian.com>
888
889         * ExternalException.cs: Add ExternalException.
890
891 2002-01-05  Ravi Pratap  <ravi@ximian.com>
892
893         * OutAttribute.cs : Decorate with MonoTODO.
894         
895 Thu Dec 20 15:46:31 CET 2001 Paolo Molaro <lupus@ximian.com>
896
897         * FieldOffsetAttribute.cs, InAttribute.cs, MarshalAsAttribute.cs,
898         OptionalAttribute.cs, StructLayoutAttribute.cs, VarEnum.cs:
899         more stuff needed by the compiler.
900
901 Thu Dec 13 20:22:18 CET 2001 Paolo Molaro <lupus@ximian.com>
902
903         * DllImportAttribute.cs: added.
904         * MethodImplOptions.cs: removed: this is already in CompilerServices.
905
906 Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <lupus@ximian.com>
907
908         * CallingConvention.cs: add missing Winapi.
909
910 2001-07-20  Miguel de Icaza  <miguel@ximian.com>
911
912         * OutAttribute.cs: New file.
913
914 2001-07-18  Michael Lambert <michaellambert@email.com>
915
916         * CallingConvention.cs.cs, CharSet.cs, GCHandleType.cs, LayoutKind.cs: Add.