-2004-09-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+2004-10-25 Zoltan Varga <vargaz@freemail.hu>
- * threads.c: call thread_cleanup before finishing the thread if we get
- there.
+ * icall.c (ves_icall_type_is_subtype_of): Fix this for byref types.
+ (ves_icall_type_is_assignable_from): Ditto. Fixes #68582.
+
+ * gc.c (finalize_domain_objects): Call GC_invoke_finalizers () so
+ pending finalizers are not invoked after the appdomain has been
+ unloaded. Fixes #67862.
-2004-09-16 Zoltan Varga <vargaz@freemail.hu>
+2004-10-08 Zoltan Varga <vargaz@freemail.hu>
- * appdomain.c (ves_icall_System_AppDomain_createDomain): Load all
- assemblies from the parent. Fixes #65665.
+ * threads.c (abort_appdomain_thread): Fix unref errors.
-2004-09-15 Zoltan Varga <vargaz@freemail.hu>
+2004-10-07 Jackson Harper <jackson@ximian.com>
- * metadata.c (mono_metadata_parse_type): Fix parsing of custom
- modifiers.
+ * culture-info-tables.h: regenerate file.
-2004-09-14 Bernie Solomon <bernard@ugsolutions.com>
+2004-10-07 Zoltan Varga <vargaz@freemail.hu>
- * reflection.h: add prototype for mono_get_dbnull_object
- * reflection.c: add prototypes for get_default_param_value_blobs
- and mono_get_object_from_blob for fussier compilers
+ * loader.c (mono_lookup_pinvoke_call): Try the dllname prefixed with
+ 'lib' too. Fixes #63130.
-2004-09-14 Lluis Sanchez Gual <lluis@novell.com>
-
- * object.c: Added a "done" flag to TypeInitializationLock. This avoids
- false deadlock checks in class initialization.
-
-2004-09-13 Zoltan Varga <vargaz@freemail.hu>
+2004-10-02 Ben Maurer <bmaurer@ximian.com>
- * image.c (mono_image_addref): Fix comment.
+ * threadpool.c: the ares hashtable needs a critical section around it.
+ this prevents some nasty segfaults
- * metadata.c (mono_metadata_parse_type): Avoid memory allocations if
- possible.
+2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
-2004-09-12 Jambunathan K <kjambunathan@novell.com>
+ * threads.c: don't call mono_thread_detach() in start_wrapper(),
+ avoiding a possible hang in GetCurrentThreadId(0). Fixes bug #65379.
- * reflection.c (mono_param_get_objects): Modified to return
- ParameterInfo.DefaultValue object.
+2004-09-28 Zoltan Varga <vargaz@freemail.hu>
- (get_default_param_value_blobs):
- (mono_get_object_from_blob):
- (mono_get_dbnull_object): New helper routines.
+ * reflection.c (method_encode_code): Align method headers properly.
+ Fixes #66025.
- * object.c (mono_get_constant_value_from_blob): New helper routine
- carved out from get_default_field_value ()
+2004-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
- * object-internals.h (mono_get_constant_value_from_blob): Added
- function declaration.
+ * threadpool.c: reuse allocated slots in the queue.
-2004-09-11 Zoltan Varga <vargaz@freemail.hu>
+2004-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
- * assembly.c assembly.h icall.c class.c appdomain.c: Lazily load
- referenced assemblies. Fixes #62135.
+ * appdomain.c:
+ (mono_domain_set): allow setting a domain that is being unloaded.
+ (mono_domain_unload): invoke the DomainUnload callbacks in the domain
+ being unloaded.
- * exception.h exception.c (mono_get_exception_file_not_found2): New
- helper function.
+2004-09-18 Martin Baulig <martin@ximian.com>
-2004-09-10 Zoltan Varga <vargaz@freemail.hu>
+ * mono-debug.c, debug-mono-symfile.c: Merged my locking changes
+ from HEAD.
- * class.h class.c: Add mono_type_get_underlying_type ().
+2004-09-17 Zoltan Varga <vargaz@freemail.hu>
-2004-09-09 Geoff Norton <gnorton@customerndna.com>
+ * loader.c (mono_lookup_pinvoke_call): Add support for stdcall name
+ mangling.
- * icall.c (ves_icall_System_Reflection_Assembly_GetTypes):
- Fix GetTypes() to support dynamically created assemblies.
+2004-09-16 Lluis Sanchez Gual <lluis@novell.com>
+
+ * locales.c: nullify the ICU_collator member of CompareInfo when it is
+ finalized. There where random SIGSEVs at program termination, when
+ an object being finalized was trying to do a string comparison and
+ the current culture was already finalized.
+
+2004-09-16 Zoltan Varga <vargaz@freemail.hu>
-2004-09-09 Zoltan Varga <vargaz@freemail.hu>
+ * appdomain.c (ves_icall_System_AppDomain_createDomain): Load all
+ assemblies from the parent. Fixes #65665.
- * reflection.c (reflection_methodbuilder_to_mono_method): Remove TODO.
-
- * reflection.c (reflection_methodbuilder_to_mono_method): Fix bug in
- previous patch.
+2004-09-14 Lluis Sanchez Gual <lluis@novell.com>
+
+ * object.c: Added a "done" flag to TypeInitializationLock. This avoids
+ false deadlock checks in class initialization.
+
+2004-09-09 Zoltan Varga <vargaz@freemail.hu>
* reflection.h reflection.c loader.c: Allow dynamic construction of
pinvoke methods. Fixes #65571.
-
- * reflection.c (mono_reflection_get_type): Revert previous change since
- it causes regressions.
-2004-09-08 Martin Baulig <martin@ximian.com>
+2004-09-08 Lluis Sanchez Gual <lluis@novell.com>
- * class.c (class_compute_field_layout): Don't call
- mono_class_layout_fields() for open generic instances.
-
-2004-09-08 Bernie Solomon <bernard@ugsolutions.com>
- * threads.c appdomain.c: fix typo in GC macro
-
-2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
-
- * threads.c: don't call mono_thread_detach() in start_wrapper(),
- avoiding a possible hang in GetCurrentThreadId(0). Fixes bug #65379.
+ * object.c: In mono_message_invoke, fill the output parameter array after
+ calling the managed method (it was done before the call). This fixes
+ bug #59299.
2004-09-08 Zoltan Varga <vargaz@freemail.hu>
2004-09-07 Zoltan Varga <vargaz@freemail.hu>
- * reflection.h reflection.c icall.c: Only call TypeResolve handlers
- once. Fixes #58334.
-
* reflection.c (mono_reflection_create_runtime_class): Initialize
klass->nested_classes. Fixes #61224.
-Tue Sep 7 14:35:26 CEST 2004 Paolo Molaro <lupus@ximian.com>
-
- * threads.c: sched_yield() on exit, to allow threads to quit.
-
-2004-09-07 Zoltan Varga <vargaz@freemail.hu>
-
- * object.c (mono_unhandled_exception): Remove leftover debug code.
-
-2004-09-07 Atsushi Enomoto <atsushi@ximian.com>
-
- * appdomain.c, threads.c : don't use GC_CreateThread when with-gc=none
-
-2004-09-07 Zoltan Varga <vargaz@freemail.hu>
-
- * marshal.c (emit_marshal_array): Really null terminate string arrays.
-
- * marshal.c (emit_marshal_string): Fix freeing of unicode strings.
-
2004-09-06 Zoltan Varga <vargaz@freemail.hu>
- * marshal.c (emit_marshal_array): Null terminate string arrays.
-
- * marshal.c (raise_auto_layout_exception): Fix warning.
-
* reflection.c (mono_param_get_objects): Initialize the default value
with DBNull.Value, not null. Fixes #62123.
Close the new process's thread handle, as we don't use it. The
handle stays around forever otherwise.
-2004-09-06 Zoltan Varga <vargaz@freemail.hu>
-
- * object.c (arith_overflow): Fix warning.
-
- * reflection.c (mono_image_get_methodref_token): Do not emit unmanaged
- calling conventions in method refs. Fixes #65352.
-
- * reflection.c: Fix warnings.
-
-2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
-
- * icall.c: Add a new icall for Array.Clear
-
-2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
-
- * object.c: When allocating an array, we have to throw
- an overflow exception if any of the lengths are < 0.
-
-2004-09-06 Zoltan Varga <vargaz@freemail.hu>
-
- * marshal.h marshal.c: Free unmanaged memory allocated by managed code
- properly. Also move implementation of string array marshalling to
- managed code. Fixes #42316.
-
2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* assembly.c: provide more information when loading an assembly fails.
2004-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* filewatcher.c: don't expect the development fam package to be
- installed.
-
-2004-09-03 Zoltan Varga <vargaz@freemail.hu>
-
- * marshal.c: Make a copy of the signature cookie since it will be
- freed by the caller.
-
- * marshal.c (mono_delegate_to_ftnptr): Fix bug in previous patch.
-
- * marshal.c (mono_delegate_to_ftnptr): Fix memory leaks.
-
- * metadata.c (mono_metadata_free_marshal_spec): New function to free
- marshal specs.
-
- * marshal.c: More refactoring.
-
- * marshal.c: Refactor the mono_marshal_get_native_wrapper function into
- smaller functions.
-
-2004-09-03 Lluis Sanchez Gual <lluis@novell.com>
-
- * object.c: In mono_message_invoke, fill the output parameter array after
- calling the managed method (it was done before the call). This fixes
- bug #59299.
+ installed. If HAVE_KQUEUE return mode 3 to use the new kqueue
+ watcher. Patch by Geoff Norton.
2004-09-02 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (mono_marshal_alloc): Return a valid pointer on size 0
as well.
-2004-09-02 Martin Baulig <martin@ximian.com>
-
- * class.c (mono_class_instance_size): Don't allow generic type
- definitions or open generic instances.
- (mono_class_array_element_size): If we're a value type, call
- mono_class_instance_size() on the original class.
-
- * metadata.c (mono_type_size, mono_type_stack_size): Correctly
- handle generic instances.
-
- * mono-debug-debugger.c (write_type): Handle generic instances
- like classes.
-
-2004-09-02 Zoltan Varga <vargaz@freemail.hu>
-
- * marshal.c (mono_marshal_alloc): Raise an OutOfMemory exception if
- the allocation request fails. Fixes #65089.
-
- * object.c (mono_runtime_free_method): Do not call mono_free_method.
-
- * object.c (mono_runtime_free_method): New function to free a dynamic
- method.
-
- * marshal.c (mono_delegate_free_ftnptr): New function to free the
- delegate trampoline.
-
- * marshal.c (mono_marshal_get_managed_wrapper): Mark managed wrapper
- with hasthis as dynamic,
-
- * icall.c (ves_icall_System_Delegate_FreeTrampoline): New icall.
-
- * domain.c (mono_jit_info_table_remove): New function to remove an
- entry from the jit info table.
-
- * class-internals.h (MonoMethod): Add 'dynamic' field.
-
- * loader.c: Fix warnings.
-
-2004-09-01 Martin Baulig <martin@ximian.com>
-
- * mono-debug.c, debug-mono-symfile.c: Use mono_loader_lock()
- instead of mono_debugger_lock() because the latter one is a no-op
- unless running in the debugger.
-
-2004-09-01 Zoltan Varga <vargaz@freemail.hu>
-
- * class.c (class_compute_field_layout): Classes with auto-layout or
- reference fields are not blittable.
-
-2004-09-01 Dick Porter <dick@ximian.com>
-
- * icall.c (ves_icall_System_Reflection_Assembly_get_location): Use
- mono_image_get_filename() to get the assembly location.
-
- * icall.c:
- * metadata.h: Fix compile warnings
-
-2004-09-01 Zoltan Varga <vargaz@freemail.hu>
-
- * class.c (class_compute_field_layout): System.Object is blittable.
-
- * marshal.c (mono_marshal_get_native_wrapper): Pass blittable classes
- as in/out. Fixes #59909.
-
-2004-09-01 Martin Baulig <martin@ximian.com>
-
- * metadata.h (MONO_TYPE_ISREFERENCE): Call
- mono_metadata_generic_inst_is_valuetype() if we're a generic
- instance to check whether our underlying type is a reference type.
-
-2004-09-01 Martin Baulig <martin@ximian.com>
+2004-08-28 Ben Maurer <bmaurer@users.sourceforge.net>
- * metadata.c (mono_type_size): If we're a generic instance, call
- mono_class_value_size() for value types.
-
-2004-08-31 Zoltan Varga <vargaz@freemail.hu>
-
- * marshal.c: Implement more custom marshalling functionality. Fixes
- #64915.
-
-Tue Aug 31 17:55:15 CEST 2004 Paolo Molaro <lupus@ximian.com>
-
- * mono-debug.c, debug-mono-symfile.c: add some locking love.
-
-2004-08-30 Zoltan Varga <vargaz@freemail.hu>
-
- * domain-internals.h domain.c: Add a per-domain jump trampoline hash.
-
- * icall.c (ves_icall_System_Reflection_MethodBase_GetMethodFromHandle): Rename to ...Internal.
-
- * icall.c: Fix some warnings.
-
- * threads.c (abort_appdomain_thread): Fix unref errors.
- (mono_thread_current): Fix THREAD_DEBUG define.
-
-2004-08-29 Zoltan Varga <vargaz@freemail.hu>
-
- * metadata.h (MONO_TYPE_ISSTRUCT): Fix warning.
-
- * icall.c (ves_icall_System_Reflection_MethodBase_GetMethodFromHandle): New icall.
-
-2004-08-28 Zoltan Varga <vargaz@freemail.hu>
-
- * marshal.c (mono_marshal_get_native_wrapper): Add support for byref
- string arrays.
-
-2004-08-28 Martin Baulig <martin@ximian.com>
-
- * metadata.c
- (mono_metadata_generic_inst_is_valuetype): New public function.
-
- * metadata.h (MONO_TYPE_ISSTRUCT): Call
- mono_metadata_generic_inst_is_valuetype() if we're a generic
- instance to check whether our underlying type is a valuetype.
-
-2004-08-26 Zoltan Varga <vargaz@freemail.hu>
-
- * class.c (mono_ptr_class_get): Fix name of pointer classes. Fixes
- #63768.
-
-2004-08-25 Martin Baulig <martin@ximian.com>
-
- * loader.c (mono_get_method_from_token): Abstract methods can also
- be generic and thus have type parameters.
-
- * metadata-internals.h
- (MonoDynamicImage): Added `GPtrArray *gen_params'.
-
- * reflection.c (mono_image_get_generic_param_info): Don't create a
- metadata row, just add an entry to the `gen_params' array.
- (build_compressed_metadata): Sort the `gen_params' array and then
- actually create the metadata.
-
-2004-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
-
- * threadpool.c: remove unneeded 'if' around mono_monitor_enter.
-
-2004-08-25 Zoltan Varga <vargaz@freemail.hu>
-
- * debug-helpers.c: Handle MONO_TYPE_GENERICINST.
-
-2004-08-24 Martin Baulig <martin@ximian.com>
-
- * class.cs (mono_class_is_subclass_of): Like an interface, a
- generic instance also derives from System.Object.
+ * gc.c: actually enable paolo's patch to make GC warnings
+ use the trace api.
2004-08-23 Zoltan Varga <vargaz@freemail.hu>
-
- * metadata.c (mono_metadata_parse_type): Alloc pinned, byref and
- custom modifiers to be in any order. Fixes #61990.
-
-2004-08-20 Zoltan Varga <vargaz@freemail.hu>
-
- * object.c: Register mono_object_new_fast icall.
-
- * object.c (mono_class_get_allocation_ftn): Return to calling
- mono_object_new_fast, since it seems faster to compute the object
- size in unmanaged code than passing it as a parameter.
-
- * object.c (mono_class_get_allocation_ftn): Add marshalbyref case.
-
- * gc-internal.h gc.c: Add mono_gc_out_of_memory () function. Register
- this function with Boehm as the oom handler, so we don't have to check
- the result of GC_malloc.
-
- * object.c: Remove checks for oom.
-
- * object.h object.c (mono_class_get_allocation_ftn): New function to
- return the icall which can be used to allocate an instance of a given
- class.
-
- * object.c: Handle common allocation requests using GC_gcj_fast_malloc.
-
- * class-internals.h: Add 'enabled' field.
-
-2004-08-19 Zoltan Varga <vargaz@freemail.hu>
-
- * domain.c (mono_init_internal): Call MONO_GC_PRE_INIT ().
-
-2004-08-18 Jambunathan K <kjambunathan@novell.com>
- * tabledefs.h: Corretced PARAM_ATTRIBUTE_OPTIONAL to the right
- value 0x0010.
-
-2004-08-18 Ben Maurer <bmaurer@users.sourceforge.net>
-
- * appdomain.c: use the Tls function for appdomain too,
- at Zoltan's request. Actually return in mono_context_get
-
- * appdomain.c, profiler.c, threads.c: use __thread
-
-2004-08-18 Zoltan Varga <vargaz@freemail.hu>
-
- * appdomain.c threads.c: Call GC_CreateThread on windows.
-
- * Makefile.am (libmetadata_la_LIBADD): Avoid linking libmonoos into
- multiple libraries since this don't work on windows.
-
-2004-08-18 Martin Baulig <martin@ximian.com>
-
- * class-internals.h
- (MonoMethodNormal): Moved `MonoGenericParam *gen_params' here from
- MonoMethodHeader.
-
- * metadata.h (MonoMethodHeader): Moved the `gen_params' field to
- MonoMethodNormal since we also need it for abstract and interface
- methods.
-
- * reflection.c
- (build_compressed_metadata): Sort the GenericParam table.
- (mono_image_create_token): Added `gboolean create_methodspec'
- argument; this is false when generating a MethodImpl token.
- (reflection_methodbuilder_to_mono_method): Abstract and interface
- methods may also have generic parameters.
-
-2004-08-17 Ben Maurer <bmaurer@users.sourceforge.net>
-
- * appdomain.c: thread local alloc
-
-2004-08-17 Martin Baulig <martin@ximian.com>
-
- * appdomain.c: Bumped MONO_CORLIB_VERSION to 24.
-
- * icall.c
- (ves_icall_System_MonoType_getFullName): Added `gboolean full_name'
- argument.
-
- * class.c (mono_type_get_full_name): New public function.
- (mono_type_get_name): Don't include the type arguments.
-
-2004-08-16 Zoltan Varga <vargaz@freemail.hu>
-
- * Makefile.am: Build static versions of libmetadata and libmonoruntime
- for inclusion into the mono executable.
-
-2004-08-16 Martin Baulig <martin@ximian.com>
-
- * metadata.c (do_mono_metadata_parse_generic_inst): Store the
- MonoGenericInst, not the MonoType in the `generic_inst_cache'.
-
-2004-08-14 Martin Baulig <martin@ximian.com>
-
- * class.c (dup_type): Also copy the `byref' field.
-
-2004-08-15 Zoltan Varga <vargaz@freemail.hu>
-
- * reflection.c (create_dynamic_mono_image): Revert the last change
- since it breaks bootstrap.
-
-2004-08-14 Zoltan Varga <vargaz@freemail.hu>
-
- * reflection.c (create_dynamic_mono_image): Set ref_count to 1.
-
- * image.c (mono_image_close): Dynamic images are GC_MALLOCed, so do
- not free them with g_free.
-
-2004-08-11 Martin Baulig <martin@ximian.com>
-
- * reflection.c (mono_reflection_setup_internal_class): Also call
- mono_class_setup_mono_type() if we already have a `tb->type.type'.
-
-2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
-
- * appdomain.c: Fix ves_icall_System_AppDomain_getDomainByID when
- called during default (first) AppDomain creation. Keep track of
- Evidence when loading assemblies.
-
-Mon Aug 9 14:41:45 CEST 2004 Paolo Molaro <lupus@ximian.com>
-
- * opcodes.c, opcodes.h: reduce runtime relocations.
-
-Mon Aug 9 13:30:53 CEST 2004 Paolo Molaro <lupus@ximian.com>
-
- * culture-info.h, locales.c: fixes and chages to sue the new
- optimized format of the locale data.
- * culture-info-tables.h: regenerated.
-
-2004-08-06 Geoff Norton <gnorton@customerdna.com>
-
- * filewatcher.c: If HAVE_KQUEUE return mode 3 to use the new kqueue watcher
-
-2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
-
- * appdomain.c: Bumped MONO_CORLIB_VERSION to 23. Added new icall
- ves_icall_System_AppDomain_getDomainByID to get an AppDomain by Id.
- * domain-internals.h: icall declaration.
- * icall.c: icall registration.
- * object-internals.h: New fields in MonoAssembly for CAS.
-
-2004-08-05 Duncan Mak <duncan@ximian.com>
-
- * verify.c: Renamed CEE_STELEM to CEE_STELEM_ANY and CEE_LDELEM to
- CEE_LDELEM_ANY.
+
+ * metadata.c (mono_metadata_parse_type): Alloc pinned, byref and
+ custom modifiers to be in any order. Fixes #61990.
Thu Aug 5 17:11:44 CEST 2004 Paolo Molaro <lupus@ximian.com>
* reflection.c: fix to deal with object[] arrays in custom ctors
(bug #62550).
-2004-08-05 Martin Baulig <martin@ximian.com>
-
- * class.c (mono_class_array_element_size): Added support for
- generic instances and correctly handle "recursive" types.
-
-2004-08-05 Zoltan Varga <vargaz@freemail.hu>
-
- * assembly.c: Fix warnings.
-
-2004-08-04 Martin Baulig <martin@ximian.com>
-
- * class.c
- (mono_type_get_name_recurse): Added `gboolean include_arity'
- argument specifying whether or not we should include the generic
- arity in the type name.
- (_mono_type_get_name): New static function.
- (mono_class_setup_vtable): If we're a generic instance, don't
- include the generic arity in the names of explicit method
- implementations.
-
-2004-08-03 Martin Baulig <martin@ximian.com>
-
- * class.c (mono_type_get_name_recurse): Enclose the generic type
- arguments in `<', '>'.
-
Tue Aug 3 17:54:17 CEST 2004 Paolo Molaro <lupus@ximian.com>
* gc.c: make GC warning messages use the trace API, they are just
noise to most of the users.
-2004-08-03 Martin Baulig <martin@ximian.com>
-
- * debug-mono-symfile.c (read_string): Correctly read the string.
-
-2004-07-30 Zoltan Varga <vargaz@freemail.hu>
-
- * marshal.c (signature_dup_add_this): Fix bug in previous patch.
-
- * marshal.c (mono_marshal_get_icall_wrapper): Add support for vararg
- icalls.
- (mono_marshal_get_runtime_invoke): Correctly handle valuetype methods.
+Tue Aug 3 16:40:17 CEST 2004 Paolo Molaro <lupus@ximian.com>
-2004-07-30 Martin Baulig <martin@ximian.com>
-
- * debug-mono-symfile.c, mono-debug.c, mono-debug-debugger.c:
- Reflect latest symbol writer changes.
+ * gc.c, object.h: mono_gc_handle_*() interface and
+ AddrOfPinnedObject fixes. GC handle support even without GC.
Fri Jul 30 16:49:05 CEST 2004 Paolo Molaro <lupus@ximian.com>
* object.c: always create an object if null is passed
to Invoke() where a valuetype is expected.
-2004-07-29 Bernie Solomon <bernard@ugsolutions.com>
-
- * marshal.c (mono_marshal_init): make managed
- signatures match native ones better for 64bits.
-
2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* appdomain.c: hack to build correctly the private bin path on windows.
Fixes bug #61991.
-2004-07-28 Lluis Sanchez Gual <lluis@novell.com>
-
- * assembly.c: Load mscorlib from the correct framework directory
- (mono/<version>/mscorlib.dll).
- * appdomain.h: Added prototypes for new functions.
- * internals.h: Added some prototypes.
- * domain.c: When initializing the runtime, get from the executable and
- the configuration files the runtime version that the app supports.
- Added support methods for reading app.exe.config. Added list of versions
- supported by the JIT. Added two new methods: mono_init_from_assembly,
- which initializes the runtime and determines the required version from
- the provided exe file, and mono_init_version, which initializes
- the runtime using the provided version.
- * icall.c: Get machine.config from version-specific directory.
- * reflection.c: When generating an image, embed the version number
- of the current runtime.
-
2004-07-28 Dick Porter <dick@ximian.com>
* socket-io.c
* locales.c (string_invariant_compare_char): Fix invariant char
compares between upper and lower cases. Fixes bug 61458.
-2004-07-27 Ben Maurer <bmaurer@ximain.com>
-
- * marshal.c: actually cache stelem.ref wrappers.
-
-Tue Jul 27 16:56:55 CEST 2004 Paolo Molaro <lupus@ximian.com>
-
- * class.c, image.c, loader.c, cil-coff.h: lazily mmap the image
- sections and remove the mono_cli_rva_map () function.
-
Tue Jul 27 15:58:19 CEST 2004 Paolo Molaro <lupus@ximian.com>
* debug-mono-symfile.c: fix one more endianess issue, from a patch
* class.c: fix class loads for pointer types (typeof(int) !=
typeof(int*)).
-2004-07-27 Martin Baulig <martin@ximian.com>
-
- * debug-mono-symfile.c (mono_debug_open_mono_symbol_file): Support
- reading the debugging information from an external ".mdb" file.
-
2004-07-24 Martin Baulig <martin@ximian.com>
* reflection.c (mono_image_get_type_info): Only write a class
layout entry if we actually have a size or a packing size.
-2004-07-21 Bernie Solomon <bernard@ugsolutions.com>
-
- * reflection.c (type_get_fully_qualified_name):
- insert cast to get type checking of ?: with non-gcc compilers
-
-2004-07-21 Bernie Solomon <bernard@ugsolutions.com>
-
- * rand.c: use g_getenv for both lookups of
- MONO_EGD_SOCKET
-
-2004-07-17 Martin Baulig <martin@ximian.com>
-
- * reflection.c (mono_reflection_bind_generic_method_parameters):
- Set `gmethod->reflection_info'.
-
-2004-07-17 Martin Baulig <martin@ximian.com>
-
- * class.c (mono_class_create_from_typedef): Insert the newly
- created class into the hash table before computing the interfaces
- since we could be called recursively.
-
-2004-07-16 Ben Maurer <bmaurer@ximain.com>
-
- * marshal.[ch] (mono_marshal_get_stelemref): a new wrapper
- function to implement stelem.ref in managed code
- * class-internals.h, debug-helpers.c: a new wrapper type
- for the above.
-
-Wed Jul 14 19:26:05 CEST 2004 Paolo Molaro <lupus@ximian.com>
-
- * gc.c: allow GC handles to work even when no GC is compiled in.
- Fix part of bug #61134 (GetAddrOfPinnedObject).
-
2004-07-13 Peter Williams <peter@newton.cx>
* process.c (complete_path): Make sure we don't attempt to execute
directories.
-
-2004-07-12 Geoff Norton <gnorton@customerdna.com>
-
- * DateTime.cs: Patch for bug #61112. Our DateTime wasn't roundtripping over timezone
- boundaries properly. This patch checkes ToLocalTime() to see if we're tripping over a boundary
- and will add/subtract the hour if needed
-
-2004-07-12 Martin Baulig <martin@ximian.com>
-
- * reflection.c (mono_field_get_object): If we have
- `field->generic_info', take the attributes from
- `field->generic_info->generic_type'.
-
-2004-07-12 Martin Baulig <martin@ximian.com>
-
- * mono-debug.c (mono_debug_init): Don't take a `MonoDomain *'.
- This function must be called before initializing the runtime.
- (mono_debug_init_1): New function; call this after initializing
- the runtime, but before loading the assembly. It tells the
- debugger to load corlib and the builtin types.
-
- * mono-debug-debugger.c: Did some larger changes in the debugging
- code; support recursive class declarations, make sure we actually
- add all classes.
-
+
2004-07-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* debug-helpers.c: undo my previous patch and fixed the real issue in
when no HOME env. variable was set and a NullRef was thrown in a .cctor
called from other .cctors.
-2004-07-09 Miguel de Icaza <miguel@ximian.com>
-
- * loader.c: Removed the mono_loader_wine_init hack now that we are
- doing a managed version of Windows.Forms.
-
-2004-07-09 Ben Maurer <bmaurer@ximian.com>
-
- * domain.c, gc.c, marshal.c, mono-debug-debugger.c,
- threadpool.c, threads.c: remove static data from rootset.
-
2004-07-09 Dick Porter <dick@ximian.com>
* locales.c (ves_icall_System_String_InternalReplace_Str_Comp):
(ves_icall_System_Net_Sockets_Socket_GetSocketOption_obj_internal):
Add support for SO_PEERCRED if its available.
-2004-07-09 Peter Bartok <pbartok@novell.com>
- * loader.c: winelib.exe.so error message is now only displayed if
- MONO_DEBUG is set. To help us avoid questions when people are trying
- out the new Managed.Windows.Forms.
-
-2004-07-08 Zoltan Varga <vargaz@freemail.hu>
-
- * class-internals.h debug-helpers.c marshal.c: Add new wrapper types
- for isinst and castclass wrappers.
-
- * class-internals.h icall.c: Move registration and lookup of JIT icalls
- to libmetadata from the JIT, so they could be used by the marshalling
- code and the interpreter.
-
- * marshal.c: Register marshalling related JIT icalls here instead of
- in mini.c. Use CEE_MONO_ICALL instead of the family of
- CEE_MONO_PROC<x> opcodes to call marshalling functions.
-
- * metadata.h: Remove unneeded marshalling conversions.
-
- * opcodes.c: Update for new opcodes.
-
-2004-07-08 Martin Baulig <martin@ximian.com>
-
- * mono-debug.c: Check for `handle->symfile' being non-NULL everywhere.
- (mono_debug_get_domain_data): Make this function static.
-
-Wed Jul 7 12:32:29 CEST 2004 Paolo Molaro <lupus@ximian.com>
-
- * gc.c, object.h: add nice GC handle API for embedders.
-
-2004-07-06 Ben Maurer <bmaurer@ximian.com>
-
- * reflection.c: more changes for the new api
-
- * object.c: When we reflect on a field w/ a constant value, it
- will not have a memory location, so we must access metadata. Also,
- allow easier reading of strings so that we can read them from
- the constant data.
-
- * class.c (mono_class_layout_fields): no need for literal fields here.
-
- * class-internals.h: api changes for const fields
-
- * icall.c (ves_icall_get_enum_info): use new apis for const fields
-
-2004-07-06 Martin Baulig <martin@ximian.com>
-
- * mono-debug.h: Increment version number to 44.
-
- * mono-debug.c (mono_debug_add_wrapper): The second argument is
- now a gpointer, rewrote this whole method.
-
- * mono-debug-debugger.c (mono_debugger_add_wrapper): New
- function. Add information about the wrapper in a new "misc table".
-
- * mono-debug-debugger.h (MonoDebuggerSymbolTable): Added fields
- for the new misc table.
-
-2004-07-05 Zoltan Varga <vargaz@freemail.hu>
-
- * metadata-internals.h image.c: Add a cache for helper signatures.
-
- * monosn.c: Applied patch from "grompf" (grompf@sublimeintervention.com). Fix compilation under OSX.
-
2004-07-03 Zoltan Varga <vargaz@freemail.hu>
- * marshal.c (mono_marshal_get_managed_wrapper): Handle returning
- delegates from a delegate. Fixes #61033.
-
- * marshal.c: Fix managed->native stringbuilder marshalling. Implement
- marshalling of stringbuilder arrays. Fixes #59900.
-
-2004-07-02 Zoltan Varga <vargaz@freemail.hu>
-
- * icall.c: Add EnumBuilder:setup_enum_type icall.
-
-2004-06-30 Ben Maurer <bmaurer@ximian.com>
-
- * icall.c: Added a new icall for the property version of
- OffsetOfStringData.
-
-2004-06-30 Zoltan Varga <vargaz@freemail.hu>
-
- * class-internals.h (MonoVTable): Make max_interface_id a guint32 so
- it has a constant size across platforms.
-
- * marshal.c (mono_delegate_end_invoke): Avoid crash when there is no
- stack trace.
+ * marshal.c: Fix managed->native stringbuilder marshalling. Implement
+ marshalling of stringbuilder arrays. Fixes #59900.
2004-06-29 Martin Baulig <martin@ximian.com>
Beta2.
* mono/metadata/assembly.c (load_metadata_ptrs): Fix for Beta2
-