2008-08-28 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mono / metadata / ChangeLog
index 25abdfbf5223553e0ca2f1729afc370748a2c7ad..6fd2a23bcf9d9343cf59a3bb9fc546978df54400 100644 (file)
@@ -1,3 +1,160 @@
+2008-08-28  Zoltan Varga  <vargaz@gmail.com>
+
+       * appdomain.c (mono_runtime_set_no_exec): New internal function setting
+       the runtime into no-exec mode, useful when running the AOT compiler.
+
+       * appdomain.c gc.c object.c: Avoid executing managed code when running
+       in no-exec mode.
+       
+       * rawbuffer.c (mono_raw_buffer_load_mmap): Disable this on the iphone.
+
+       * reflection.c (_mono_reflection_get_type_from_info): Handle the 
+       special case when the mono_assembly_loaded () returns NULL because the 
+       search hook is not installed.
+
+2008-08-25  Zoltan Varga  <vargaz@gmail.com>
+
+       * marshal.c: Applied patch from tom hindle (tom_hindle@sil.org) to fix
+       crashes in bstr marshalling on linux.
+
+2008-08-24  Zoltan Varga  <vargaz@gmail.com>
+
+       * debug-helpers.c (mono_type_get_desc): Fix printing of generic instances
+       with more than one parameter.
+
+2008-08-24  Miguel de Icaza  <miguel@novell.com>
+
+       * console-io.c (ves_icall_System_ConsoleDriver_TtySetup): Disable
+       start/stop flow control as well when turning off ICANON (allows
+       C-s and C-q to be read by Console.ReadKey).
+
+2008-08-24  Zoltan Varga  <vargaz@gmail.com>
+
+       * class.c (mono_class_init): Move the initialization of nested classes
+       into mono_class_get_nested_types (). Fixes #418433.
+
+       * class-internals.h (struct _MonoClass): Add a new 'nested_classes_inited'
+       flag.
+
+       * class.c reflection.c icall.c: Use mono_class_get_nested_types () for 
+       iterating tough the nested classes of a class.
+
+2008-08-23  Zoltan Varga  <vargaz@gmail.com>
+
+       * class.c (mono_class_generic_sharing_enabled): Enable generic sharing
+       on arm.
+
+2008-08-22  Miguel de Icaza  <miguel@novell.com>
+
+       * console-io.c (sigcont_handler): Support signal chaining for
+       SIGCONT.
+
+       (console_set_signal_handlers): Use best practices with sigaction,
+       clear the structure before using it. 
+
+2008-08-22  Robert Jordan  <robertj@gmx.net>
+
+       * console-io.c (ves_icall_System_ConsoleDriver_TtySetup):
+       Fix the Windows build.
+
+2008-08-22  Zoltan Varga  <vargaz@gmail.com>
+
+       * class.c (mono_class_generic_sharing_enabled): Make the default
+       sharing mode 'corlib'.
+
+2008-08-21  Zoltan Varga  <vargaz@gmail.com>
+
+       * console-io.c (console_set_signal_handlers): Fix a warning.
+
+       * marshal.c (mono_marshal_get_synchronized_wrapper): Call the wrapper
+       method normally, the JIT will take care of avoiding recursion.
+
+2008-08-20  Bill Holmes  <billholmes54@gmail.com>
+
+       * console-io.c : Fixing builds for platforms that do not have <termios.h>.
+
+       Code is contributed under MIT/X11 license.
+
+2008-08-20  Miguel de Icaza  <miguel@novell.com>
+
+       * console-io.c (sigcont_handler): We need to restore the entire
+       termios state, not only the original settings, as things like echo
+       can be controlled after this (Booish exposes this issue with its
+       own ReadLine implementation).
+
+       Additionally, we need to set the terminal back into keypad_xmit
+       mode.
+       
+       (ves_icall_System_ConsoleDriver_TtySetup): Take the keypad xmit
+       string as a paramter as well.   Otherwise we get different
+       keyboard sequences.
+
+2008-08-20  Zoltan Varga  <vargaz@gmail.com>
+
+       * marshal.c (emit_marshal_object): Avoid managed-to-native marshalling of
+       delegates with byref out parameter passing. Fixes #351520.
+
+       * debug-helpers.c (mono_context_get_desc): New helper function to stringify
+       a generic context.
+       (mono_type_get_desc): Add the type arguments for GENERICINST.
+       (mono_method_full_name): Stringify the class name using mono_type_full_name
+       so it picks up generic arguments.
+
+2008-08-19  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * console-io.c: Removed debug output.
+
+2008-08-19 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       reflection.c (mono_reflection_create_runtime_class): Alloc
+       the nested classes linked list using the dynamic image mempool.
+       Fixes leak in corlib compilation.
+
+2008-08-19  Miguel de Icaza  <miguel@novell.com>
+
+       * console-io.c: Fix incredibly annoying behavior on the console
+       after resuming execution after control-z.   This affected every
+       console application.
+
+2008-08-18 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * mempool-internals.h: Header for mono private mempool functions. The first
+       two function are for allocating glib linked lists using pools.
+
+       * mempool.c: Added g_list_prepend_mempool and g_slist_prepend_mempool.
+
+       * Makefile.am: Added mempool-internals.h.
+
+2008-08-16  Zoltan Varga  <vargaz@gmail.com>
+
+       * domain.c (mono_domain_create): Call the JIT domain hook if installed.
+       (mono_domain_free): Ditto.
+
+       * domain-internals.h (struct _MonoDomain): Add 'runtime_info' field, this could
+       be used by the JIT to store its domain-specific information, instead of putting
+       it directly into MonoDomain.
+
+       * domain.c (mono_install_create_domain_hook): New helper function to install
+       a hook which initializes domain->runtime_info.
+
+       * domain.c (mono_install_free_domain_hook): Ditto.
+       
+2008-08-15  Zoltan Varga  <vargaz@gmail.com>
+
+       * marshal.c (mono_delegate_end_invoke): Raise an exception instead of
+       asserting if the ares parameter is null.
+
+       * mono-perfcounters.c: Fix warnings.
+
+       * marshal.c (mono_marshal_get_delegate_begin_invoke): Don't set save_lmf, it
+       is not needed, don't check for interruptions either.
+       (mono_marshal_get_delegate_end_invoke): Ditto.
+
+2008-08-15  Marek Habersack  <mhabersack@novell.com>
+
+       * mono-perfcounters.c (predef_readonly_counter): added support for
+       reading the ASP.NET Requests Queued counter from another process.
+
 2008-08-12  Zoltan Varga  <vargaz@gmail.com>
 
        * metadata-internals.h: Move the 'aot_module' field from MonoAssembly to