2004-03-22 Ben Maurer <bmaurer@users.sourceforge.net>
[mono.git] / mono / metadata / ChangeLog
index e32e41a6793307d60c085d6dcb7138bc4ac17644..ace04aa8e235f20ae693cb4aebcbfb1f4f616ed0 100644 (file)
@@ -1,3 +1,184 @@
+2004-03-22 Ben Maurer  <bmaurer@users.sourceforge.net>
+
+       * class.c: do not insert non-virtual methods in the vtable.
+       * icall.c, mono-debug-debugger.c, object.c: if method->slot == -1,
+       that means the method is non-virtual. This never would have
+       happened before.
+
+2004-03-22  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * profiler.c: Added lock for accessing coverage_hash.
+
+2004-03-22  Martin Baulig  <martin@ximian.com>
+
+       * icall.c (ves_icall_MethodInfo_get_IsGenericMethod): Use
+       `method->method->signature->generic_param_count != 0' to make it
+       work for interface methods.
+
+2004-03-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * process.c: quote the string passed to the shell using g_shell_quote.
+
+2004-03-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * threads.c:
+       (mono_threads_manage): don't remove the finalizer thread and self
+       from the threads hash table so that mono_thread_manage can be called
+       more than once.
+
+2004-03-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * process.c: quote the arguments when UseShellExecute is true. Fixes
+       bug #55790.
+
+2004-03-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * threads.c: set mono_thread_detach as a cleanup routine for every
+       thread. This way it's always executed upon thread termination, either
+       aborted or finished normally. No more xsp hangs!
+
+2004-03-17  Martin Baulig  <martin@ximian.com>
+
+       * class.h (MonoGenericInst): Replaced the `GList *nested' with an
+       `int count_nested' and a `MonoType **nested'.
+
+       * reflection.c (mono_reflection_bind_generic_parameters): Moved
+       most of the functionality into a new static
+       do_mono_reflection_bind_generic_parameters() and don't take a
+       `MonoType *nested_in' argument any more.  Don't compute nested
+       types here.
+       (mono_reflection_generic_inst_get_nested_types): New public method
+       to get nested types.
+
+       * class.c (mono_class_create_generic): Set `klass->nested_in' if
+       we're a nested class.
+
+       * icall.c (ves_icall_MonoGenericInst_GetNestedTypes): Call
+       mono_reflection_generic_inst_get_nested_types() to compute the
+       nested types.
+
+2004-03-17  Zoltan Varga  <vargaz@freemail.hu>
+
+       * threads.c (ves_icall_System_Threading_Thread_Abort): Add a more
+       descriptive error message under windows.
+       
+2004-03-17  Martin Baulig  <martin@ximian.com>
+
+       * class.c (dup_type): Added `const MonoType *original' argument;
+       copy the attrs from the original type.
+
+2004-03-17  Martin Baulig  <martin@ximian.com>
+
+       * metadata.c (do_mono_metadata_parse_generic_inst): Use the
+       `m->generic_inst_cache' here.
+
+2004-03-17  Zoltan Varga  <vargaz@freemail.hu>
+
+       * exception.h exception.c: Add stack_overflow_exception.
+
+2004-03-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * threadpool.c:
+       (overlapped_callback): call SetEvent *after* invoking the callback.
+       No need to call CloseHandle.
+
+2004-03-16  Martin Baulig  <martin@ximian.com>
+
+       * reflection.c (mono_image_get_fieldref_token): Take a
+       `MonoReflectionField *' instead of a `MonoClassField *' and a
+       `MonoClass *'; store the `MonoReflectionField *' in the hash.
+
+2004-03-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * appdomain.c: don't add the culture to the filename we're looking for
+       if it's neutral or NULL. Fixes bug #53788. Removed redundant memset.
+
+2004-03-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * locales.c: don't ignore symbols when doing case insensitive compares.
+       Thanks Dick! Fixes bug #54046.
+
+       * threads.c: surround 'threads' usage with enter/leave in
+       mono_thread_manage.
+
+2004-03-16  Zoltan Varga  <vargaz@freemail.hu>
+
+       * marshal.c (mono_marshal_get_native_wrapper): Char arrays are 
+       implicitly marshalled as [Out]. Fixes #55450.
+
+       (mono_marshal_get_runtime_invoke): Zero out the result if there is
+       an exception.
+
+2004-03-16  Martin Baulig  <martin@ximian.com>
+
+       * class.c (mono_class_from_generic_parameter): Use the actual
+       parameter name. 
+
+2004-03-16  Martin Baulig  <martin@ximian.com>
+
+       * reflection.c (type_get_signature_size): New static function.
+       Compues the size of the type in a method signature.
+       (method_get_signature_size): New static function; calls
+       type_get_signature_size() to compute the actual size of the
+       method's signature.
+       (method_encode_signature): Use method_get_signature_size() to get
+       the signature's size rather than using `nparams * 10'.
+
+2004-03-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * file-io.h: define here WapiOverlapped on windows. I don't want the
+       regular OVERLAPPED one.
+
+       * file-io.c:
+       * threadpool.c: somehow, BindIoCompletionCallback is not found.
+       Disabling AIO on windows.
+
+2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * marshal.c: Marshal.SizeOf throws an exception for AutoLayout. Fixes
+       bug #55385.
+
+2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * appdomain.c: upgraded corlib version.
+
+       * file-io.c: implemented new icalls: GetSupportsAIO, BeginRead
+       and BeginWrite. Allow opening files for asynchrnous operations.
+
+       * file-io.h: new struct that maps FileStreamAsyncResult.
+       * icall.c: added new icalls.
+       * process.[ch]: support setting child process environment variables
+       and use the SHELL or COMSPEC when UseShellExecute is true.
+
+       * threadpool.[ch]: fixed warnings, moved ThreadPool icalls here. The
+       callback for async. IO is here and also BindHandle.
+
+       * threads.[ch]: added mono_thread_detach and removed ThreadPool icalls
+       from here.
+
+2004-03-14  Zoltan Varga  <vargaz@freemail.hu>
+
+       * reflection.c (create_custom_attr): Allow len == 0.
+
+       * object.c (mono_class_compute_gc_descriptor): Fix descriptor
+       computation on big-endian machines.
+
+2004-03-13  Martin Baulig  <martin@ximian.com>
+
+       * class.h (MonoGenericInst): Added `int count_ifaces'.
+
+       * iclass.c (ves_icall_MonoGenericInst_GetInterfaces): Use
+       `ginst->count_ifaces' instead `klass->interface_count' since we
+       may get called before the vtable is created.
+
+       * loader.c (mono_method_get_param_names): If we're a generic
+       instance, return and don't initialize the class.
+
+       * reflection.c (mono_reflection_setup_generic_class): Don't call
+       ensure_runtime_vtable().
+       (mono_reflection_bind_generic_parameters): Set
+       `ginst->count_ifaces'.
+
 2004-03-11  Jackson Harper <jackson@ximian.com>
 
        * icall.c: