diff options
Diffstat (limited to 'mono/interpreter/ChangeLog')
-rw-r--r-- | mono/interpreter/ChangeLog | 475 |
1 files changed, 475 insertions, 0 deletions
diff --git a/mono/interpreter/ChangeLog b/mono/interpreter/ChangeLog index e8285e718bb..0aa1ceeee14 100644 --- a/mono/interpreter/ChangeLog +++ b/mono/interpreter/ChangeLog @@ -1,3 +1,478 @@ + +Tue Nov 9 17:28:48 CET 2004 Paolo Molaro <lupus@ximian.com> + + * interp.c: update to exception clause structure changes. + +2004-11-08 Ben Maurer <bmaurer@ximian.com> + + * interp.c: warning free + +2004-10-29 Zoltan Varga <vargaz@freemail.hu> + + * Makefile.am (libgc_libs): Do some automake magic so libmono/mono + depends on libmonogc. + +Wed Sep 22 19:06:02 CEST 2004 Paolo Molaro <lupus@ximian.com> + + * interp.c: updates for stack walk interface. + +2004-09-09 Lluis Sanchez Gual <lluis@novell.com> + + * interp.c: In interp_walk_stack, don't crash if the context is not set + (this may happen if the method is called by unmanaged code). + +2004-08-17 Ben Maurer <bmaurer@users.sourceforge.net> + + * interp.c: thread local alloc + +2004-08-05 Bernie Solomon <bernard@ugsolutions.com> + + * interp.c: (mono_interp_init) use g_thread_supported + to stop multiple g_thread_init calls. + Also attach domain to thread like mono_jit_init + +2004-07-31 Bernie Solomon <bernard@ugsolutions.com> + + * interp.h: add mono_interp_ftnptr_to_delegate + + * transform.c (generate): use mono_interp_ftnptr_to_delegate + as ical function. + + * interp.c: add mono_interp_ftnptr_to_delegate to create + interpreter style delegate. fixes pinvoke3 + +2004-07-28 Lluis Sanchez Gual <lluis@novell.com> + + * interp.c: Use mono_init_from_assembly instead of mono_init. + +2004-07-27 Bernie Solomon <bernard@ugsolutions.com> + + * transform.c (mono_interp_transform_method): + quick fix to cope with the fake ptr classes + +2004-07-26 Bernie Solomon <bernard@ugsolutions.com> + + * mintops.def: more options on ICALL op code + + * interp.c: cope with exception in ICALL ops, more of them + + * transforms.c: more ICALL opcodes + +2004-07-21 Bernie Solomon <bernard@ugsolutions.com> + + * mintops.def: rename the ICALL op codes to give a better + clue about their signature. + + * transform.c (generate): use new ICALL types and add + a case for two args + a result + + * interp.c (ves_exec_method_with_context): new ICALL + op codes. + +2004-07-21 Bernie Solomon <bernard@ugsolutions.com> + + * mintops.def: add MINT_DUP_VT + + * transform.c (generate): cope with CEE_DUP on value type + + * interp.c (ves_exec_method_with_context): implement MINT_DUP_VT + (interp_mono_runtime_invoke): don't unbox this for valuetypes + here as it is now done in the callers. + +2004-07-09 Ben Maurer <bmaurer@ximian.com> + + * interp.c: register gc roots + +2004-07-08 Zoltan Varga <vargaz@freemail.hu> + + * interp.c mintops.def transform.c: Replace CEE_MONO_PROC<x> with + CEE_MONO_ICALL. + +2004-07-05 Zoltan Varga <vargaz@freemail.hu> + + * mintops.h: Applied patch from Marcin Krzyzanowski (krzak@pld-linux.org). Add support for unaligned access on little endian machines. + + * interp.c:Applied patch from Marcin Krzyzanowski (krzak@pld-linux.org). Fix crash seen on amd64. + +2004-06-24 David Waite <mass@akuma.org> + + * interp.c: change to C90-style comments from C99/C++-style + +Mon Jun 21 14:06:03 CEST 2004 Paolo Molaro <lupus@ximian.com> + + * interp.h: API updates. + +2004-05-21 Bernie Solomon <bernard@ugsolutions.com> + + * transform.c: ignore new LMF opcodes + +2004-05-20 Lluis Sanchez Gual <lluis@ximian.com> + + * interp.c, interp.h: Use the new methods for handling thread.abort. + +2004-05-04 Zoltan Varga <vargaz@freemail.hu> + + * interp.c (ves_exec_method_with_context): Disable explicit assignment + of 'esi' to the ip variable, since it causes register allocation errors + on some versions of gcc. Fixes #58010. + +2004-04-29 Bernie Solomon <bernard@ugsolutions.com> + + * transform.c (generate): missed a couple + of places that should use ADD_CODE so buffer + gets grown properly. + + * interp.c (interp_mono_runtime_invoke): + restore state better on catching exception + via longjmp here + +2004-04-29 Bernie Solomon <bernard@ugsolutions.com> + + * transform.c: + * interp.c: + Implement STARG for valuetypes as mcs needs it. + +2004-04-28 Bernie Solomon <bernard@ugsolutions.com> + + * transform.c: Make sure ENSURE_I4 is called on + 32 bit machines too. + (mono_interp_transform_method): allow some stack + space for tracing to work. + +2004-04-26 David Waite <mass@akuma.org> + + * interp.h: remove comma from end of enumeration constants + declarations + +2004-04-21 Bernie Solomon <bernard@ugsolutions.com> + + * interp.h: put in space for old type field + for PPC as tramp.c assumes it. Quick fix until that's fixed. + + * interp.c: reenable instruction tracing for DEBUG_INTERP + +2004-04-19 Bernie Solomon <bernard@ugsolutions.com> + + * Makefile.am: + * interp.h: + * interp.c: now interprets different VM code + * mintops.h: + * mintops.def: + * mintops.c: definition of new VM code + * transform.c: convert CIL to new VM code + +2004-04-14 Zoltan Varga <vargaz@freemail.hu> + + * interp.c (ves_exec_method_with_context): Add support for STRWLPARRAY + marshalling convention. + +2004-03-29 Bernie Solomon <bernard@ugsolutions.com> + + * interp.c interp.h: remove child from MonoInvocation + as it isn't used. + +2004-03-25 Martin Baulig <martin@ximian.com> + + * interp.c (stackval_from_data): Added MONO_TYPE_GENERICINST. + (stackval_to_data): Added MONO_TYPE_GENERICINST. + (calc_offsets): Use mono_class_get_full() and mono_get_method_full(). + (ves_exec_method_with_context): Likewise. + +2004-03-04 Lluis Sanchez Gual <lluis@ximian.com> + + * interp.c: Get the type of transparent proxies from its remote_class. + +2004-02-02 Zoltan Varga <vargaz@freemail.hu> + + * interp.c (ves_exec_method_with_context): Add new marshalling + conventions. + +2004-01-22 Zoltan Varga <vargaz@freemail.hu> + + * interp.c (mono_main): Remove call to mono_verify_corlib (), since + the verification code is not up-to-date. + +2004-01-19 Bernie Solomon <bernard@ugsolutions.com> + + * interp.c (ves_exec_method_with_context): + get_native_wrapper removed and call + mono_marshal_get_native_wrapper directly + with new DllNotFoundException handling + +Mon Jan 19 17:52:33 CET 2004 Paolo Molaro <lupus@ximian.com> + + * interp.c: eliminate CSIZE macro. + +2004-01-15 Zoltan Varga <vargaz@freemail.hu> + + * interp.c (ves_array_set): Check for ArrayTypeMismatchException. + +2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com> + + * interp.c: call setlocale (). Fixes bug #52100. + +2003-12-19 Bernie Solomon <bernard@ugsolutions.com> + + * embed.h, main.c: new files to enable embedding + the interpreter + + * interp.c: make main callable from main.c + rearrange main for embedding + + * Makefile.am: changes now most code is in a library + +2003-11-21 Lluis Sanchez Gual <lluis@ximian.com> + + * interp.c: Added support for context static fields. + +2003-10-31 Zoltan Varga <vargaz@freemail.hu> + + * interp.c (mono_create_method_pointer): New function which contains + the arch independent part of method wrapper creation. Add a cache + for the wrapper code, since Delegate::Equals depends on the wrapper + address being constant for a method. Fixes #50366. + +2003-10-30 Bernie Solomon <bernard@ugsolutions.com> + + * interp.c: (ves_exec_method_with_context) + we need to lookup internal calls now. + don't free type in CEE_SIZEOF. + fix CEE_NEWOBJ inside wrapper methods + +2003-10-24 Zoltan Varga <vargaz@freemail.hu> + + * interp.c: Update after appdomain changes. + +2003-10-13 Bernie Solomon <bernard@ugsolutions.com> + + * interp.c - set large stack size on HP 64bit + +2003-10-02 Bernie Solomon <bernard@ugsolutions.com> + + * hacks.h - work round HP 64 bit problem with isunordered + +2003-10-03 Zoltan Varga <vargaz@freemail.hu> + + * interp.c (dump_frame): Avoid crash on frames without a method. Patch + sam@superduper.net (sam clegg). Fixes #46197. + (ves_exec_method_with_context): Fix unbox casting. + +2003-09-25 Bernie Solomon <bernard@ugsolutions.com> + + * interp.c - reinstate use of mono_marshal_get_delegate_invoke + for ordering and fix CALLI to handle wrapper. More wrapper handling + in CALL and LDSTR. Add another string conversion case. + +2003-09-25 Zoltan Varga <vargaz@freemail.hu> + + * interp.c (ves_exec_method): Fix warning. + (ves_exec_method_with_context): Fix CGT_UN and CLT_UN. Patch by + David Waite (mass@akuma.org). + +2003-9-24 Bernie Solomon <bernard@ugsolutions.com> + + * interp.c: I broke calling native delegates reinstate + old code for the moment. + +2003-9-22 Bernie Solomon <bernard@ugsolutions.com> + + * interp.c: use mono_marshal_get_delegate_invoke to get delegate + invocation order consistent. Fix THROW_EX, fix ip in overflow + exceptions. + +Fri Sep 12 10:42:08 CEST 2003 Paolo Molaro <lupus@ximian.com> + + * interp.c, interp.h: patch from Bernie Solomon <bernard@ugsolutions.com>: + 64 bit/opcodes/exception handling fixes. + +2003-08-30 Zoltan Varga <vargaz@freemail.hu> + + * interp.c: Use mono_field_from_token () in the appropriate places. + This simplifies the code and also fixes #48051. + +2003-08-27 Zoltan Varga <vargaz@freemail.hu> + + * interp.c (main): Fix the order of initialization calls so it maches + the order in the JIT.Patch by Bernie Solomon (bernard@ugsolutions.com). + Also remove the unused ms mutex. + + * interp.c: Get rid of metadata_section. + +2003-08-22 Zoltan Varga <vargaz@freemail.hu> + + * interp.c (main): Call g_thread_init () to make glib thread-safe. + Fixes #47682. Thanks to Laurent Morichetti (l_m@pacbell.net) for + reporting this. + +2003-08-18 Zoltan Varga <vargaz@freemail.hu> + + * interp.c: Get rid of duplicate definition of CHECK_MUL_OVERFLOW. + * interp.h interp.c: Get rid of VAL_VALUETA, use VAL_MP instead. Fix + the INITOBJ opcode which was the only user of VALUETA. + +2003-08-16 Zoltan Varga <vargaz@freemail.hu> + + * interp.c (ves_exec_method): Implemented mul.ovf correctly for int32 + and int64. Implement the conv.ovf opcodes for all argument types. + +2003-08-15 Zoltan Varga <vargaz@freemail.hu> + + * interp.c (ves_exec_method): Handle non-valuetypes in CEE_STOBJ. + Fixes #46781. + (ves_exec_method): Added support for the synchronized flag to the + interpreter. Also fixed the CALLI opcode, and made exception handling + work though the managed-unmanaged barrier. + +Fri Jul 25 19:06:27 CEST 2003 Paolo Molaro <lupus@ximian.com> + + * interp.c: updates for new instructions. + +2003-07-22 Zoltan Varga <vargaz@freemail.hu> + + * interp.c: Use the new metadata_section lock instead of metadata_lock. + Patch by Bernie Solomon (bernard@ugsolutions.com). + +Fri Jul 18 15:11:44 CEST 2003 Paolo Molaro <lupus@ximian.com> + + * interp.c: 64 bit fixes from Laurent Morichetti <l_m@pacbell.net>. + Install cleanup function. + +2003-07-13 Zoltan Varga <vargaz@freemail.hu> + + * interp.c: Keep alloca()-d data on a free list to prevent stack + overflow errors when valuetypes are allocated in a loop. Fixes + #27420. Is the new code still faster than using malloc/free ? + + * interp.c (ves_array_get): Add index checking to ves_array_get/set. + Fixes decimal-array.exe. + + * interp.c (interp_mono_runtime_invoke): Unbox value type instances + before calling the method. Fixes appdomain2.exe. + + * interp.c: Fix warnings. + + * interp.c: Report unhandled exceptions correctly. + + * interp.c: Implement CEE_ISINST and CEE_CASTCLASS using + mono_object_isinst. Fixes bug #45539 and reflection-enum.exe. + +Tue May 27 16:36:41 CEST 2003 Paolo Molaro <lupus@ximian.com> + + * interp.c: don't use relative numbering stuff. + +Tue May 27 12:18:44 CEST 2003 Paolo Molaro <lupus@ximian.com> + + * interp.c: update for mono_class_vtable() changes. + +Tue May 13 16:43:18 CEST 2003 Paolo Molaro <lupus@ximian.com> + + * interp.c: handle thread static fields. + +Sun Apr 27 13:27:59 CEST 2003 Paolo Molaro <lupus@ximian.com> + + * interp.c: check for arraytypemismatch. + +2003-04-23 Martin Baulig <martin@ximian.com> + + * interp.c: When running with --dieonex, use the debugging code to + print source lines in the backtrace. + +2003-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com> + + * interp.c: added a dummy mono_runtime_install_handlers function to + avoid crashing when ves_pinvoke_method tries to call it. + +2003-02-06 Piers Haken <piersh@friskit.com> + + * interp.c: warning cleanups + +2002-11-15 Dick Porter <dick@ximian.com> + + * interp.c: mono_runtime_init() now has an extra parameter for + thread attaching. + +2002-10-31 Dick Porter <dick@ximian.com> + + * Makefile.am: The previous automake-1.6 fix broke automake-1.4 on + cygwin. Try again. + +2002-09-27 Dick Porter <dick@ximian.com> + + * interp.c: Tell glib what the program name is, by passing it the + name of the managed file we're executing + +2002-08-28 Dick Porter <dick@ximian.com> + + * interp.c: mono_set_rootdir() doesnt take any args now + + * Makefile.am: Export HOST_CC and turn on optimisation for w32 builds + +2002-08-28 Nick Drochak <ndrochak@gol.com> + + * interp.c: check and throw exception if needed for overflow on + multiplication of integer types. + +2002-08-07 Dietmar Maurer <dietmar@ximian.com> + + * interp.c (interp_walk_stack): removed the createdelegate icall + +2002-08-02 Dietmar Maurer <dietmar@ximian.com> + + * interp.c (get_virtual_method): support proxies + (ves_exec_method): impl. LDFLD/STFLD for proxies. + +Fri Aug 2 13:00:41 CEST 2002 Paolo Molaro <lupus@ximian.com> + + * interp.c, interp.h: implemented exception trap for runtime_invoke + and handle exceptions across managed/unmanaged boundaries. + +2002-08-01 Dietmar Maurer <dietmar@ximian.com> + + * interp.c (stackval_from_data): add pinvoke argument + (stackval_to_data): add pinvoke argument. We need consider the + fact that unmanages structures may have different sizes. + (ves_pinvoke_method): do not call stackval_from_data if the result + is a value type. + +Wed Jul 31 17:47:11 CEST 2002 Paolo Molaro <lupus@ximian.com> + + * interp.c: simplified some more branch code. + +Wed Jul 31 16:50:42 CEST 2002 Paolo Molaro <lupus@ximian.com> + + * interp.c: fixed indentation, simplified some code. + +Wed Jul 31 14:29:43 CEST 2002 Paolo Molaro <lupus@ximian.com> + + * interp.c: fix so that mint can at least get to executing Main(). + +2002-07-31 Dietmar Maurer <dietmar@ximian.com> + + * interp.c: use the new marshaling code. better delegate/remoting + support. + (ves_exec_method): bug fix - directly jump to handle_exception. + +2002-07-29 Dietmar Maurer <dietmar@ximian.com> + + * interp.c (main): install compile_method handler + +Wed Jul 24 13:02:12 CEST 2002 Paolo Molaro <lupus@ximian.com> + + * interp.c: implemented stack walking function. + +Fri Jul 19 14:21:18 CEST 2002 Paolo Molaro <lupus@ximian.com> + + * interp.c: fix float boxing on LE systems. + +Sat Jul 13 19:54:56 CEST 2002 Paolo Molaro <lupus@ximian.com> + + * interp.c: advance ip in conv.r.un. + +2002-07-01 Dick Porter <dick@ximian.com> + + * interp.c (ves_exec): Removed unneeded argument to + mono_runtime_run_main() + 2002-06-25 Dick Porter <dick@ximian.com> * interp.c (ves_exec): Pass the assembly to mono_runtime_run_main |