X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2FChangeLog;h=f0d03ff1935331228154ec31aa6f609db1cf58b3;hb=e62e8cad567e7017e19614f1d624b55012f7da71;hp=df3efba778031e70366f49fd304be4c6701a41ac;hpb=7ae1740b3fa08881034a3f8a37170fe940924ca8;p=mono.git diff --git a/mono/metadata/ChangeLog b/mono/metadata/ChangeLog index df3efba7780..f0d03ff1935 100644 --- a/mono/metadata/ChangeLog +++ b/mono/metadata/ChangeLog @@ -1,3 +1,363 @@ +2004-06-08 Martin Baulig + + * icall.c (ves_icall_ModuleBuilder_getMethodToken): New icall. + + * metadata.c (mono_metadata_parse_method_signature): When parsing + a MethodDef which has VarArgs, set sentinelpos. + + * metadata.h (MonoMethodSignature): Make `sentinalpos' a signed + `gint16' since we're using -1 for non-varargs methods. + + * reflection.c + (ReflectionMethodBuilder): Added `MonoArray *opt_types'. + (method_encode_signature): Added varargs support. + (method_builder_encode_signature): Likewise. + (mono_image_get_varargs_method_token): New static method. + (mono_image_create_method_token): New public method; this is + called via an icall instead of mono_image_create_token() when + calling a varargs method. + +2004-06-08 Lluis Sanchez Gual + + * locales.c: Fixed memory leak in Char.ToLower/ToUpper. + +2004-06-08 Atsushi Enomoto + + * culture-info-tables.h : Reflecting the latest locale-builder that + fixed empty array representation ({} to {0}). + +2004-06-07 Jackson Harper + + * assembly.c: It should be /lib/mono/gac when + looking up extra gac paths. This allows MONO_GAC_PATH to act + exactly like a prefix. + +2004-06-08 Zoltan Varga + + * reflection.c (mono_reflection_type_from_name): Make a copy of the + type name before modifying it. Fixes #59405. + +2004-06-08 Atsushi Enomoto + + * culture-info.h: added fields for "all datetime patterns". + * locales.c: ( ves_icall_System_Globalization_CultureInfo + _construct_datetime_format ()): fill xxx_patterns fields. + * object.h: added fields for "all datetime patterns" to + MonoDateTimeFormatInfo. + * culture-info-tables.h: reflecting locale-builder updates. + +2004-06-08 Zoltan Varga + + * icall.c (ves_icall_Type_GetEvents_internal): Handle the case when + the event has no add and remove methods. Fixes #59629. + +2004-06-05 Sebastien Pouliot + + * object.c: Fixed possible integer overflow when allocating large + strings. + +2004-06-05 Atsushi Enomoto + + * culture-info-tables.h: reflecting locale-builder updates. + +2004-06-05 Atsushi Enomoto + + * culture-info-tables.h: reflecting locale-builder updates. + +2004-06-03 Atsushi Enomoto + + * culture-info-tables.h: reflecting locale-builder updates. + +2004-06-03 Lluis Sanchez Gual + + * threads.c: Made Thread.Sleep abortable. + +2004-06-02 Martin Baulig + + * mono-debug.h (MONO_DEBUGGER_VERSION): Bumped version to 41. + + * debug-mono-symfile.h: Bumped symbol file version number to 37. + +2004-05-31 Zoltan Varga + + * marshal.c (mono_marshal_get_runtime_invoke): Fix CR/LFs. + +2004-05-30 Jackson Harper + + * reflection.c: Do not hardcode assembly versions or public key + tokens anymore. All of this except the corlib section was dead + code anyways. + +2004-05-29 Zoltan Varga + + * object.c (mono_runtime_invoke_array): Automatically create boxed + objects for byref valuetypes if needed. Fixes #59300. + + * object.c (mono_method_return_message_restore): Handle + MONO_TYPE_OBJECT as well. + +2004-05-28 Jackson Harper + + * reflection.c: The modified type encoding was causing build + problems. Reverted for now. + +2004-05-28 Jackson Harper + + * reflection.c/h: Take an assembly ref so that we dont create + fully qualified names when encoding types in the same assembly as + the custom attribute being emitted. + * appdomain.c: Increment version number. + +2004-05-26 Duncan Mak + + * icall.c + (ves_icall_System_Reflection_Assembly_GetReferencedAssemblies): + Set the full version number (major, minor, build, revision). + +2004-05-28 Vladimir Vukicevic + + * marshal.c (emit_struct_conv): increment src/dst after blit + (mono_marshal_get_managed_wrapper, + mono_marshal_get_native_wrapper): make sure we have marshalling + info before marshalling params (info computation affects + blittable) + + * class.c (class_compute_field_layout): correctly deal with + blittable + (mono_class_layout_fields): Don't do gc_aware_layout for AUTO + value types (as per what windows dows by default) + (mono_class_setup_mono_type): System.ValueType is blittable + (mono_ptr_class_get, mono_fnptr_class_get): Pointer classes are + blittable + + * marshal.c (mono_marshal_load_type_info): flag types as + non-blittable if the native layout doesn't match the managed + layout + +2004-05-28 Gonzalo Paniagua Javier + + * appdomain.c: don't add stuff in the private search path that is + above the application base. If application base is not set, there's + no private search path. + +2004-05-28 Zoltan Varga + + * marshal.c (mono_marshal_get_managed_wrapper): Add proper support for + byref struct arguments in native->managed marshalling. + +2004-05-28 Patrik Torstensson + + * marshal.c (mono_marshal_get_runtime_invoke): correctly + cache methods using signature (special case for methods + that are value type or string class) + + * image.c (mono_image_close): clean up allocated GSList's + in runtime_invoke_cache. + +2004-05-28 Gonzalo Paniagua Javier + + * mono-config.c: set the correct path for mono_cfg_dir on windows when + there's no MONO_CFG_DIR environment variable defined. + +2004-05-28 Gonzalo Paniagua Javier + + * threads.c: windows version must be >= 0x0500 to include OpenThread. + +2004-05-28 Lluis Sanchez Gual + + * threadpool.c: Really wait for 500ms after the async call, even if the wait + is interrumped. + * threads.c: In mono_thread_manage, call OpenThread to ref each handle + before waiting for it, and call CloseHandle after the wait to unref it. + This will make sure that handles are not disposed too early. + +2004-05-28 Gonzalo Paniagua Javier + + * appdomain.c: + * appdomain.h: + * icall.c: removed + ves_icall_System_AppDomainSetup_InitAppDomainSetup as it's not + needed now. + + * object.c: se the application_base only for the domain that runs + Main. Fixes bug #59216, + +2004-05-28 Gonzalo Paniagua Javier + + * appdomain.c: + * object.c: only the domain in which Main is run have + SetupInformation.ConfigurationFile set, so moved a few lines from + appdomain.c to object.c. + +2004-05-28 Gonzalo Paniagua Javier + + * appdomain.c: we tried to load [name].(dll|exe), but according + to bug #57710, we must also try [culture]/[name].(dll|exe) and + [culture]/[name]/[name](dll|exe). This patch fixes the bug. + There's a test case attached to bug #58922. + +2004-05-27 Dick Porter + + * icall.c: + * file-io.c: Implemented icalls for locking and unlocking regions + in a file. + (ves_icall_System_IO_MonoIO_FindNextFile): FindNextFile() returns + FALSE on error (fixes both compiler warning and real bug.) + +2004-05-27 Atsushi Enomoto + + * culture-info-tables.h: reflecting locale-builder updates. + + (Added missing ChangeLog entry for 05/26) + +2004-05-27 Jackson Harper + + * locales.c: Fix some cut and paste errors. + +2004-05-27 Gonzalo Paniagua Javier + + * mono-config.c: set the correct path for config. directory on windows. + +2004-05-26 Atsushi Enomoto + + * icall.c : Fixed ves_icall_System_DateTime_GetNow() to return utc + on win32. + +2004-05-26 Zoltan Varga + + * marshal.c (mono_marshal_get_native_wrapper): Free strings returned + from pinvoke functions. + + * marshal.c (mono_ftnptr_to_delegate): Implement this. + +2004-05-26 Atsushi Enomoto + + * culture-info-tables.h: reflecting locale-builder updates. + +2004-05-26 Zoltan Varga + + * profiler.c (simple_allocation): Skip icall wrapper methods. Fixes + #59086. + +2004-05-26 Sebastien Pouliot + + * appdomain.cs: Bumped MONO_CORLIB_VERSION to 20. + * icall.c: Modified icalls for RNG. + * rand.c|h: Changed RNG interface to allow thread-safe usage under + Windows (CryptoAPI). + +2004-05-25 Zoltan Varga + + * locales.c: Fix build. + +2004-05-25 Atsushi Enomoto + + * culture-info-tables.h: reflecting locale-builder updates. + +2004-05-25 Jackson Harper + + * locales.c: When creating the current culture use the $LANGs + specific culture. So DateTimeFormat and NumberFormat entries are created. + +2004-05-25 Zoltan Varga + + * string-icalls.{h,c} icalls.c: Add new icalls for Strcpy which take + a char array as parameter. + +2004-05-24 Lluis Sanchez Gual + + * image.c: In mono_image_open(), always use an absolute path name to + look for already loaded images. + +2004-05-24 Sebastien Pouliot + + * icall.c: Added define for CSIDL_FLAG_CREATE (0x8000) in case it is + missing in the windows build (like older cygwin include files). + +2004-05-23 Sebastien Pouliot + + * icall.c: Fixed check for possible integer overflow in Buffer_ + BlockCopy icall. Replaced comments style // by /* */. + +2004-05-22 Zoltan Varga + + * marshal.c (mono_ftnptr_to_delegate): Fix warning. + + * marshal.c (mono_marshal_get_proxy_cancast): Move thread interrupt + check after MONO_VTADDR. Fixes pinvoke2.exe. + + * marshal.h marshal.c metadata.h: Add beginnings of support for + ftnptr -> delegate marshalling. + +2004-05-21 Zoltan Varga + + * threads.c (ves_icall_System_Threading_Thread_ResetAbort): Fix compilation on gcc-2.95. + * threads.c: Fix warnings. + +2004-05-20 Lluis Sanchez Gual + + * appdomain.c, gc.c: Make use of the new WaitForSingleObjectEx. + * icall.c: Registered icalls for Suspend and Resume. + * locales.c: Beware, mono_monitor_try_enter can now be interrupted by + Thread.Abort. + * monitor.c: Use WaitForSingleObjectEx. Added some interruption checkpoints. + * mono-debug-debugger.c: Use WaitForSingleObjectEx et al. + * process.c: Use WaitForSingleObjectEx. + * threadpool.c: Use WaitForSingleObjectEx. Added some interruption + checkpoints. + * threads.c, threads.h: Make use of new Ex wait methods. Improved + implementation of Thread.Abort and Thread.ResetAbort icalls. Added icalls + for Suspend and Resume. Added new mono_thread_stop, used for stoping + background threads. Added basic support for Abort in Windows. + Start new threads using a managed delegate invoke wrapper. This wrapper + has an interruption checkpoint that is needed since an interruption + can be requested before the thread leaves the unmanaged code that starts + the thread. + * marshal.c: Added interruption checkpoint after every native call, and + also before managed calls for wrappers called from unmanaged code to + go into managed code. + * object.h: Added new field in MonoThread to keep track of interruption + requests. + +2004-05-20 Zoltan Varga + + * marshal.c: Insert SAVE_LMF and RESTORE_LMF opcodes around native + calls. + +2004-05-20 Gonzalo Paniagua Javier + + * appdomain.c: + * assembly.c: + * gc.c: + * locales.c: + * mono-config.c: + * rand.c: getenv -> g_getenv (windows!) + + * process.c: complete_path is also used on non-windows platforms. + +2004-05-19 Gonzalo Paniagua Javier + + * icall.c: new signature for Process_Start. + + * process.[ch]: new signature for Process_Start. If we're on windows + and UseShellExecute is false, we have to search for the program by + ourselves if we don't get a full path. + +2004-05-18 Zoltan Varga + + * marshal.c (mono_marshal_get_native_wrapper): Fix up custom + marshalling and call CleanUpNativeData if needed. Fixes #58646. + +2004-05-18 Gonzalo Paniagua Javier + + * socket-io.c: field value changed for Int32 from 'value' to 'm_value'. + Fixes bug #58373. + +2004-05-17 Gonzalo Paniagua Javier + + * process.c: use double quotes to quote program name and arguments on + windows. Fixes bug #58575. + 2004-05-17 Gonzalo Paniagua Javier * file-io.c: don't return "." and ".." when using windows Find*File.