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

996 Коммитов

Автор SHA1 Сообщение Дата
jfrijters efdd737c54 Fixed regression introduced by previous change from GCHandle to WeakReference. 2007-12-31 12:29:12 +00:00
jfrijters 6fff8e1ac0 Partial Trust fixes:
- Added accessor methods for "slot" to Method & Constructor.
- Implemented System.setIn0, setOut0, setErr0 in map.xml.
- Hacked sun.misc.SharedSecrets to replace Unsafe.ensureClassInitialize() with direct calls.
- Replaced java.nio.Bits.byteOrder() with simple System.BitConver.IsLittleEndian based implementation.
- Disabled DynamicMethodSupport when running in partial trust.
- Ignore SecurityException in CanonicalizePath.
- Don't trigger load of JNI assembly when "loading" a fake system library.
2007-12-28 14:55:33 +00:00
jfrijters 1ec1db7cc7 Stupid fix. 2007-12-28 14:36:51 +00:00
jfrijters 357555cb59 Indirectly refer to JNI assembly. 2007-12-28 14:36:30 +00:00
jfrijters 4dd9d67a78 Added virtual opcode to explicitly trigger class initialization. 2007-12-28 14:35:18 +00:00
jfrijters 70aa740f1c Intrinsified AtomicReferenceFieldUpdater.newUpdater(). 2007-12-28 10:23:46 +00:00
jfrijters 83e77754db Added support for registering a delegate that gets called after the type is baked. 2007-12-28 10:22:06 +00:00
jfrijters b95ac21fdc Added check to prevent objectFieldOffset from working on static fields. 2007-12-28 10:19:39 +00:00
jfrijters 1229097f11 Replaced GCHandle with WeakReference to support partial trust. 2007-12-28 10:18:18 +00:00
jfrijters bd0063443c *** empty log message *** 2007-12-28 10:17:13 +00:00
jfrijters 38fac732f2 Patch by hellosticky@gmail.com to add -skiperror option. 2007-12-27 17:16:54 +00:00
jfrijters c25f154eae Generic type instances can't be inner classes. 2007-12-27 15:41:43 +00:00
jfrijters e2c7ceb1d5 - Moved some calls to methods with a LinkDemand (that fails in partial trust) to a separate methods.
- Added stuff to map.xml to remove the need for reflection in VM / Library bootstrap.
- Inverted IKVM.Runtime.JNI dependency in stack walking code.
2007-12-27 15:16:49 +00:00
jfrijters 29b48a5948 Ignore SecurityException when running in partial trust. 2007-12-27 15:13:34 +00:00
jfrijters 426ded09ff - Changed <clinit> method to SmartConstructorMethodWrapper to support calling it in map.xml
- Removed call to unnecessary call to MatchTypes (to support partial trust)
2007-12-27 15:08:05 +00:00
jfrijters be3526e6d2 Added support for adding constructors in map.xml. 2007-12-27 11:09:04 +00:00
jfrijters e1bfe26a24 Delete IKVM.Runtime.JNI.dll in clean target. 2007-12-27 11:08:23 +00:00
jfrijters 6cd0a9e34b Restructured VM <-> Library interface to take advantage of InternalsVisibleTo to remove public methods and reflection usage. 2007-12-19 11:28:09 +00:00
jfrijters 160d93fc1f Made all "native" method classes internal. 2007-12-18 11:05:30 +00:00
jfrijters 5e0dd0f7f9 Made classes static. 2007-12-18 11:04:53 +00:00
jfrijters f9e7cd31f5 Moved JNI implementation into a separate assembly (IKVM.Runtime.JNI.dll) to make IKVM.Runtime.dll verifiable. 2007-12-18 09:56:11 +00:00
jfrijters 6df053187c Implemented support for InternalsVisibleToAttribute. 2007-12-17 10:59:02 +00:00
jfrijters a7d6edbc5a Implemented native methods of java.io.Console. 2007-12-17 07:44:59 +00:00
jfrijters 6da894bcd5 Removed mono workarounds. 2007-12-17 07:43:06 +00:00
jfrijters 9b22fbf1d1 Workaround the fact that Mono doesn't currently implement FieldInfo.GetRawConstantValue(). 2007-12-04 08:10:53 +00:00
jfrijters 5a70141ffe Added explicit reference to System.Configuration.dll as required by mcs. 2007-12-04 08:09:53 +00:00
jfrijters d118006a7f Don't create DynamicMethod with bogus arg in signature. 2007-12-04 08:08:33 +00:00
jfrijters 836480ddfc *** empty log message *** 2007-12-04 05:29:08 +00:00
jfrijters d6e2cf70f7 Removed more .NET 1.1 workarounds. 2007-11-26 16:00:15 +00:00
jfrijters 9e7cc69997 Oops. Changed vfs.zip path back to resource. 2007-11-26 15:20:10 +00:00
jfrijters 61ccfb3ced - Improved VFS.
- Dynamically generate "lib/security/cacerts" from .NET X509 store.
2007-11-26 15:19:08 +00:00
jfrijters 6bb8fa27d1 - Regenerated mscorlib.jar for .NET 2.0
- Updated FileChannelImpl to use SafeFileHandle and GC.Add|RemoveMemoryPressure
- Added GC.KeepAlive to "native" methods of MappedByteBuffer
2007-11-26 12:51:21 +00:00
jfrijters 7ca97a7541 More .NET 1.1 -> 2.0 work. 2007-11-26 11:01:29 +00:00
jfrijters ab95ffee45 More .NET 1.1 -> 2.0 work. 2007-11-26 09:01:35 +00:00
jfrijters 3072c89696 - Removed .NET 1.1 specific code
- Removed conditional compilation of .NET 2.0 specific code
2007-11-26 08:38:38 +00:00
jfrijters 83c6e5105d - .NET 1.1 is no longer supported
- Removed .NET 2.0 warnings (except for the "unreachable code" ones)
2007-11-26 05:50:57 +00:00
jfrijters ba7a5a69bd - Removed Visual Studio 2003 solution/project files.
- Added Visual Studio 2008 solution.
2007-11-21 07:15:42 +00:00
jfrijters 8a2fd17b8e Made to compile again with Classpath cvs. 2007-11-14 08:48:23 +00:00
jfrijters 5262271082 Close the file descriptor after releasing the locks. 2007-11-12 06:45:36 +00:00
jfrijters 6695ae96db - Fixed AotTypeWrapper.EmitCheckCast() for ghost arrays (which apparently isn't used in the current core library).
- Fixed TypeWrapper.EmitCheckCast() for ghost arrays to actually cast to an array type.
2007-11-06 08:54:52 +00:00
jfrijters 36ef70f507 Fix to make sure that a ghost interface method call always goes thru the target reference wrapping path. 2007-11-06 08:51:08 +00:00
jfrijters 03db85b160 Fixed GetterFieldWrapper to support the DynamicMethod based fast reflection on CompiledTypeWrapper fields that don't have a FieldInfo object. 2007-11-02 05:47:34 +00:00
jfrijters d280cd460b Fixed AppDomainAssemblyClassLoader to ignore AssemblyBuilders. 2007-11-02 05:11:47 +00:00
jfrijters 42f0aba28d - Did more work to keep up the pretense that an AssemblyClassLoader has already loaded all classes in the assembly.
- Restructured AssemblyClassLoader.GetProtectionDomain() to avoid calling any code while holding the lock.
2007-10-26 07:11:17 +00:00
jfrijters 470a31ab43 Enforce custom assembly class loader accessibility at runtime. 2007-10-26 05:14:36 +00:00
jfrijters 6e2d5abf5f Don't create the default system class loader if the main executable has a custom assembly class loader. 2007-10-25 16:49:30 +00:00
jfrijters f8dcc6ff6d Allow non-public custom assembly class loaders. 2007-10-25 12:57:40 +00:00
jfrijters 96094d6cee Made AssemblyClassLoader public and moved it to ikvm.runtime package. 2007-10-25 12:56:18 +00:00
jfrijters 79a5702779 Don't call custom assembly class loader for types that are defined in the assembly itself. 2007-10-25 06:28:26 +00:00
jfrijters 191dbcb00e Make "classpath" build target build again. 2007-10-24 04:24:12 +00:00