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

2725 Коммитов

Автор SHA1 Сообщение Дата
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
jfrijters cc17784bbd Revert change by Volker. We don't want to set the cause, because that is a breaking change. 2010-12-27 05:51:42 +00:00
jfrijters 8ad03c95b0 Fix for NPE if type parameter type cannot be loaded. 2010-12-24 08:34:05 +00:00
jfrijters 8d3bccd838 Generate lib/ikvm-api.jar to expose the ikvm API more easily to java code (by shipping this jar as part of ikvmbin.zip). 2010-12-24 08:00:53 +00:00
jfrijters 1ece86e9fa Added -namespace: option to only process types in the specified namespace(s). 2010-12-24 07:59:56 +00:00
jfrijters 16743172bf Added -out: option and improved usage message. 2010-12-24 06:18:27 +00:00
jfrijters 3c875f22f3 Fixed to work with "new" ikvmstub. 2010-12-24 06:17:00 +00:00
smallsql 45a9186be3 check width and heigth to valid range; reused existing Bitmap 2010-12-21 11:28:02 +00:00
jfrijters 4d4e2b91f7 Don't create duplicate ClassLayout table records when using the DefineType overload that specifies the size and also applying a StructLayoutAttribute. 2010-12-20 18:11:09 +00:00
jfrijters 6be0ac8b26 Set stack height to zero at the entry of an exception block (instead of -1), otherwise an empty try block will not get an automatic leave in "clever" mode. 2010-12-20 14:07:55 +00:00
smallsql c95850be73 If we set the bound back to Java then we need to add the windows insets that be have subtract before. 2010-12-19 15:04:30 +00:00
smallsql 5e3477e212 show original exception as inner exception 2010-12-19 12:40:23 +00:00
smallsql e5733a3d5c complete the peer of Canvas and Panel 2010-12-17 22:08:15 +00:00
smallsql b900d627e9 fix clearRect, must be independent from composite 2010-12-17 15:11:04 +00:00
smallsql 95a75146ee fix ColorSpace.isCS_sRGB use the correct super implementation 2010-12-17 13:52:51 +00:00
smallsql 8270a2d62e Some fixes on the printing API from Karsten Heinrich 2010-12-15 14:53:33 +00:00
smallsql 46be1e2aa9 drawString should use the same StringFormat like font metrics 2010-12-15 14:33:04 +00:00
smallsql 8dd1fb9229 remove an indent 2010-12-15 14:29:16 +00:00
smallsql 4cea045eac Not use method removed 2010-12-15 14:27:41 +00:00
smallsql 81bea73d47 There seems no difference between fractional and not fractional font metrics for the outline of a GlyphVector. 2010-12-15 14:27:20 +00:00
smallsql 6bc9586f3e Fix the stealing of focus from a tooltip which is partly outside of the window. The bug was a not working updateFocusableWindowState(). 2010-12-10 14:43:31 +00:00
jfrijters d6eb6961ca AssemblyResolve event should fire before resolving to AssemblyBuilder. 2010-12-10 10:26:42 +00:00
jfrijters 53ab97d7ce Add new files to project. 2010-12-10 06:32:15 +00:00
jfrijters ce7dfdf572 Ported fdlibm/floor and fdlibm/tan (and dependencies). 2010-12-10 06:31:08 +00:00
jfrijters 9fc4e5da62 Prepare for fork/port to C#. 2010-12-10 06:28:00 +00:00
jfrijters d438a378a9 Ported fdlibm/s_log1p. 2010-12-10 05:27:07 +00:00
jfrijters 175cf458ec Ported fdlibm/e_hypot. 2010-12-10 05:19:00 +00:00
jfrijters e62e2ec6b1 Prepare for fork/port to C#. This time with the right filename. 2010-12-10 05:13:46 +00:00