2007-12-23 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mono / metadata / ChangeLog
index 7c8f3183ad2dded11a2eb6748c9147ad4c5205ed..bc3fd302e057d5d8185230c6534ad22832b86bb5 100644 (file)
@@ -1,3 +1,103 @@
+2007-12-23  Zoltan Varga  <vargaz@gmail.com>
+
+       * assembly.c: Significally simplify code now that referenced assemblies are 
+       loaded lazily. Get rid of the 'loading' hashtables. Hopefully fixes #347629.
+
+       * threads.h: Don't include  the internal threads-types.h header file. Fixes
+       #349952.
+
+2007-12-21  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * verify.c: added enum value IL_CODE_FLAG_WAS_TARGET, to represent
+       instructions that were target of branches or are at protected block boundaries.
+
+       * verify.c (in_same_block): handle filter clauses.
+
+       * verify.c (is_valid_branch_instruction): added. checks the target of
+       instructions br or brtrue/false.
+
+       * verify.c (is_valid_cmp_branch_instruction): added. checks the target of
+       binary branch instructions such as beq and bge.
+
+       * verify.c (init_stack_with_value): renamed to init_stack_with_value_at_exception_boundary
+       and made it pin the instruction as been part of the exception block.
+
+       * verify.c (do_boolean_branch_op): use is_valid_branch_instruction instead
+       of in_same_block.
+
+       * verify.c (do_branch_op): use is_valid_cmp_branch_instruction instead
+       of in_same_block.
+
+       * verify.c (do_ret): ret from a protected block is unverifiable and
+       not invalid.
+
+       * verify.c (do_static_branch): verify br and br.s instructions.
+
+       * verify.c (merge_stacks): add extra param to support detection
+       of branches in the middle of instructions.
+       
+       * verify.c (mono_method_verify): verify branches and exception blocks
+       that target the middle of instructions. Proper verification of br and br.s.
+
+2007-12-21  Zoltan Varga  <vargaz@gmail.com>
+
+       * reflection.c (reflection_methodbuilder_from_ctor_builder): Initialize
+       skip_visibility field.
+       (reflection_methodbuilder_from_dynamic_method): Ditto.
+
+       * object.c (mono_class_compute_gc_descriptor): Remove more unused icall
+       registrations. Fixes #348193.
+
+       * threads.h: Move the internal mono_thread_get_pending_exception () to
+       threads-types.h and rename it to mono_thread_get_undeniable_exception ().
+
+2007-12-20  Zoltan Varga  <vargaz@gmail.com>
+
+       * object.c (mono_class_compute_gc_descriptor): Remove unused GC_gcj_fast_malloc
+       icall registration. Fixes #348193.
+
+       * marshal.c (mono_marshal_get_runtime_invoke): Put all runtime invoke wrappers
+       for corlib classes into object. Fixes #349621.
+
+2007-12-20  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * icall.c (property_accessor_nonpublic): new function to determine
+       whether an accessor allows a property to be considered non-public.
+       Returns false for private accessor(s) from parent class, and internal
+       accessor(s) from parent on 2.0 profile (and higher).
+       (ves_icall_Type_GetPropertiesByName): Use newly introduced function
+       to determine whether property should be included if NonPublic flag
+       is set. Fixes bug #349078.
+
+2007-12-20  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * verify.c (init_stack_with_value): added.
+
+       * verify.c (mono_method_verify): extracted common
+       code for exception initialization into init_stack_with_value.
+
+       * verify.c (mono_method_verify): initialize the exception
+       for handler clauses as well.
+
+       * verify.c (mono_method_verify): fix the exception clause
+       ordering rules, it should use handler end offset and not
+       start offset.
+
+Thu Dec 20 12:27:24 CET 2007 Paolo Molaro <lupus@ximian.com>
+
+       * rawbuffer.c: remove useless warning.
+
+Thu Dec 20 12:10:38 CET 2007 Paolo Molaro <lupus@ximian.com>
+
+       * threads.h, threads-types.h: move functions to the correct header
+       (fixes bug#349952).
+
+2007-12-19  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * verify.c (mono_method_verify): proper verification
+       of exception handling clauses ranges and fallthru in
+       and out of protected blocks.
+
 2007-12-19  Rodrigo Kumpera  <rkumpera@novell.com>
 
        * verify.c (mono_method_verify): fixed compilation issue.