jfrijters
179771d488
Always wrap InvocationTargetException in another InvocationTargetException, to handle the case where a method is recursively calling itself.
2010-09-21 07:17:29 +00:00
jfrijters
b5709a3606
Changed workaround for gmcs inability to properly deal with two-pass compilation of mutually dependant assemblies to use reflection, because the previous workaround now also fails on Mono 2.8.
2010-09-21 05:45:48 +00:00
jfrijters
fceb82b65e
Fixed ExceptionBlock's Compare method to handle identity comparison, as Mono's sort implementation requires this.
2010-09-21 05:42:27 +00:00
jfrijters
c75b9ffb8c
Renamed StaticCompiler.GetType() that is used exclusively by map.xml processing to make it more obvious and added error message (and abort the compile). The remaining StaticCompiler.GetType() now behaves more like Type.GetType() in that it returns null if the type isn't found.
2010-09-20 15:08:45 +00:00
jfrijters
f77b2d0291
Move construction of EmitIntrinsicContext to compiler.
2010-09-14 14:15:07 +00:00
jfrijters
8f02df10b8
Added wrapper class for intrinsic emitter method arguments to make things more manageable and to have a place to stick helper methods.
2010-09-14 13:40:17 +00:00
jfrijters
42f9b26b34
Added extra indirection thru MethodWrapper for intrinsic method call emitting to allow .NET delegate constructor optimization to use instrinsic infrastructure instead of requiring EmitNewobj to pass a MethodAnalyzer and opcode index.
2010-09-14 13:19:11 +00:00
jfrijters
3a5fc585a9
Added extra indirection thru MethodWrapper for intrinsic method call emitting to allow .NET delegate constructor optimization to use instrinsic infrastructure instead of requiring EmitNewobj to pass a MethodAnalyzer and opcode index.
2010-09-14 12:29:22 +00:00
jfrijters
22381efaab
Seal classes and make fields readonly.
2010-09-14 09:02:21 +00:00
jfrijters
3797879e66
Moved local variable analysis from verifier.cs to new file LocalVars.cs.
2010-09-14 07:38:42 +00:00
jfrijters
b8cb939d6c
Moved local variable analysis into a separate pass.
2010-09-14 05:57:24 +00:00
jfrijters
4f002b9468
Consolidated all bytecode flow control properties.
2010-09-13 06:53:16 +00:00
jfrijters
2fc594a370
Added VerifierTypeWrapper.IsNotPresentOnStack() to encapsulate the notion of types that aren't represented on the .NET stack.
...
Note that while this may look like a bug fix (because we're handling fault block exception types in more places), it isn't. Fault block exceptions can not actually occur on the stack, because the verifier will only allow them in very limited places.
2010-09-13 06:16:23 +00:00
jfrijters
63b3bcec7f
Remove unneeded call to ComputePartialReachability().
2010-09-13 05:10:19 +00:00
jfrijters
0e80c2034a
Added explanatory message to Link Error is it is caused by a missing reference.
2010-09-10 08:14:42 +00:00
jfrijters
6b50942867
Fix for bug #3056721 .
2010-09-10 07:59:39 +00:00
jfrijters
e57a321362
Implemented IPv6 support for java.net package APIs.
2010-09-09 06:55:31 +00:00
jfrijters
0720c24a21
Prepare for forking. Note that these are .c files renamed to .java, they will be ported to Java in an as straightforward as possible way.
2010-09-09 06:42:59 +00:00
jfrijters
a514d1e0ab
Added check to make sure that vfs.zip exists, before building second pass version of IKVM.Runtime.dll, because it appears that mcs doesn't complain about missing resources.
2010-09-09 06:37:23 +00:00
jfrijters
51997be230
Thread should synchronize on private lock instead of Thread object in thread startup code, to avoid deadlock with user code.
2010-09-09 06:35:55 +00:00
jfrijters
f2a08d8c62
Fix build on Linux.
2010-09-09 06:33:31 +00:00
jfrijters
8f3bb56f40
Added workaround for Mono TimeZoneInfo bug ( https://bugzilla.novell.com/show_bug.cgi?id=622524 ).
2010-09-09 06:31:30 +00:00
jfrijters
ff00c6f603
Don't expose IPv6 network interface addresses when IPv6 isn't enabled.
2010-09-09 06:30:08 +00:00
jfrijters
8c44803183
Added workaround for Mono not implementing UnicastIPAddressInformation.IPv4Mask.
2010-09-09 06:27:14 +00:00
jfrijters
96d3a61c9d
Don't return network interfaces that aren't IPv4 or IPv6 interfaces.
2010-09-09 06:24:13 +00:00
jfrijters
ac0dc7359a
Implemented Inet6AddressImpl.isReachable0().
2010-09-09 06:21:23 +00:00
jfrijters
9a1392464e
Implemented Inet6AddressImpl.getHostByAddr().
2010-09-09 06:19:51 +00:00
jfrijters
48a8685daf
Inet[4|6]AddressImpl.lookupAllHostAddr() should throw UnknownHostException instead of returning an empty array.
2010-09-09 06:18:32 +00:00
smallsql
14cd0fc9f9
Fix the metrix junit tests.
2010-09-07 09:50:24 +00:00
smallsql
c701a5fd6f
Improve the StandardGlypVector; implements some not implemented methods; use the FontRenderContex for calculating the metrix
2010-09-07 09:26:45 +00:00
smallsql
e88e9e86fa
implements drawImage with AffineTransform
2010-09-02 21:06:04 +00:00
jfrijters
4ca4be9446
Implemented network interface address bindings (as far as possible).
2010-09-01 06:45:58 +00:00
jfrijters
9d87c806d0
IPv6 addresses associated with NetworkInterface should have their scope and network interface set (when appropriate).
2010-09-01 06:40:28 +00:00
jfrijters
af9e7ae341
Support querying the MTU for IPv6 only interfaces.
2010-09-01 06:18:37 +00:00
jfrijters
382b5025f3
Use the platform interface indexes, instead of the order in which NetworkInterface.GetAllNetworkInterfaces() happens to return the objects and sort the interfaces by their index.
2010-09-01 06:10:45 +00:00
jfrijters
be0c79af71
Prepare for forking.
2010-08-30 12:11:55 +00:00
jfrijters
6f73e59a7e
Undo previous check-in. Accidentally checked in the wrong file.
2010-08-30 10:30:50 +00:00
jfrijters
f8bd1fb197
Sort the IP addresses returned by Inet6Address.lookupAllHostAddr() based on the preferIPv6Address system property.
2010-08-30 10:25:32 +00:00
jfrijters
663c7284c4
Moved shared socket functionality from PlainSocketImpl.java to SocketUtil.java.
2010-08-27 06:21:56 +00:00
jfrijters
13955a0903
Prepare for forking.
2010-08-27 04:58:26 +00:00
jfrijters
a526592847
Removed x64 JIT bug workaround that is no longer required (and caused another issue: http://connect.microsoft.com/VisualStudio/feedback/details/578948/x64-jit-stack-overflow ).
2010-08-26 06:40:32 +00:00
jfrijters
10559391f7
Added a couple of forgotten resource directories to IKVM.OpenJDK.Tools.dll build.
2010-08-24 10:04:32 +00:00
jfrijters
750e49368a
We no longer need an external sun.boot.class.path to run javac, javap and javah.
2010-08-24 04:01:39 +00:00
jfrijters
58dae5a53d
Moved ikvm-native.dll from clean-managed to clean-native.
2010-08-23 13:11:37 +00:00
jfrijters
9d1bb56831
When class GC is enabled, we shouldn't keep a strong reference to Class instances.
2010-08-23 13:02:26 +00:00
jfrijters
fd1acd13f0
Updated with new build process.
2010-08-23 04:27:07 +00:00
jfrijters
49275c625e
Changed the default build target to managed and split the clean target into managed and native.
2010-08-23 04:26:41 +00:00
jfrijters
357bcd9338
Auto-generate CommonAssemblyInfo.cs with today's build number.
2010-08-20 13:15:47 +00:00
jfrijters
19d2d1c0f3
- Made VFS class publishing more robust (against types that depend on missing assemblies).
...
- Don't publish annotation custom attributes (that show up as $Proxy classes) in VFS /classes/ directory.
- Refactored Type -> name to enable the VFS class publishing code to get the name without instantiating a TypeWrapper for each type.
2010-08-20 12:44:07 +00:00
jfrijters
543bde55dc
- Removed the requirement to have peverify and ilasm in the PATH. They are now located automatically and if they are not found, the corresponding build steps are skipped.
...
- Added "managed" and "native" targets to ikvm.build to allow building just the managed parts (that don't require a C compiler to be installed).
2010-08-20 05:35:49 +00:00