* Assembly/Consts.cs (UnmanageType_80) [BOOTSTRAP_WITH_OLDLIB]: Update to
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / ChangeLog
1 2004-11-25  Raja R Harinath  <rharinath@novell.com>
2
3         * UnmanagedType.cs (mono_bootstrap_NativeTypeMax): Rename from
4         __mono_bootstrap_NativeTypeMax.  CSC doesn't like
5         [CLSCompliant(false)] on enum member.
6
7 2004-09-30  Zoltan Varga  <vargaz@freemail.hu>
8
9         * Marshal.cs: Implement GetDelegateForFunctionPointer.
10
11 2004-09-29  Zoltan Varga  <vargaz@freemail.hu>
12
13         * UnmanagedFunctionPointerAttribute.cs: New file.
14
15         * Marshal.cs: Make GetFunctionPointerForDelegate icall private.
16
17         * MarshalAsAttribute.cs: Add 2.0 IidParamIndex field.
18
19 2004-09-28  Zoltan Varga  <vargaz@freemail.hu>
20
21         * Marshal.cs: Add some ReliabilityContractAttributes.
22         
23         * Marshal.cs (GetFunctionPointerForDelegate): Implement.
24
25         * Marshal.cs: Add stubs for missing 2.0 methods.
26
27 2004-09-24  Zoltan Varga  <vargaz@freemail.hu>
28
29         * DllImportAttribute.cs: Reorder fields and mark this class as visible
30         to the runtime.
31
32 2004-09-08  Marek Safar  <marek.safar@seznam.cz>
33
34         * Marshal.cs: Class is static in NET_2_0.
35
36 2004-07-29  Lluis Sanchez Gual  <lluis@novell.com>
37
38         * RuntimeEnvironment.cs: Implemented SystemConfigurationFile and
39           GetSystemVersion().
40
41 Wed Jul 14 19:28:57 CEST 2004 Paolo Molaro <lupus@ximian.com>
42
43         * GCHandle.cs: throw exception if the result from AddrOfPinnedObject()
44         is -1 (special value returned by the runtime).
45
46 2004-07-07  Sebastien Pouliot  <sebastien@ximian.com>
47
48         * _Exception.cs: New interface in Fx 2.0 to preserve member's order
49         for COM interop.
50
51 2004-06-22  Raja R Harinath  <rharinath@novell.com>
52
53         Fix bootstrap with mcs 0.31.
54         * UnmanagedType.cs (UnmanagedType.__mono_bootstrap_NativeTypeMax): 
55         New bootstrap-only constant.
56
57 2004-06-18  Raja R Harinath  <rharinath@novell.com>
58
59         Fix breaking build (see tests/test-272.cs).  Since corlib is a
60         bootstrap library, we have to keep this fix even if the in-tree
61         mcs compiler is fixed.
62         * UCOMIEnumConnections.cs: Replace '(UnmanagedType) 80' in
63         attribute field initialization with Consts.UnmanagedType_80.
64         * UCOMIEnumMoniker.cs: Likewise.
65         * UCOMIEnumString.cs: Likewise.
66         * UCOMIStream.cs: Likewise.
67         * UCOMITypeInfo.cs: Likewise.
68         * UCOMITypeLib.cs: Likewise.
69
70 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
71
72         * BINDPTR.cs: have layout and charset match MS.NET
73         * CONNECTDATA.cs: have layout and charset match MS.NET
74         * DISPPARAMS.cs: have layout and charset match MS.NET
75         * ELEMDESC.cs: have layout and charset match MS.NET
76         * EXCEPINFO.cs: have layout and charset match MS.NET
77         * IDLDESC.cs: have layout and charset match MS.NET
78         * PARAMDESC.cs: have layout and charset match MS.NET
79         * STATSTG.cs: have layout and charset match MS.NET
80         * TYPEATTR.cs: have layout and charset match MS.NET
81         * TYPEDESC.cs: have layout and charset match MS.NET
82         * TYPELIBATTR.cs: have layout and charset match MS.NET
83         * VARDESC.cs: have layout and charset match MS.NET
84
85 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
86
87         * ArrayWithOffset.cs: fixed GetOffset to return int instead of
88         object
89         * CONNECTDATA.cs: added missing MarshalAs attribute
90         * EXCEPINFO.cs: added missing MarshalAs attributes
91         * ITypeLibConverter.cs: added missing MarshalAs attributes
92         * ITypeLibImporterNotifySink.cs: added missing MarshalAs attributes
93         * Marshal.cs: added missing MarshalAs attributues, and missing
94         Out attributes
95         * TypeLibConverter.cs: added missing MarshalAs attributes
96         * UCOMIBindCtx.cs: added missing MarshalAs attributes
97         * UCOMIConnectionPoint.cs: added missing MarshalAs attributes
98         * UCOMIEnumConnectionPoints.cs: added missing MarshalAs attributes
99         * UCOMIEnumConnections.cs: added missing PreserveSig attributes,
100         added missing MarshalAs attributes
101         * UCOMIEnumMoniker.cs: added missing PreserveSig attributes,
102         added missing MarshalAs attributes
103         * UCOMIEnumString.cs: added missing PreserveSig attributes,
104         added missing MarshalAs attributes
105         * UCOMIMoniker.cs: added missing MarshalAs attributes
106         * UCOMIPersistFile.cs: added missing PreserveSig attribute,
107         added missing MarshalAs attributes
108         * UCOMIRunningObjectTable.cs: added missing MarshalAs attributes
109         * UCOMIStream.cs: added missing MarshalAs attributes
110         * UCOMITypeComp.cs: added missing MarshalAs attributes
111         * UCOMITypeInfo.cs: added missing MarshalAs attributes
112         * UCOMITypeLib.cs: added missing PreserveSig attributes, added
113         missing MarshalAs attributes
114
115 2004-06-17  Gert Driesen <drieseng@users.sourceforge.net>
116
117         * MarshalDirectiveException.cs: marked serializable to match MS.NET
118         * SafeArrayRankMismatchException.cs: marked serializable to match
119         MS.NET
120         * SafeArrayTypeMismatchException.cs: marked serializable to match
121         MS.NET
122
123 2004-06-17  Gert Driesen <drieseng@users.sourceforge.net>
124
125         * InvalidComObjectException.cs: marked serializable to match MS.NET
126         * InvalidOleVarianTypeException.cs: marked serializable to match
127         MS.NET
128
129 2004-06-17  Gert Driesen <drieseng@users.sourceforge.net>
130
131         * BestFitMappingAttribute.cs: removed serializable attribute
132         to match MS.NET
133
134 2004-05-30  Gert Driesen (drieseng@users.sourceforge.net)
135
136         * SetWin32ContextInIDispatchAttribute.cs: only build
137         for NET_2_0 profile
138         * VariantWrapper.cs: only build for NET_2_0 profile
139
140 2004-05-29  Gert Driesen (drieseng@users.sourceforge.net)
141
142         * SetWin32ContextInIDispatchAttribute.cs: added
143         * VariantWrapper.cs: added
144
145 2004-05-19  Gert Driesen (drieseng@users.sourceforge.net)
146
147         * AutomationProxyAttribute.cs
148         * BestFitMappingAttribute.cs
149         * ClassInterfaceAttribute.cs
150         * CoClassAttribute.cs
151         * ComAliasNameAttribute.cs
152         * ComCompatibleVersionAttribute.cs
153         * ComConversionLossAttribute.cs
154         * ComEventInterfaceAttribute.cs
155         * ComImportAttribute.cs
156         * ComRegisterFunctionAttribute.cs
157         * ComSourceInterfaceAttribute.cs
158         * ComUnregisterFunctionAttribute.cs
159         * Comvisible.cs
160         * DispIdAttribute.cs
161         * DllImportAttribute.cs
162         * FieldOffsetAttribute.cs
163         * GuidAttribute.cs
164         * IDispatchImplAttribute.cs
165         * ImportedFromTypeLibAttribute.cs
166         * InAttribute.cs
167         * InterfaceTypeAttribute.cs
168         * LCIDConversionAttribute.cs
169         * MarshalAsAttribute.cs
170         * OptionalAttribute.cs
171         * OutAttribute.cs
172         * PreserveSigAttribute.cs
173         * PrimaryInteropAssemblyAttribute.cs
174         * ProgIdAttribute.cs
175         * StructLayoutAttribute.cs
176         * TypeLibFuncAttribute.Cs
177         * TypeLibTypeAttribute.cs
178         * TypeLibVarAttribute.cs
179         * TypeLibVersionAttribute.cs now that Inherited is 
180         false by default on AttributeUsageAttribute (as it 
181         should be) we need to explicitly set Inherited to 
182         false for those attributes should where it should be
183         false.
184
185 2004-05-06  Mike Shaver  <shaver@off.net>
186         * Marshal.cs: Implement StringToCoTaskMem{Ansi,Uni}
187
188 2004-05-05  Zoltan Varga  <vargaz@freemail.hu>
189
190         * Marshal.cs: Applied patch from vladimir@pobox.com (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.
191
192 2004-01-30  Zoltan Varga  <vargaz@freemail.hu>
193
194         * Marshal.cs: Implement AllocCoTaskMem and FreeCoTaskMem.
195
196 2003-11-26  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
197
198         * DispatchWrapper.cs: Added and implemented
199         * ErrorWrapper.cs: Fixed bug
200         * Marshal.cs: Added missing members
201
202 2003-11-18  Jackson Harper <jackson@ximian.com>
203
204         * CurrencyWrapper.cs: Fix file name.
205         
206 2003-11-18  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
207
208         * BestFitMappingAttribute.cs: Signature fix
209         * Marshal.cs: Add attribute, fix signatures
210         * MarshalAsAttribute.cs: Add head, add entry
211         * DllImportAttribute.cs: Added v1.1 entries
212         * TypeLibConverter.cs: Added, stubbed
213         * RegistrationServices.cs: Added, stubbed
214         * ExtensibleClassFactory.cs: Added, stubbed
215         * ErrorWrapper.cs: Added, implemented
216         * CurrencyWrapper.cs: Added, implemented
217
218 2003-11-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
219
220         * IRegistrationServices.cs:
221         * ITypeLibConverter.cs:
222         * ITypeLibExporterNameProvider.cs:
223         * ITypeLibExporterNotifySink.cs:
224         * ITypeLibImporterNotifySink.cs: Added missing attribute
225         * UCOMIBindCtx.cs: Added missing attribute, fixed in attribute
226         * UCOMIConnectionPoint.cs:
227         * UCOMIConnectionPointContainer.cs:
228         * UCOMIEnumConnectionPoints.cs:
229         * UCOMIEnumConnections.cs:
230         * UCOMIEnumMoniker.cs:
231         * UCOMIEnumString.cs:
232         * UCOMIEnumVARIANT.cs:
233         * UCOMIMoniker.cs:
234         * UCOMIPersistFile.cs:
235         * UCOMIRunningObjectTable.cs:
236         * UCOMIStream.cs:
237         * UCOMITypeComp.cs:
238         * UCOMITypeInfo.cs:
239         * UCOMITypeLib.cs: Added missing attribute
240
241 2003-08-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
242
243         * UCOMIBindCtx.cs: Added and implemented
244         * UCOMIConnectionPoint.cs: Added and implemented
245         * UCOMIConnectionPointContainer.cs: Added and implemented
246         * UCOMIEnumConnectionPoints.cs: Added and implemented
247         * UCOMIEnumConnections.cs: Added and implemented
248         * UCOMIEnumMoniker.cs: Added and implemented
249         * UCOMIEnumString.cs: Added and implemented
250         * UCOMIEnumVARIANT.cs: Added and implemented
251         * UCOMIMoniker.cs: Added and implemented
252         * UCOMIPersistFile.cs: Added and implemented
253         * UCOMIRunningObjectTable.cs: Added and implemented
254         * UCOMIStream.cs: Added and implemented
255
256         * UCOMTypeComp.cs: renamed
257         * UCOMTypeInfo.cs: renamed
258         * UCOMTypeLib.cs: renamed
259
260         * ITypeLibConverter.cs: Fixed interface signature
261
262         * ComSourceInterfacesAttribute.cs: Added and implemented
263         * IDispatchImplAttribute.cs: Added and implemented
264         * InvalidComObjectException.cs: Added and implemented
265         * InvalidOleVariantTypeException.cs: Added and implemented
266         * MarshalDirectiveException.cs: Added and implemented
267         * SafeArrayRankMismatchException.cs: Added and implemented
268         * SafeArrayTypeMismatchException.cs: Added and implemented
269         * SEHException.cs: Added attribute
270         * UnknownWrapper.cs: Added and implemented
271
272         * BIND_OPTS.cs:
273         * CONNECTDATA.cs:
274         * ELEMDESC.cs:
275         * FILETIME.cs:
276         * FUNCDESC.cs:
277         * IDLDESC.cs:
278         * PARAMDESC.cs:
279         * STATSTG.cs:
280         * TYPEATTR.cs:
281         * TYPEDESC.cs:
282         * TYPELIBATTR.cs:
283         * VARDESC.cs: Added and implemented
284
285         * CALLCONV.cs:
286         * FUNCFLAGS.cs:
287         * FUNCKIND.cs:
288         * IDispatchImplType.cs:
289         * IDLFLAG.cs:
290         * IMPLTYPEFLAGS.cs:
291         * LIBFLAGS.cs:
292         * PARAMFLAG.cs:
293         * SYSKIND.cs:
294         * TYPEFLAGS.cs: 
295         * TypeLibImporterFlags.cs:
296         * VARFLAGS.cs: Added and implemented
297
298 2003-07-12  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
299
300         * ComCompatibleVersionAttribute.cs: Added and implemented
301         * TypeLibVersionAttribute.cs: Added and implemented
302
303 Wed Jun 18 12:49:54 CEST 2003 Paolo Molaro <lupus@ximian.com>
304
305         * Marshal.cs: implemented Prelink with icalls.
306
307 2003-04-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
308
309         * RuntimeEnvironment.cs: New file. Stubbed by Dominik Fretz
310         (roboto@gmx.net).
311
312 2003-03-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
313
314         * ExternalException.cs: doesn't need a field to keep the result code.
315         * SEHException.cs: implemented.
316
317 2003-03-03  Tim Coleman <tim@timcoleman.com>
318         * HandleRef.cs: Add this struct
319
320 2003-01-05  Sebastien Pouliot <spouliot@videotron.ca>
321
322         * COMException.cs: New. Minimal (incomplete - i'm not using COM)
323         implementation because this is thrown when dealing with Software 
324         Publisher Certificates (SPC) in X509Certificate.
325
326 2002-08-22  Nick Drochak  <ndrochak@gol.com>
327
328         * OutAttribute.cs: TypeID isn't overriden from Attribute here.
329         * PInvokeMap.cs: Non-existent enum.  Must be from beta days.
330
331 2002-06-24  root  <dietmar@ximian.com>
332
333         * Marshal.cs: impl. Copy()
334
335 Fri Jun 14 16:18:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
336
337         * UnmanagedType.cs, Marshal.cs: minor fixes.
338
339 Wed Jun 12 16:32:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
340
341         * Marshal.c: stubbed out all the methods and filled in some
342         implementation.
343         * BINDPTR.cs, ComMemberType.cs, DESCKIND.cs, DISPPARAMS.cs,
344         EXCEPINFO.cs, INVOKEKIND.cs, TYPEKIND.cs, UCOMTypeInfo.cs,
345         UCOMTypeLib.cs: enums, interfaces and structs needed in Marshal class.
346
347 Tue Jun 4 18:05:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
348
349         * GCHandle.cs: changed to fit spec and implementation needs.
350
351 Tue May 14 16:35:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
352
353         * CharSet.cs: added missing None enum item.
354
355 2002-04-26  Joe Shaw  <joe@ximian.com>
356
357         * Marshal.cs (StructureToPtr): stub this out.
358
359 2002-04-23  Joe Shaw  <joe@ximian.com>
360
361         * Marshal.cs: Stub out a few functions to get gtk# to build.
362
363 2002-04-22  Duncan Mak  <duncan@ximian.com>
364
365         * ImporterEventKind.cs: 
366         * TypeLibFuncFlags.cs:
367         * TypeLibTypeFlags.cs:
368         * TypeLibVarFlags.cs: Fixed various typos and added missing elements.
369
370         * ComConventionLossAttribute.cs: Removed, there's a typo.
371         * ComConversionLossAttribute.cs: Same attribute, slight change of name.
372
373         * PreserveSigAttribute.cs:
374         * ImportedFromTypeLibAttribute.cs: Added missing AttributeUsage
375         attribute.
376
377         * TypeLibFuncAttribute.cs:
378         * TypeLibTypeAttribute.cs:
379         * TypeLibVarAttribute.cs: Added missing constructors. 
380         
381         
382 2002-04-22  Duncan Mak  <duncan@ximian.com>
383
384         * AutomationProxyAttribute.cs: 
385         * CoClassAttribute.cs: 
386         * ComAliasNameAttribute.cs: 
387         * ComConventionLossAttribute.cs: 
388         * ComEventInterfaceAttribute.cs: 
389         * ComImportAttribute.cs: 
390         * ComRegisterFunctionAttribute.cs: 
391         * ComUnregisterFunctionAttribute.cs: 
392         * DispIdAttribute.cs: 
393         * ImportedFromTypeLibAttribute.cs: 
394         * LCIDConversionAttribute.cs: 
395         * PreserveSigAttribute.cs: 
396         * PrimaryInteropAssemblyAttribute.cs: 
397         * ProgIdAttribute.cs: 
398         * TypeLibFuncAttribute.cs: 
399         * TypeLibFuncFlags.cs: 
400         * TypeLibTypeAttribute.cs: 
401         * TypeLibTypeFlags.cs: 
402         * TypeLibVarAttribute.cs: 
403         * TypeLibVarFlags.cs:  Added to CVS.
404
405 2002-04-08  Nick Drochak  <ndrochak@gol.com>
406
407         * Marshal.cs: Make class public.
408         * ComVisible.cs: New File.
409
410 2002-03-24  Nick Drochak  <ndrochak@gol.com>
411
412         * ClassInterfaceAttribute.cs:
413         * ClassInterfaceType.cs: New Files.
414
415 2002-02-27  Duncan Mak  <duncan@ximian.com>
416
417         * ExporterEventKind.cs:
418         * ITypeLibConverter.cs:
419         * ITypeLibImporterNotifySink.cs: Added to CVS for Kevin Winchester <kwin@ns.sympatico.ca>.
420
421 2002-02-26  Duncan Mak  <duncan@ximian.com>
422
423         * ComInterfaceType.cs: Added to CVS.
424
425         * AssemblyRegistrationFlags.cs:
426         * GuidAttribute.cs:
427         * ICustomAdapter.cs:
428         * ICustomFactory.cs:
429         * ICustomMarshaler.cs: 
430         * IRegistrationServices.cs:
431         * ITypeLibExporterNameProvider.cs:
432         * ITypeLibImporterNotifySink.cs:
433         * InterfaceTypeAttribute.cs:
434         * TypeLibExporterFlags.cs: Committed for Kevin Winchester <kwin@ns.sympatico.ca>.
435         
436         * GCHandle.cs: Added to CVS. Patch from Ajay kumar Dwivedi.
437
438         * GCHandleType.cs: Committed patch from Ajay.
439
440         * ImporterEventKind.cs: Added to CVS.
441
442 2002-01-24  Miguel de Icaza  <miguel@ximian.com>
443
444         * StructLayoutAttribute.cs: Flag attribute as targetting structs
445         or classes. 
446         
447         * InAttribute.cs: Flag attribute as targettting a paramter
448
449         * OutAttribute.cs: ditto.
450         
451         * DllImportAttribute.cs: Flag attribute as targetting methods.
452         
453         * MarshalAsAttribute.cs: Flag attribute as targetting fields,
454         parameters and returnvalues.
455
456 2002-01-23  Dick Porter  <dick@ximian.com>
457
458         * Marshal.cs: Added GetLastWin32Error()
459
460         * ExternalException.cs: Implemented
461
462 2002-01-17  Miguel de Icaza  <miguel@ximian.com>
463
464         * ExternalException.cs: Add ExternalException.
465
466 2002-01-05  Ravi Pratap  <ravi@ximian.com>
467
468         * OutAttribute.cs : Decorate with MonoTODO.
469         
470 Thu Dec 20 15:46:31 CET 2001 Paolo Molaro <lupus@ximian.com>
471
472         * FieldOffsetAttribute.cs, InAttribute.cs, MarshalAsAttribute.cs,
473         OptionalAttribute.cs, StructLayoutAttribute.cs, VarEnum.cs:
474         more stuff needed by the compiler.
475
476 Thu Dec 13 20:22:18 CET 2001 Paolo Molaro <lupus@ximian.com>
477
478         * DllImportAttribute.cs: added.
479         * MethodImplOptions.cs: removed: this is already in CompilerServices.
480
481 Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <lupus@ximian.com>
482
483         * CallingConvention.cs: add missing Winapi.
484
485 2001-07-20  Miguel de Icaza  <miguel@ximian.com>
486
487         * OutAttribute.cs: New file.
488
489 2001-07-18  Michael Lambert <michaellambert@email.com>
490
491         * CallingConvention.cs.cs, CharSet.cs, GCHandleType.cs, LayoutKind.cs: Add.