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