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

244 Коммитов

Автор SHA1 Сообщение Дата
jfrijters 3643bf7748 Skip empty lines in response file, instead of throwing an exception. 2009-06-25 09:21:12 +00:00
jfrijters d8b31ed729 Added -baseaddress:<address> option to ikvmc. 2009-06-22 06:12:47 +00:00
jfrijters 99c7df5de9 Added "RuntimeCompatibilityAttribute(WrapNonExceptionThrows = true)" to generated assemblies. 2009-06-18 06:14:55 +00:00
jfrijters f6a22f068f Added ikvmc warnings for VerificationError and ClassFormatError. 2009-06-18 06:13:21 +00:00
jfrijters b414784b5c Added optimize="true". 2009-06-18 05:53:17 +00:00
jfrijters 3454a12909 Removed unnecessary property setting that causes compiler warning. 2009-05-26 10:18:40 +00:00
jfrijters 6a5ce00091 - When building for .NET 4.0, don't use DefineDynamicAssembly() overload that takes assembly permission sets, because .NET 4.0 ignores them anyway.
- Fixed BakedTypeCleanupHack to work for .NET 2.0 SP2.
- Changes to remove warnings when building on .NET 4.0
2009-05-26 05:00:38 +00:00
jfrijters 7d0d8be096 When building for .NET 4.0 we can derived ModuleBuilder from Module and AssemblyBuilder from Assembly. 2009-05-25 13:42:15 +00:00
jfrijters a9751b487e Define NET_4_0 when building for .NET 4.0. 2009-05-25 13:40:44 +00:00
jfrijters 3abc003581 Introduced virtual methods should have hidebysig and strict flags. 2009-05-25 05:10:14 +00:00
jfrijters 68c9172600 Preparing for .NET 4.0:
- Added SecurityRules(Level1) attribute to IKVM.Runtime.dll to (temporarily) opt out of new .NET 4.0 security model.
- Changed compiler/runtime to automatically add SecurityRules(Level1) attribute when running on .NET 4.0 beta 1 to work around bug in the handling of MethodImpls in beta 1.
2009-05-24 06:54:24 +00:00
jfrijters 597db09496 Added support for assembly declarative security pseudo custom attribute annotations. 2009-05-17 06:11:58 +00:00
jfrijters d22c138c8a - Changed name of workaround base class to make it easier to spot them.
- Added EditorBrowsable(Never) to prevent the workaround base class from showing up in intellisense.
2009-05-17 05:56:37 +00:00
jfrijters 307ae26b35 Added workaround for .NET C# compiler bug that prevents it from subclassing a Java class that implements a protected abstract method using a public method. 2009-05-12 04:04:52 +00:00
jfrijters c1553b7f1a Refactored method call replacement to allow it to be used by others than xml mapping stuff. 2009-05-12 04:00:01 +00:00
jfrijters 937d2e6568 Added support for inlining subroutines (jsr/ret) to allow the verifier and compiler to be simplified and to hopefully pave the way for future codegen optimizations. 2009-04-16 05:34:20 +00:00
jfrijters 90951dcfca Added Castclass_impl opcode to cast remapped type instance to implementation type. 2009-03-16 05:40:41 +00:00
jfrijters 7ed63e8d01 Added (limited) support for defining instance fields on remapped types. The fields will only be available on the actual implementation types, not the types they shadow (accessing the field on a shadow instance is undefined, but for reflection we'll at least guarantee that an exception is thrown (current java.lang.IllegalArgumentException)). 2009-03-16 05:28:11 +00:00
jfrijters 9bac1d38f3 Roll back previous accidental commit. 2009-03-13 05:05:26 +00:00
jfrijters 58c9e59ee3 Added newarr opcode. 2009-03-13 04:59:21 +00:00
jfrijters 3ebf554517 Implemented ikvm.internal.ClassLiteral<T> to allow for more efficient class literals. 2009-03-04 05:47:18 +00:00
jfrijters d014ba2dff Add wildcard exports for assemblies referenced by non-main assembly in shared class loader group. 2009-02-22 08:18:37 +00:00
jfrijters 9803e4805b Use "ikvm.exports" map for "wildcard exports" (i.e. assemblies that are referenced and whose types are available thru the assembly class loader). 2009-02-19 08:12:05 +00:00
jfrijters a7e9899995 Guard against -sharedclassloader and -target:module being combined. 2009-02-19 08:07:26 +00:00
jfrijters 007b01b8a4 Renamed AssemblyClassLoader.Assembly to MainAssembly. 2009-02-10 07:27:25 +00:00
jfrijters 288a3fddbd Changed "InternalsVisibleTo" handling to be based on Assembly instead of class loader. 2009-02-10 07:24:30 +00:00
jfrijters 6d7c5cf05c Use AssemblyClassLoader.GetAssembly() to get the actual assembly the type lives in, instead of the main assembly of the group. 2009-02-05 06:59:11 +00:00
jfrijters 5eebd6f17b Added AssemblyClassLoader.GetAssembly(TypeWrapper) and changed most code that assumed that an AssemblyClassLoader represented a single assembly to use it. 2009-02-04 07:24:44 +00:00
jfrijters c84bf959b6 When loading a referenced assembly that is the main assemblye of a sharedclassloader group, also pre-load the other assemblies in the group. 2009-02-04 07:19:06 +00:00
jfrijters 77b20a1cb8 Renamed ClassLoadWrapper.GetType(string) to GetGenericTypeDefinition() to make clear what it is used for. 2009-02-04 07:10:59 +00:00
jfrijters 046fd5c3de - Fixed tracer to only add a trace listener in executables. Bug #2533728. 2009-02-04 07:03:30 +00:00
jfrijters 9b0ca3cce3 Include helpful exception message in ClassCastException generated for ghost array casts. 2009-01-06 09:47:59 +00:00
jfrijters 39b6ecfb4c Implemented shared class loader support. 2008-12-23 07:11:29 +00:00
jfrijters 9f7e72f62c Split EmitRemappedTypes into two passes, to allow map.xml to refer to types in other assemblies currently being compiled. 2008-12-23 06:14:42 +00:00
jfrijters f4c607b73d Added workaround for protected methods in remapped types (i.e. Object.close() and Object.finalize()) that will be necessary when splitting the class library into multiple assemblies. 2008-12-23 06:12:05 +00:00
jfrijters 94f4fe2ee2 Make ikvmc emit a warning whenever it emits code that throws a hard error. 2008-12-23 06:07:10 +00:00
jfrijters 92d2fb8373 Added support for the -recurse option to look inside a jar (or zip) file. 2008-12-22 06:20:47 +00:00
jfrijters 5c19c12d26 Enable multi target (when using IKVM.Reflection.Emit) and fix handling of some default options. 2008-11-19 05:42:06 +00:00
jfrijters 0220a2b985 Multi target performance fix. 2008-11-19 05:41:13 +00:00
jfrijters b958181492 Simplified creation of "fake" types. 2008-11-18 05:32:15 +00:00
jfrijters aea7c28387 Don't generate warnings for ikvmstub generated classes that are loaded. 2008-11-18 05:28:15 +00:00
jfrijters faffcc628c Integrated IKVM.Reflection.Emit in ikvmc. 2008-11-14 08:42:07 +00:00
jfrijters a81bc1a529 - Trim options read from response file (to allow indentation in multi target scenarios).
- Added more statistics to -time output.
2008-11-14 08:36:23 +00:00
jfrijters 172d448cbf Improved core assembly compilation detection to work in multi target scenarios. 2008-11-14 08:29:19 +00:00
jfrijters 02a2e9ab38 Fixed peer class loading hack. 2008-11-14 08:24:50 +00:00
jfrijters 5f04d79145 Added check for referencing non-existing constructor in map.xml 2008-11-14 07:55:53 +00:00
jfrijters 10cb0a21e9 Fixed .NET generic support regression introduced when ikvmc moved to not using the CompilerClassLoader as the system class loader. 2008-09-21 09:48:57 +00:00
jfrijters 684cdf651e Generified all collections. 2008-08-15 12:01:06 +00:00
jfrijters e83a33bc99 Removed unused per-type class caching. 2008-08-15 06:27:12 +00:00
jfrijters 23a3550851 Eleminated some (CompilerClassLoader) downcasts by making the type of the DynamicTypeWrapper.classLoader field depend on whether we're compiling the runtime or ikvmc. 2008-08-14 07:52:27 +00:00