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

71 Коммитов

Автор SHA1 Сообщение Дата
jfrijters 393bfcc810 Moved Posix file flushing to C# to be able to use delegate instead of reflection to invoke the Mono.Posix method. Also added DangerousAddRef/Release to prevent the handle from being closed while flushing. 2010-04-08 13:06:36 +00:00
jfrijters 5eebe0dc4f Cleaned up Windows/MacOSX detection and added compile time dependency on PlatformID.MacOSX (which was added in .NET 2.0 SP2).
Mono specific MacOSX detection code is unfortunately still necessary.
2010-04-08 12:37:39 +00:00
jfrijters 3098014dc4 Forgot to cache the classLoader. Thanks to Mainsoft for this fix. 2010-02-03 15:00:55 +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 e5bea7a81b Removed support for "ikvm.stubgen.serialver" property that is no longer needed now that ikvmstub doesn't use the runtime to generate stubs. 2010-01-28 08:05:34 +00:00
jfrijters 1f255d4f65 Added public API to get ClassLoader from Assembly. 2009-11-03 07:06:36 +00:00
jfrijters ce1c1d3aee Don't add private interfaces to ikvmstub exported classes, because they only cause problems. 2009-10-19 05:31:06 +00:00
jfrijters 315bb89a4c Take advantage of the fact that a callerID generated inside core class library has a known class loader (i.e. null) to avoid calling Class.getClassLoader(). 2009-07-14 08:44:55 +00:00
jfrijters 3e43bbd26d Dynamic assemblies don't have a CodeBase. 2009-05-28 05:32:37 +00:00
jfrijters 84ce7cc3e6 - Replaced all Double.longBitsToDouble() constants with compile time constants.
- Optimized sin/cos by moving temporary array allocation outside of fast path.
- Optimized __ieee754_rem_pio2 by doing temporary array allocation only when needed.
- Fix bug in copysign().
- Changed copysign/setLO/setHI/__HI/__LO to use doubleToRawLongBits instead of doubleToLongBits.
2009-02-16 05:19:12 +00:00
jfrijters d78b7ace3d - Imported JMath.java.
- Updated license/copyright information.
2009-02-13 08:53:40 +00:00
jfrijters 5eebd6f17b Added AssemblyClassLoader.GetAssembly(TypeWrapper) and changed most code that assumed that an AssemblyClassLoader represented a single assembly to use it. 2009-02-04 07:24:44 +00:00
jfrijters 909d78b0f7 - Renamed ClassLoader.NIL_CLASSLOADER to ClassLoader.DUMMY.
- Removed unused ClassLoader.registerNatives().
- Removed unnecessary field initializers in ClassLoader.
- Moved necessary field initializers in ClassLoader to constructor.
- Changed Thread to make use of ClassLoader.DUMMY, instead of having an extra field to keep track of contextClassLoader status.
2008-06-04 05:12:46 +00:00
jfrijters 90168fabfc Removed dependency on constructor having run, to protect against finalizer attacks. 2008-06-02 04:15:44 +00:00
jfrijters 8c73f6947e Added optimization to omit callerid nested type inside core library. 2008-06-02 04:04:39 +00:00
jfrijters 5e4182edb5 - Implemented CallerID infrastructure.
- Marked various methods with HasCallerID annotation.
- Rewrote some methods to explicitly use CallerID.
2008-05-31 15:20:29 +00:00
jfrijters 97a347333c Added Mac OS X platform detection. 2008-04-07 04:27:02 +00:00
jfrijters 1b4ea1f0b4 A new helper class to contain Mono specific methods. 2008-04-07 04:26:09 +00:00
jfrijters c591de8029 Ripped out annotation/constant pool support that is no longer needed. 2008-03-03 08:28:22 +00:00
jfrijters 828a4de95d Replaced notion of DynamicOnly types with Fake types. Fake types are implemented as generic type instances and can have DynamicOnly methods. 2008-03-03 07:05:19 +00:00
jfrijters 96094d6cee Made AssemblyClassLoader public and moved it to ikvm.runtime package. 2007-10-25 12:56:18 +00:00
jfrijters 895ad8516d Implemented two custom assembly class loaders. 2007-10-22 08:09:19 +00:00
jfrijters 2628d5ab4b Changed AssemblyClassLoader to be useable as a delegation parent for custom assembly class loaders. 2007-10-22 05:13:08 +00:00
jfrijters 26af678899 Use Enum.valueOf() instead of reflection to get enum value. Reflection would fail if enum wasn't public. 2007-09-10 06:13:10 +00:00
jfrijters c0533934bc Only seal packages that are sealed in the manifest. 2007-09-07 13:11:49 +00:00
jfrijters 2b50089bcc - Added WINDOWS constant to ikvm.internal.Util to check if we're running on Windows.
- Added a bunch of native methods to openjdk.cs (some real implementations, some stubs)
- Added OpenJDK derived PlainSocketImpl/SocketInputStream/SocketOutputStream implementations.
- Added OpenJDK derived file protocol handler (a single class that supports both Windows and non-Windows)
2007-07-12 08:40:32 +00:00
jfrijters 9de8f80b31 - Added workaround for .NET 1.1 reflection bug (methods that explicitly override a method are returned twice)
- Removed duplicate method workaround from stub generator.
2007-07-04 12:19:49 +00:00
jfrijters 5502c68773 Disambiguate CodeSource constructor invocation. 2007-06-19 10:21:17 +00:00
jfrijters 70a1c1e4f7 - Added system property to control whether serialVersionUID is included or not and syntesize serialVersionUID for Serializable classes that don't have the field.
- Removed unnecessary getOwerType() check.
2007-06-14 06:35:40 +00:00
jfrijters ffa2501472 Fixed exception mapping memory leak. 2007-05-31 07:04:47 +00:00
jfrijters 43b7e4a70f Integrated OpenJDK's java.lang.reflect.* classes (except for Array). 2007-05-29 16:27:08 +00:00
jfrijters cae14c9023 Restructured to allow openjdk.cs to reuse the annotation encoding. 2007-05-23 12:44:38 +00:00
jfrijters 9d3fc25b1f Removed VMClass dependency. 2007-05-18 06:01:33 +00:00
jfrijters e68499a4ba Simplified VM -> Class Library interface by taking advantage of the fact that IKVM.Runtime.dll is now compiled in two passes with the second pass linking against the class library. 2007-04-23 08:24:33 +00:00
jfrijters b9df51e1d2 Implement major chunk of custom attribute as annotations support. 2007-04-12 09:27:17 +00:00
jfrijters f7f7b161c8 Clarified comment. 2007-04-12 09:19:54 +00:00
jfrijters 0a1a172d3b - .NET "generic class loaders" now return something sensible when toString() is called on them.
- Ikvmc no longer warns about generic stubs.
- Ikvmstub now has WHIDBEY conditional code to properly determine if a class is a generic type instance (instead of the name based hack).
- Fixed .NET generic type name mangling bug (nested generic types were double encoded).
- Added support for loading .NET generic type stubs.
- Fixed several .NET generic type loading bugs.
- Fixed ikvm.runtime.Util.getInstanceTypeFromClass() to return null instead of throw an exception when it is called on a "dynamic only" class.
2007-03-29 09:17:19 +00:00
jfrijters 93ffd65020 Implemented annotation support in StubGenerator. 2007-01-23 15:48:48 +00:00
jfrijters 939e182ff9 *** empty log message *** 2007-01-04 12:54:10 +00:00
jfrijters ccb2ddb757 *** empty log message *** 2007-01-04 07:46:38 +00:00
jfrijters 3f45beff8c *** empty log message *** 2006-12-28 07:46:21 +00:00
jfrijters 0c1525d5f8 *** empty log message *** 2006-12-24 10:53:36 +00:00
jfrijters 94150c5ed7 *** empty log message *** 2006-12-11 13:13:27 +00:00
jfrijters 0f2afcc4d6 *** empty log message *** 2006-12-05 07:52:25 +00:00
jfrijters 7561f45469 *** empty log message *** 2006-11-30 14:29:43 +00:00
jfrijters b78073fa54 *** empty log message *** 2006-11-27 07:39:30 +00:00
jfrijters 6766acfab1 *** empty log message *** 2006-10-04 09:03:18 +00:00
jfrijters 2a665e264a *** empty log message *** 2006-10-02 07:10:52 +00:00
jfrijters 0d9a2b80b4 *** empty log message *** 2006-09-20 05:53:38 +00:00
jfrijters b3d5401eca *** empty log message *** 2006-08-26 09:22:01 +00:00