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