José Pedro
9c90f7eaae
Merge branch 'master'.
2017-05-22 01:51:41 +01:00
jp2masa
60a198ccea
Added missing switch cases.
2017-05-21 20:15:51 +01:00
José Pedro
4d68d027d4
Project build fixes.
2017-05-19 21:57:58 +01:00
José Pedro
7228f90bc4
Tests fixes.
...
Improved IL2CPU assembly loading.
Fixed PlugManager bug.
2017-04-27 00:48:18 +01:00
José Pedro
2e61be6d8c
Project build fixes.
2017-04-24 20:53:22 +01:00
Teo K
0203ceb874
Update OpNone.cs for Math.Round()
...
OS says Math.Round() is not implemented without the changes. It should work now!
2017-03-31 20:05:17 +02:00
José Pedro
ddc326887c
Fixes.
2017-03-20 22:54:00 +00:00
Charles Betros
a319a3f97e
VS 2017 work.
2017-03-19 09:29:46 -05:00
José Pedro
a6353d9a0e
Added back FAT plugs.
...
Fixed GetTypeFromDefinition for nested types.
2017-02-20 20:02:49 +00:00
José Pedro
e6dedfbba9
Fixed Stind_I1 and Stind_I2.
2017-02-19 01:55:02 +00:00
José Pedro
32d1f2502d
Fixed some plugs.
...
Fixed DebugConnector.Thread.
Compiler fixes.
2017-02-09 19:55:49 +00:00
José Pedro
cd6a34daad
Plugs.
...
Fixed part of the installer.
2017-02-05 21:36:38 +00:00
Charles Betros
2637bc9b41
Plugs
2017-02-05 01:36:54 -06:00
José Pedro
50214ab94b
Fixed virtual methods scanning.
...
Added back some system plugs.
2017-02-03 22:26:47 +00:00
José Pedro
8bcc922f71
Fixed AppVeyor test project.
2017-02-03 19:59:18 +00:00
José Pedro
fc2fe6195f
Fixes.
2017-02-03 00:53:08 +00:00
Charles Betros
6c221324f0
Fix reference to CPU.
2017-02-02 14:28:41 -06:00
Charles Betros
cb5ed51f67
Embed xs files for debug stub. Fix endfinally label.
2017-02-02 14:15:01 -06:00
Charles Betros
0c0c9e3b64
Test runner work.
2017-01-31 15:09:55 -06:00
Charles Betros
2633005924
Exception regions and assembly ring.
2017-01-31 11:22:59 -06:00
Charles Betros
ced66a79b6
membertype was too granular for the scanner type check.
2017-01-29 13:24:11 -06:00
Charles Betros
4e92a523b4
Moved plugs from il2cpu.
2017-01-28 23:04:47 -06:00
Charles Betros
aa08e48366
Get locals
2017-01-28 16:39:30 -06:00
Charles Betros
4ac1ca23f2
Got ResolveType, String, Method, Field working.
2017-01-28 00:27:45 -06:00
Charles Betros
296ca05ab0
Get references.
2017-01-22 09:07:37 -06:00
José Pedro
c095cbbf93
TestRunner port to net core.
2017-01-17 00:35:58 +00:00
Charles Betros
afd18e2f15
Code cleanup and solution cleanup for netcore.
2017-01-15 22:23:56 -06:00
José Pedro
c2d422edf4
Compiler fixes.
...
Created project.json files for projects that need it.
2017-01-11 00:12:14 +00:00
José Pedro
fc9a412652
Compiler fixes.
...
Moved XSharp implementation to XSharp.Common.
2017-01-08 20:55:52 +00:00
José Pedro
3db5ce43bb
Compiler fixes.
...
Compiler fixes.
Updated project.json files.
Removed *.lock.json files and updated gitignore to ignore them.
Updated some Cosmos.Debug projects.
2017-01-08 14:54:29 +00:00
Charles Betros
8e62606d50
Created some csproj specific project json
2017-01-06 16:09:35 -06:00
Charles Betros
88bdb029a9
Progress on net core.
2017-01-03 15:31:21 -06:00
Charles Betros
216d8a3209
Get compiler working.
2016-12-29 00:20:34 -06:00
Charles Betros
004dbfba0a
Fix get assembly name.
2016-12-28 00:35:37 -06:00
Charles Betros
10cfcbea73
Progress on netcore.
2016-12-28 00:27:54 -06:00
Charles Betros
8e3046219a
Netcore changes.
2016-12-22 23:02:29 -06:00
Charles Betros
8d4f634d48
Going with PCL for now to make P2P references easier.
2016-12-19 10:45:38 -06:00
Charles Betros
411ce3e872
Create projects and msbuild targets for dotnet core.
2016-12-13 22:39:41 -06:00
José Pedro
91094a87ca
Fix MemberwiseClone.
...
Fix object sizes in Newobj.
Minor changes in Castclass and VTablesImpl.
2016-11-16 23:49:37 +00:00
José Pedro
e36451b6f9
Fixed try..finally blocks.
...
Added test for try..finally inside a finally.
2016-11-12 18:32:13 +00:00
José Pedro
39ea6ee678
Fixed return on foreach
...
Fixed Array.Clear
Minor changes
2016-11-09 00:08:23 +00:00
Charles Betros
1c8901850c
Fix array copy
2016-11-02 20:19:54 -05:00
José Pedro
53c9ecaa06
Bugfix
2016-10-24 21:28:05 +01:00
José Pedro
a50641b615
Updated exception message on ObjectPointerAccessAttribute errors.
...
Fixed op_Equality and op_Inequality.
2016-10-24 21:21:24 +01:00
fanoI
a277900369
- Fixed ldarga so it will work again with types > bytes
...
- Fixed typos on DoubleTest
- Restored GetNumberString() as it was on my commit of the end of August
2016-10-10 21:43:38 +02:00
José Pedro
a860b2373a
Fixed Newobj for string with length parameter.
...
Minor changes in debugging and FAT test messages.
Removed useless "if" in FAT, previously added by me.
2016-09-29 19:48:59 +01:00
Charles Betros
4b67c02f26
Fixed delegates and moved some assemblers.
2016-09-28 23:24:04 -05:00
Charles Betros
73ef14d551
Working on delegates.
2016-09-26 06:55:37 -05:00
Charles Betros
95f4dbad77
More memory work.
2016-09-11 07:53:45 -05:00
Charles Betros
a9cb616f86
Merge from master.
2016-09-07 19:42:40 -05:00
fanoI
9610858423
Fixed Shr for long with count > 32
2016-09-08 00:27:01 +02:00
Charles Betros
1a63a35507
Fix for remainder op.
2016-09-07 17:03:15 -05:00
Charles Betros
c2b3094c57
Ongoing memory changes.
2016-09-07 14:49:22 -05:00
Charles Betros
4b5bc34445
Remove breakpoints.
2016-09-06 14:38:29 -05:00
Charles Betros
286d670276
Fix more tests
2016-09-06 14:34:19 -05:00
Charles Betros
87d964a602
More memory.
2016-09-05 01:01:54 -05:00
Charles Betros
1b18908a2b
working on statics.
2016-09-04 09:57:47 -05:00
Charles Betros
4f13a49a85
Compiler changes for memory.
2016-09-03 00:40:33 -05:00
Charles Betros
85103e9d9b
RAT progress
2016-08-26 07:02:18 -05:00
fanoI
4dbad9501d
Merge pull request #435 from Unknown6656/date-time-functions
...
Added Stopwatch, Thread.Sleep and some CPUID implementation
2016-08-24 19:39:12 +02:00
fanoI
e2f363a200
Merge branch 'master' of https://github.com/CosmosOS/Cosmos
...
# Conflicts:
# Tests/Cosmos.Compiler.Tests.Bcl/System/DoubleTest.cs
# Tests/Cosmos.Compiler.Tests.Bcl/System/SingleTest.cs
2016-08-22 17:12:59 +02:00
fanoI
ad960c9a1a
Continuation of Float work
...
- Fixed Single.ToString() on special cases (infinities, NaN and 0) and aumented the range of printable values
- Fixed Double.ToString(): it always printed "Double Overrange" for a bug in opcode ldarga
- Fixed opcode ldarga: the displacement of the argument variable was off of 4 bytes
- Fixed opcodes shr, shr_un and shl when the shift was more that 32 bytes, added to BCL relative tests
- Added BLC tests regarding BitConverter and unsafe code
- Moved the meat of the code of Single.ToString() and Double.ToString() to the class StringHelper together with the analogous methods for numer types
- Re-added _floatsignbit to CosmosAssembler.cs so the neg test should not fail anymore
- Removed all code relative to x87 that I had left under #if false
- Clean up
2016-08-22 16:31:22 +02:00
Unknown6656
a7f72cc2e6
Fixed bool-bool-operations
2016-08-19 18:50:03 +02:00
Charles Betros
045fe549fb
Merge branch 'master'
2016-08-18 16:55:23 -05:00
Charles Betros
565053414d
Merge pull request #369 from fanoI/master
...
- Initial work as for https://github.com/CosmosOS/Cosmos/issues/359
2016-08-18 16:32:23 -05:00
fanoI
ec6e231ac9
- Bugfix Shr_un does not really did a shift right unsigned
...
- Bugfix Shr does not really did a shift right signed
- Bigfix ShiftRighDouble was implemented as ShiftLeftDouble
2016-08-18 20:10:10 +02:00
Charles Betros
73b81c7bcc
Working on rat.
2016-08-18 07:32:45 -05:00
Charles Betros
b8f35da19c
Merge branch 'master' into rat
2016-08-10 22:22:22 -05:00
Charles Betros
00ae14ab24
Fix newobj for char[]
2016-08-10 19:27:52 -05:00
Kevin
23c7e4c01e
Fixed (short-short) op bug
2016-08-10 13:15:12 -04:00
fanoI
e6143b75df
Source lose some changes... forced them!
2016-07-31 19:55:12 +02:00
fanoI
e36aeefd1a
Trying to enanche the constant variables declaration:
...
- Added a version of XS.SSE.MoveSS that accepts a String as source (to use the constant variable name)
- Added XS.SSE2.XorPd
- Neg opcode declares the constant inline and not uses XS.LiteralCode anymore
Please note that this code actually fails the second float neg test for no valid reason!
2016-07-31 17:01:50 +02:00
fanoI
6e1bfb8d92
- Implemented Neg Opcode for floating point
...
- Added test for Neg OpCode for float and double
- Conv.U8 wrongly changed the sign of double before converting it to ulong
- Div_Un, Add_Ovf and Add_Ovf_Un had code for floating point but they should not have that for ECMA specs
2016-07-17 17:05:00 +02:00
fanoI
0af7c5b78f
- Finally the conversion of an ulong to a double works (IL opcode conv.r.un is completed)
...
- TestRunner should not be Run in process!
- Removed all unused 'variables' in CosmosAssembler.cs
- Fixed X#: FloatStoreAndPop() ignored the RegisterSize value
2016-07-03 15:00:04 +02:00
Charles Betros
37a4e71deb
Merge some compiler changes from master.
2016-06-29 23:18:04 -05:00
Charles Betros
b7cd470c33
Merge
2016-06-28 23:36:03 -05:00
Charles Betros
607db8f5ff
Merge missing stuff from plug manager.
2016-06-28 23:32:53 -05:00
Matthijs ter Woord
c74800a073
Merge branch 'master' into rat
2016-06-28 10:29:07 -04:00
Charles Betros
1bb7d6335f
Merge from master.
2016-06-26 13:44:56 -05:00
fanoI
56beccb8af
Merge branch 'master' of https://github.com/CosmosOS/Cosmos
...
# Conflicts:
# source/Cosmos.sln
2016-06-26 15:09:13 +02:00
fanoI
4e1c505e52
Merge branch 'master' of https://github.com/CosmosOS/Cosmos
...
# Conflicts:
# Tests/Cosmos.Compiler.Tests.SingleEchoTest/Kernel.cs
# source/Cosmos.Assembler/Assembler.cs
# source/Cosmos.IL2CPU/IL/Add.cs
# source/Cosmos.IL2CPU/IL/Ceq.cs
# source/Cosmos.IL2CPU/IL/Cgt.cs
# source/Cosmos.IL2CPU/IL/Cgt_Un.cs
# source/Cosmos.IL2CPU/IL/Clt.cs
# source/Cosmos.IL2CPU/IL/Clt_Un.cs
# source/Cosmos.IL2CPU/IL/Conv_I2.cs
# source/Cosmos.IL2CPU/IL/Conv_I4.cs
# source/Cosmos.IL2CPU/IL/Conv_I8.cs
# source/Cosmos.IL2CPU/IL/Conv_R4.cs
# source/Cosmos.IL2CPU/IL/Conv_R_Un.cs
# source/Cosmos.IL2CPU/IL/Conv_U1.cs
# source/Cosmos.IL2CPU/IL/Conv_U2.cs
# source/Cosmos.IL2CPU/IL/Div.cs
# source/Cosmos.IL2CPU/IL/Mul.cs
# source/Cosmos.IL2CPU/IL/Sub.cs
2016-06-26 15:02:38 +02:00
Matthijs ter Woord
c083c8f35f
Add kernel panic method to debugstub.
2016-06-25 19:33:26 -04:00
Matthijs ter Woord
6e5d7620a9
Little progress.
2016-06-25 17:37:45 -04:00
Matthijs ter Woord
38e897543b
Ongoing progress integrating new memory model.
2016-06-25 15:30:58 -04:00
Matthijs ter Woord
3bfaf7f670
Make plugmanager not throw exceptions when plug targets are not found.
2016-06-25 12:16:51 -04:00
Matthijs ter Woord
1433340ba5
Generic plugs work now.
2016-06-25 10:52:50 -04:00
Charles Betros
f3bb974712
Progress on memory. Fix ldelem_ref.
2016-06-24 21:38:55 -05:00
Matthijs ter Woord
19160c30d4
Now plugs which aren't being used aren't being compiled anymore.
2016-06-24 15:26:31 -04:00
Charles Betros
bae772237f
Added missing debugstub plug.
2016-06-24 10:27:00 -05:00
Matthijs ter Woord
610f2b652a
Geting closer on zork.
2016-06-23 18:12:28 -04:00
Matthijs ter Woord
3bc4ea78dd
Some basic improvements.
2016-06-23 16:36:08 -04:00
Matthijs ter Woord
989cc0cb4b
.
2016-06-23 11:04:34 -04:00
Matthijs ter Woord
83e1ae9edc
Progress.
2016-06-22 16:32:16 -04:00
Matthijs ter Woord
96bf9209de
Ongoing fixes.
2016-06-22 15:55:32 -04:00
Matthijs ter Woord
e97100d4e6
More progress.
2016-06-22 11:27:21 -04:00
Matthijs ter Woord
8a40af1b87
More ongoing progress. Getting closer to being able to run again..
2016-06-21 21:03:46 -04:00
Matthijs ter Woord
7f94d132be
Even more ongoing progress.
2016-06-21 20:34:27 -04:00
Matthijs ter Woord
1ac8619640
More ongoing progress.
2016-06-21 20:00:33 -04:00
Matthijs ter Woord
ada707f1d6
Ongoing progrss.
2016-06-21 19:19:08 -04:00
Matthijs ter Woord
4641286f0f
More progress on ram.
2016-06-21 18:57:38 -04:00