Commit graph

280 commits

Author SHA1 Message Date
Charles Betros
4ab093e732 Merge pull request #394 from MichaelTheShifter/fat-stuff
Adds plug for System.IO.File.Delete(), and adds deletion capabilities to FAT.
2016-08-24 20:17:55 -05:00
fanoI
b16b034ff9 Restored Int32 tests and added another concat test to String. 2016-08-24 14:21:18 +02:00
fanoI
709741d569 Added file DictionaryTests.cs with preliminary not passing test of Dictionary BCL class 2016-08-22 17:18:40 +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
Charles Betros
3f47a50ea0 Comment failing tests. 2016-08-18 23:29:03 -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
jp2masa
34bd089a69 Small Fix to FAT Test 2016-08-18 20:35:11 +01:00
José Pedro
24ed9f66e3 Fix error in FAT test 2016-08-18 18:55:18 +01:00
José Pedro
153cde7d5e - CosmosVFS.GetDirectoryListing(DirectoryEntry): "Argument is null or empty" error - Fixed
- File.Delete and Directory.Delete implementations - Fully Working

- Change Guess demo references to Project References - Done
2016-08-18 15:32:29 +01:00
fanoI
e6143b75df Source lose some changes... forced them! 2016-07-31 19:55:12 +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
790ba2312c Added test for conversion to float to ulong 2016-07-03 19:28:13 +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
Matthijs ter Woord
c5197f7f09 Build server is fixed now? Seems like a bug in NUnit 3.2.1. Script now installs 3.4.0. 2016-06-28 08:53:24 -04:00
Matthijs ter Woord
e66d787493 . 2016-06-27 08:57:25 -04:00
Matthijs ter Woord
bb7282322d More attempts to fix appveyor build.. 2016-06-27 08:51:30 -04:00
Matthijs ter Woord
9ba48ed61f Test to see if running multiple works ok. 2016-06-26 14:49:49 -04:00
Matthijs ter Woord
3f78163e87 Enable all kernels except FAT. 2016-06-26 14:25:39 -04:00
Matthijs ter Woord
858bce5c79 Enable fat test. 2016-06-26 14:02:57 -04:00
Matthijs ter Woord
fba256eeac Attempt to fix build. 2016-06-26 13:22:33 -04:00
Matthijs ter Woord
785693fe8f Only for VGA crash and Fat test kernels and improved timeout even more. 2016-06-26 12:01:18 -04: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
1433340ba5 Generic plugs work now. 2016-06-25 10:52:50 -04:00
Matthijs ter Woord
a37de93ccb Enable all tests again. 2016-06-24 10:15:22 -04:00
Matthijs ter Woord
9c3a2dd6d5 Merge branch 'master' of https://github.com/CosmosOS/Cosmos 2016-06-24 10:12:48 -04:00
Matthijs ter Woord
bcf4b08719 Ongoing progress to get z-machine going. 2016-06-24 09:22:43 -04:00
Charles Betros
a18c034163 Merge branch 'master' of https://github.com/CosmosOS/Cosmos.git 2016-06-24 01:47:32 -05:00
Charles Betros
117a4b9053 Created a simple core dump 2016-06-24 01:47:18 -05:00
Matthijs ter Woord
3bc4ea78dd Some basic improvements. 2016-06-23 16:36:08 -04:00
MichaelTheShifter
903860a77d FAT File Deletion work.
Yet again, my hands are typing words. Jokes aside, deleting doesn't work
yet - but at least using System.IO.File.Delete() won't cause a plug
issue.
2016-06-21 19:38:44 -04:00
fanoI
49192ffa24 - Conv.r.un is now partially implemented: an uint can be converted to double, not working code for ulong to double conversion
- Added (not working) test for ulong to double conversion
- Added to Assembler.cs costants needed for floating point conversions
2016-06-21 23:03:37 +02:00
Charles Betros
5ded6d3cc1 Make testrunner fail if host shuts down. Also report failed if no results returned. 2016-06-19 10:20:43 -05:00
Charles Betros
1e55f613d8 Build config changes. 2016-06-19 09:18:22 -05:00
Charles Betros
19672c5be5 Fix project reference. 2016-06-19 06:14:30 -05:00
Charles Betros
01124218db Merge branch 'master' of https://github.com/CosmosOS/Cosmos.git 2016-06-18 21:21:51 -05:00
Charles Betros
54b1f7e19f Fixed test runner result. 2016-06-18 21:21:43 -05:00
Matthijs ter Woord
ae1b309426 Works now. 2016-06-18 11:40:17 -04:00
Matthijs ter Woord
4e426591d5 Merge branch 'crypto' of git://github.com/MichaelTheShifter/Cosmos into MichaelTheShifter-crypto 2016-06-18 10:34:53 -04:00
MichaelTheShifter
62c8c470c0 re-added sha1 test kernel
"MY HANDS ARE TYPING WORDS"
2016-06-17 09:00:34 -04:00
Matthijs ter Woord
8880f00892 Fix tests. 2016-06-17 08:46:28 -04:00
Charles Betros
b7809b0215 Fix string in the debugger locals and fix string test in bcl. 2016-06-16 22:02:12 -05:00
Michael VanOverbeek
843131515a Added SubString to string tests. (#382)
* Added ZMachine demo stuff to cosmos sln

* Changed references in frotz kernel to project references

* added substring test to string tests.

* Added more string tests

Added String.Split and $ tests.

* Added more string tests.

* Removed un-needed Substring project.
2016-06-16 21:39:44 -05:00
Matthijs ter Woord
be7b8a2a94 . 2016-06-16 12:30:38 -04:00
Charles Betros
257b9cff36 Change all unit tests to x86. 2016-06-14 23:43:02 -05:00
Charles Betros
280fdead4c Fix filesystem. 2016-06-14 23:20:10 -05:00
Matthijs ter Woord
d1447458af Implement Object.MemberwiseClone 2016-06-14 13:51:16 -04:00
Matthijs ter Woord
4d6fceb9e7 First step in improving x# and compiler. 2016-06-11 16:13:13 -04:00
Charles Betros
648ec56a6b Merge stack overflow check. 2016-06-10 16:42:02 -05:00