jfrijters
020e428000
Fixed regression. Made TypeWrapper.IsGhostArray safe to call on Unloadable types.
2008-06-18 10:23:37 +00:00
jfrijters
8b7b320f15
Fixed bug introduced by CallerID support.
2008-06-13 07:52:55 +00:00
jfrijters
b1b3f8b4f5
- Renamed CountingILGenerator to CodeEmitter.
...
- Renamed CountingLabel to CodeEmitterLabel.
2008-06-03 12:10:07 +00:00
jfrijters
cbeeb20318
Marked all static classes as static.
2008-06-03 07:13:49 +00:00
jfrijters
c5dcd8dc53
Refactored finish state/methods from JavaTypeImpl into FinishContext.
2008-06-03 06:52:30 +00:00
jfrijters
f41a42949c
- Renamed ClassFile.HasCallerID to distinguish it from MethodWrapper.HasCallerID.
...
- Added check to only recognize HasCallerID annotation in core library.
- Changed other locations that incorrectly used ClassFile.HasCallerID to use MethodWrapper.CallerID.
2008-06-02 06:20:29 +00:00
jfrijters
8c73f6947e
Added optimization to omit callerid nested type inside core library.
2008-06-02 04:04:39 +00:00
jfrijters
5e4182edb5
- Implemented CallerID infrastructure.
...
- Marked various methods with HasCallerID annotation.
- Rewrote some methods to explicitly use CallerID.
2008-05-31 15:20:29 +00:00
jfrijters
018eaf5acb
Restructured code to remove (mcs) compiler warnings.
2008-05-20 07:43:42 +00:00
jfrijters
9c2dfec3c5
Added workarounds for mcs compiler bug (related to the mutual dependency of the runtime and class library assemblies).
2008-05-20 07:36:50 +00:00
jfrijters
29f84a8850
- added more efficient float/double to/from int/long bits converters
...
- made Double.doubleToRawLongBits/longBitsToDouble and Float.floatToRawIntBits/intBitsToFloat intrinsics
- generalized the intrinsics support
2008-05-09 05:57:55 +00:00
jfrijters
7609085114
Forgot to cast result from GetClassFromTypeHandle to java.lang.Class.
2008-04-25 04:45:52 +00:00
jfrijters
e28c60d9a4
Added hack to support instantiating fake enums for types loaded in ReflectionOnly (to support custom attribute annotations that have enum values in ikvmstub).
2008-04-22 06:50:22 +00:00
jfrijters
cb06062f15
Take advantage of the fact that we now have a real type to refer to, instead of doing the class lookup by name.
2008-04-22 06:48:30 +00:00
jfrijters
2c35fdd246
Moved "fake" type handling to the proper place.
2008-04-22 06:24:55 +00:00
jfrijters
1d1b043269
Fixed name mangling bug. Dots in nested type names should be mangled, because they shouldn't affect the package name.
2008-04-21 08:19:20 +00:00
jfrijters
90caa038dd
Added support for turning Java fields into .NET properties with an annotation.
2008-04-14 05:13:41 +00:00
jfrijters
33e105654f
Restored the special case for interface .cctor methods to fix bug #1930303
2008-04-01 17:39:07 +00:00
jfrijters
2d8516956b
Made __Fields nested class abstract (it was already sealed) and removed the constructor.
2008-04-01 17:36:04 +00:00
jfrijters
c428023090
Restructured code to remove compiler warnings.
2008-03-14 09:12:50 +00:00
jfrijters
74c64c8454
Use custom modifiers to make sure constructor signature is unique (if necessary).
2008-03-04 07:28:00 +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
3460403e1f
Hide ikvmc generated GetEnumerator() method from Java.
2008-02-29 08:01:34 +00:00
jfrijters
85ff0c380a
- Reintroduced guard against recursive FinishCore invocations.
...
- Implemented support for annotations on .NET fields/methods/parameters.
2008-02-29 07:08:04 +00:00
jfrijters
aa715b2fac
Fixed regression in return value annotation value.
2008-02-19 09:44:40 +00:00
jfrijters
a69bb1e802
Construct custom attribute annotation proxies directly instead of going through the trouble to encode/decode them.
2008-02-17 11:33:03 +00:00
jfrijters
c74b70d904
- Don't instantiate DotNetTypeWrapper before knowing it's the right one.
...
- Reuse name instead of recomputing it in the DotNetTypeWrapper constructor.
2008-02-10 09:05:53 +00:00
jfrijters
fe81227fee
Reintroduced baked TypeBuilder scrubbing hack for .NET 2.0 SP1.
2008-02-10 08:45:27 +00:00
jfrijters
c5ca5009ae
- Use assembly qualified type names in annotation parameters when referencing a class.
...
- Renamed GetEnumerator method in implicit IEnumerable implementation to work around lame bug in Xml serialization.
2008-02-09 17:37:38 +00:00
jfrijters
0b07059d24
Fixed JNI regression in ikvmc.
2008-01-03 09:42:14 +00:00
jfrijters
357555cb59
Indirectly refer to JNI assembly.
2007-12-28 14:36:30 +00:00
jfrijters
83e77754db
Added support for registering a delegate that gets called after the type is baked.
2007-12-28 10:22:06 +00:00
jfrijters
c25f154eae
Generic type instances can't be inner classes.
2007-12-27 15:41:43 +00:00
jfrijters
426ded09ff
- Changed <clinit> method to SmartConstructorMethodWrapper to support calling it in map.xml
...
- Removed call to unnecessary call to MatchTypes (to support partial trust)
2007-12-27 15:08:05 +00:00
jfrijters
6cd0a9e34b
Restructured VM <-> Library interface to take advantage of InternalsVisibleTo to remove public methods and reflection usage.
2007-12-19 11:28:09 +00:00
jfrijters
f9e7cd31f5
Moved JNI implementation into a separate assembly (IKVM.Runtime.JNI.dll) to make IKVM.Runtime.dll verifiable.
2007-12-18 09:56:11 +00:00
jfrijters
6df053187c
Implemented support for InternalsVisibleToAttribute.
2007-12-17 10:59:02 +00:00
jfrijters
6da894bcd5
Removed mono workarounds.
2007-12-17 07:43:06 +00:00
jfrijters
9b22fbf1d1
Workaround the fact that Mono doesn't currently implement FieldInfo.GetRawConstantValue().
2007-12-04 08:10:53 +00:00
jfrijters
d6e2cf70f7
Removed more .NET 1.1 workarounds.
2007-11-26 16:00:15 +00:00
jfrijters
7ca97a7541
More .NET 1.1 -> 2.0 work.
2007-11-26 11:01:29 +00:00
jfrijters
ab95ffee45
More .NET 1.1 -> 2.0 work.
2007-11-26 09:01:35 +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
6695ae96db
- Fixed AotTypeWrapper.EmitCheckCast() for ghost arrays (which apparently isn't used in the current core library).
...
- Fixed TypeWrapper.EmitCheckCast() for ghost arrays to actually cast to an array type.
2007-11-06 08:54:52 +00:00
jfrijters
8d1e02155e
Added support for the fact that .NET generic type instances can now refer to dynamically loaded Java types.
2007-10-22 09:25:10 +00:00
jfrijters
61bc8af572
Added support for custom assembly class loaders.
2007-10-21 07:14:53 +00:00
jfrijters
a22f2e0ce1
Disable inlining of __<clinit> method to work around x64 JIT bug.
2007-10-12 08:52:08 +00:00
jfrijters
25e5f841bd
Fix for bug #1802125 .
2007-10-10 06:54:20 +00:00
jfrijters
b08148de2b
JLS binary compat fix. Public inner classes should not be nested inside non public types.
2007-10-10 05:31:57 +00:00
jfrijters
d36bf2ea5a
Fixed RunClassInit() for remapped types.
2007-09-24 13:06:30 +00:00