2003-11-07 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mono / metadata / ChangeLog
index a49bdfd1817e4819350876de1c6b8fdb9b72206e..59ec0c914db5b82d659b9aebe30f0bdfd30fb576 100644 (file)
@@ -1,3 +1,66 @@
+2003-11-07  Zoltan Varga  <vargaz@freemail.hu>
+
+       * gc.c (mono_domain_finalize): Fix compilation for no GC case.
+
+2003-11-06  Zoltan Varga  <zovarga@ws-zovarga2>
+
+       * appdomain.c (mono_domain_unload): Add a workaround for bug #27663.
+
+2003-11-06  Zoltan Varga  <vargaz@freemail.hu>
+
+       * reflection.c 
+       (reflection_methodbuilder_from_method_builder):
+       (reflection_methodbuilder_from_ctor_builder): New helper functions to 
+       initialize a ReflectionMethodBuilder structure.
+       (mono_image_get_methodbuilder_token):
+       (mono_image_get_ctorbuilder_token): New functions to emit memberref
+       tokens which point to types in another module inside the same assembly.
+
+       * reflection.c: Use the new helper functions.
+       
+       * reflection.c (mono_image_basic_init): Initialize basedir and culture.
+
+       * icall.c loader.c reflection.c: Use ModuleBuilder->dynamic_image 
+       instead of AssemblyBuilder->dynamic_assembly in the appropriate places.
+
+       * reflection.c (resolution_scope_from_image): Emit a moduleref if
+       neccesary.
+
+       * reflection.c (mono_image_build_metadata): Emit metadata only for the
+       current module. Emit the manifest only for the main module.
+
+       * reflection.c (mono_image_create_token): Add assertion when a 
+       memberref needs to be created.
+
+       * reflection.c reflection.h (MonoDynamicAssembly): Remove unused fields.
+
+       * reflection.c (mono_reflection_get_custom_attrs_blob): Allocate a 
+       larger buffer for the custom attribute blob. Fixes #50637.
+       
+2003-11-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * threadpool.c: notify listener on async processing handles after
+       invoking the async callback. Thanks to Zoltan.
+
+2003-11-03  Zoltan Varga  <vargaz@freemail.hu>
+
+       * reflection.c (create_dynamic_mono_image): Call mono_image_init to 
+       avoid code duplication.
+
+       * reflection.h (MonoDynamicImage): New type which is currently unused,
+       but will be used through the ref.emit code in place of 
+       MonoDynamicAssembly.
+
+       * reflection.h (MonoReflectionAssemblyBuilder): Track changes to the
+       object layout.
+
+       * reflection.c (create_dynamic_mono_image): Rewrote so it now creates
+       a MonoDynamicImage instead of just a MonoImage.
+       
+       * reflection.h reflection.c icall.c: Move nearly all AssemblyBuilder
+       icalls to ModuleBuilder but keep their semantics, so they will work
+       with moduleb->assemblyb. This will change later.
+       
 2003-11-03  Zoltan Varga  <vargaz@freemail.hu>
 
        * reflection.h (MonoReflectionAssemblyBuilder): Track changes to the
@@ -6,6 +69,13 @@
        * reflection.c (mono_image_build_metadata): Avoid creation of a default
        main module, since it is now done by the managed code.
 
+2003-11-03  Martin Baulig  <martin@ximian.com>
+
+       * reflection.c (mono_reflection_inflate_method_or_ctor): Set
+       `ginst->klass' here.
+       (method_encode_methodspec): Don't use the `ginst->generic_method's
+       klass if it's a generic instance, use `ginst->klass' in this case.
+
 2003-11-03  Martin Baulig  <martin@ximian.com>
 
        * reflection.c (mono_image_get_generic_method_param_info):