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

814 Коммитов

Автор SHA1 Сообщение Дата
jfrijters f6acb0a796 Added (optional) per-module initialization to custom assembly class loaders. 2009-11-03 07:15:37 +00:00
jfrijters 1f255d4f65 Added public API to get ClassLoader from Assembly. 2009-11-03 07:06:36 +00:00
jfrijters b78d5d8b09 Fix for #2887316. 2009-10-28 11:11:59 +00:00
jfrijters 28456850ca Optimized field reflection. We now delay creating the dynamic methods to access the field until after the field has been accessed a couple of times, this saves a lot of memory for fields that are only usused a couple of times. 2009-10-28 05:54:05 +00:00
jfrijters d6f58ab3df Removed unnecessary class. 2009-10-26 05:22:02 +00:00
jfrijters 7dc5c17027 Removed two unnecessary fields from FieldAccessorImplBase. 2009-10-26 05:20:46 +00:00
jfrijters 67a4a2d1b1 Fixed automagic serialization interop to work correctly in the face of a __WorkaroundBaseClass__ base type. 2009-10-23 06:29:54 +00:00
jfrijters 33f074087f Simplified the obj1.getClass() == obj2.getClass() intrinsic to avoid RuntimeTypeHandle. It turns out that on .NET 4.0 RuntimeTypeHandle.Value requires full trust and using RuntimeTypeHandle.Equals is actually slower than simply comparing the types (on .NET 4.0 beta 2, on .NET 2.0 this new approach is actually a bit slower, but the fact that the code is simpler and smaller is also worth something). 2009-10-23 05:58:41 +00:00
jfrijters 98ec2e69e2 Make Compiler class sealed and made most fields readonly. 2009-10-23 05:48:19 +00:00
jfrijters 5166b04d4a More ikvmc assembly/type refactoring. 2009-10-21 04:54:39 +00:00
jfrijters f1ff4f82f1 Fix for bug #2881954. 2009-10-21 04:47:26 +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 e38521ae81 Fixed exception message. 2009-10-20 05:17:27 +00:00
jfrijters 1b0bfa6703 Use Type.IsVisible that is available since .NET 2.0, instead our own version. 2009-10-19 05:29:50 +00:00
jfrijters 9089864b8c More type funneling. 2009-10-16 07:06:50 +00:00
jfrijters d53f46aa7c Forgot to add new file... 2009-10-15 06:17:23 +00:00
natl 3c1930d4eb - code cleanup as per Jereon's suggestion
- add support for java.awt.Image
- fix problem with HDROP
2009-10-14 15:31:47 +00:00
jfrijters dac3109b6b Replaced most type literals with static field access (in Types class) or warpped JVM.Import() around them. 2009-10-14 14:58:41 +00:00
natl efb671c7f1 add primitive support for clipboard and drag and drop 2009-10-14 13:44:27 +00:00
jfrijters 7ffb79655d Don't use Type.Assembly property directly (because it isn't implemented on IKVM.Reflection.Emit types). 2009-10-14 09:50:33 +00:00
jfrijters d82183aba5 Fix for bug #2876211. 2009-10-12 04:22:46 +00:00
jfrijters 23c23fb857 Fixed regression introduced when we started allowing generic type definitions to be visible. 2009-10-08 04:59:52 +00:00
jfrijters 4a58e5042a Fixed NRE when trying to access a non-existing directory in vfs. 2009-10-02 05:36:07 +00:00
jfrijters f1b8d9042a Expose more custom attributes from mscorlib. 2009-10-02 03:56:10 +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 57a6125414 Removed asserts that no longer hold. 2009-09-07 04:53:03 +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 8068af56fa Moved DotNetTypeWrapper class into its own source file. 2009-08-31 06:16:04 +00:00
jfrijters 4fe0cf25d1 Moved BakedTypeCleanupHack to DynamicTypeWrapper. 2009-08-31 06:05:15 +00:00
jfrijters 9175d7aed0 Turned ImplementInterfaceMethodStubs and ImplementInterfaceMethodStubsImpl into instance methods. 2009-08-31 05:58:53 +00:00
jfrijters cb448cb209 Moved ImplementInterfaceMethodStubs and ImplementInterfaceMethodStubsImpl to DynamicTypeWrapper. 2009-08-31 05:49:19 +00:00
jfrijters ee524d3032 Made ImplementInterfaceMethodStubs and ImplementInterfaceMethodStubsImpl static in preparation of moving them to DynamicTypeWrapper. 2009-08-31 05:46:20 +00:00
jfrijters da58b41987 Added new DynamicTypeWrapper.cs source to project. 2009-08-31 05:44:51 +00:00
jfrijters 014283d425 Moved DynamicTypeWrapper class into its own source file. 2009-08-31 05:10:11 +00:00
jfrijters b9ceecc098 Removed EmitHelper class and moved its methods into CodeEmitter. 2009-08-31 05:02:34 +00:00
jfrijters db9c796794 Removed vestigial compact framework support. 2009-08-28 06:47:16 +00:00
jfrijters 35d71675e8 Small code cleanup. Changed a couple of abstract methods in TypeWrapper to virtual and provided a default implementation and removed the implementation from a number of subclasses. 2009-08-28 06:20:22 +00:00
jfrijters 585c7f5c21 ArrayTypeWrapper: Fixed a race condition and avoid holding the lock while calling external code. 2009-08-28 06:06:35 +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 c15dd34832 ConvertIPAddress is not used during first-pass compilation, so don't try to compile it then. 2009-08-25 04:36:44 +00:00
jfrijters 2641e03d86 Reintroduced local variable scopes in debugging information. 2009-08-24 16:06:58 +00:00
natl 2834460a84 fix the build as it is broken during first pass compilation 2009-08-22 00:53:41 +00:00
jfrijters 901a0b7397 Added support for converting IPv6 link/site local addresses to .NET to Java form. 2009-08-19 13:13:59 +00:00
jfrijters 52ec137518 Use ILGenerator's new "clever" mode in CodeEmitter to produce smaller code. 2009-08-14 13:36:53 +00:00
jfrijters 2cea11b222 Removed unused field. 2009-08-13 07:16:48 +00:00
jfrijters 11edf7a73f If IKVM_REF_EMIT is defined, we don't need to track the IL offset, we can use ILGenerator.__GetILOffset() instead. 2009-08-13 07:16:19 +00:00
smallsql 51a08412cf fix the missing alpha chanel on windows shell icons 2009-08-12 18:36:49 +00:00
jfrijters 2cb0073b40 Automagic .NET serialization support (for classes that are Java serializable). 2009-08-11 05:58:44 +00:00
jfrijters 809769bc9f Having a serialPersistentFields field, also implies custom serialization. 2009-07-31 09:57:15 +00:00