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

1243 Коммитов

Автор SHA1 Сообщение Дата
jfrijters 9991b38140 Always emit an explicit method override if we've mangled the name/sig, because we can't predict whether it will be needed or not (without keeping track of the mangling in the base classes) and the cost is minimal since this doesn't happen all that often. 2008-12-01 05:23:51 +00:00
jfrijters 2e6feb0089 Miranda method should use mangled name (if the name is mangled). 2008-12-01 05:21:05 +00:00
jfrijters 4c68432767 If the last call site of a subroutine wasn't reachable, the return switch would fall through potentially causing the code to be unverifiable. 2008-12-01 05:18:30 +00:00
jfrijters e2f8738bbc The check for unloadable types on the stack indexed the stack in the wrong order. 2008-12-01 05:16:30 +00:00
jfrijters 0a35a30eda Fixed TypeDefOrRef and HasCustomAttribute column size calculations. 2008-11-28 06:43:31 +00:00
jfrijters 92cc7f488c Fixed relocation table. Occasionally the address of the fixup would be incorrectly calculated (because the offset was added after calculating the base page address, instead of before). 2008-11-28 06:42:27 +00:00
jfrijters 01de66c818 Implemented support for TypeForwardedToAttribute. 2008-11-25 05:11:57 +00:00
jfrijters 75d1eaed3a Implemented GetNestedTypes() on BakedType. 2008-11-25 05:10:06 +00:00
jfrijters ef1d579adb Implemented support for SpecialNameAttribute. 2008-11-25 05:07:05 +00:00
jfrijters 839a34c040 Added more pseudo custom attributes to the list. 2008-11-25 05:02:27 +00:00
jfrijters 083b5ebd71 Added ../CommonAssemblyInfo.cs so that the assembly gets the right version (and is strong named when doing a strong name build). 2008-11-19 06:06:00 +00:00
jfrijters ab0277e449 Fixed typo in assembly version handling. 2008-11-19 05:43:25 +00:00
jfrijters 3b4bce9333 Generate assembly versions for IKVM.OpenJDK.ClassLibrary.dll and JVM.dll automatically based on IKVM.Runtime.dll version. 2008-11-19 05:42: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 c1d447e1f6 Oops. Apparantly NAnt's assemblyname::get-assembly-name() isn't relative to the current project directory. 2008-11-18 07:59:02 +00:00
jfrijters abe67b5a22 Changed build to autogenerate the assembly qualified name of the AWT peer toolkit. 2008-11-18 07:46:53 +00:00
jfrijters c7b716d1b6 Added JniAssemblyInfo.cs. 2008-11-18 07:16:39 +00:00
jfrijters 7235538d3a Removed hard coded public key from JniInterface.cs. 2008-11-18 07:15:55 +00:00
jfrijters 285382ba3e Implemented Type.DeclaringType in BakedType and GenericType. 2008-11-18 06:33:27 +00:00
jfrijters a360882b3b Restructured GetTypeToken()/ImportType() to be consistent with GetXxxToken()/ImportMember(). 2008-11-18 06:18:52 +00:00
jfrijters f9389f725a Changed GetFieldToken() to be consistent with GetMethodToken() and GetConstructorToken(). 2008-11-18 06:11:09 +00:00
jfrijters fdfed15d40 Changed GetContructorToken() to match GetMethodToken(). 2008-11-18 06:09:05 +00:00
jfrijters d3b3cd11b2 Fixed sorting of InterfaceImpl table. 2008-11-18 06:04:12 +00:00
jfrijters 7eecaa3922 Throw the right exception (we've implemented all the switch cases, so the default really can't happen). 2008-11-18 06:02:12 +00:00
jfrijters 2aba1cd055 Simplified by using int instead of TypeToken. 2008-11-18 05:57:13 +00:00
jfrijters feece34e37 Implemented Type.MetadataToken for our types, instead of the internal GetToken() method. 2008-11-18 05:52:40 +00:00
jfrijters baf6228d28 Removed our version of System.Runtime.CompilerServices.ExtensionAttribute and instead add System.Core.jar to the compilation, this will allow us to reference the real ExtensionAttribute when it is available and yet the build will still work (albeit with a warning and without the ExtensionAttribute) when it is not available (i.e. when building on .NET 2.0). 2008-11-18 05:35:58 +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 e62914f4a1 - Made java.lang.ClassLoader.loadClassInternal() accessible.
- Call ClassLoader.loadClassInternal() instead of ClassLoader.loadClass() to lock class loader object.
2008-11-18 05:25:06 +00:00
jfrijters e63315e4d8 Don't write token of FAULT pseudo exception that is used as a marker for fault blocks. 2008-11-18 05:17:43 +00:00
jfrijters 8ddf796565 Changed proxy stub name mangling to work around ildasm bug. 2008-11-17 07:17:31 +00:00
jfrijters dc2c86da39 Fixed pointer detection to work for types with multiple indirection levels. 2008-11-17 06:15:16 +00:00
jfrijters ddf6d352d2 Implemented/fixed support for pointers, by ref and non-vector arrays. 2008-11-17 06:13:55 +00:00
jfrijters 690dfb453c Added support for automatically exporting non-vector array types. 2008-11-17 06:10:35 +00:00
jfrijters faffcc628c Integrated IKVM.Reflection.Emit in ikvmc. 2008-11-14 08:42:07 +00:00
jfrijters 464553f841 Restructured handling of finalize() method a little, to prepare for IKVM.Reflection.Emit. 2008-11-14 08:37:22 +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 8e49cb714d Added IKVM.Reflection.Emit project. 2008-11-14 08:11:50 +00:00
jfrijters cf805b1ef1 Removed Visual Studio 2005 solution. 2008-11-14 08:11:21 +00:00
jfrijters 5f04d79145 Added check for referencing non-existing constructor in map.xml 2008-11-14 07:55:53 +00:00
jfrijters 93fc80927d Fix bug in handling of jsr instruction. 2008-11-14 07:54:11 +00:00
jfrijters c9b373d85a Set encoding of AssemblyInfo.java to ascii, to prevent a BOM character on Linux that causes javac to barf. 2008-11-14 07:53:04 +00:00
jfrijters d2d0156ed9 Changed version to 0.39. 2008-11-14 07:51:31 +00:00
jfrijters 4f74774934 New Ref.Emit implementation. 2008-11-14 07:40:49 +00:00
jfrijters 19f5c9cd08 finalize() and clone() should be final in cli.System.Object and cli.System.Exception. 2008-11-03 07:02:29 +00:00
jfrijters 02e63d6456 Moved .NEt 2.0 SP1 specific constructor invocation into a separate method, to avoid getting a MissingMethodException on .NET 2.0. 2008-11-03 06:59:59 +00:00