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

482 Коммитов

Автор SHA1 Сообщение Дата
jfrijters 459bd89fa9 Added ikvm.runtime.Startup.addBootClassPathAssemby() API. 2010-12-28 09:03:38 +00:00
jfrijters 1874857e15 Removed VMThread class which only existed as a container for the jniDetach method. 2010-12-28 08:42:10 +00:00
jfrijters 0240e272c8 - Clean up imports.
- Use class literals instead of Type.GetType().
2010-12-28 08:22:39 +00:00
jfrijters 8018c00583 Added support for encoding incorrect annotation values and reporting the exception back when the annotation is queried.
Removed old (GNU Classpath based) version of AnnotationAttributeBase.java.
2010-12-07 06:47:30 +00:00
jfrijters 5a3a196d92 Avoid security manager check for assembly class loaders. The runtime should be priviliged to create the default assembly class loader and a custom security manager might recursively require the assembly class loader to be loaded (which is only "supported" for custom assembly class loaders). 2010-11-03 07:55:11 +00:00
jfrijters e5f4247e1c Massive change to change resource handling. Java resources are now stored in jars that are stored as managed .NET resources. The jars are projected into VFS and the assembly class loaders know how to load resources from these jars. 2010-08-05 13:43:00 +00:00
jfrijters 0e42ec9e72 Make synthesized .class resources available via getResources (note the plural) as well. 2010-06-03 14:28:50 +00:00
jfrijters 85b418c2e9 - Util.mapException() shouldn't be HideFromJava as that would be a breaking change, and were explicitly filtering it from the stack trace anyway.
- Minor ExceptionHelper clean up.
2010-05-28 04:23:58 +00:00
jfrijters 2cbe4b732b Moved the last part of ExceptionHelper from Java to C# side. 2010-05-27 15:24:29 +00:00
jfrijters 0d2012757f Moved the remainder of the exception mapping to the C# side. 2010-05-27 14:54:41 +00:00
jfrijters 63fac84c10 - Added new public API to unmap exception (ikvm.runtime.Util.unmapException()).
- Moved (parts of) mapping and unmapping to C# side.
2010-05-27 14:08:58 +00:00
jfrijters d67bc55267 Moved more ExceptionHelper methods to C# side. 2010-05-27 13:23:04 +00:00
jfrijters fa0e1b04f0 Yet more ExceptionHelper moving. 2010-05-27 13:03:26 +00:00
jfrijters fe0f5df2a1 Moved a few more ExceptionHelper methods to C# side. 2010-05-27 12:36:40 +00:00
jfrijters 4da8e27cf7 Moved printStackTrace to C# side. 2010-05-27 12:08:01 +00:00
jfrijters d18d00788b Moved ExceptionHelper.getStackTrace() to "native" code of Thread. 2010-05-27 11:47:41 +00:00
jfrijters a4500fdb47 Moved readObject/writeObject to C# side. 2010-05-27 11:21:23 +00:00
jfrijters 195f6ce2c6 First step of moving all exception handling code to C#. 2010-05-27 09:17:56 +00:00
jfrijters 5cc1b2e805 The AssemblyClassLoader should not claim to be able to load .class resources for dynamically loaded classes. 2010-05-21 06:25:06 +00:00
jfrijters e904756592 Changed ikvm.runtime.Startup.setProperties() to take an IDictionary instead of Hashtable. This allows a Dictionary<string, string> to be passed in now and avoids future problems if/when we want to target Silverlight (which doesn't have System.Collections.Hashtable). 2010-04-21 06:51:18 +00:00
jfrijters 562b15ceb2 Prep for .NET 4.0 security model:
- serialization methods must be critical.
2010-04-12 04:17:39 +00:00
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
smallsql 28b2619037 Move init of CTRL-BREAK from System to Startup. It should be init if a Java application run and not if a library is linked. 2010-01-31 14:08:26 +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 19be487fe0 Removed pre-generated stub jars from cvs and modified build process to generate them during the build. 2010-01-28 08:06: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 0f46d9ae15 Take advantage of the fact that Util.getInstanceTypeFromClass() is now an intrinsic. 2009-07-14 06:22:44 +00:00
jfrijters 0e0dd9b037 - Consolidated system property initialization in VMSystemProperties.
- Fixed bug that caused startup properties set with ikvm.runtime.Startup.setProperties() to be forgotten when doing a System.setProperties(null).
2009-07-03 06:40:51 +00:00
jfrijters 049ea653fe Moved startup system properties temporary cache from VMSystemProperties to Startup to allow VMSystemProperties to be private instead of internal. 2009-07-03 06:22:10 +00:00
jfrijters 7a856abc0a Moved VMSystemProperties from gnu.classpath to java.lang. 2009-07-03 05:55:58 +00:00
jfrijters 82fb3d2682 Removed GNU Classpath related stuff. 2009-07-03 05:28:19 +00:00
jfrijters 3e43bbd26d Dynamic assemblies don't have a CodeBase. 2009-05-28 05:32:37 +00:00
jfrijters 6f178d1adb Removed no longer needed GNU Classpath classes and copied two GNU Classpath utility classes into IKVM. 2009-05-26 05:44:06 +00:00
smallsql 9a424a8338 use assembly name from the build process for the GraphicsEnvironment 2009-05-07 20:41:48 +00:00
smallsql 8a7787a4fe Loading the GraphicsEnvironment with the Sun mechanism 2009-05-07 12:52:48 +00:00
jfrijters f3290fa061 Added "Windows 7" detection for os.name system property. 2009-03-26 13:57:51 +00:00
jfrijters fbf4d5167a Rewrote exception handling to store Java exception state in our java.lang.Throwable class, instead of an additional object in a weak keyed map. 2009-03-16 05:50:59 +00:00
jfrijters 83fea48abe Unmap exception after we printed the stack trace. 2009-03-16 05:24:56 +00:00
jfrijters 7bc8df7b63 - Updated mscorlib.jar (to get the new default constructor in MulticastDelegate).
- Added utility class ikvm.runtime.Delegates to make it easier to create Runnables and PrivilegeActions from .NET languages.
2009-03-07 08:40:04 +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
smallsql 3b9b7e6c72 needed stub for JDBC-ODBC-Bridge 2009-01-17 13:51:01 +00:00
smallsql 3d2604205a Remove NetBufferedImage and merge the code in the class BufferedImage. Now the class BufferedImage has 2 buffers. A Java Raster and .NET Bitmap. 2008-12-30 10:28:10 +00:00
jfrijters 4eac573e0d When an unwrapper Error escapes from a static initializer, we shouldn't replace the stack trace. 2008-12-24 06:21:41 +00:00