jfrijters
ff3cadecc8
Implemented type annotation reflection for statically compiled classes.
2014-06-05 12:38:09 +00:00
jfrijters
3828b7df57
Implemented type annotation reflection for dynamically loaded classes.
2014-06-05 11:08:57 +00:00
jfrijters
9e6bf6305d
Simplified AnnotationType meta annotation handling.
2014-06-04 14:32:09 +00:00
jfrijters
05dbd6e3a4
Prepare for forking.
2014-06-04 13:15:06 +00:00
jfrijters
3f9c1d2c13
Fixed .NET type method parameter reflection to handle methods with parameters without names.
2014-06-04 06:45:15 +00:00
jfrijters
9ed1f5b3fc
Match OpenJDK handling of invalid MethodParameters attribute.
2014-06-03 14:28:37 +00:00
jfrijters
4d85824d25
Added parameter reflection for Invoke method on (fake) delegate nested interface.
2014-06-03 13:13:15 +00:00
jfrijters
b55b93103b
Compile core class library with javac -parameters option to capture all method parameter names.
2014-06-03 12:43:29 +00:00
jfrijters
8140d88a82
Added (undocumented) -noparameterreflection option ikvmc to disable emitting method parameter reflection metadata, because we want to javac compile core class library with the -parameters option (to get the parameter names of native and abstract methods), but we don't want the reflection info (because the JDK doesn't include it either).
2014-06-03 12:42:19 +00:00
jfrijters
fed788b465
- Enabled MethodParameter rendering in runtime stub generator.
...
- Support round tripping malformed MethodParameter attribute in stub generator.
- Use new general method parameter interface in ikvmstub.
- Added support for method parameter reflection on .NET types.
2014-06-03 12:04:41 +00:00
jfrijters
6783aafb89
Added support for MethodParameters in statically compiled classes.
2014-06-03 09:13:56 +00:00
jfrijters
4d031fcacd
- Prevent unfocable windows from being activated by mouse click.
...
- Fixed clipboard access to use the right thread.
(Based on patch by Maria Papendieck of pure-systems.)
2014-06-03 08:56:30 +00:00
jfrijters
f8c6a31499
Implemented method parameter reflection for dynamically loaded classes.
2014-06-03 07:15:52 +00:00
jfrijters
d3c1625fed
Malformed MethodParameters attribute should not throw ClassFormatError.
2014-06-03 07:14:04 +00:00
jfrijters
dfdf02bbe5
Fixed PackageListAttribute to be ECMA compliant.
2014-06-02 13:25:40 +00:00
jfrijters
ad2462c3a7
Added UniverseOptions.DecodeVersionInfoAttributeBlobs to support decoding CustomAttributeBuilder with blob to extract version info fields.
2014-06-02 11:30:14 +00:00
Mike Krüger
be1c5e9c38
Enum & Value type recognition fix.
...
In the portable runtime system.enum & valuetype seem to be in
System.Runtime and not in mscorlib any longer. This patch fixes that.
see: https://bugzilla.xamarin.com/show_bug.cgi?id=20180
2014-05-30 09:30:25 +02:00
Mike Krüger
600d3d00e3
Added strong name to IKVM.
2014-05-30 08:57:13 +02:00
Mike Krüger
6134bb69ea
Reapply 'Added universe option to surpress identity conversion.'
2014-05-30 08:39:45 +02:00
jfrijters
92df59f033
Bug fix. Assembly may contain both PublicKeyToken and PublicKey if they are the same identity.
2013-12-05 09:43:01 +00:00
jfrijters
893a0d4166
When a cyclic type forwarder is found and UniverseOptions.ResolveMissingMembers is set, we should not throw an exception but instead create a missing type. Added a new Type.__IsCyclicTypeForwarder property to allow detecting this case.
2013-12-03 15:50:33 +00:00
jfrijters
588d9b49e0
Throw TypeLoadException when exported type (indirectly) points to itself.
2013-12-03 13:04:24 +00:00
jfrijters
db986f4145
Removed unnecessary early out in SelectMethod().
2013-11-22 07:15:57 +00:00
jfrijters
4863c396c7
Fix for bug #283 .
2013-11-21 06:56:53 +00:00
jfrijters
e4ead60c0b
Added new overload for __AddTypeForwarder() that takes an additional bool to disable automatically forwarding nested types.
2013-11-16 08:50:32 +00:00
jfrijters
b18619ac66
Only (incorrectly) set the TypeDefId for exported types from another assembly if we're targetting .NET 2.0 where .NET does so too and peverify warns if it isn't set.
2013-11-16 07:21:34 +00:00
jfrijters
aaa899ea94
Bug fix. ExceptionHandler.Equals(object) called itself instead of Equals(ExceptionHandler). Also fixed two other instances of this in internal classes (where the Equals(object) is never used).
2013-11-01 06:58:30 +00:00
jfrijters
7330021382
JNI fixes:
...
- Throw(NULL) should not clear pending exception.
- ThrowNew(..., NULL) should use default constructor.
2013-10-25 08:44:25 +00:00
jfrijters
b915417f4e
Bug fix. JNI NewStringUTF should accept null pointer.
2013-10-24 07:51:27 +00:00
smallsql
b1e935ee29
Implements the StandardGlypVector constuctor with glyphs
2013-10-21 14:28:22 +00:00
jfrijters
327403a4b4
Improved handling of missing types (from missing assemblies in ikvmc).
2013-10-20 12:12:48 +00:00
jfrijters
28a71e6c1a
Fixed method handle custom invoke to downcast the return type. Without the cast .NET 4.0 would throw a verification exception.
2013-10-20 10:54:23 +00:00
jfrijters
324dbccb30
Avoid reflection in creating ConditionalWeakTable value objects. Thanks to Michael Bayne for the idea.
2013-10-20 09:45:09 +00:00
jfrijters
6e162a2443
Previous commit broke the build.
2013-10-20 09:31:24 +00:00
jfrijters
b5ae9f0195
Fixed handling of annotations with invalid type signatures.
2013-10-20 08:52:45 +00:00
jfrijters
2ba0163cdb
Improved handling of missing types (from missing assemblies in ikvmc).
2013-10-19 12:45:50 +00:00
jfrijters
86c89421e9
Rewrote InstructionState.PopTypeImpl() to be actually understandable.
2013-10-19 08:42:15 +00:00
jfrijters
9c74c1cc87
Deduplicate code between InstructionState and StackState.
2013-10-19 07:38:02 +00:00
jfrijters
cc7359f8b5
Improved trace message for JNI loadLibrary failure.
2013-10-13 06:49:20 +00:00
jfrijters
760852794a
Minor code clean up.
2013-10-03 15:20:59 +00:00
jfrijters
189ff56f11
Slightly simplified version number parsing.
2013-09-25 09:04:48 +00:00
jfrijters
89c4fc2d7b
Forked version number parser.
2013-09-25 08:57:44 +00:00
jfrijters
d66b1ba1da
Mscorlib is handled differently. It tolerates more errors in the assembly name.
2013-09-25 08:44:30 +00:00
jfrijters
c02349ea22
Moved version number parsing out of assembly name parser, because it turns out that AssemblyName and Fusion use different version number parsing rules.
2013-09-25 07:57:26 +00:00
jfrijters
e65fed1fab
Rewrote assembly name comparison to better handle remapping and Retargetable.
2013-09-24 13:27:09 +00:00
jfrijters
ba704f1ad4
Fix for bug #282 . A potential fault block can't throw an exception from another fault block.
2013-09-24 07:24:35 +00:00
jfrijters
01226ab8fc
Fixed regression. AssemblyName.GetAssemblyName() constructs a module without a universe, so we need to check if universe is null before using it.
2013-09-24 06:11:52 +00:00
jfrijters
d676246532
Removed unused code.
2013-09-23 16:38:30 +00:00
jfrijters
b21af5015e
Added projection support for mixed CLR/WindowsRuntime assemblies.
2013-09-22 06:55:18 +00:00
jfrijters
ea4cca279a
Fixed WindowsRuntime assembly detection (for projection purposes).
2013-09-22 06:54:37 +00:00