jfrijters
be92363465
Made ManagedJNIEnv leading, instead of the unmanaged JNIEnv.
2010-01-06 15:37:12 +00:00
jfrijters
0b49d0ef9f
Optimized JNI argument list processing.
2010-01-06 14:36:31 +00:00
jfrijters
34bf6475f7
Changed JNI to use standard caller ID mechanism.
2010-01-06 14:28:38 +00:00
jfrijters
d0a44066a2
Use GetConstructors and GetMethods instead of GetMembers (which is needlessly expensive).
2009-12-31 08:20:32 +00:00
smallsql
3fd3c67214
fire IIORead events to the listeners
2009-12-30 09:52:08 +00:00
smallsql
3c57ded8b8
Fix Font.getFamilyName for logical and styled fonts
2009-12-29 14:39:56 +00:00
smallsql
c0dbb737dc
Accept also string constant in Assert
2009-12-29 11:24:57 +00:00
smallsql
deba18899f
Fix strikethrough and underline metric if .NET 3.0 is installed
2009-12-12 21:56:07 +00:00
smallsql
15fa39c4b9
Add the Java symbolic font names to the list of all available font names.
2009-12-11 15:21:34 +00:00
jfrijters
74c035450f
Handle missing sig attribute.
2009-12-11 13:47:10 +00:00
jfrijters
7eee0b86c7
Added basic signature validation for remap file (map.xml). Fixes bug 2908683.
2009-12-11 08:06:10 +00:00
jfrijters
31dae28d0d
Load the runtime only once, instead of for each target.
2009-12-10 09:04:52 +00:00
jfrijters
848c66b341
More changes to make future merge of IKVM.Reflection easier:
...
- added #if conditionals to remove runtime only methods from compiler
- added two missing JVM.Import()s.
2009-12-10 08:43:45 +00:00
jfrijters
e58a6a1d13
Don't cache inner classes.
2009-12-10 08:27:38 +00:00
jfrijters
ce1e5be3fc
Fixed regression introduced with "type 2" field accessor fix. Null type doesn't need downcast and needs to be explicitly handled, because you aren't allowed to call GetPublicBaseTypeWrapper() on it.
2009-12-09 05:49:30 +00:00
natl
cd808950a8
fix dragdropinprogress
2009-12-09 00:45:55 +00:00
jfrijters
2bc458795f
- New snapshot version.
...
- Update base addresses.
2009-12-07 07:38:34 +00:00
jfrijters
8bc053d1b4
Don't automatically hide "op_Implicit" methods. Instead mark the ones we automatically generate with HideFromJavaAttribute.
2009-12-07 07:12:23 +00:00
jfrijters
dc588c31e0
Don't use Type.GetMembers(), instead of use GetMethods(), GetConstructor(), GetFields() and GetProperties() explicitly.
2009-12-07 06:59:11 +00:00
jfrijters
138f7143bc
Added LazyPublishMethods and LazyPublishFields to TypeWrapper and implemented the split in CompiledTypeWrapper.
2009-12-07 06:39:46 +00:00
jfrijters
44efece100
We have room for a free bool, so it makes more sense to only get the __<clinit> method when we really need to (and not trigger a LazyPublishMembers).
2009-12-07 05:54:04 +00:00
jfrijters
d7f31faced
There's no reason for reflectionField not to be statically typed.
2009-12-07 05:49:36 +00:00
jfrijters
8d4c9dade0
Removed unnecessary usage of ReflectionFactory.
2009-12-07 05:38:18 +00:00
jfrijters
00942e7141
Don't use EmitThrow() it needs to lookup the method every time.
2009-12-07 05:27:23 +00:00
jfrijters
69936317d7
Assembly name strings are kept around forever, so it makes sense to intern them.
2009-12-07 05:24:15 +00:00
jfrijters
b36d93ebb7
Removed unnecessary usage of Java types in field reflection guts.
2009-12-02 07:49:36 +00:00
jfrijters
2e99262649
Added two constructors to ThowsAttribute that take a Type and a Type[] for greater convenience when applying the attribute to user code and for compatibility with Grasshopper's ThrowsAttribute.
2009-12-02 05:48:50 +00:00
jfrijters
9680bf4aba
Mangle all artificial type names if they clash with Java type names in the same assembly.
2009-12-01 07:08:52 +00:00
jfrijters
464f56dbdf
Added IKVM_EXPERIMENTAL_JDK_7 environment variable to enable loading Java 7 class files.
2009-11-30 09:13:48 +00:00
jfrijters
91c1ede70c
Type export map performance bug fix by Eyal Alaluf. AssemblyName doesn't implement Equals/GetHashCode and this caused the map to contain an assembly entry for every type.
2009-11-30 09:12:36 +00:00
jfrijters
b7b6bec2c3
Added Eyal.
2009-11-30 09:12:00 +00:00
smallsql
d6e58ff235
Fix the LineMetrics and solve some JUnit tests
2009-11-29 10:20:27 +00:00
smallsql
b49e2890ef
deleting of an not existing Preferences Key should not throw an exception. see JUnit test
2009-11-28 18:51:49 +00:00
smallsql
79deb06311
Implement MouseInfoPeer
2009-11-25 21:26:26 +00:00
smallsql
bed70d1b66
Implements some methods in the sun.font package
2009-11-25 15:01:20 +00:00
jfrijters
d6f78332b0
Moved FindMainMethod into runtime, to avoid the need for hacks (to avoid NoClassDefFoundErrors).
2009-11-25 10:18:29 +00:00
smallsql
e6d72c9a8d
Fix the default values background, foreground and font of Window, Frame and Dialog.
2009-11-22 22:55:08 +00:00
smallsql
61a42ad9ed
fix a NPE in constructor
2009-11-21 22:20:56 +00:00
jfrijters
c7ae133d38
- Fixed IsPackageAccessibleFrom to consider class loaders, instead of InternalsVisibleToAttribute
...
- Added automatic access to internal accessibility members across assemblies in multi target compilation (previously this was only done for -sharedclassloader scenarios)
- Cleaned up existing field access stubs (now known as "type 1") and added type 2 access stubs to make public fields that have a non-public field type accessible.
2009-11-13 15:08:20 +00:00
jfrijters
c8dd69be99
Updated base addresses
2009-11-12 14:09:57 +00:00
jfrijters
929d0a6013
Created IKVM.OpenJDK.Tools.dll (which is going to be the equivalent of tools.jar).
2009-11-12 07:40:52 +00:00
jfrijters
3fc3b157bc
Removed classes that aren't supposed to be in the boot class path (they're from tools.jar). This includes the entire IKVM.OpenJDK.XML.RelaxNG assembly.
2009-11-12 07:23:16 +00:00
jfrijters
d2bdb26352
Added a couple of missing classes (that tools.jar depends on).
2009-11-12 07:05:04 +00:00
smallsql
45d2af68e6
adding Java Debugging Interface
2009-11-11 19:11:38 +00:00
jfrijters
3aef367009
Added copyright header and removed UTF-8 byte-order-marker.
2009-11-09 09:02:11 +00:00
jfrijters
73112679ae
- Moved enum helper methods into new EnumHelper class.
...
- Changed .NET EnumEnum field to call ByteCodeHelper method, instead of emitting code in place.
2009-11-09 08:52:17 +00:00
jfrijters
ab25242ac2
Implemented enum parsing.
2009-11-09 07:49:32 +00:00
jfrijters
bb7aa6ebb3
- Removed unused method.
...
- Marked some runtime only code with #if !STATIC_COMPILER.
2009-11-09 07:48:12 +00:00
jfrijters
a0ee5b0468
Import types.
2009-11-09 07:47:22 +00:00
jfrijters
1d979c5789
Use IKVM.Reflection.Emit's new-style declarative security APIs.
2009-11-09 06:39:17 +00:00