jfrijters
dc35f2e455
Throw a NotSupportException if a branch offset doesn't fit (i.e. when a short form branch is used inappropriately).
2010-09-30 07:30:53 +00:00
jfrijters
6a61216e4f
Implemented branch optimization.
2010-09-30 06:00:40 +00:00
jfrijters
390446e4c5
Build intermediate store of MSIL code in CodeEmitter to allow post-processing optimization steps.
2010-09-30 04:03:32 +00:00
jfrijters
5297abc6f1
Fixed regression caused by try { } finally {} optimization: astore/aload of exception in finally handler should be ignored in local variable analysis.
2010-09-29 11:56:06 +00:00
jfrijters
3888406d95
Wrapped LocalBuilder in new CodeEmitterLocal class to allow CodeEmitter to encapsulate the ILGenerator fully.
2010-09-29 07:21:51 +00:00
jfrijters
cda96b33f0
Remove unused property.
2010-09-29 05:38:12 +00:00
jfrijters
ce884000ce
Moved line number / sequence point handling into CodeEmitter and made things more consistent.
2010-09-28 08:02:07 +00:00
jfrijters
c6e3c87af1
Added (unused) debugging method to dump a method to the console.
2010-09-27 09:37:02 +00:00
jfrijters
8375659166
Convert javac synchronized block fault handlers into finally handlers.
2010-09-27 05:48:40 +00:00
jfrijters
ba28c0c14d
Implemented first stab at converting suitable fault blocks into finally blocks.
2010-09-27 04:42:56 +00:00
smallsql
93160e18c3
create() for ButtonPeer and LabelPeer implemented
2010-09-24 08:23:22 +00:00
jfrijters
7f3b28c129
Restructured method analyzer/verifier to make data flow more obvious and keep less data alive during compilation.
2010-09-22 04:01:36 +00:00
jfrijters
afbe76e74d
Added support for boolean, byte, char and short non-final static field constant attributes.
2010-09-21 14:09:54 +00:00
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