Commit graph

170 commits

Author SHA1 Message Date
blah38621_cp
61299be317 Fields now show up in the debugger. 2012-01-14 20:20:24 +00:00
kudzu_cp
73f5e2fd74 Cosmos output pane updates
Text data for windows now uses UTF8 on pipe instead of ASCII.
2012-01-08 23:37:39 +00:00
kudzu_cp
a981f8cf35 VSIP Ping 2012-01-08 18:23:41 +00:00
Trivalik_cp
a584bc2845 fix 64 bit mul 2012-01-08 14:43:01 +00:00
kudzu_cp
8034dd5ad6 Documentation 2012-01-03 00:46:44 +00:00
kudzu_cp
c81f4f2b98 Added URL to plug needed exception. 2012-01-02 19:38:20 +00:00
Cman332_cp
9270721daf Forgot a bracket in the string implementation 2011-12-30 04:19:52 +00:00
Cman332_cp
537cf4502d I have implemented most of the String.Concat overloads. The only ones that aren't implemented are the IEnumerable overloads 2011-12-30 03:35:23 +00:00
blah38621_cp
686ac7ff67 Conv_U1.cs: I disabled the invalid push size exceptions and made it treat them as size 4, because it should make no difference, and the exception was bugging me to much. 2011-10-28 15:36:12 +00:00
blah38621_cp
dcd685a90f More from Gendarme. Cosmos.VS.Package's AssemblyVersion attribute didn't match it's AssemblyFileVersion, they now match. Sealed a few non-inherited attributes. Also made private field actually used as was intended. 2011-10-23 00:15:19 +00:00
blah38621_cp
8f1d4c09fb Another from Gendarme, All attribute constructor arguments should be accessible via a read-only property. 2011-10-22 23:50:16 +00:00
blah38621_cp
1b922726f0 The first of a series of commits as I work my way down the list of things Gendarme found wrong. (a large amount is likely to be skipped, as gendarme found 13k potential issues.)
This one makes sure that constructors for abstract classes are protected, not public, as the constructor can only be called by child classes.
2011-10-22 23:19:51 +00:00
blah38621_cp
f641c6c60b Fixed an issue in Dup which would have caused issues if we modified the object itself. Also made Ldsfld push the type of the field rather than null. 2011-10-22 22:49:36 +00:00
blah38621_cp
82e127acde Conv_* (unchecked), The 1&2 sized stack object exceptions weren't being very helpful. They now are. 2011-10-17 22:31:43 +00:00
blah38621_cp
bd2c82a292 The plug needed exception now also provides a trace of what method caused it to be added to the stack for processing. (Changes provided by sebdg) 2011-10-14 20:09:36 +00:00
blah38621_cp
6a36c7c3b8 Reverted the changes from my attempt to multi-thread IL2CPU. 2011-10-08 14:48:48 +00:00
blah38621_cp
606e309051 2011-10-08 01:42:17 +00:00
blah38621_cp
ad33893587 2011-10-08 00:30:08 +00:00
blah38621_cp
540ba18ddb 2011-10-08 00:28:05 +00:00
blah38621_cp
0375b13a2f 2011-10-08 00:23:20 +00:00
blah38621_cp
2f817d0bc2 2011-10-08 00:07:37 +00:00
blah38621_cp
a7b96e304d 2011-10-08 00:03:34 +00:00
blah38621_cp
b1f7c58a6b Made IL2CPU's scanning multi-threaded, as well as it's plug scanning. Also made the exceptions that a few instructions throw much easier to locate which file they are being thrown from. 2011-10-07 23:42:19 +00:00
blah38621_cp
57488c4dda Implemented the String(char,int32) constructor as supplied by Sebastien De Greef. 2011-10-06 21:38:02 +00:00
Trivalik_cp
c54cb3bdd2 remove unneeded decimal part in float/double ToString() for example 0.0 -> 0 ; 3.0 -> 3 2011-10-06 19:57:10 +00:00
blah38621_cp
470b77a5b4 Added double->float support to Conv_R4, also made Conv_I a pointer to Conv_I4, and made Conv_U a pointer to Conv_U4. 2011-10-02 00:39:17 +00:00
blah38621_cp
361219d23e Added Double support to Conv_I1, Conv_I2, Conv_I4, Conv_U1, Conv_U2, Conv_U4, and Conv_U8, also fixed float conversion in those same files. (We were rounding, we needed to be truncating) 2011-10-01 23:03:33 +00:00
Trivalik_cp
c134a571fa fix Conv, Ldelem, Mul, Newobj for string, Rem ( modulo), fix memory zero in cpuimpl, add char[] to debug in VS 2011-09-28 18:56:41 +00:00
Trivalik_cp
6663266609 fix Clt_Un todo 2011-09-19 20:30:06 +00:00
blah38621_cp
aee4bdbbb1 Got my optimizer working. It's currently only enabled if you have the debug level set to none. Also added a plug for System.Random that doesn't depend on the current tick count. 2011-09-17 17:37:36 +00:00
Trivalik_cp
f599c0726b fix all signed indirect pushes ( Ldind_Ix, Ldind_Ux) 2011-09-15 19:13:40 +00:00
Trivalik_cp
6f1efc4bcb add sign check for choose right asm instruction in LdLoc 2011-09-14 21:10:56 +00:00
blah38621_cp
c680d7d95f Implemented one of the things in the System.Number plug, which allows sbyte's to be converted to a string now. Also made a few changes to my optimizer, but still have it disabled, as it refuses to go past the bootloader with it enabled. 2011-09-13 23:42:07 +00:00
kudzu_cp
7162637756 2011-09-05 02:22:17 +00:00
Trivalik_cp
dfe8aa4c25 fix copy of bigger than int 2011-09-04 21:20:34 +00:00
Trivalik_cp
03fbd66909 fix newobj for struct (Stack Empty) 2011-09-04 20:53:53 +00:00
kudzu_cp
0d1beae6f0 2011-09-04 20:14:49 +00:00
kudzu_cp
7be11ee5f7 2011-09-04 20:11:19 +00:00
kudzu_cp
272c4f3410 2011-09-04 19:48:52 +00:00
kudzu_cp
4885dec621 2011-09-04 19:28:26 +00:00
kudzu_cp
4cbf5fed18 2011-09-04 19:27:51 +00:00
kudzu_cp
cc642ffb3f 2011-09-04 19:07:49 +00:00
kudzu_cp
6ed2739549 2011-09-04 03:07:02 +00:00
blah38621_cp
92dcac4a51 Made a few improvements to the speed of the ILScanner, including caching the resolved plugs.
Added the possibility for an optimization step in the IL2CPU MSBuild task. Currently commented out, but should work fine with a few modifications to the optimizer.
Moved classes that are dependent on Cosmos from the Orvid.Graphics, into the Orvid.Graphics.Cosmos assembly. 
Re-factored the font mechanism, added partially working .fnt Font support. 
Added a Rectangle class, and a Vec2d class, which is the same as Vec2, except with doubles for the X and Y values.
Made a small aesthetic improvement to the output of the File2ByteArray Converter.
2011-09-03 21:05:46 +00:00
Trivalik_cp
420a29936f move sqrt from core to il2cpu.x86 2011-09-03 12:02:07 +00:00
Trivalik_cp
51e893eb74 add movsx, fchs
implement neg CIL (needed for Abs())
fix floor and ceiling in range of int
add sign extension to LdArg and LdLoc
remove unneeded math functions, like min,max,abs
2011-09-02 21:03:14 +00:00
Trivalik_cp
bcd92cf77c add ctor(char,int) to stringimpl, and remove uncommented uneeded functions 2011-08-31 19:55:34 +00:00
Trivalik_cp
5032dff55b fix function call on struct:
i.e.: Color a = Color.Red; byte r = a.R;
2011-08-30 20:02:14 +00:00
Trivalik_cp
29914a55a1 fix up wrong operand order for 8byte dword substraction 2011-08-21 20:15:29 +00:00
kudzu_cp
cf1562c94c 2011-08-17 00:14:02 +00:00