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

3268 Коммитов

Автор SHA1 Сообщение Дата
jfrijters fb4173adba Added RawModule.ModuleVersionId property. 2012-03-05 13:48:17 +00:00
jfrijters 899b7456bb Added ParsedAssemblyName.HasPublicKey for use by mcs. 2012-03-05 13:47:47 +00:00
jfrijters 1451110294 Updated. 2012-03-02 08:21:15 +00:00
jfrijters 5801c3da81 We should override Toolkit.areExtraMouseButtonsEnabled() to avoid infinite recursion. 2012-03-01 15:01:40 +00:00
jfrijters d4fa23458e Replaced non-ascii character (micro) with ascii 'u'. 2012-02-27 10:38:03 +00:00
jfrijters b9229a609b Intrinsified the unsafe.objectFieldOffset(XXX.class.getDeclaredField("xxx")) pattern to avoid expensive reflection field lookup in static initializers of common OpenJDK classes. 2012-02-23 11:51:07 +00:00
jfrijters 4e9132243d Merged security changes to AtomicReferenceArray. 2012-02-23 11:46:35 +00:00
jfrijters ded554f863 Workaround a problem in sun.util.locale.LocaleObjectCache that assumes that a SoftReference is always immediately enqueued when get() returns null. Now we actively enqueue the reference in get() when the reference was cleared by the GC (instead of waiting for the QueueWatcher to eventually enqueue the reference from the finalizer). 2012-02-21 14:29:36 +00:00
smallsql ba40023b00 synchronized the bitmap to fix "System.InvalidOperationException: The object is currently in use elsewhere. " if the BufferedImage is used from multiple threads was is valid in Java. 2012-02-21 13:55:14 +00:00
smallsql 60cd9206e6 Fix the native file dialog, it was created in the wrong thread and the method blockWindows(List) was not implemented 2012-02-03 21:28:52 +00:00
smallsql 946ae23ff7 Fix a bug with a ToolkitImage as frame icon. 2012-02-03 20:28:36 +00:00
jfrijters f40c2f31b9 Made two methods static and removed an unused method. 2012-01-30 14:24:28 +00:00
jfrijters 6d425b1d9b Added FlagsAttribute to ExceptionHandlingClauseOptions. 2012-01-30 14:23:24 +00:00
jfrijters b1d66a6cf1 Removed unused methods. 2012-01-30 14:22:37 +00:00
jfrijters a549a950c1 Add dummy splashscreen native library to VFS. Fix for #3480917. 2012-01-29 08:41:49 +00:00
jfrijters e0f1b62635 Bug fix. TypeDefImpl.__GetMethodImplMap() should populate typeArgs before using it. 2012-01-27 13:52:07 +00:00
jfrijters 1951df18b1 Added new API MethodInfo.__GetMethodImpls() to efficiently get the MethodImpls for a specific method. 2012-01-27 13:51:08 +00:00
jfrijters 189c176e30 Generalized sorted metadata table lookups with binary search. 2012-01-27 10:11:18 +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 95baaf7b0a Prevent IKVMC0109 warning when a stub is encountered after the corresponding type has already been loaded. 2012-01-26 06:43:40 +00:00
jfrijters 3aea0d29c7 Use binary search in custom attribute lookup. 2012-01-26 05:48:13 +00:00
jfrijters 9b9c65184a Cache the assembly FullName in Assembly. This brings the Assembly.FullName property performance more inline with System.Reflection which also caches the FullName (computing the FullName is expensive). 2012-01-25 14:56:34 +00:00
jfrijters 65fdbc0211 Optimized assembly lookup. Thanks to Marek Safar for the pointer. 2012-01-25 08:10:15 +00:00
jfrijters 9f645a24be The assemblies list only contains AssemblyReader instances, so we should type it as such. 2012-01-25 08:05:44 +00:00
jfrijters 8c398b4cea Added UniverseOptions.DisableFusion to explicitly disable Fusion (without having to resort to setting the IKVM_DISABLE_FUSION environment variable). 2012-01-25 06:03:25 +00:00
jfrijters 82a4ef485c TypeNameParser.Escape() performance tweak by Marek Safar. 2012-01-24 17:47:06 +00:00
jfrijters 0dfd62d2aa Performance tweak to AssemblyName.FullName. Inspired by Marek Safar. 2012-01-24 17:26:26 +00:00
jfrijters 8dc3942046 Bug fix. Stack trace elements in methods in remapped .NET types should not list the source filename as map.xml. 2012-01-20 16:13:55 +00:00
jfrijters 2800d845b1 Bug fix. The right remap filename should be put in the SourceFileAttribute, instead of the last one. 2012-01-20 16:13:07 +00:00
jfrijters 90a67766bc When instantiating a delegate and the object passed in does not properly implement the delegate's Method interface, bind the delegate to an error stub that throws the appropriate error. 2012-01-20 14:02:23 +00:00
jfrijters 38f29f30a5 The Invoke method can also be completely missing. 2012-01-20 10:55:45 +00:00
jfrijters ede9f7f5a5 Must throw AbstractMethodError when the method is static, regardless of accessibility. 2012-01-20 10:23:59 +00:00
jfrijters 50d61eecc7 If the delegate invoke stub would end up calling the wrong method, it should throw the appropriate exception instead. 2012-01-20 10:13:26 +00:00
jfrijters 93ebbdb473 When a dynamic only interface method ends up being "implemented" by a static or non-public method, it should throw the appropriate exception. 2012-01-20 09:59:50 +00:00
jfrijters e3d95f6da5 Add support for delegates with ByRef parameters. 2012-01-20 09:01:07 +00:00
jfrijters 3050af2fe7 Added Module.__ImageRuntimeVersion API. 2012-01-18 11:15:45 +00:00
jfrijters df8c03d3b4 - Added Module.__EnumerateCustomAttributeTable() API.
- Removed Module.__GetDeclarativeSecurityFor() API.
- Added CustomAttributeData.__Parent API.
2012-01-18 07:58:24 +00:00
jfrijters c3d6327a6a Add version info resource to ikvm-native-win32-{arch}.dll. Modified version of patch #3472413. 2012-01-17 14:44:42 +00:00
jfrijters 8aaf296536 Add version info resource to JVM.DLL. Modified version of patch #3472413. 2012-01-17 14:43:11 +00:00
jfrijters 1c00b65c88 Added API for getting raw DeclSecurity blobs. 2012-01-17 14:39:18 +00:00
jfrijters 0fabe88bf2 Fix type parameter binding for missing types. 2012-01-17 14:38:43 +00:00
jfrijters c81544ec70 Fix to throw proper exception when wrong metadata token is passed to Module.Resolve* methods. 2012-01-16 08:49:56 +00:00
jfrijters bb2dfd7484 New API to "resolve" a type. Can be used to construct missing types. 2012-01-16 08:48:29 +00:00
jfrijters 5fd343defa API change. Allow Type.MetadataToken to be called on missing type (it will return 0 or the token hint when the type was forwarded). 2012-01-16 06:19:58 +00:00
jfrijters cd576a4295 Fixed regression introduced with AssemblyName rewrite. The AssemblyName returned from __GetReferencedAssemblies() should include an empty public key token if the referenced assembly is not strong named. 2012-01-16 06:17:56 +00:00
jfrijters 1b22c03574 Added MethodBase.__MethodRVA property. 2012-01-12 06:51:17 +00:00
jfrijters 483932899e Added Module.__EntryPointRVA and Module.__EntryPointToken properties. 2012-01-12 06:50:52 +00:00
jfrijters 6be03b471a Add AssemblyName.__Hash property (to expose the hash in an AssemblyRef). 2012-01-12 06:49:35 +00:00
jfrijters 55a0b5e833 Added Miguel Alfredo Garcia Gutierrez. 2012-01-12 06:48:55 +00:00
jfrijters f5ad05f1aa Avoid the need for (expensive) ResolveMethod call by maintaining a map from token to MethodBase. Thanks to Miguel Alfredo Garcia Gutierrez for pointing this out. 2012-01-09 09:13:43 +00:00