2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mono / metadata / ChangeLog
index fc76cd8e4f1d01c01b79598ff0ddbb74f0000c62..d181478df676a4c7c748e3a3f5f638c8ae00dc9e 100644 (file)
@@ -1,3 +1,190 @@
+2005-01-31  Martin Baulig  <martin@ximian.com>
+
+       * metadata.c (mono_metadata_has_generic_params): New public
+       function; checks whether something is a generic method.
+
+Sun Jan 30 20:19:48 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * appdomain.c: fix infinite recursion when adding assemblies.
+
+2005-01-30  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * object.c: Fix small typo to return all items for Environment.
+       GetCommandLineArgs.
+
+Sun Jan 30 16:49:01 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * domain.c, appdomain.c, assembly.c, image.c, domain-internals.h,
+       reflection.c: more domain and assembly-unload related fixes
+       and memory leaks plugs.
+
+2005-01-30  Zoltan Varga  <vargaz@freemail.hu>
+
+       * class.c loader.c security.c loader.h process.c threads.c mono-debug-debugger.c profiler.c marshal.c rand.cpedump.c: Fix 64 bit warnings.
+
+2005-01-29  Ben Maurer  <bmaurer@ximian.com>
+
+       * loader.c (mono_method_signature): Make this method lazy
+       (mono_get_method_from_token): Don't computate the signature here.
+
+       Doing this saves quite a bit of memory. I got 90 kb on starting up
+       monodoc. It should also save some disk reads on startup.
+
+       * *: MonoMethod->signature might be NULL now. You *MUST* use
+       mono_method_signature.
+
+2005-01-29  Zoltan Varga  <vargaz@freemail.hu>
+
+       * object.c (mono_runtime_get_main_args): Return an array from the
+       current domain here. Fixes #71938.
+
+Sat Jan 29 15:59:05 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * monitor.c: formatting changes to comply with the
+       mono coding style and remove #ifdefs from the code.
+
+Sat Jan 29 15:18:54 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * metadata.c, private.h: remove some unneeded data
+       and use a more compact representation for table schemas.
+
+Fri Jan 28 18:23:44 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * metadata.c, metadata-internals.h: add mono_aligned_addr_hash()
+       to get a better distribution in hash tables.
+       * *.c: use mono_aligned_addr_hash() where appropriate.
+       * assembly.c: make var static.
+
+2005-01-28  Zoltan Varga  <vargaz@freemail.hu>
+
+       * domain-internals.h: Put MonoJitInfo on a diet.
+
+       * domain.c: Fix a warning.
+
+Wed Jan 26 22:20:46 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * gc.c: rework the gc handles code to reuse handles
+       when freed.
+
+Wed Jan 26 17:34:09 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * domain.c: fixed long standing bug in mono_string_equal() which
+       was brought to light with the ldstr changes.
+
+2005-01-26  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * reflection.c: Remove warning by adding missing include for marshal.h
+
+Tue Jan 25 18:06:00 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * domain.c, object.c: change the ldstr_table to hold
+       MonoString* as keys: makes the runtime isinterned lookup
+       faster and simplifies memory management.
+
+2005-01-25  Sebastien Pouliot  <sebastien@ximian.com> 
+       * icall.c: Renamed GetEnvironmentVariable so internal* so it was
+       possible to add imperative security checks before calling the icall.
+       * reflection.c: Return security attributes on the original MonoMethod
+       (and not the wrapped one). This fix permissions on icalls.
+
+2005-01-25  Dick Porter  <dick@ximian.com>
+
+       * icall.c (ves_icall_System_CurrentTimeZone_GetTimeZoneData): Make
+       the check for mktime() support actually test the mktime() return
+       value.  "Fixes" bug 71682, though the output is still different to
+       MS.
+
+2005-01-25  Martin Baulig  <martin@ximian.com>
+
+       * class.c (mono_class_is_assignable_from): Make this work for
+       generic instances.
+
+2005-01-24  Ben Maurer  <bmaurer@ximian.com>
+
+       * marshal.c (mono_string_utf8_to_builder)
+       (mono_string_builder_to_utf16): We might not have ownership of the
+       string. In thise case, we need to create a new buffer.
+
+       * object-internals.h (mono_stringbuilder_capacity): sb->str might
+       be null, in which case, use the default capacity.
+
+Mon Jan 24 16:42:29 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * gc-internal.h, null-gc.c, profiler.c, boehm-gc.c: hook the
+       GC events to the profiler.
+
+Mon Jan 24 15:59:54 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * gc.c: remove valgrind detection nonsense. Set GC_DONT_GC
+       if you don't want the GC to run.
+
+Mon Jan 24 15:53:25 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * Makefile.am, gc.c, mono-gc.h, boehm-gc.c, null-gc.c, gc-internal.h:
+       start providing a GC API and keeping different implementations in
+       their own file.
+       * profiler.h, profiler.c, profiler-private.h: provide the GC events API.
+
+2005-01-22  Ben Maurer  <bmaurer@ximian.com>
+
+       * debug-mono-symfile.c (mono_debug_open_mono_symbol_file): Use
+       mmap rather than allocating a huge buffer.
+       (mono_debug_close_mono_symbol_file): Free the buffer allocated
+       above.
+
+2005-01-22  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * icall.c: Add new internal calls for SecurityManager.SecurityEnabled
+       and CheckExecutionRights.
+       * reflection.c|h: Keep the index of the declarative security to be 
+       used, instead of the pointer, when AOT compiler is used. Also add 
+       class initialization when requesting demands.
+       * security-manager.c|h: Implement SecurityManager.SecurityEnabled and
+       CheckExecutionRights. Both properties are now FALSE by default, and
+       unmodifiable, unless the --security option is used.
+
+Fri Jan 21 15:29:27 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * domain.c, appdomain.c, assembly.c, image.c, metadata-internals.h,
+       reflection.c: properly refcount images and assemblies, many leaks fixed.
+
+2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * threadpool.c: increase the timeout for threads in the thread pool to
+       10s.  Fixes bug #67159.
+
+2005-01-20  Bernie Solomon  <bernard@ugsolutions.com>
+
+       * class-internals.h: Sun's compiler insists on explicit
+       signed on bit fields to handle then correctly.
+
+2005-01-19  Miguel de Icaza  <miguel@ximian.com>
+
+       * file-io.c (ves_icall_System_IO_MonoIO_get_InvalidPathChars):
+       Make the size of the array fit only the number of invalid path
+       chars that we have.
+
+       * class.c (_mono_class_get): Improve the error reporting when a
+       class referenced is not found, to assist debugging. 
+
+Wed Jan 19 19:57:43 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * threads.c: fix off-by-one error.
+       * domain.c: free data allocated in the domain.
+
+2005-01-19  Zoltan Varga  <vargaz@freemail.hu>
+
+       * reflection.c (mono_method_body_get_object): Fill out exception info
+       as well.
+
+       * object-internals.h: Add MonoReflectionExceptionHandlingClause 
+       structure.
+       
+2005-01-19  Martin Baulig  <martin@ximian.com>
+
+       * loader.c (mono_get_method_constrained): Make this work again.
+
 2005-01-19  Zoltan Varga  <vargaz@freemail.hu>
 
        * object-internals.h (_MonoReflectionMethodBody): Make local_index a