jfrijters
d8b31ed729
Added -baseaddress:<address> option to ikvmc.
2009-06-22 06:12:47 +00:00
jfrijters
99c7df5de9
Added "RuntimeCompatibilityAttribute(WrapNonExceptionThrows = true)" to generated assemblies.
2009-06-18 06:14:55 +00:00
jfrijters
f6a22f068f
Added ikvmc warnings for VerificationError and ClassFormatError.
2009-06-18 06:13:21 +00:00
jfrijters
6a5ce00091
- When building for .NET 4.0, don't use DefineDynamicAssembly() overload that takes assembly permission sets, because .NET 4.0 ignores them anyway.
...
- Fixed BakedTypeCleanupHack to work for .NET 2.0 SP2.
- Changes to remove warnings when building on .NET 4.0
2009-05-26 05:00:38 +00:00
jfrijters
7d0d8be096
When building for .NET 4.0 we can derived ModuleBuilder from Module and AssemblyBuilder from Assembly.
2009-05-25 13:42:15 +00:00
jfrijters
68c9172600
Preparing for .NET 4.0:
...
- Added SecurityRules(Level1) attribute to IKVM.Runtime.dll to (temporarily) opt out of new .NET 4.0 security model.
- Changed compiler/runtime to automatically add SecurityRules(Level1) attribute when running on .NET 4.0 beta 1 to work around bug in the handling of MethodImpls in beta 1.
2009-05-24 06:54:24 +00:00
jfrijters
597db09496
Added support for assembly declarative security pseudo custom attribute annotations.
2009-05-17 06:11:58 +00:00
jfrijters
7ed63e8d01
Added (limited) support for defining instance fields on remapped types. The fields will only be available on the actual implementation types, not the types they shadow (accessing the field on a shadow instance is undefined, but for reflection we'll at least guarantee that an exception is thrown (current java.lang.IllegalArgumentException)).
2009-03-16 05:28:11 +00:00
jfrijters
9bac1d38f3
Roll back previous accidental commit.
2009-03-13 05:05:26 +00:00
jfrijters
58c9e59ee3
Added newarr opcode.
2009-03-13 04:59:21 +00:00
jfrijters
3ebf554517
Implemented ikvm.internal.ClassLiteral<T> to allow for more efficient class literals.
2009-03-04 05:47:18 +00:00
jfrijters
d014ba2dff
Add wildcard exports for assemblies referenced by non-main assembly in shared class loader group.
2009-02-22 08:18:37 +00:00
jfrijters
9803e4805b
Use "ikvm.exports" map for "wildcard exports" (i.e. assemblies that are referenced and whose types are available thru the assembly class loader).
2009-02-19 08:12:05 +00:00
jfrijters
007b01b8a4
Renamed AssemblyClassLoader.Assembly to MainAssembly.
2009-02-10 07:27:25 +00:00
jfrijters
288a3fddbd
Changed "InternalsVisibleTo" handling to be based on Assembly instead of class loader.
2009-02-10 07:24:30 +00:00
jfrijters
6d7c5cf05c
Use AssemblyClassLoader.GetAssembly() to get the actual assembly the type lives in, instead of the main assembly of the group.
2009-02-05 06:59:11 +00:00
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