ca9c4f932881ecad7a44b776409c91450a4fbe29
[mono.git] / mcs / class / corlib / System.Reflection / ChangeLog
1 2003-01-17  Zoltan Varga  <vargaz@freemail.hu>
2
3         * ParameterInfo.cs: modified constructor so it allows the 
4         ParameterBuilder to be null and add a 'position' argument which will
5         be used when pb is null.
6
7 2003-01-16  Lluis Sanchez Gual <lsg@ctv.es>
8
9         * Assembly.cs: added serialization support.
10
11 Sat Jan 4 18:26:41 CET 2003 Paolo Molaro <lupus@ximian.com>
12
13         * MonoMethod.cs: propagate exceptions from the internal invoke
14         code that need to be propagated.
15
16 Sat Jan 4 18:04:07 CET 2003 Paolo Molaro <lupus@ximian.com>
17
18         * Binder.cs: throw an exception if the number of arguments 
19         when invoking a method is incorrect.
20
21 Thu Jan 2 19:04:58 CET 2003 Paolo Molaro <lupus@ximian.com>
22
23         * Binder.cs: In SelectMethod() look for an exact match first.
24
25 2003-01-01  Rachel Hestilow <hestilow@ximian.com>
26
27         * MonoField.cs (SetValue): Fix logic typo. Check that obj is
28         non-null only for the non-static case.
29
30 2002-12-30  Sebastien Pouliot <spouliot@videotron.ca>
31
32         * AssemblyName.cs: Fixed null cultureinfo in FullName (as reported by 
33         Zoltan).
34
35 2002-12-23  Sebastien Pouliot <spouliot@videotron.ca>
36
37         * AssemblyName.cs: GetPublicKey now return an empty array (not null)
38         when an assembly isn't signed with a StrongName (to match MS 
39         implementation) and null when no assembly is referenced. Also removed 
40         commented code (no bug reported so it was probably not used).
41
42 Thu Dec 19 16:43:19 CET 2002 Paolo Molaro <lupus@ximian.com>
43
44         * MonoMethod.cs, ParameterInfo.cs: return a custom attribute
45         provider for the return type of a method.
46
47 2002-12-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
48
49         * AssemblyName.cs: little fix in FullName.
50
51 2002-12-07  Sebastien Pouliot <spouliot@videotron.ca>
52
53         * AssemblyName.cs: Added missing methods/interfaces. Fixed some
54         code to match the MS Framework.
55         * StrongNameKeyPair.cs: Completed the "visible" implementation.
56         There must be some internal methods to allow signing with the key.
57
58 2002-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
59
60         * EventInfo.cs: implemented (Add|Remove)EventHandler.
61
62 Mon Nov 18 17:52:56 CET 2002 Paolo Molaro <lupus@ximian.com>
63
64         * Assembly.cs: implemented GetManifestResourceStream (Type type,
65         * String name).
66
67 2002-11-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
68
69         * Assembly.cs: changed name of GetType (string, bool, bool) to
70         InternalGetType.
71
72 2002-10-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
73
74         * TargetInvocationException.cs: modified default message.
75
76 2002-10-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
77
78         * MonoProperty.cs:
79         * PropertyInfo.cs: fixed bug #31535.
80
81 2002-09-27  Martin Baulig  <martin@gnome.org>
82
83         * Assembly.cs (Assembly.GetReferencedAssemblies): Implemented.
84
85 2002-09-24  Martin Baulig  <martin@gnome.org>
86
87         * Assembly.cs (MonoDebugger_GetType): New method to get a Type
88         from its metadata token.  This should only be used by the debugger.
89
90 2002-09-21  Martin Baulig  <martin@gnome.org>
91
92         * Assembly.cs (MonoDebugger_GetLocalTypeFromSignature): New method to
93         get the type of a local variable from its signature.  This should only
94         be used by the debugger.
95
96 2002-09-20  Martin Baulig  <martin@gnome.org>
97
98         * Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
99         from its metadata token.  This should only be used by the debugger.
100
101 Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
102
103         * Binder.cs: more default binder implementation.
104
105         * FieldInfo.cs, MonoField.cs: fixed SetValue () implementation.
106         * MonoMethod.cs: use the binder in the Invoke () implementation.
107         Implemented custom attributes methods and ToString for constructors.
108
109 Thu Sep 5 20:36:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
110
111         * Binder.cs: finished the Binder class and implemented the default
112         binder.
113
114 2002-09-03  Martin Baulig  <martin@gnome.org>
115
116         * Assembly.cs (Assembly.Location): Implemented.
117
118 2002-08-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
119
120         * MonoField.cs:
121         (GetValue): allow obj to be null (used for static fields).
122
123 2002-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
124
125         * MonoField.cs: GetValue renamed to GetValueInternal. Added check for
126         null.
127
128 Wed Aug 21 13:03:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
129
130         * Assembly.cs: GetEntryAssembly patch by Tomi Pakarinen 
131         <tomi.pakarinen@welho.com>.
132
133 2002-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
134
135         * Assembly.cs: FullName now returns a proper string instead of
136         something like 'file://...'.
137
138         * AssemblyName.cs: added missing ToString method.
139
140 2002-08-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
141
142         * FieldInfo.cs: implemented SetValue.
143
144 Wed Aug 14 17:37:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
145
146         * MonoEvent.cs, MonoMethod.cs: implemented ReflectedType.
147
148 2002-08-14  Dick Porter  <dick@ximian.com>
149
150         * Assembly.cs: Stub out GetSatelliteAssembly
151
152 2002-08-12  Tim Coleman <tim@timcoleman.com>
153         * MonoProperty.cs:
154                 Allow multiple parameters for GetValue ()
155
156 Thu Aug 8 13:05:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
157
158         * Assembly.cs: implemented GetFile() and GetFiles().
159
160 Mon Aug 5 21:19:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
161
162         * Assembly.cs: implemented EntryPoint and a few 
163         resource related methods.
164
165 Wed Jul 24 13:08:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
166
167         * MethodBase.cs: implemented GetCurrentMethod.
168         * Assembly.cs: implemented GetExecutingAssembly and
169         GetCallingassembly.
170
171 Mon Jul 1 18:01:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
172
173         * MonoProperty.cs: handle properties with only a set method.
174
175 2002-05-24  Martin Baulig  <martin@gnome.org>
176
177         * ParameterInfo.cs: Added internal constructor.
178
179 Thu May 23 17:18:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
180
181         * Assembly.cs: implemented CreateInstance ().
182
183 2002-05-22  Martin Baulig  <martin@gnome.org>
184
185         * MethodBase.cs (get_next_table_index): Added `object obj' argument.
186
187 Tue May 21 12:07:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
188
189         * EventInfo.cs: more implementation.
190
191 Mon May 20 17:37:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
192
193         * MonoEvent.cs: fill-in the implementation.
194
195 Sat May 4 15:00:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
196
197         * Assembly.cs, AssemblyName.cs: updates and fixes.
198
199 2002-04-24      Patrik Torstensson <patrik.torstensson@labs2.com>
200
201         * MonoProperty.cs (GetValue) : basic implementation to support nunit
202         * PropertyInfo.cs (GetValue) : call MonoProperty::GetValue instead of returning null
203
204 Thu Apr 18 16:40:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
205
206         * MonoMethod.c: cache the method name.
207
208 2002-04-12  Duncan Mak  <duncan@ximian.com>
209
210         * AssemblyAlgorithmIdAttribute.cs: Fixed typo in AlgorithmId
211         property.
212
213         * AssemblyDelaySignAttribute.cs: Fixed type in DelaySign
214         attribute.
215
216         * AssemblyFileVersionAttribute.cs: Renamed FileVersion property to
217         Version.
218
219         * BindingFlags.cs: Added missing value "PutRefDispProperty".
220
221         * FieldAttributes.cs: Removed value "HasSecurity".
222
223         * ManifestResourceInfo.cs: Added missing properties FileName,
224         ReferencedAssembly and ResourceLocation.
225
226         * TargetInvocationException.cs: Added the missing constructors.
227
228 Fri Apr 12 18:32:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
229
230         * MonoMethod.cs: make Name property an icall.
231
232 2002-04-08  Nick Drochak  <ndrochak@gol.com>
233
234         * DefaultMemberAttribute.cs: Add AttributeUsage attribute for class,
235         struct and interface.
236
237 Fri Apr 5 15:40:24 CEST 2002 Paolo Molaro <lupus@ximian.com>
238
239         * MonoEvent.cs: remove unused code.
240         * MonoProperty: implement ToString().
241
242 Wed Apr 3 17:59:26 CEST 2002 Paolo Molaro <lupus@ximian.com>
243
244         * Assembly.cs: implement GetTypes() and GetExportedTypes().
245
246 Mon Mar 25 18:54:58 CET 2002 Paolo Molaro <lupus@ximian.com>
247
248         * MonoEvent.cs: added the needed fields.
249
250 2002-03-20  Martin Baulig  <martin@gnome.org>
251
252         * ConstructorInfo.cs (Invoke): Implemented, call the abstract Invoke.
253
254         * MonoMethod.cs (MonoCMethod.Invoke): Implemented, call InternalInvoke.
255
256 2002-03-14  Dietmar Maurer  <dietmar@ximian.com>
257
258         * MonoMethod.cs (Invoke): call InternalInvoke
259
260         * MethodBase.cs (Invoke): call virtual invoke function 
261
262 Thu Mar 7 17:14:20 CET 2002 Paolo Molaro <lupus@ximian.com>
263
264         * EventInfo.cs: add compiler needed methods.
265         * MonoMethod.cs: make ToString() return the return type name, too.
266
267 2002-03-07  Nick Drochak  <ndrochak@gol.com>
268
269         * BindingFlags.cs: Add missing enum values.  Thanks CorCompare.
270
271 Tue Mar 5 20:33:14 CET 2002 Paolo Molaro <lupus@ximian.com>
272
273         * TypeAttributes.cs, MethodImplAttributes.cs: updates to latest spec.
274
275 2002-02-26  Duncan Mak  <duncan@ximian.com>
276
277         * StrongNameKeyPair.cs: Committed for Kevin Winchester (kwin@ns.sympatico.ca>.
278
279 2002-02-24 Nick Drochak  <ndrochak@gol.com>
280
281         * AssemblyNameFlags.cs: Use proper member name.  Thanks corcompare!
282
283 Fri Feb 22 18:54:13 CET 2002 Paolo Molaro <lupus@ximian.com>
284
285         * MonoField.cs: implement GetValue as an internalcall.
286         Implemented ToString().
287
288 Tue Feb 19 20:36:04 CET 2002 Paolo Molaro <lupus@ximian.com>
289
290         * Assembly.cs, Module.cs, MonoField.cs, MonoMethod.cs,
291         MonoProperty.cs, ParameterInfo.cs: Implemented custom attributes
292         related methods.
293
294 Thu Feb 14 18:55:23 CET 2002 Paolo Molaro <lupus@ximian.com>
295
296         * TypeAttributes.cs: update to latest spec.
297
298 Mon Feb 11 19:50:27 CET 2002 Paolo Molaro <lupus@ximian.com>
299
300         * Assembly.cs: handle throwOnError in GetType() call.
301
302 2002-02-07  Duncan Mak  <duncan@ximian.com>
303
304         * AssemblyName.cs: Implemented ISerializable interface for the
305         fields that we have.
306
307 2002-02-05  Duncan Mak  <duncan@ximian.com>
308         
309         * Missing.cs: 
310         * TargetException.cs: Added in CVS.
311
312 2002-01-31  Duncan Mak  <duncan@ximian.com>
313
314         * ReflectionTypeLoadException.cs: Added missing bits.
315
316 2002-01-23  Duncan Mak  <duncan@ximian.com>
317
318         * AssemblyAlgorithmIdAttribute.cs:
319         * AssemblyCompanyAttribute.cs:
320         * AssemblyConfigurationAttribute.cs:
321         * AssemblyCopyrightAttribute.cs:
322         * AssemblyCultureAttribute.cs:
323         * AssemblyDefaultAliasAttribute.cs:
324         * AssemblyDelaySignAttribute.cs:
325         * AssemblyDescriptionAttribute.cs:
326         * AssemblyFileVersionAttribute.cs:
327         * AssemblyFlagsAttribute.cs:
328         * AssemblyInformationalVersionAttribute.cs:
329         * AssemblyKeyFileAttribute.cs:
330         * AssemblyKeyNameAttribute.cs:
331         * AssemblyNameProxy.cs:
332         * AssemblyProductAttribute.cs:
333         * AssemblyTitleAttribute.cs:
334         * AssemblyTradeMarkAttribute.cs:
335         * AssemblyVersionAttribute.cs:
336         * CustomAttributeFormatException.cs:
337         * InvalidFilterCriteriaException.cs:
338         * TargetParameterCountException.cs: Added.
339
340 2002-01-23  Miguel de Icaza  <miguel@ximian.com>
341
342         * Assembly.cs (Assembly.CodeBase): Implement.
343         (Assembly.FullName): simplistic and broken implementation.  Gets
344         us where we were yesterday.
345
346         Code style fix.
347
348 Tue Jan 22 22:54:18 CET 2002 Paolo Molaro <lupus@ximian.com>
349
350         * IReflect.cs: corrected GetMember() return type.
351         * InterfaceMapping.cs, TypeDelegator.cs: implemented.
352
353 Wed Jan 9 19:37:14 CET 2002 Paolo Molaro <lupus@ximian.com>
354
355         * MonoMethod.cs: ToString () implementation.
356
357 2002-01-04  Ravi Pratap  <ravi@ximian.com>
358
359         * Assembly.cs : Decorate missing bits with the MonoTODO
360         attribute.
361
362         * ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,
363         ReflectionTypeLoadException.cs : Ditto.
364
365         * FieldInfo.cs : Ditto.
366         
367 Thu Jan 3 23:25:34 CET 2002 Paolo Molaro <lupus@ximian.com>
368         
369         * Assembly.cs: trow unimplemented exceptions.
370
371 Tue Dec 18 18:46:22 CET 2001 Paolo Molaro <lupus@ximian.com>
372
373         * MonoMethod.cs: implemented GetParameters().
374         * MonoProperty.cs: PropertyInfo implementation.
375         * ParameterInfo.cs: implemented.
376         * PropertyInfo.cs: fixes.
377
378 Thu Dec 13 20:18:05 CET 2001 Paolo Molaro <lupus@ximian.com>
379
380         * FieldInfo.cs: implemented some Is* propeties.
381         * MethodBase.cs: fixed attribute accessors.
382         * MonoField.cs: runtime object to represent a field.
383         * MonoMethod.cs: runtime object to represent a method.
384         * AssemblyBuilder.cs: GetToken() methods to get tokens for
385         strings, fields, methods...
386         * ILGenerator.cs: handle tokens for methods.
387
388 Mon Nov 19 13:56:55 CET 2001 Paolo Molaro <lupus@ximian.com>
389
390         * MethodBase.cs: add internal get_next_table_index() for use in
391         Reflection.Emit.
392
393 Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <lupus@ximian.com>
394
395         * Assembly.cs: implement some of the Load() methods.
396         * ConstructorInfo.cs: some missing stubs and fields.
397         * FieldInfo.cs: IsInitOnly property.
398         * ParameterInfo.cs: stubs for missing properties.
399         * ParameterModifier.cs: implemented class.
400
401 2001-11-10  Sean MacIsaac  <macisaac@ximian.com>
402
403         * Assembly.cs: Filled in some stub implementations
404
405         * ConstructorInfo.cs: Added some stub functions for NUnit
406
407 Fri Nov 2 18:29:36 CET 2001 Paolo Molaro <lupus@ximian.com>
408
409         * AmbiguousMatchException.cs, 
410         * Assembly.cs, Module.cs: updates.
411         * FieldInfo.cs: better compliance to the spec.
412         * MethodBase.cs: move call_conv out of the way.
413         * AssemblyBuilder.cs:  don't use internalcalls, more stuff supported.
414         * FieldBuilder.cs: implemented.
415         * ILGenerator.cs: implemented some opcode handling.
416         * Label.cs: add constructor.
417         * LocalBuilder.cs: implemented.
418         * MethodBuilder.cs: don't use internalcalls, more implemented stuff.
419         * ModuleBuilder.cs: don't use internalcalls, more meat here, too.
420         * ParameterBuilder.cs: implemented.
421         * PropertyBuilder.cs: implemented.
422         * TypeBuilder.cs: don't use internalcalls, more stuff working.
423
424 Tue Sep 25 16:48:50 CEST 2001 Paolo Molaro <lupus@ximian.com>
425
426         * ConstructorInfo.cs, MemberFilter.cs, Module.cs: added.
427
428 Fri Sep 14 16:12:08 CEST 2001 Paolo Molaro <lupus@ximian.com>
429
430         * MethodBase.cs, MethodInfo.cs: added.
431
432 Thu Sep 13 18:05:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
433
434         * Assembly.cs: added stub code.
435
436 2001-07-18  Michael Lambert <michaellambert@email.com>
437
438         * BindingFlags.cs: Add.
439 >>>>>>> 1.52