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

382 Коммитов

Автор SHA1 Сообщение Дата
jfrijters 2a62a767ca Split compilation into two passes. 2011-12-14 09:04:57 +00:00
jfrijters c97b31684a Removed unused java.lang.annotation.Annotation TypeWrapper. 2011-12-14 08:26:39 +00:00
jfrijters da330e3744 Use RemapperTypeWrapper instead of TypeWrapper where appropriate. 2011-12-14 07:56:53 +00:00
jfrijters 933bdf2f97 Removed last remaining TypeAsBuilder usage. 2011-12-13 07:34:50 +00:00
jfrijters 2be1d4b70b Removed another TypeAsBuilder usage. 2011-12-12 13:43:11 +00:00
jfrijters 35d272c9a6 More TypeAsBuiler usage removed. 2011-12-12 12:43:22 +00:00
jfrijters 387c7b17f6 Removed duplication of keeping track of AnnotationBuilder and moved enum nested type to AotTypeWrapper as well. 2011-12-11 10:43:17 +00:00
jfrijters 8951e48868 Don't crash when ikvmc -resource: or -externalresource: option doesn't contain an = sign. 2011-12-08 11:58:27 +00:00
jfrijters bd816b24b3 Introduced DefineMethodHelper class as an abstraction over method signatures (the parameter/return types) to make it easier to start using modopt for methods. 2011-12-07 11:28:17 +00:00
jfrijters 4e06224c31 - Added extension methods for (almost) all instance methods in Object, String and Throwable.
- Added ObsoleteAttribute to instancehelper_ methods in remapped types (with a message saying that the extension methods should be used).
2011-11-28 13:23:02 +00:00
jfrijters 99a96a2a79 Informational messages should not be treated as error when -warnaserror is specified. Fix for #3443377. 2011-11-27 11:29:56 +00:00
jfrijters 27f408b3a4 Removed legacy remap feature that allowed final fields as properties to be defined (long time ago this was used for the System.in/out/err fields). 2011-11-24 12:31:38 +00:00
jfrijters 5178ea5a45 Added ikvmc warnings for:
- referencing non-primary assembly in shared class loader group
- duplicate references
2011-11-15 05:51:38 +00:00
jfrijters d6414f5b94 Use the existing "infrastructure" to add the assembly name to the warning, when necessary. 2011-11-15 05:41:19 +00:00
jfrijters ec1434d42e Only support ikvm.lang.DllExport when -platform:x86 or -platform:x64 is explicitly specified. 2011-11-14 06:17:13 +00:00
jfrijters 111e899585 Removed ikvmc -platform:Itanium option. 2011-11-14 06:16:15 +00:00
jfrijters 0f0a0963c7 Added ikvm.lang.DllExport annotation to export static methods as unmanaged exports. 2011-11-11 15:35:13 +00:00
jfrijters dcac5e5ef7 Bug fix. When calling a final method on a remapped type we can't call the instance method in the remapped type, but we have to call the instancehelper instead. 2011-10-18 10:57:18 +00:00
jfrijters d8b3bc9bc9 Added ikvmc -platform:arm and -platform:anycpu32bitpreferred options. 2011-10-10 13:05:52 +00:00
jfrijters e45189499c Don't open the remap file in read/write mode. 2011-09-29 13:16:51 +00:00
jfrijters 2a092d7049 Support remap file <throws /> element for methods and constructors defined in remap file. 2011-08-08 11:28:05 +00:00
jfrijters 1387eaabc3 Added opcodes: or, xor, not 2011-07-30 09:54:34 +00:00
jfrijters cb00def97d Updated Windows globbing to be compatible with Java 7. 2011-07-12 07:41:24 +00:00
jfrijters 141e584ee6 Extended map file support for ldtoken opcode to support loading method and field tokens. 2011-07-11 07:32:40 +00:00
jfrijters eca42a62e8 Don't stop on the first error encountered. Keep going until 100 errors. Note that there still are a bunch of immediately fatal errors. 2011-06-28 06:17:40 +00:00
jfrijters 07149f2daf Added ikvmc -warnaserror option (which turns all warnings into errors, as opposed to the already existing option -warnaserror: to turn specific warnings into errors). 2011-06-28 06:02:11 +00:00
jfrijters c742dbb2d9 Added support for declaring exceptions on shadow interface methods. 2011-06-27 13:15:17 +00:00
jfrijters c22d76dace Added ldarg_s opcode. 2011-06-26 06:29:43 +00:00
jfrijters 79d6f33b56 Unified Method/Constructor/Clinit remapper types to allow method patching to work more consistently. 2011-05-25 09:23:36 +00:00
jfrijters 32b589718a Call constructor/method.Emit instead of body directly to allow prologue to be inserted. 2011-05-25 09:22:23 +00:00
jfrijters ffe0dacce7 - Updated AtomicInteger, AtomicIntegerArray, AtomicLonger, AtomicLongerArray to use .NET 2.0 interlocked operations.
- Added stind_i8 opcode to remapper.
2011-05-13 07:29:31 +00:00
jfrijters 0d4bd639f5 Added method prologue support to remap file. 2011-05-12 10:15:52 +00:00
jfrijters 9be6d7f1ad Added experimental (and for the time being undocumented) support for having ikvmc pre-generate proxy classes. 2011-05-12 08:08:08 +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 7f1f16f7cc Treat unrecognized options as errors, instead of warnings. 2011-01-13 08:58:36 +00:00
jfrijters 1410ece953 - Added ModuleBuilder.__Save() to support -target:module option better.
- Changed ikvmc to use new ModuleBuilder.__Save() instead of workaround of deleting the manifest module after saving the assembly.
2010-11-29 08:16:54 +00:00
jfrijters 4e650270a5 Added -win32icon:<file> option to ikvmc. 2010-11-29 07:11:46 +00:00
jfrijters 8f84f639ef Added ldftn/ldvirtftn/and opcodes. 2010-11-20 07:33:10 +00:00
jfrijters 4395037838 Empty sig attribute on call should be interpreted as zero length argument list. 2010-10-22 06:06:56 +00:00
jfrijters 5f9d6733fa Fixed class name resolution for xml remapping instructions. 2010-10-21 10:58:57 +00:00
jfrijters 407ba98287 Added error handling for -remap file errors. 2010-10-14 15:48:11 +00:00
jfrijters 536540cf6e Bug fix. Before saving any of the output assemblies, we should first finish all of them (because InternalsVisibleToAttributes may be added as a side effect of compiling code in another assembly). 2010-10-11 12:15:28 +00:00
jfrijters 88df63d615 Fix to make sure that ikvmc (and ikvmstub) can find assemblies that are part of a multi assembly (shared class loader) group (if the assembly is in the same directory as the main assembly of the group). 2010-10-06 07:39:59 +00:00
jfrijters d44f1a2be8 Moved core assembly detection to the right place, to avoid problems when a non-main assembly of the core assembly set is explicitly referenced. 2010-10-06 04:27:38 +00:00
jfrijters ede6f86062 Don't depend on leave/endfinally instructions being inserted automatically by ILGenerator. 2010-10-05 04:54:09 +00:00
jfrijters 8861870e10 Added endfinally opcode. 2010-10-05 04:49:12 +00:00
jfrijters cec4f20c29 - Removed unnecessary methods from CodeEmitter.
- Removed "Lazy" prefixes in CodeEmitter.
2010-10-01 08:11:49 +00:00
jfrijters 390446e4c5 Build intermediate store of MSIL code in CodeEmitter to allow post-processing optimization steps. 2010-09-30 04:03:32 +00:00
jfrijters 3888406d95 Wrapped LocalBuilder in new CodeEmitterLocal class to allow CodeEmitter to encapsulate the ILGenerator fully. 2010-09-29 07:21:51 +00:00
jfrijters c75b9ffb8c Renamed StaticCompiler.GetType() that is used exclusively by map.xml processing to make it more obvious and added error message (and abort the compile). The remaining StaticCompiler.GetType() now behaves more like Type.GetType() in that it returns null if the type isn't found. 2010-09-20 15:08:45 +00:00