2004-05-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mono / metadata / ChangeLog
index 433df89e1a1e4335e004cec00c6d7b572e4e7571..6daa0179abf309e1cc8ebbd1fa534d417a8acba1 100644 (file)
@@ -1,3 +1,318 @@
+2004-05-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Makefile.am: link to ../os/libmonoos.la on windows.
+
+       * assembly.c:
+               -If MONO_DEBUG, warn about non-existing directories in
+               MONO_PATH.
+               -Added mono_assembly_getrootdir() that replaces MONO_ASSEMBLIES
+               compile time variable.
+               -Removed init_default_path and call mono_set_rootdir from
+               libmonoos.a instead (windows only).
+
+       * assembly.h: declare mono_assembly_getrootdir().
+
+       * domain.c:
+       * icall.c: use mono_assembly_getrootdir() instead of MONO_ASSEMBLIES.
+
+       * loader.c: s/getenv/g_getenv/
+
+2004-05-11  Zoltan Varga  <vargaz@freemail.hu>
+
+       * marshal.{h,c}: Add support for UnmanagedType.AsAny.
+
+       * marshal.c: Use mono_metadata_signature_{alloc,dup} where appropriate.
+
+       * metadata.h: Add new marshalling conversions.
+
+       * metadata.h metadata.c (mono_metadata_signature_dup): New helper
+       function.
+
+       * reflection.c (mono_reflection_get_type): Lookup the type in all
+       modules of a multi-module assembly. Fixes #58291.
+
+2004-05-11  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * threads.c: Before aborting a background, set the StopRequested
+       state.  This avoids throwing the Abort exception.
+       In mono_thread_manage, don't continue with the shutdown until all
+       aborted threads have actually stopped.
+
+2004-05-10  Jackson Harper  <jackson@ximian.com>
+
+       * locales.c: Remove the modifier from culture names.
+       
+2004-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Makefile.am: monosn is not installed any more. It has been deprecated
+       in favor of sn.
+
+2004-05-07  Jackson Harper  <jackson@ximian.com>
+
+       * locales.c
+       (ves_icall_System_Globalization_CultureInfo_internal_get_cultures):
+       Fix array construction, add bailout if the length is 0.
+
+2004-05-07  Dick Porter  <dick@ximian.com>
+
+       * socket-io.c (addrinfo_to_IPHostEntry): Don't crash if the
+       machine doesn't have a DNS entry.  Patch by Urs Muff
+       (umuff@quark.com), fixes bug 57928.
+
+2004-05-06  Jackson Harper  <jackson@ximian.com>
+
+       * reflection.c: Handle null PublicTokens properly. alloc mem for
+       assembly names culture so we dont crash when freeing it.
+       
+2004-05-06  Jackson Harper  <jackson@ximian.com>
+
+       * assembly.c: Check the usergac when loading with partial names.
+       
+2004-05-05  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * rand.c|h: Added new icall for (optionally) seeding the PRNG. This 
+       does nothing for now (not required for Linux/Windows) but the class
+       library can call it (and a newer or modified runtime could need it).
+       * icall.c: Registred icall.
+
+2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * loader.c: prints a message on module loading error we set MONO_DEBUG
+       environment variable.
+
+2004-05-05  Jackson Harper  <jackson@ximian.com>
+
+       * appdomain.c: Handle PublicKeyToken=null properly.
+       
+2004-05-05  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * environment.c|h: Added icall ves_icall_System_Environment_
+       GetOSVersionString to get the current OS version as a string.
+       * icall.c: Registred icall.
+
+2004-05-05  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * object.c: in mono_object_get_virtual_method(), take into account that
+       non-virtual methods don't have a slot in the vtable. Check needed when
+       the object is a proxy.
+
+2004-05-05  Zoltan Varga  <vargaz@freemail.hu>
+
+       * marshal.h marshal.c icall.c: Applied patch from vladimir@pobox.com
+       (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.
+
+       * object.c (mono_class_compute_gc_descriptor): Fix warning.
+
+       * object.c (mono_runtime_invoke_array): Add an assert so null cannot be
+       passed when a valuetype is expected.
+
+       * object.c (mono_unhandled_exception): Only set the exit code if the
+       exception happens in the main thread. Fixes thread5.exe.
+
+       * appdomain.c (get_info_from_assembly_name): Fix infinite loop on
+       invalid names. Fixes #58047.
+
+2004-05-03  Jackson Harper  <jackson@ximian.com>
+
+       * assembly.c: This line was committed accidently and is unneeded.
+       
+2004-05-03  Jackson Harper  <jackson@ximian.com>
+
+       * icall.c: Add new icall for Assembly::LoadWithPartialName
+       * assembly.c/.h: new function that probes the GAC to load partial
+       assembly names by Paolo Molaro.
+       
+2004-05-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * appdomain.c: use g_strncasecmp when looking for 'Culture=' et al.
+       * reflection.c: use g_strncasecmp when looking for 'Culture=' et al.
+       (type_get_fully_qualified_name): Added PublicKeyToken when building a
+       full type name.
+
+2004-05-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * appdomain.c: fixed check for 'neutral' culture and removed warning.
+       * reflection.c: fix bug when parsing a full type name and Version is not
+       the last thing in the string.
+
+2004-05-03  Zoltan Varga  <vargaz@freemail.hu>
+
+       * appdomain.c (get_info_from_assembly_name): Strdup "" to prevent
+       crashes when it is freed.
+
+2004-05-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * assembly.c: print the compat warning to stderr.
+
+2004-05-01  Miguel de Icaza  <miguel@ximian.com>
+
+       * assembly.c (mono_assembly_load_references): Add a compatibility
+       hack to run old applications that might be still referencing the
+       3300-based assemblies, only do this for System.xxx.
+
+2004-05-01  Jackson Harper  <jackson@ximian.com>
+
+       * appdomain.c: If the culture is neutral we set it to "".
+       
+2004-04-29  Jackson Harper  <jackson@ximian.com>
+
+       * locales.c: Add some missing MONO_ARCH_SAVE_REGS'.
+
+2004-04-29  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+       * string-icalls.c: added low overhead function for copying chars
+       * icall.c: added needed icall for the above function
+2004-04-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * icall.c: fix return value of get_global_assembly_cache.  Implemented
+       Environment.GetLogicalDrives.
+
+2004-04-28  Bernie Solomon  <bernard@ugsolutions.com>
+
+       * rand.c: try and talk to egd or prngd
+       for random bytes if opening devices fail.
+
+2004-04-28  Zoltan Varga  <vargaz@freemail.hu>
+
+       * marshal.c (mono_marshal_load_type_info): Calculate the minimum
+       alignment for the type using the native alignment of its members 
+       instead of using klass->min_align.
+
+       * metadata.c (mono_type_stack_size): Fix size of TYPEDBYREF.
+
+2004-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * file-io.c:
+       * socket-io.c: added check for sys/aio.h.
+
+2004-04-28  Dick Porter  <dick@ximian.com>
+
+       * threads.c: Don't abort a thread thats already aborting, when
+       terminating everything.
+
+2004-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * icall.c: added 2 new async calls for Socket.
+
+       * socket-io.[ch]: fixed some warnings. Added support for asynchronous
+       IO on *nix systems.
+
+       * threadpool.c: removed unused variable.
+
+2004-04-27  Zoltan Varga  <vargaz@freemail.hu>
+
+       * marshal.c: Handle null properly in PtrToString* icalls. Fixes #57706.
+
+Tue Apr 27 15:55:17 CEST 2004 Paolo Molaro <lupus@ximian.com>
+
+       * locales.c: put back string_invariant_tolower () and
+       string_invariant_toupper ().
+
+2004-04-26 David Waite <mass@akuma.org>
+
+       * file-io.h:
+       * socket-io.h:
+       * threads.h:
+       * unicode.h: remove comma from end of enumeration declarations
+
+2004-04-26 David Waite <mass@akuma.org>
+
+       * debug-mono-symfile.h:
+       * decimal.c:
+       * mono_debug.h:
+       * sysmath.c: Define 64 bit constants as long long types (i.e. 10ULL)
+
+
+2004-04-26  Jackson Harper  <jackson@ximian.com>
+
+       * appdomain.c: Increment version number.
+       
+2004-04-26  Jackson Harper  <jackson@ximian.com>
+
+       * appdomain.c: Set assembly references public token value when
+       PublicKeyToken is specified, not the hash_value. Free public token
+       values when free assembly name data. Previously the public key
+       token was hex decoded, however we are using hex encoded public key
+       tokens, so this is not neccasary.
+       * assembly.c: Lookup assemblies in the gac if their public token
+       value is set. Add function to allow enabling user gac
+       lookups. Specify whether or not the assembly was loaded from the
+       GAC. Compare full assembly names when checking the cache for
+       assemblies (Temporarily disabled see comment in code). Remove
+       mscorlib -> corlib mapping cruft. Add trace-loading. When a user
+       specifies trace-loader they get extra info to stdout on the
+       loading of assemblies.
+       * image.h: Add a field for an assembly references public token
+       value to MonoAssemblyname. Add a field to MonoAssembly to specifiy
+       whether an assembly has been loaded from the GAC.
+       * image.c: Remove a corlib -> mscorlib name mapping.
+       * loader.h: Add function to enable/disable the user gac.
+       * mono-config.c: Check if the usergac is enabled in the config
+       file.
+       * icall.c: New icall to determine whether or not an assembly has
+       been loaded from the GAC. Remove some mscorlib -> corlib mappings.
+       * tabldefs.h: Add constant for assemblyref flag that specifies a
+       full public key is used instead of a public token.
+       * reflection.c: Remove mscorlib -> corlib mappings. Set
+       PublicTokenValue instead of hash value. This value is a hex
+       string so it does not need to be expanded.
+
+2004-04-26  Martin Baulig  <martin@ximian.com>
+
+       * mono-debug-debugger.c (mono_debugger_initialize): Set
+       `mono_debugger_initialized' before calling mono_debug_lock().
+
+2004-04-42  Robert Shade <rshade@dvsconsulting.com>
+
+       * icall.c: icalls for Char.ToUpper/ToLower are now hooked to
+         InternalToUpper/InternalToLower.
+       * locales.c: (ves_icall_System_{Char,String}_InternalTo{Upper,Lower}_Comp)
+         removed invariant culture shortcut.  This is now done in managed code.
+       * locales.c: (string_invariant_toupper/tolower) removed.
+
+2004-04-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * icall.c: added GetSupportsAsync for Socket (same as MonoIO).
+       Added Poll internal call.
+
+       * socket-io.[ch]: _wapi_socket == WSASocket. Added internal
+       call for Poll. Select was too heavy for polling a single socket.
+
+       * threadpool.[ch]: added mono_threadpool_cleanup.
+       * threads.c: use it. Don't use Thread_Abort on windows.
+
+2004-04-23  Martin Baulig  <martin@ximian.com>
+
+       * mono-debug-debugger.c (mono_debugger_lookup_assembly): New function.
+
+2004-04-23  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * icall.c: Registred new icalls for key pair protection and added an
+       icall for Environment.GetFolderPath on Windows.
+       * security.c|h: Added new icalls for key pair protection.
+
+2004-04-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * socket-io.c: don't display the non-supported family warning for known
+       families. Now this is not displayed on windows when checking support
+       for IPv4/IPv6.
+
+2004-04-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * class.c: don't display the layout warning for static fields.
+
+2004-04-21  Lluis Sanchez Gual <lluis@ximian.com>
+
+       * icall.cs: Registered new icalls for Char.ToLower and Char.ToUpper.
+       * locales.c, locales.h: Added new icalls for culture-specific
+       Char.ToLower and Char.ToUpper.
+
+2004-04-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * threads.c: the 2nd argument when aborting a thread is NULL now. Patch
+       by David Waite.
+
 2004-04-20  Martin Baulig  <martin@ximian.com>
 
        * mono-debug-debugger.c (mono_debugger_lookup_type): Make a copy
@@ -255,7 +570,6 @@ Thu Apr 15 14:24:49 CEST 2004 Paolo Molaro <lupus@ximian.com>
        in the GenericParam, MethodSpec or GenericParamConstraint tables,
        set the header version to 1.1.
 
->>>>>>> 1.1497
 2004-04-06  Martin Baulig  <martin@ximian.com>
 
        * class.c (mono_class_init): If we're a generic instance,