Граф коммитов

1686 Коммитов

Автор SHA1 Сообщение Дата
jfrijters 3f48b2ed51 - Implemented GetConstructorImpl for TypeBuilder and BakedType.
- Added Equals/GetHashCode to ConstructorBuilder, because GetConstructorImpl will return a new instance.
2009-08-06 06:14:46 +00:00
jfrijters 29bdd940dd Implemented ArrayType.AssemblyQualifiedName. 2009-08-06 06:12:46 +00:00
smallsql 0a97b23d24 * implement setResizeable for dialogs
* remove the icon from dialogs
* not resizeable border of frame was wrong
2009-08-02 19:34:13 +00:00
smallsql 6b68b40b04 Move all control access to the bogusForm thread, a .NET requirement 2009-07-31 21:29:23 +00:00
jfrijters 117d156352 More serialization interop support code. 2009-07-31 12:41:08 +00:00
jfrijters 809769bc9f Having a serialPersistentFields field, also implies custom serialization. 2009-07-31 09:57:15 +00:00
jfrijters bf089524b1 Removed @Deprecated from methods that aren't deprecated in JDK. 2009-07-31 09:56:48 +00:00
jfrijters f2c338ad59 Internal API should not be visible to Java code. 2009-07-31 09:56:12 +00:00
jfrijters 60908b6881 Added support to automatically export parameterized type parameters. This fixes an issue with javax.swing.tree.DefaultTreeSelectionModel in the japi results because it has a protected method that takes a Vector<javax.swing.tree.PathPlaceHolder> where PathPlaceHolder is a package private class. 2009-07-31 08:25:32 +00:00
jfrijters cb136e677f Fix for #2829717. Constructing java.lang.String instances should redirect to static helper method. 2009-07-30 16:34:30 +00:00
jfrijters 8a9fc7420b Implemented automatically enabling .NET serialization support for Java classes that are trivially serializable. 2009-07-30 13:14:14 +00:00
smallsql 0513036fe9 implements grab() and ungrab() 2009-07-29 17:38:42 +00:00
jfrijters 43fd0daf07 Implemented support for .NET serialization of Java enums.
(The CreateEnumEnum move in FakeTypes.cs is because java.lang.Enum now has a dependency on custom attribute annotations.)
2009-07-29 09:36:56 +00:00
jfrijters 03892b621b Prepare for forking java/lang/Enum.java. 2009-07-29 08:35:42 +00:00
jfrijters 568cff8e34 - Make IsFastClassLiteralSafe return true for various fake annotation types.
- Pass Type to java.lang.Class for "forbidden" and reflection-only types. This is now needed for Class serialization.
2009-07-29 07:06:44 +00:00
jfrijters 2c2388d152 Implemented .NET serialization support for java.lang.Class objects. 2009-07-29 07:04:42 +00:00
jfrijters fd4ee83c14 Handle Annotation.__ReturnValue and Annotation.__Multiple fake types. 2009-07-29 07:02:50 +00:00
jfrijters 9482b52bff Remove compilation warning. In ikvmc (with IKVM_REF_EMIT defined) an Assembly can never be an AssemblyBuilder. 2009-07-28 13:02:30 +00:00
jfrijters 45a57e8ec5 Moved most java.lang.Class changes from map.xml to java source. 2009-07-28 13:01:25 +00:00
jfrijters b82d3bbcea Remove duplicate event queue. 2009-07-28 06:31:37 +00:00
jfrijters d7b29bfca9 Fixed regression introduced with the switch to IKVM.Reflection.Emit. We cannot use the Type.Assembly property for TypeBuilders. 2009-07-27 16:46:15 +00:00
jfrijters d592720c9c Added App.config setting (ikvm-emit-symbols) to force emitting debug symbols on or off. 2009-07-27 08:06:41 +00:00
jfrijters 9c28395a5a Fix NRE when getting annotations on delegate constructor for delegates defined in Java (because these constructors don't really exist). 2009-07-27 08:04:30 +00:00
smallsql 6f7231d956 fix the repainting bug on bottom and right border, what a regression of the last component restructuring 2009-07-26 16:20:22 +00:00
smallsql 240d5bc075 remove unused code 2009-07-26 14:28:47 +00:00
smallsql 65604b4322 Fix the wrong converting of Fonts that use another GraphicsUnit as Pixel 2009-07-26 14:03:54 +00:00
smallsql 09515cdf6f Graphics.setFont has set the wrong .NET font 2009-07-26 13:20:09 +00:00
smallsql 4f27a7c9c6 fix a copy & paste mistake 2009-07-26 08:05:18 +00:00
jfrijters 0335cd0ef2 Fixed detection of dynamic assemblies. Previous manifest module name based hack didn't work on localized versions. 2009-07-20 06:51:28 +00:00
jfrijters c522d9edc7 Next snapshot version. 2009-07-16 06:31:50 +00:00
jfrijters 88729b4059 Optimized primitive class literals. 2009-07-16 06:29:32 +00:00
jfrijters 28e5b235d7 Implemented optimization to remove .cctor when it is empty (and the class isn't serializable or has a serialVersionUID). 2009-07-16 06:26:47 +00:00
jfrijters 6e61c1475d Changes to make <clinit> trivial. 2009-07-16 06:15:08 +00:00
jfrijters 85c32e0516 Eagerly create MS1252 and UTF-8 charsets to avoid reflection. 2009-07-16 06:11:47 +00:00
jfrijters 75405d1664 Prepare sun/nio/cs/StandardCharsets.java for forking. 2009-07-16 06:10:00 +00:00
jfrijters cdbbe4f1c7 - Turn pops in map.mxl into lazy pop to annihilate constants.
- Fixed "replace-method-call" to not emit line numbers from map.xml (which don't make sense in the context of another method and disrupt the lazy pop optimizations).
2009-07-14 09:31:20 +00:00
jfrijters 0117d63b18 Use CallerID.getCallerClassLoader() to bypass Class.getClassLoader(). 2009-07-14 08:45:36 +00:00
jfrijters 315bb89a4c Take advantage of the fact that a callerID generated inside core class library has a known class loader (i.e. null) to avoid calling Class.getClassLoader(). 2009-07-14 08:44:55 +00:00
jfrijters 1e003bbb98 Made callerID initialization lazy. 2009-07-14 08:25:04 +00:00
jfrijters 46811ce9ec Use LazyEmitPop() to annihilate constants. 2009-07-14 07:59:42 +00:00
jfrijters 2e1ccef008 Removed unneeded initialization of static fields. 2009-07-14 07:58:39 +00:00
jfrijters 213965367e Optimized the reading of unsigned bytes from a byte array (buf[i] & 0xFF or buf[i] 0x0FFL). 2009-07-14 07:25:46 +00:00
jfrijters 64e5615aaa Moved responsibility for creating java.lang.Class instances for "fast literal" enable types into ClassLiteral<T>, this allows class literals to be really cheap, because non of the underlying reflection is needed, the class will cache the Type and lazily resolve it to its TypeWrapper. 2009-07-14 06:27:41 +00:00
jfrijters 0f46d9ae15 Take advantage of the fact that Util.getInstanceTypeFromClass() is now an intrinsic. 2009-07-14 06:22:44 +00:00
jfrijters 4e3c9e505f Made ikvm.runtime.Util.getInstanceTypeFromClass() into an instrinsic, when used with a class literal. 2009-07-14 06:20:23 +00:00
jfrijters d76b454d72 Made some classes sealed. 2009-07-13 13:34:41 +00:00
jfrijters 04ca4a71f9 Moved class literal emit code to TypeWrapper and added checks to prevent types that are illegal in type instantations from being used with ClassLiteral<T>. 2009-07-13 08:34:37 +00:00
jfrijters 114be555a4 Comment out currently unused variable. 2009-07-13 08:02:17 +00:00
jfrijters 90f389b530 Fixed dynamic assembly saving (debug option). 2009-07-13 08:00:18 +00:00
jfrijters ab8f450751 Made signature computation lazy. 2009-07-13 07:20:15 +00:00