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