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

2810 Коммитов

Автор SHA1 Сообщение Дата
jfrijters c92bb4afd3 Added support for missing fields. 2011-03-03 16:06:44 +00:00
jfrijters b74ba1487e Allow missing types and methods to be used in emitted assembly. 2011-03-03 12:52:44 +00:00
jfrijters 5b3d64f3ee - Fixed CustomAttributeData.__GetBlob() to work for pseudo-custom attributes.
- Added CustomAttributeBuilder.__FromBlob() to avoid having to use two overloads of SetCustomAttribute when dealing with both builders and blobs.
2011-03-03 12:42:57 +00:00
jfrijters 8eb53a381f Added (disabled) code to use a stable sort for some metadata tables. When STABLE_SORT is defined, the stable sort is used for InterfaceImpl, CustomAttribute and MethodImpl and this makes roundtripping possible which is handy for debugging (by comparing ildasm output of the input and output assemblies). 2011-03-03 12:35:48 +00:00
jfrijters c7f6fde6ea New development version. 2011-03-03 12:30:23 +00:00
jfrijters 084c8c0a5b Added limited support for #- metadata stream ("uncompressed" table heap). ParamPtr table is not yet implemented. 2011-03-03 08:34:58 +00:00
jfrijters dd91949b81 Updated for OpenJDK 6 b22. 2011-03-03 08:17:15 +00:00
jfrijters 13056a72c1 Fixed bug in __ToBuilder(). Array values should be unwrapped. 2011-03-03 08:15:34 +00:00
jfrijters 5525caee5f Added __GetBlob() API extension to allow custom attribute arguments to be parsed/used even when some of the argument types are missing. 2011-03-03 07:58:30 +00:00
jfrijters b58bb84cbc Fixed stack height computation bug. For a newobj the parameters should be popped before the new object is pushed. Previously we could set the maximum stack height one slot too high. 2011-03-03 07:36:07 +00:00
jfrijters b9cbf2773c Added __SetSignature() API extension to allow constructor to be defined before the parameter types are available and to allow return type custom modifiers. 2011-03-03 07:33:51 +00:00
jfrijters 34a7d1d2f4 Update to OpenJDK 6 b22. 2011-03-02 07:32:50 +00:00
smallsql 23ba2f8b00 Added missing non-internal look and feel resources to the SwingAWT dll 2011-02-22 20:50:13 +00:00
smallsql c24cd301cf An additional MOUSE_CLICKED event will now be generated OnMouseUp for double clicks (similar to the single click solution) 2011-02-22 20:44:19 +00:00
jfrijters 88ad79f531 Added Mono Ref.Emit compatibility feature to allow modules currently in use to be overwritten. 2011-02-20 06:20:12 +00:00
jfrijters 6c64e2186b Don't convert assembly class loader construction exceptions into critical failure, because critical failure is of dubious value and exception might be handleable by client code. 2011-02-18 12:34:59 +00:00
jfrijters 5100ac571e Bug fix. Use Assembly.EscapedCodeBase to construct code source url, instead of unescaped CodeBase. 2011-02-18 12:16:03 +00:00
jfrijters b6a86e3563 Allow @ikvm.lang.Internal methods to implement an interface method. 2011-02-17 13:14:40 +00:00
jfrijters c42b19de9d Interface methods must be public, so we ignore the @ikvm.lang.Internal annotation and emit a warning. 2011-02-17 12:43:18 +00:00
jfrijters e798e1604d Allow mcs to avoid mdb/pdb writer dependencies. 2011-02-15 14:05:37 +00:00
jfrijters d5c7f5d318 Fixed exception table sorting bug. 2011-02-15 13:58:06 +00:00
jfrijters 3cd8e5b6e5 Avoid compiler warnings about unused locals. 2011-02-15 13:47:49 +00:00
jfrijters 8f19bc1641 Added SecurityCriticalAttribute to fix .NET 4.0 build and fixed synchronization issues. 2011-02-14 06:25:30 +00:00
jfrijters ae6aa72f2a Undo accidental commit. 2011-02-14 06:04:14 +00:00
jfrijters 4ed819c9dd Optimized the Type == operator. 2011-02-14 05:58:49 +00:00
jfrijters 3e0deab87a Metadata reading performance optimization. Inspired by Marek. 2011-02-14 05:54:46 +00:00
jfrijters 3f109fb9b9 Added MethodBuilder.__ReleaseILGenerator() API to eagerly bake the method body and release the ILGenerator. 2011-02-14 05:50:46 +00:00
jfrijters 2ecddb511b Added source that was forgotten to add. 2011-02-14 05:46:14 +00:00
jfrijters b5c27e7c29 Moved more frequently used types to the top of the if/elseif list. 2011-02-14 05:41:16 +00:00
jfrijters 6cf98ac785 - Removed UTF-8 byte order marker.
- Removed unused "using".
2011-02-14 05:39:24 +00:00
jfrijters e6a19c346a Performance tweak by Marek. 2011-02-14 05:36:59 +00:00
jfrijters 02de919e91 Remove unused code instead of commenting it out. 2011-02-14 05:21:07 +00:00
jfrijters a17e19002f Fix for bug #3129981. 2011-02-12 07:13:43 +00:00
jfrijters d502a049b0 Added (partial) support for missing member resolution in existing types. 2011-01-26 13:34:04 +00:00
jfrijters 579e3361a0 Allocate method name token during Bake() instead of constructor to prepare for allowing missing methods in type builders to be resolved to method builders (possible future enhancement). 2011-01-26 12:08:31 +00:00
jfrijters c16a29c301 Added support for resolving methods in missing types (primarily to enable CustomAttributeData.Constructor to work for missing attribute types). 2011-01-26 06:59:57 +00:00
jfrijters d4b02c9bcf Performance tweaks by Marek. 2011-01-26 05:59:24 +00:00
smallsql 196359aecc Fix for the timezone used to convert .NET DateTime to Java Timezone in the JDBC-ODBC bridge. 2011-01-25 12:59:38 +00:00
jfrijters f8dbce7789 - Commented out unused (or write-only) fields.
- Made POINT field public to avoid mcs warning.
- Added workarounds for two mcs bugs.
2011-01-25 11:10:47 +00:00
jfrijters 6e4298a18c Removed bogus comparisons of IntPtr with null. 2011-01-25 11:08:49 +00:00
jfrijters 5b2f9e1077 Avoid re-firing the assembly resolve event for missing assemblies. 2011-01-25 09:11:36 +00:00
jfrijters 8ab938c470 Since we now have framework unification in the managed CompareAssemblyIdentity implementation, it makes sense to respect it. 2011-01-25 05:12:39 +00:00
jfrijters bc2c6b1a72 Integrated OpenJDK 6 b21. 2011-01-24 16:40:22 +00:00
smallsql e6457788e8 Implementation of several print attributes (Copies, Collation, Orientation, MediaSize, MediaTray). The PrintGraphics now fully supports the create() function. 2011-01-24 13:38:37 +00:00
jfrijters 0d4d781cee Mark the just written module as executable (when running on Mono). 2011-01-24 13:18:51 +00:00
jfrijters f9463f9dc5 Sort openjdk files. 2011-01-24 12:57:59 +00:00
smallsql cf6b5ff73d Fixed ImageRepresentation for image formats other than 32-bit ARGB. Bitmaps with 16bits an more can be used directly, images with indexed color model will be converted to 32bit. 2011-01-24 12:08:45 +00:00
smallsql 7078903c13 Implements isNonSimpleChar(); sort the method like the sun Class for easer merging; copy some Java documentation 2011-01-23 20:32:58 +00:00
smallsql b0398ffc0a Currently there are an inconsistency between NetFontMetrics and FontDesignMetrics. To prevent this we replace all with FontDesignMetrics and remove NetFontMetrics. 2011-01-23 11:20:38 +00:00
jfrijters 209830e5fe Add support for reflecting on assemblies without loading mscorlib (or with partial mscorlib) when missing type resolution is enabled. 2011-01-23 08:12:13 +00:00