jfrijters
d7848c305e
More type name fixes. This time to support the fact that the CLR and Mono both treat TypeNamespace and TypeName as separate names and do not consider fullName to be relevant.
2011-01-20 05:38:11 +00:00
jfrijters
2d876687ad
Fix for GenericTypeInstance.__ContainsMissingType. Thanks to Marek for reporting this.
2011-01-19 04:55:26 +00:00
jfrijters
ff28c44961
Added support for resolving MissingTypes in AssemblyBuilder.
2011-01-18 16:44:39 +00:00
jfrijters
8f09a6ae54
Improve exception when OpenRawModule() is called with an unsupported stream.
2011-01-18 07:11:51 +00:00
jfrijters
6abc738d3c
Added support for saving to a stream instead of a file.
2011-01-18 07:11:23 +00:00
jfrijters
de0a5a6b15
Improve partial trust support.
2011-01-18 07:09:42 +00:00
jfrijters
0c673a7b6a
Added ikvm.internal.NotYetImplementedError. Replaced all throw sun.reflect.generics.reflectiveObjects.NotImplementedException code with throw NotYetImplementedError.
2011-01-17 05:42:41 +00:00
jfrijters
720185aa51
Throw the proper exception (System.NotSupportedException) from the unsupported Stream methods.
2011-01-17 05:22:44 +00:00
jfrijters
609822fc0f
Removed unused imports of sun.reflect.generics.reflectiveObjects.NotImplementedException.
2011-01-17 05:21:38 +00:00
jfrijters
5f13b8fea5
Added Type.__ContainsMissingType to easily check for missing types in a constructed type.
2011-01-14 05:36:42 +00:00
jfrijters
99dcc0a625
Add support for reading signatures with instantiations of generic missing type.
2011-01-14 05:29:04 +00:00
jfrijters
ce2a16a4ae
Patch by Marek Safar to implement framework unification.
2011-01-14 05:02:23 +00:00
jfrijters
52ab9d7f58
Added __IsMissing to Module and Assembly and make sure that __GetDeclarativeSecurity() when called with a MissingAssembly.
2011-01-13 15:44:28 +00:00
jfrijters
7e0a2380cc
Override BindTypeParameters to ignore the bind.
2011-01-13 15:35:03 +00:00
jfrijters
6019abc4f4
Rename __IsMissingType to __IsMissing to make it easier if/when we add support for other missing members.
2011-01-13 15:29:30 +00:00
jfrijters
46b3f6c0ea
Prevent invalid operations on MissingModule.
2011-01-13 15:27:03 +00:00
jfrijters
93baa6d3a4
Made CompareAssemblyIdentityPure internal to allow mcs to use it.
2011-01-13 15:15:41 +00:00
jfrijters
eddf99aadb
Make all invalid operations on missing types throw a MissingMemberException.
2011-01-13 14:47:21 +00:00
jfrijters
6893ac5e5f
Introduced exceptions for invalid operations on missing types/modules/assemblies.
2011-01-13 14:33:02 +00:00
jfrijters
dd66bfa2f1
Fixed managed CompareAssemblyIdentityPure implementation bug.
2011-01-13 13:22:07 +00:00
jfrijters
4de90713f8
Added support for magic missing assemblies that resolve missing types to allow (some) reflection on assemblies with missing dependencies.
2011-01-13 10:44:44 +00:00
jfrijters
7f1f16f7cc
Treat unrecognized options as errors, instead of warnings.
2011-01-13 08:58:36 +00:00
jfrijters
7d487a775d
Fix. Type names in forwardedTypes dictionary should be escaped.
2011-01-13 07:52:19 +00:00
jfrijters
29d4433de5
Fixed resolving nested type by name.
2011-01-13 07:24:50 +00:00
jfrijters
44dc4dfabc
Fixed Type.GetNestedType(). The name passed in is not escaped, so we should match with __Name.
2011-01-13 07:08:00 +00:00
jfrijters
4bac6ca9f4
Fix. [Assembly|Module].GetType() expect an escaped name.
2011-01-13 06:47:22 +00:00
jfrijters
c4e645f733
Fixed copy/paste bug. A typeref pointing to ModuleRef should resolve the type in that module, not the assembly.
2011-01-13 06:39:18 +00:00
jfrijters
6d9125b9c8
Prevent external subclassing. It's not part of the design to suppor that, now it is also enforced.
2011-01-13 05:58:54 +00:00
jfrijters
04806eda67
Refactored Define[Nested]Type methods to allow __DefineType() and __DefineNestedType() APIs to be added that allow namespace and name to be passed in separately.
2011-01-12 14:22:04 +00:00
jfrijters
5e9f22860f
Remove parent from TypeBuilder constructor.
2011-01-12 14:09:54 +00:00
jfrijters
f1d096354f
Added comment explaining why we don't need to handle MethodDef in __TryReadTypeName().
2011-01-12 13:59:00 +00:00
jfrijters
30a627c39a
Final set of Name/Namespace/FullName fixes to make everything more compatible (including bugs) with .NET reflection.
2011-01-12 13:57:05 +00:00
jfrijters
5a100a5305
Re-arrange Name/__Name usage to avoid redundant escaping/unescaping.
...
Improve support for nested types that use a namespace.
2011-01-12 13:45:20 +00:00
jfrijters
a0a7cfe807
Always return unescaped names from __TryReadTypeName().
2011-01-12 13:35:47 +00:00
jfrijters
b6fa3c6c3d
Added virtual __Name and __Namespace properties to Type to allow the real (from the ECMA CLI point of view) namespace and names of types to be queried (for TypeDef and TypeBuilder only).
2011-01-12 13:31:27 +00:00
jfrijters
48bc7ccc6c
Fix. Namespace property should not returned escaped string.
2011-01-12 13:17:00 +00:00
jfrijters
87e866af58
Changed __ReadTypeName() to __TryReadTypeName() because it should fail when the type is a nested type (because the name of a nested type cannot be expressed by namespace + name).
2011-01-12 12:55:10 +00:00
jfrijters
cfc3fd4552
Add support for NETCF in rendering pseudo DllImportAttribute (i.e. skip fields that don't exist).
2011-01-12 09:34:57 +00:00
jfrijters
8febdc94e9
Fix for big endian systems. Thanks to Marek Safar for reporting this.
2011-01-11 05:16:48 +00:00
jfrijters
8b27b91cc3
Added support for loading resources from assemblies loaded in the LoadFrom context.
2011-01-07 06:24:30 +00:00
jfrijters
97b392cf09
Unspecified scope id should be -1 in Java, not 0.
2011-01-06 17:04:58 +00:00
jfrijters
ec3c81d408
Added -Xreference: option to ikvm.
2010-12-28 09:06:15 +00:00
jfrijters
459bd89fa9
Added ikvm.runtime.Startup.addBootClassPathAssemby() API.
2010-12-28 09:03:38 +00:00
jfrijters
1874857e15
Removed VMThread class which only existed as a container for the jniDetach method.
2010-12-28 08:42:10 +00:00
jfrijters
ba65584480
Updated base addresses.
2010-12-28 08:23:05 +00:00
jfrijters
0240e272c8
- Clean up imports.
...
- Use class literals instead of Type.GetType().
2010-12-28 08:22:39 +00:00
smallsql
f11ad4940d
remove NetProducerImage and replace it with ToolkitImage
2010-12-27 21:16:43 +00:00
smallsql
ed4cc46c04
remove some Image methods from NetToolkit and use the original of SunToolkit
2010-12-27 10:36:00 +00:00
smallsql
ac51c2c8a3
* Added Image Content Handler in package sun.net.www.content.image
...
* Replace NetProducerImage with the original ToolkitImage and ImageRepresentation. Now this image work correctly with the MediaTracker together.
* remove some methods Image methods from NetToolkit and use the original of SunToolkit
2010-12-27 10:33:40 +00:00
smallsql
f8c4f6517a
set the system property java.content.handler.pkgs to sun.net.www.content. This is used from URLConnection.getContent().
2010-12-27 10:24:20 +00:00