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