Commit graph

59 commits

Author SHA1 Message Date
blah38621_cp
509ab9194c Made the stack trace for plug scanning a bit more detailed. 2012-05-11 19:56:06 +00:00
Trivalik_cp
1cd1645e1f remove TypeInitialized 2012-03-11 19:34:16 +00:00
Trivalik_cp
7f17d4d791 handle InlineAttribute in more places -> reduces asm size
used in InitializeArray plug
2012-02-08 19:25:28 +00:00
sschocke_cp
d1dca7ab22 Fixed alignment issues for UInt16 fields and removed my project from the Bootstrap Solution Config 2012-02-05 15:35:30 +00:00
sschocke_cp
262f0080df Added a new Attribute called DebugStub. Has a property Off which when set to true specifies that no debugstub calls should be inserted for code in this function. NOT FOR GENERAL USE!! CAUTION: No debugging what so ever is possible on a function with this attribute applied. Useful for large loops of tested code where speed is of the essence 2012-02-03 17:32:53 +00:00
kudzu_cp
1712fdb0fe Namespace change 2012-01-23 15:17:54 +00:00
kudzu_cp
34ee173563 2012-01-23 14:00:42 +00:00
kudzu_cp
872530ae5f 2012-01-23 13:52:50 +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
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
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
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
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
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
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
kudzu_cp
4d51935cc9 Backed out label changes. They use . again. The # change caused too many issues. 2011-07-20 02:39:36 +00:00
kudzu_cp
32e5c353fb Labels use # instead of ., hopefully GDB will like them better. 2011-07-19 23:32:55 +00:00
kudzu_cp
95691d9c29 2011-07-18 14:48:14 +00:00
kudzu_cp
951e5859fc 2011-07-18 04:43:07 +00:00
kudzu_cp
24ca990ae1 Asm labelling for stepping. 2011-07-16 20:19:57 +00:00
kudzu_cp
c68c0104d5 2011-07-16 16:38:26 +00:00
kudzu_cp
4c8740d57b CPDB changes. 2011-07-16 04:10:10 +00:00
kudzu_cp
e025f29841 2011-07-14 14:57:39 +00:00
kudzu_cp
178a91974d Changes to IL op comment emissions in .asm file. 2011-07-10 02:39:21 +00:00
Trivalik_cp
28321c8e50 add add_ovf, add_ovf_un, overflow throws an exception which currently is not working, but message on console is working
add JECXE,JECXE ( not used yet )
2011-06-25 20:58:56 +00:00
Trivalik_cp
b1f09d2f16 comment out ToString for StringBuilder, there is no need for plug anymore 2011-06-16 21:23:16 +00:00
blah38621_cp
20ef289111 Added an Inline attribute, which when used on a method in a plug, processes that method as an Assembler. See the IOPortImpl.cs file for an example of this new capability. The old method of using Assemblers is still supported. Also added an IOGroup for the mouse. 2011-06-11 01:57:27 +00:00
Trivalik_cp
1a549f6403 add possiblity to plug function that use internal class as argument, use:
public static bool nativeInitCultureData([Plugs.FieldType(Name = "System.Globalization.CultureData")] ref int cultureData)
2011-06-08 20:37:29 +00:00
Trivalik_cp
e47ea4ac04 check for wrong method for forwardmethod, example: now is the Console.WriteLine(Double) method not plugged, so the method would call Console.WriteLine(object), because System.Console has a Double method, but we could not find them, for calling such a object is Boxing IL needed but not there 2011-05-26 19:11:04 +00:00
sschocke_cp
5cab60903e Working Float.ToString() and Double.ToString() 2011-04-07 20:28:56 +00:00
Trivalik_cp
a9cb455304 fix ceq, cgt, cgt_un, clt, clt_un for 64 bit integer and float, changes back uint64impl compare 2011-04-06 19:31:51 +00:00
sschocke_cp
e66f126add Changed GetNumberString for 64-bit integers to check for value != 0 instead of >0 because greater than operator is broken for UInt64... UInt64/Int64 .ToString now working correctly 2011-03-26 07:49:45 +00:00
kudzu_cp
5f0a735e37 Strings are now stored in memory comparable to how it works in .net (and probably mono) 2011-03-17 15:04:24 +00:00
mterwoord_cp
85240d72a7 2011-03-06 16:15:49 +00:00
kudzu_cp
21d6c9ceac 2011-03-03 14:34:55 +00:00
kudzu_cp
1edb546842 2011-02-24 14:50:10 +00:00
Trivalik_cp
7f84d28d69 add DOTNETCOMPABILE define condition,
change StackContents to uint,
able to use now mnemoric with 3 operands,
shl IL near 64 bit (unknown error),
add asm line to nasm error
2011-02-22 17:03:42 +00:00