* appdomain.c: Set assembly references public token value when
authorJackson Harper <jackson@novell.com>
Mon, 26 Apr 2004 19:26:41 +0000 (19:26 -0000)
committerJackson Harper <jackson@novell.com>
Mon, 26 Apr 2004 19:26:41 +0000 (19:26 -0000)
commit4f5212b6e6d285f22aa129d236c9fa4f1ee65281
treee9cf2d222dd8ee103fff8171747cff099ae5d3c0
parent3ea9677f515d756e456d964605c735716ff93cb2
    * 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.

svn path=/trunk/mono/; revision=26012
mono/metadata/ChangeLog
mono/metadata/appdomain.c
mono/metadata/assembly.c
mono/metadata/icall.c
mono/metadata/image.c
mono/metadata/image.h
mono/metadata/loader.h
mono/metadata/mono-config.c
mono/metadata/reflection.c
mono/metadata/tabledefs.h