jfrijters
5eebd6f17b
Added AssemblyClassLoader.GetAssembly(TypeWrapper) and changed most code that assumed that an AssemblyClassLoader represented a single assembly to use it.
2009-02-04 07:24:44 +00:00
jfrijters
c84bf959b6
When loading a referenced assembly that is the main assemblye of a sharedclassloader group, also pre-load the other assemblies in the group.
2009-02-04 07:19:06 +00:00
jfrijters
77b20a1cb8
Renamed ClassLoadWrapper.GetType(string) to GetGenericTypeDefinition() to make clear what it is used for.
2009-02-04 07:10:59 +00:00
jfrijters
39b6ecfb4c
Implemented shared class loader support.
2008-12-23 07:11:29 +00:00
jfrijters
9f7e72f62c
Split EmitRemappedTypes into two passes, to allow map.xml to refer to types in other assemblies currently being compiled.
2008-12-23 06:14:42 +00:00
jfrijters
f4c607b73d
Added workaround for protected methods in remapped types (i.e. Object.close() and Object.finalize()) that will be necessary when splitting the class library into multiple assemblies.
2008-12-23 06:12:05 +00:00
jfrijters
94f4fe2ee2
Make ikvmc emit a warning whenever it emits code that throws a hard error.
2008-12-23 06:07:10 +00:00
jfrijters
0220a2b985
Multi target performance fix.
2008-11-19 05:41:13 +00:00
jfrijters
b958181492
Simplified creation of "fake" types.
2008-11-18 05:32:15 +00:00
jfrijters
aea7c28387
Don't generate warnings for ikvmstub generated classes that are loaded.
2008-11-18 05:28:15 +00:00
jfrijters
faffcc628c
Integrated IKVM.Reflection.Emit in ikvmc.
2008-11-14 08:42:07 +00:00
jfrijters
172d448cbf
Improved core assembly compilation detection to work in multi target scenarios.
2008-11-14 08:29:19 +00:00
jfrijters
02a2e9ab38
Fixed peer class loading hack.
2008-11-14 08:24:50 +00:00
jfrijters
10cb0a21e9
Fixed .NET generic support regression introduced when ikvmc moved to not using the CompilerClassLoader as the system class loader.
2008-09-21 09:48:57 +00:00
jfrijters
684cdf651e
Generified all collections.
2008-08-15 12:01:06 +00:00
jfrijters
ac802b90cd
Replaced mapxml Hashtable with three statically typed Dictionaries.
2008-08-14 07:42:56 +00:00
jfrijters
21c028191c
Moved generated exception mapping code from ExceptionHelper to Throwable and made it slightly less hacky.
2008-08-14 06:51:32 +00:00
jfrijters
a8d63a772c
Replaced usage of BootstrapClassLoader with actual class loader in static compiler.
2008-08-14 05:42:43 +00:00
jfrijters
b59d8d4107
Added multi target support to ikvmc (although it is currently disabled, because of a showstopper .NET Ref.Emit bug).
2008-08-13 13:04:47 +00:00
jfrijters
3232aa6480
Switched to using generic collections.
2008-08-08 06:26:37 +00:00
jfrijters
b1b3f8b4f5
- Renamed CountingILGenerator to CodeEmitter.
...
- Renamed CountingLabel to CodeEmitterLabel.
2008-06-03 12:10:07 +00:00
jfrijters
36aa7b1a6c
Removed CodeEmitter abstract base class.
2008-06-03 09:17:31 +00:00
jfrijters
3039915845
Bug fix: the key file should not be opened for read/write access.
2008-05-20 07:19:12 +00:00
jfrijters
1b4b6a238c
Call suppressFillInStackTrace before instantiating a remapped exception in the remap implementation method.
2008-04-21 04:18:32 +00:00
jfrijters
9a945fa059
Don't skip zero length resource files.
2008-03-14 09:13:59 +00:00
jfrijters
828a4de95d
Replaced notion of DynamicOnly types with Fake types. Fake types are implemented as generic type instances and can have DynamicOnly methods.
2008-03-03 07:05:19 +00:00
jfrijters
8f8dcc3084
Removed workaround that is no longer needed.
2008-02-10 09:39:21 +00:00
jfrijters
ca33432304
Made core assembly compilation detection more robust.
2008-02-10 08:59:36 +00:00
jfrijters
2ed8621ccc
Made core assembly detection more robust.
2008-02-10 08:55:18 +00:00
jfrijters
098ef07111
- Added ikvmc -platform option.
...
- Fixed ikvmc JNI handling regression (introduced when IKVM.Runtime.JNI was split off).
2008-01-03 09:39:12 +00:00
jfrijters
6df053187c
Implemented support for InternalsVisibleToAttribute.
2007-12-17 10:59:02 +00:00
jfrijters
d6e2cf70f7
Removed more .NET 1.1 workarounds.
2007-11-26 16:00:15 +00:00
jfrijters
3072c89696
- Removed .NET 1.1 specific code
...
- Removed conditional compilation of .NET 2.0 specific code
2007-11-26 08:38:38 +00:00
jfrijters
f8dcc6ff6d
Allow non-public custom assembly class loaders.
2007-10-25 12:57:40 +00:00
jfrijters
18e17eeec4
Added ikvmc option to specify custom assembly class loader.
2007-10-21 07:15:40 +00:00
jfrijters
25e5f841bd
Fix for bug #1802125 .
2007-10-10 06:54:20 +00:00
jfrijters
f2d89c0051
- Fixed assembly annotation support (annotations are now applied, even though "assembly" type already exists in core library).
...
- Added ikvmc warning when annotation type isn't found.
2007-07-25 16:28:20 +00:00
jfrijters
a216330810
Restructured handling of fields defined in map.xml to enable referencing them from map.xml method bodies.
2007-06-28 10:32:50 +00:00
jfrijters
2f815fb327
Fixed GetReplacedMethodsFor() to not throw a NullReferenceException if no map file is specified.
2007-06-14 06:36:35 +00:00
jfrijters
c1016c5406
Added support for locally (i.e. per method) replacing method calls with a custom CIL sequence.
2007-06-12 11:45:23 +00:00
jfrijters
b3c3e3885b
- Don't crash if remap file contains no class entries.
...
- Fixed previous change to auto-load the right core class library assembly.
2007-05-27 08:13:44 +00:00
jfrijters
a0c34fcf9c
Removed core assembly name dependency.
2007-05-24 10:03:44 +00:00
jfrijters
7b5cec6883
Implemented type loading from referenced assemblies (to support loading generic .NET type instances).
2007-05-23 12:46:29 +00:00
jfrijters
ce17ae8114
Moved compiler warning handling to fix missing warnings bug (previously depending on compilation order, some warnings might not be shown).
2007-05-02 06:04:07 +00:00
jfrijters
c95cf11f5c
Added support for supressing the automatic null this check.
2007-04-23 08:20:15 +00:00
jfrijters
0a1a172d3b
- .NET "generic class loaders" now return something sensible when toString() is called on them.
...
- Ikvmc no longer warns about generic stubs.
- Ikvmstub now has WHIDBEY conditional code to properly determine if a class is a generic type instance (instead of the name based hack).
- Fixed .NET generic type name mangling bug (nested generic types were double encoded).
- Added support for loading .NET generic type stubs.
- Fixed several .NET generic type loading bugs.
- Fixed ikvm.runtime.Util.getInstanceTypeFromClass() to return null instead of throw an exception when it is called on a "dynamic only" class.
2007-03-29 09:17:19 +00:00
jfrijters
0444985b5b
As pointed out by FxCop:
...
- Comparable.__Helper should not have a public constructor and should be sealed.
- Shadow methods in remapped types (that exist to hide the Java methods from Intellisense) should copy LinkDemands from the methods that they hide.
2007-03-15 08:04:35 +00:00
jfrijters
7d6ea3276d
Restructured mutual dependency of IKVM.Runtime and IKVM.GNU.Classpath to work around Mono C# compiler limitation.
2007-02-16 07:42:32 +00:00
jfrijters
0b9b0ee2d3
- Changed ikvmc to fail with a Link Error when it detects a loader constraints violation (instead of emitting code that throws a LinkageError at runtime).
2007-02-01 07:13:02 +00:00
jfrijters
9be5755a09
- Added warning to ikvmc when skipping a class that is already in a referenced assembly.
...
- Changed ikvmc -nowarn to use only the first variable string in a warning as the key.
2007-01-31 11:26:41 +00:00