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

194 Коммитов

Автор SHA1 Сообщение Дата
jfrijters 3cfa691e6b More ikvmc error handling clean up. 2012-03-25 09:10:28 +00:00
jfrijters bd00ad6a11 Added support to ikvmc to automatically set the full source path in the debugging info if the source file lives next to the .class file. 2012-03-24 08:54:12 +00:00
jfrijters c761c2894a Changed ikvmstub to use missing assemblies when a dependency is not found and only complain about it when it is actually needed. 2012-03-22 09:27:51 +00:00
jfrijters 15507fb735 Bug fix. The $Method inner class for delegates should also be loadable for generic delegates. Thanks to Michael Bayne for reporting this. 2012-01-26 06:44:39 +00:00
jfrijters 7ad7bb1858 Removed hack that fixed infinite recursion for generic types that use sub type as type parameter. Now that we lazily resolve the base TypeWrapper it is no longer needed. 2012-01-03 14:27:39 +00:00
jfrijters 0a18471be3 Bug fix. When constructing a generic class loader we can't use GetWrapperFromType() on the type arguments, because they might refer to a subtype that is currently being loaded. 2012-01-02 15:11:09 +00:00
jfrijters 7bb7d9886f Removed class name length limitation. 2011-12-15 08:56:10 +00:00
jfrijters 848311cad9 Removed circular dependency hack for delegate types that isn't required anymore with the new CreateStep2 compilation pass. 2011-12-14 12:10:00 +00:00
jfrijters b58674641d Make AllocMangledName register the wrapper directly, because there is no reason to do that later. 2011-12-14 11:12:50 +00:00
jfrijters 5c14302763 Removed parameters from CreateStep1 and CreateStep2NoFail. 2011-12-13 10:39:46 +00:00
jfrijters 80e43e17ab Added -Xverify option to ikvm.exe. 2011-11-29 07:03:22 +00:00
jfrijters 36de825458 Relax class name validation for trusted class loaders. 2011-11-28 08:14:13 +00:00
jfrijters 46828f2616 Fix. When decoding a NameSigAttribute it is possible that a type does not exist (i.e. is an unloadable) and that results in a warning emitted against the referenced assemblies class loader. 2011-11-21 11:51:31 +00:00
jfrijters 8ea80f64cf Removed the need for access stubs in dynamic mode with CLASSGC enabled by dynamically adding InternalsVisibleToAttribute to the dynamic assemblies. 2011-11-17 13:53:02 +00:00
jfrijters 30c5543f03 Hardened runtime against asynchronous Thread.Abort() during critical operations. Fix for bug #3385353. 2011-08-16 13:40:05 +00:00
jfrijters 8ad03c95b0 Fix for NPE if type parameter type cannot be loaded. 2010-12-24 08:34:05 +00:00
jfrijters f0f8a879d3 Ignore LoadRemappedTypes() if it is called redundantly. 2010-12-08 08:09:11 +00:00
jfrijters d27c87dfe0 Made FromCallerID method signature typed. 2010-11-25 08:50:49 +00:00
jfrijters dae206d60b Made assembly class loader construction lazy. 2010-11-23 05:33:42 +00:00
jfrijters 110ee14a83 Removed trace messages that don't add much value but do cause the tracer to needlessly read configuration data early in initialization. 2010-11-23 04:46:07 +00:00
jfrijters b5709a3606 Changed workaround for gmcs inability to properly deal with two-pass compilation of mutually dependant assemblies to use reflection, because the previous workaround now also fails on Mono 2.8. 2010-09-21 05:45:48 +00:00
jfrijters 3fa99010ee Made most static compiler warnings local to the target that is being compiled (in multi target mode), to allow warnings to be suppressed (or turned into an error) for a specific target. 2010-07-16 08:50:40 +00:00
jfrijters e8e6bf24d6 Disable automagic serialization when running on .NET 4.0 in partial trust. 2010-06-08 12:48:36 +00:00
jfrijters aa80cfdecf TypeWrapper.AssertFinished() doesn't make sense for the static compiler anymore. 2010-06-07 04:21:35 +00:00
jfrijters f570d2c719 Allow ikvmstub to explicitly set the bootstrap class loader. 2010-05-19 15:46:27 +00:00
jfrijters c676fb0ebc It's not necessary to add the bootstrap class loader to the generic class loader key. 2010-05-19 15:45:25 +00:00
jfrijters 8c526e9001 Removed .NET 1.1 restriction workaround. 2010-05-19 15:20:36 +00:00
jfrijters da5287c315 Added ikvmc option to disable automagic serialization. 2010-05-03 07:58:01 +00:00
jfrijters 617dc0c7e0 Removed workaround that is no longer needed. 2010-04-09 04:50:25 +00:00
jfrijters daf3ffcf28 Removed ReflectionOnly support from runtime. Now that ikvmstub no longer requires it, there's no good reason to allow Java code to see ReflectionOnly types. 2010-01-29 07:08:56 +00:00
jfrijters b7a691f5de - Moved ClassLoaderWrapper.IsVector() and TypeWrapper.IsReflectionOnly() to ReflectUtil.
- Fixed IsReflectionOnly() to handle more complicated constructed types.
- Optimized IsDynamic() to use a delegate to call get_IsDynamic when running on .NET 4.0
- Optimized IsVector() to use __IsVector when IKVM.Reflection is used.
2010-01-29 06:58:10 +00:00
jfrijters d1e163408f Removed IKVM_REF_EMIT, as STATIC_COMPILER or STUB_GENERATOR now always implies IKVM.Reflection. 2010-01-28 09:18:33 +00:00
jfrijters 1d05c1ed7b Last set of changes preparing for new stub generator. A massive amount of conditional compilation changes, to skip irrelevant code when building ikvmstub. 2010-01-28 07:14:37 +00:00
jfrijters 9dc2df605a Moved non-throwing signature parsing from ClassFile.cs to ClassLoaderWrapper.cs (and merged it with the throwing variant). This avoids new stub generator having to include ClassFile.cs. 2010-01-28 06:37:48 +00:00
jfrijters 5895cfea86 Moved CodeGenOptions from DynamicClassLoader.cs to ClassLoaderWrapper.cs, to avoid new stub generator (to be checked in later) to have to include DynamicClassLoader.cs 2010-01-28 06:06:37 +00:00
jfrijters dbd6df02ae Integrated new IKVM.Reflection implementation. 2010-01-25 07:52:27 +00:00
jfrijters 34bf6475f7 Changed JNI to use standard caller ID mechanism. 2010-01-06 14:28:38 +00:00
jfrijters 5166b04d4a More ikvmc assembly/type refactoring. 2009-10-21 04:54:39 +00:00
jfrijters 5cdb8b43e4 Removed .NET 4.0 beta 1 workarounds and did some minor updates for .NET 4.0 beta 2. 2009-10-21 04:43:27 +00:00
jfrijters bc86e620cc Rewrote custom assembly class loader initialization to avoid running user code (static initializer) while holding a lock and to better handle invocation of getClassLoader() during the class loader constructor (or static initializer). 2009-09-09 05:17:04 +00:00
jfrijters a4ba87a35f Moved GetAssemblyClassLoader() (and related stuff) from ClassLoaderWrapper to AssemblyClassLoader and renamed it to FromAssembly(). 2009-09-07 04:46:01 +00:00
jfrijters 69d6408db6 Moved AssemblyClassLoader and BootstrapClassLoader into AssemblyClassLoader.cs. 2009-09-07 04:19:04 +00:00
jfrijters db9c796794 Removed vestigial compact framework support. 2009-08-28 06:47:16 +00:00
jfrijters 285bf4dfbb Added support for exposing open generic types as Java classes (special "handle" classes that can only be used for stack walking). 2009-08-27 14:40:42 +00:00
jfrijters fd4ee83c14 Handle Annotation.__ReturnValue and Annotation.__Multiple fake types. 2009-07-29 07:02:50 +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 b75fb48ee8 Implemented class gc (available only when compiling on .NET 4.0). 2009-06-02 07:38:21 +00:00
jfrijters 7b120d5942 Added JavaModuleAttribute to dynamic module to make detection of Java types more straightforward. 2009-05-29 07:47:20 +00:00
jfrijters 25586ad542 Removed unused method. 2009-05-28 06:11:09 +00:00
jfrijters 6dd2495ad8 Made dynamic assembly detection more reliable and moved the utility method to ReflectUtil. 2009-05-28 05:58:35 +00:00