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
jfrijters
baf6228d28
Removed our version of System.Runtime.CompilerServices.ExtensionAttribute and instead add System.Core.jar to the compilation, this will allow us to reference the real ExtensionAttribute when it is available and yet the build will still work (albeit with a warning and without the ExtensionAttribute) when it is not available (i.e. when building on .NET 2.0).
2008-11-18 05:35:58 +00:00
jfrijters
b34cc1414c
Removed files that are no longer needed no that GNU Classpath support has been dropped.
2008-08-06 12:51:07 +00:00
jfrijters
9baab31e8c
Converted tabs to spaces.
2008-06-11 09:04:56 +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
bb95669b58
Regenerated for .NET 2.0 version.
2008-04-24 05:57:19 +00:00
jfrijters
90caa038dd
Added support for turning Java fields into .NET properties with an annotation.
2008-04-14 05:13:41 +00:00
jfrijters
2e60f0611f
Set sun.nio.MaxDirectMemorySize to -1 to allow "unlimited" direct byte buffers.
2008-04-14 05:06:31 +00:00
jfrijters
41bfcaa06f
- Improved java.library.path for Windows, Linux and Mac OS X.
...
- Added support for setting os.name and os.ver on Mac OS X.
- Try to guess os.arch based on IntPtr.Size.
2008-04-07 04:53:44 +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
a019b9d628
Added the proper meta annotations.
2008-03-30 05:59:10 +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
dab108cc67
Added new utility class to enumerate maps.
2008-02-18 07:59:51 +00:00
jfrijters
b5c5f18679
- Added support for defining extension methods in the core class library assembly (without taking a System.Core.dll dependency).
...
- Added the first two extension methods.
2008-02-10 11:20:52 +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