Commit graph

701 commits

Author SHA1 Message Date
GeomTech
e7445ca6b0 TestRunner 2017-10-05 21:53:29 +02:00
fanoI
f83aef39b0 Removed from DirectoryImpl.cs all the method that did not need plug anymore: CosmosFileSystem methods are called directly from Net Core code, the only remaing plugs are the ones that need IEnumerable to work. 2017-10-01 16:45:04 +02:00
fanoI
b509da1690 Merge branch 'master' of https://github.com/CosmosOS/Cosmos
# Conflicts:
#	Tests/Cosmos.Kernel.Tests.Fat/Kernel.cs
2017-09-24 19:59:52 +02:00
fanoI
806e6e9e89 More FAT work
- Make DirectoryInfo work
- Refactored FAT TestRunner in a similar way to the BCL one
- Bugfix: Path.GetTempPath() did not returned a complete path
- Added to VFS "naive" support to Get / Set file attributes (for now only Get is supported)
- Added more debug logs
2017-09-24 18:12:58 +02:00
GeomTech
c6f76fb49b Merge pull request #7 from Alve-OS/FileDirectoryImplUpdate
Copy File Fixes
2017-09-02 22:41:55 +02:00
Alexy
32021ffcf5 Add TestRunner 2017-09-02 22:33:53 +02:00
KingLuigi4932
9e868d4623 Uncomment WriteAllLines Test 2017-09-02 09:31:06 -07:00
fanoI
69c4178686 Merge branch 'master' of https://github.com/CosmosOS/Cosmos 2017-08-28 19:40:32 +02:00
José Pedro
a63f4eaa5a Moved to .NET Core 2.0. 2017-08-24 19:20:44 +01:00
fanoI
6d2f9d5a8d [NOT MERGE THIS] Stack Overflow everywhere
During the test and plugging of DirectoryInfo I've benn hit by a lot of stack overflows / stack corruptions.
I do this PR because I've not the necessary competency to find where the issue his, executing the Cosmos.Kernel.Tests.Fat.Kernel you will be soon hit by a stack overflow.
2017-08-22 13:23:23 +02:00
fanoI
6632bfb1d7 Changed the StackCorruptionDetectionLevel to MethodFooters this should fix the timeout in AppVoyer tests. 2017-08-16 22:18:20 +02:00
José Pedro
3d6e040bb0 Tests. 2017-08-11 19:00:16 +01:00
José Pedro
8130894592 Tests. 2017-08-11 02:25:11 +01:00
Kudzu
47aff268ed Cosmos.Assembler --> XSharp.Assembler 2017-08-10 20:59:32 -04:00
José Pedro
e1f58681d2 g3 2017-08-10 22:17:28 +01:00
Kudzu
fa4c223452 Move again because of submodules being less than half baked in git. 2017-08-10 16:04:19 -04:00
Kudzu
fa00b78441 New Cosmos parent dir 2017-08-08 11:29:41 -04:00
José Pedro
ad34bd4a2a g3 2017-08-07 19:21:02 +01:00
José Pedro
92f6901e6a g3 2017-08-06 22:08:01 +01:00
José Pedro
e8cc603b2e g3 2017-08-06 22:05:25 +01:00
José Pedro
42addb2b1e g3 2017-08-06 21:59:59 +01:00
José Pedro
f5143e5570 g3 2017-08-06 20:08:41 +01:00
José Pedro
5c99b1f02d Removed UseNAsm. 2017-08-06 17:15:43 +01:00
José Pedro
3a4260b975 Fixed tests. 2017-08-01 22:36:24 +01:00
Kudzu
588df55491 Merge branch 'master' of https://github.com/CosmosOS/Cosmos 2017-07-31 13:06:21 -04:00
Kudzu
adce540d36 g3 2017-07-31 13:06:18 -04:00
José Pedro
a25cf964c1 g3 2017-07-30 20:17:18 +01:00
José Pedro
65f96f88e9 g3 2017-07-30 19:44:19 +01:00
Kudzu
84c04fb685 Merge branch 'master' of https://github.com/CosmosOS/Cosmos 2017-07-30 14:26:01 -04:00
José Pedro
35c751adb6 g3 2017-07-30 17:59:17 +01:00
José Pedro
aaa5886c72 g3 2017-07-29 19:50:57 +01:00
José Pedro
be21703c3f g3 2017-07-29 01:46:00 +01:00
José Pedro
6cb4b02a21 g3 2017-07-28 19:54:19 +01:00
José Pedro
fff6d5b3b3 g3 2017-07-28 00:27:27 +01:00
José Pedro
8019003479 g3 2017-07-27 19:24:41 +01:00
invisal
0cee95b948 Add EqualityHelper.DoubleAreEqual() 2017-07-21 10:25:54 +07:00
invisal
28a0eee023 Fixed the Math.Sqrt() test case where Math.Sqrt(0) == 0 2017-07-20 20:03:13 +07:00
invisal
bb684a1379 Handle edge case and more test case for Math.Sqrt() 2017-07-20 19:37:01 +07:00
invisal
6b46e948ce Improve Math.Sqrt() implementation. 2017-07-20 12:31:07 +07:00
José Pedro
c0c0884f5f Fixes. 2017-07-17 19:48:21 +01:00
José Pedro
32bce706ac Array.Copy fix.
Added List tests.
2017-07-16 22:28:30 +01:00
Kudzu
d7afd9b4ec sorting 2017-07-14 14:40:22 -04:00
Kudzu
484c7be346 Merge Cosmos.Core.Memory down into Cosmos.Core 2017-07-13 15:04:52 -04:00
Kudzu
84b0b0184d Cosmos.IL2CPU.Plugs is now Cosmos.IL2CPU.API 2017-07-13 13:05:05 -04:00
Kudzu
54a87048f8 Cosmos.System_Plugs 2017-07-12 14:23:19 -04:00
José Pedro
ffbabe7cb9 Test.sln fixes. 2017-07-06 17:58:22 +01:00
José Pedro
cb8d97af93 Test.sln. 2017-07-04 03:07:36 +01:00
Kudzu
95103ea9fd more ref fixes 2017-07-03 19:30:41 -04:00
Kudzu
e70afe3165 Few more fixes 2017-07-03 18:49:38 -04:00
Kudzu
066182d8b4 WORKS 2017-07-03 18:26:07 -04:00
Charles Betros
6018475507 Revert "Rename Cosmos.Core_Asm to Cosmos.Core.Asm."
This reverts commit e8fabb7eef.
2017-07-03 09:51:51 -05:00
Charles Betros
e8fabb7eef Rename Cosmos.Core_Asm to Cosmos.Core.Asm. 2017-07-02 16:31:57 -05:00
Kudzu
f063206f21 SLN 2017-07-02 12:53:01 -04:00
Kudzu
5d0a7ba84c Kernel 2017-07-01 13:48:32 -04:00
Kudzu
b9181e016e Compiler.sln 2017-06-28 16:41:25 -04:00
Kudzu
71ec45c583 Bin Cache changes 2017-06-28 13:56:00 -04:00
Kudzu
0d0838d537 Readme 2017-06-28 10:58:02 -04:00
Kudzu
92ab366223 Kernel sln work 2017-06-22 11:39:22 -04:00
José Pedro
354e913e4e Merge branch 'master' of https://github.com/CosmosOS/Cosmos into netcore 2017-06-11 01:15:48 +01:00
Charles Betros
7468ab1339 Local names and caching. Minor csproj changes. 2017-06-10 12:35:21 -05:00
José Pedro
2493690980 Fixed debugger bug. 2017-06-01 22:17:19 +01:00
José Pedro
eb65f3f775 Fix AppVeyor. 2017-05-29 21:23:51 +01:00
Charles Betros
52270342ce Add dependencies so they are build when using test runner. 2017-05-28 15:41:57 -05:00
Charles Betros
25b71c5159 No need to build il2cpu when using test runner. 2017-05-28 13:52:47 -05:00
jp2masa
d4fc437d9e Merge pull request #646 from nuhash/DrawCircle
Implemented additional drawing function as per issue #603
2017-05-23 19:28:17 +01:00
NuHash
feffe0a39f Made requested changes
Made DrawPolygon variadic
Included exception handling for drawing out of bounds
Updated CGS demo
2017-05-22 22:51:07 +01:00
José Pedro
9c90f7eaae Merge branch 'master'. 2017-05-22 01:51:41 +01:00
NuHash
de938b21e8 Commented out GraphicsTest 2017-05-21 22:30:21 +01:00
NuHash
fa5b7e30b7 Completed DrawPolygon method
Create Point and PointsCollection classes to make it easier to use.
2017-05-21 22:27:19 +01:00
jp2masa
b9b777e17d Merge pull request #550 from Suchiman/master
Added basic Hyper-V support
2017-05-21 20:29:03 +01:00
jp2masa
686904c918 Merge pull request #525 from zarlo/Dictionary
Dictionary test
2017-05-21 20:11:04 +01:00
NuHash
8476a1f0fd DrawCircle and DrawEllipse
Need to implement Bresenham
2017-05-21 02:23:00 +01:00
José Pedro
4d68d027d4 Project build fixes. 2017-05-19 21:57:58 +01:00
José Pedro
490506edab Added back the MemberwiseClone plug.
Fixed issue with dotnet sdk version.
2017-05-16 22:29:02 +01:00
José Pedro
2d0ab5be77 Project build fixes. 2017-05-12 01:41:02 +01:00
José Pedro
5e5f2d564b Finished merging. 2017-05-04 18:50:52 +01:00
José Pedro
5096e3cd90 Merge branch 'master'. 2017-05-04 01:18:50 +01:00
José Pedro
7cc7a8d16b Fixed the debug engine.
Added kernel packages to installation.
2017-05-03 00:34:28 +01:00
José Pedro
0dccc8e69b Tests and debugger fixes. 2017-05-01 21:19:50 +01:00
José Pedro
7228f90bc4 Tests fixes.
Improved IL2CPU assembly loading.
Fixed PlugManager bug.
2017-04-27 00:48:18 +01:00
José Pedro
ab8de001e0 Tests fixes. 2017-04-25 00:28:03 +01:00
José Pedro
02a006318d Fixes. 2017-04-18 15:13:36 +01:00
José Pedro
78d4bdb326 Installer work.
Updated NuGet to v4.0.0
Fixed Cosmos.Debug.Hosts.VMWare
2017-03-23 23:45:16 +00: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
0e73e13a3b Fixed build.
Moved Cosmos Graphic Subsystem project to Demos.
2017-03-07 00:26:59 +00:00
fanoI
6e33a51bd7 Is AppVoyer happy now? 2017-03-05 23:34:23 +01:00
fanoI
db5b713090 CGS is finally ready to be used! Let's merge it...
- To solve the slowness of the MemoryBlock Fill() method when the block has a big size I've created a new class for this MemoryOperations that for now contains only the method Fill() with a part implemented in ASM and with some overloads to semplify its usage from managed code. In future in this class will be added other methods to operate fast on memory for example Cmp() and Copy().
- Adding (not passing) test of the Color struct to the BoxingTest kernel
- Removed BoxingTest kernel inside BCL test: it was a duplicate of the BoxingTest kernel
- Restored correct TestKernelSets
- In the CGS Test kernel the last rectangle is now LimeGreen instead of another type of red (more clear that is working correctly)
- Added to X# the generation of the instruction Shuftps
- Added to X# the generation of the instruction MoveUPS
- Modified Guess Demo to wait for a key press to terminate (it closed suddenly in case the number was guessed)
- The VBE IOMemoryBlock has again size of 1920x1200 (the max usable)
- Added CGS Demo
- Code clean up
2017-03-05 20:32:55 +01:00
José Pedro
54e51344bf Test Runner fixes. 2017-02-26 22:30:12 +00:00
José Pedro
1713e41024 Test Runner fixes. 2017-02-26 22:16:44 +00:00
José Pedro
91bacb5210 Updated packages. 2017-02-26 15:40:53 +00:00
José Pedro
c87ac235b9 Updated packages. 2017-02-26 15:29:53 +00:00
José Pedro
56c74b6701 Fixed tests.
Updated LICENSE.txt
2017-02-25 23:49:02 +00:00
José Pedro
37f1e69816 Fixes on test projects. 2017-02-25 20:15:33 +00:00
José Pedro
42c94219b2 Fixed appveyor tests. 2017-02-25 19:41:55 +00:00
José Pedro
5ca1b2b6ff Fixed appveyor tests. 2017-02-25 19:20:53 +00:00
José Pedro
c20bf21e3d Installer fixes. 2017-02-25 18:29:45 +00:00
José Pedro
97cefc73eb Appveyor fixes. 2017-02-21 16:19:41 +00:00
José Pedro
8c37df18af Test Runner fixes. 2017-02-20 20:36:12 +00:00
José Pedro
e6dedfbba9 Fixed Stind_I1 and Stind_I2. 2017-02-19 01:55:02 +00:00
José Pedro
6da5a0060a Plugs fixes. 2017-02-12 01:08:29 +00:00
José Pedro
eb2c2eec14 Plugs fixes. 2017-02-09 22:43:27 +00:00
José Pedro
32d1f2502d Fixed some plugs.
Fixed DebugConnector.Thread.
Compiler fixes.
2017-02-09 19:55:49 +00:00
José Pedro
8bcc922f71 Fixed AppVeyor test project. 2017-02-03 19:59:18 +00:00
José Pedro
b216608e3f Fixed Cosmos.sln
Fixed some unit test projects.
2017-02-03 15:29:11 +00:00
José Pedro
1ec74b94a8 Fixes. 2017-02-03 12:53:07 +00:00
José Pedro
fc2fe6195f Fixes. 2017-02-03 00:53:08 +00:00
Charles Betros
064ef18f9b Change some app.config. 2017-02-02 15:12:52 -06:00
Charles Betros
cadc917530 Add dapperextensions project, some work on install, and testrunner. 2017-02-02 07:39:44 -06:00
Charles Betros
04c5db4791 Get user kit path from build common. 2017-01-31 15:39:24 -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
38626920d2 Added buffer plugs and changed some project configs to any cpu. 2017-01-29 22:59:35 -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
fanoI
73aa970508 CGS finally works!
Please note that this version works only with Bochs.

- To make it works was needed to renounce to all structures (a part for primitive types) so now Mode and Color are classes.
- Implemented methods of Canvas DrawPoint(), DrawLine() and DrawRect() for now only color depth of 32 bit and integer coordinates are supported
- Changed IoPort of Bochs / VBE to MemoryBlock and not MemoryBlock08 so I can write an 32 bit ARGB color in only an operation instead of 4, this will semplify the future
  work of RGB24 and RGB16 too. Changed the name to the correct one "LinearFrameBuffer".
- Made VBEDriver more object oriented (used enums instead of hardcoded values, created methods and so on...)
- Bugfix in the Pen class there was confusion in the setter / getter of the Color property
- In VBEScreen removed the old code that is not needed anymore, added check to method arguments (that throws in case of fatal errors)
2017-01-08 22:57:27 +01: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
10cfcbea73 Progress on netcore. 2016-12-28 00:27:54 -06:00
Suchiman
4425f66984 Remove outdated comments 2016-12-27 17:22:15 +01:00
Suchiman
570dd62085 Added basic Hyper-V support 2016-12-27 01:20:09 +01: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
fanoI
86ff377084 First release of CGS, really preliminar work.
The kernel crashes for stack overflow :-)
2016-12-18 16:33:23 +01:00
Charles Betros
411ce3e872 Create projects and msbuild targets for dotnet core. 2016-12-13 22:39:41 -06:00
kaleb
ef489b0f2f Dictionary test 2016-12-02 20:00:09 +10:00
José Pedro
8e2aa72d4e Fix FAT test.
Minor changes in ToHexString and the FAT test.
2016-11-19 22:43:15 +00: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
4beeee98ab Enable some tests and small change to fat allocation. 2016-11-03 14:02:44 -05:00
Charles Betros
ee3a8e7b62 Enable fat tests. 2016-11-02 23:30:30 -05:00
Charles Betros
a887cf87a0 Foreach tests. 2016-11-02 13:34:26 -05:00
Charles Betros
04ca044e34 Add array copy test. 2016-11-02 04:36:13 -05: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
1d6c9ecae8 Tests fixes and minor changes 2016-10-02 18:59:11 +01: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
Charles Betros
71dfaac745 Merge from master 2016-09-07 19:24:30 -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
fanoI
74534282bc Merge pull request #448 from jp2masa/TestsUpdate
Tests Update
2016-08-30 13:56:11 +02:00
José Pedro
b60a78725f Added Copy Message option. Added autoscroll to the ListView. Fixed ListView column autosize. 2016-08-28 19:41:30 +01:00
José Pedro
479c5ed8ff Comment failing tests 2016-08-27 17:25:25 +01:00
Charles Betros
85103e9d9b RAT progress 2016-08-26 07:02:18 -05:00
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
José Pedro
92dad7b905 Merge branch 'master' of https://github.com/CosmosOS/Cosmos into TestsUpdate 2016-08-23 16:48:19 +01: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
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
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
Charles Betros
73b81c7bcc Working on rat. 2016-08-18 07:32:45 -05:00
José Pedro
ed181c503c Added "Save Log" button to the Test Runner UI. Added tests for StreamReader, StreamWriter, BinaryReader and BinaryWriter for FAT. Added MemoryStream tests. 2016-08-11 17:02:23 +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
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
Matthijs ter Woord
6161cccd17 Fix test now. 2016-06-28 10:16:35 -04: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
Charles Betros
45e00533f6 Disable run in process for il2cpu in test runner. 2016-06-26 13:50:45 -05:00
Matthijs ter Woord
9ba48ed61f Test to see if running multiple works ok. 2016-06-26 14:49:49 -04:00
Charles Betros
1bb7d6335f Merge from master. 2016-06-26 13:44:56 -05: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
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
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
Matthijs ter Woord
e97100d4e6 More progress. 2016-06-22 11:27:21 -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
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
Matthijs ter Woord
4641286f0f More progress on ram. 2016-06-21 18:57:38 -04:00
Matthijs ter Woord
5e8a93b0c3 Ongoing work on memory. 2016-06-21 18:34:23 -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
Matthijs ter Woord
65c83f9491 Ongoing changes for memory. 2016-06-20 19:44:16 -04:00
Matthijs ter Woord
6be879d25a Progress on heap. 2016-06-20 13:10:34 -04:00
Matthijs ter Woord
4bdfbab03c Merge remote-tracking branch 'origin/master' into rat 2016-06-20 12:51:11 -04: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
030ba36636 Fix loading fields larger than 4 bytes from structs on the stack. 2016-06-18 14:00:58 -04: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
Matthijs ter Woord
82330b4b48 Initial work to move out the heap to a separate project. 2016-06-10 11:42:30 -04:00
Matthijs ter Woord
0201b140e8 Add tests for while loops. 2016-06-10 11:09:05 -04:00
Matthijs ter Woord
fe9cbbe9ff Console.ReadKey should work now as well. 2016-06-09 07:56:29 -04:00
Matthijs ter Woord
df0f38aad8 Add a (disabled) test for Console.ReadKey 2016-06-08 18:16:19 -04:00
Matthijs ter Woord
f17ac8e797 Add test for Int64.Parse 2016-06-08 18:15:57 -04:00
fanoI
a5bd158514 Merge branch 'master' of https://github.com/CosmosOS/Cosmos
# Conflicts:
#	Tests/Cosmos.Compiler.Tests.Bcl/Kernel.cs
#	source/Cosmos.Core/CPU.cs
2016-05-28 14:33:11 +02:00
fanoI
58c556f085 - Initial work as for https://github.com/CosmosOS/Cosmos/issues/359
- Added Console.Clear() to Guess Demo (the boot text remained on screen)
- Added to BCL test BitConverterTest (all failing), test for single / double arithmetic operations
- Added to TestRunner BCLTest
2016-05-21 18:55:39 +02:00
Charles Betros
720f6187ed Fixed issue with writing to a new file in a new directory. 2016-05-18 16:08:56 -05:00
Charles Betros
f19063ccc9 Fixed ldelema and disabled float and double tests. 2016-05-15 13:44:09 -05:00
Charles Betros
00ba897866 Enable all test kernels. 2016-05-12 13:13:59 -05:00
Charles Betros
bf6f97756a Fixed create directory and directory exists. 2016-05-11 22:36:00 -05:00
Charles Betros
ef9282836b Fixed keyboard interrupt, generics, and double. 2016-04-14 13:26:54 -05:00
Charles Betros
31e5c09885 Aaded methods to the debugger for long, float, and double. 2016-04-08 22:50:33 -05:00
fanoI
66a834bbce Added Bitconveter test of floats (that have success!) 2016-03-31 01:21:24 +02:00
fanoI
cc9d349b12 - Added Bitconverter tests (fails for Double)
- Added to tests of Long and Ulong conversion between them
2016-03-30 22:04:02 +02:00
Charles Betros
653b7a8321 Fixed Get directory listing with subdirectory. 2016-03-24 22:35:59 -05:00
Charles Betros
b283a07631 Update .net versions. 2016-03-13 20:42:09 -05:00
Charles Betros
789db4ea3d Don't run il2cpu in process. 2016-03-13 16:24:36 -05:00
Charles Betros
2de021685e Fix up packages. 2016-03-13 13:14:37 -05:00
Charles Betros
ca027b4fc5 Enable all tests. 2016-03-13 13:00:29 -05:00
Charles Betros
8937b5c11a Merge branch 'master' of https://github.com/CosmosOS/Cosmos.git 2016-03-13 12:49:12 -05:00
Charles Betros
0bef9a8fac Updating solution config. 2016-03-13 12:27:58 -05:00
fanoI
35583c657a Merge branch 'master' of https://github.com/CosmosOS/Cosmos
# Conflicts:
#	Demos/Guess/GuessOS.cs
#	Tests/Cosmos.Compiler.Tests.Bcl/Kernel.cs
#	source/Cosmos.System.Plugs/Cosmos.System.Plugs.csproj
2016-03-07 21:23:11 +01:00
Charles Betros
4a3b6a50df Fixed up project and solution configurations and remove jetbrains annotations. 2016-03-06 17:33:21 -06:00
Charles Betros
c12022c893 Got constrained callvirt working. 2016-03-05 23:56:27 -06:00
fanoI
eb533357b0 - Correctly plugged Enum's GetHashCode()
- Removed GetHashCode() methods that were not really needed
- Plugged class CultureInfo for GetHashCode()
- Plugged class Runtime.CompilerServices for GetHashCode()
- Plugged class RuntimeTypeImpl for GetHashCode()
- Fixed tests that were failing using true .NET GetHashCode()
- Fixed IL Interpreter added SHIFT, AND, XOR... for sbyte and short
2016-03-05 23:10:06 +01:00
Charles Betros
559ee8570a Filesystem work. 2016-03-02 15:57:53 -06:00
fanoI
2c745389fe Trying to Plug GetHashCode() for all ValueTypes. 2016-02-28 22:39:20 +01:00
fanoI
f167ae91e6 Added a lot of tests for Primitive Types there a lot of failure for compiler bug or native methods that need to be implemented. Indeed the commited version is not compiling for GetHashCode() that cannot be plugged... 2016-02-28 16:32:25 +01:00
Charles Betros
5b35e17502 Fixed Path 2016-02-25 12:00:06 -06:00
Charles Betros
a52ea7a514 Fixed invalid enum 2016-02-21 12:23:40 -06:00
Charles Betros
1f104d812b Revert "Added some globalization and culture plugs. Also added string and struct tests."
This reverts commit 815f2f78a4.
2016-02-21 10:16:00 -06:00
Charles Betros
815f2f78a4 Added some globalization and culture plugs. Also added string and struct tests. 2016-02-21 10:13:29 -06:00
fanoI
dacdd51814 Merge branch 'master' of https://github.com/CosmosOS/Cosmos 2016-02-21 14:19:52 +01:00
Charles Betros
6a0f0b7ea7 Removed duplicate test kernel. 2016-02-16 00:09:29 -06:00
Charles Betros
f5468fe2b0 Path mostly works. Added a bunch of exception strings to environment. 2016-02-15 22:35:08 -06:00
Matthijs ter Woord
8d7bc0336b Disable tests 2016-02-16 00:15:40 +01:00
Charles Betros
ba6070dbe7 String and simple debugger change 2016-02-15 16:02:23 -06:00
Matthijs ter Woord
016bc6f680 Disable reporting in VS. 2016-02-15 12:13:00 +01:00
Matthijs ter Woord
86c2270b80 Disable UInt64 test. 2016-02-15 11:51:18 +01:00
Charles Betros
eba46c9287 Set test result 2016-02-15 04:25:27 -06:00
Charles Betros
ab57aace35 Merge from master 2016-02-15 01:56:27 -06:00
Charles Betros
6f50b73386 Changed build configuration 2016-02-15 01:29:03 -06:00
Charles Betros
b6d95e1668 Plugged a bunch of classes and implemented a few ilops. Removed most of Path plugs. 2016-02-14 13:07:26 -06:00
Matthijs ter Woord
c2697b07a3 Another ongoing fix 2016-02-14 15:38:16 +01:00
Matthijs ter Woord
d34e66899b Enable kernel execution. 2016-02-14 15:22:48 +01:00
Matthijs ter Woord
5dc5170a6d Build fix. 2016-02-14 15:08:59 +01:00
Matthijs ter Woord
79c2d3d8ee Enable code to build. 2016-02-14 14:58:19 +01:00
Matthijs ter Woord
58d12e4c00 Ongoing work for tests. 2016-02-14 14:16:59 +01:00
Matthijs ter Woord
8692549855 Fix kernels. 2016-02-14 13:09:31 +01:00
fanoI
d7cad937fd Merge remote-tracking branch 'refs/remotes/CosmosOS/master' 2016-01-17 20:27:12 +01:00
Charles Betros
f2b4d7d6bb Just some testing code. 2016-01-16 12:54:35 -06:00
Charles Betros
98d8336882 Fixed TraceAssemblies 2016-01-16 12:53:37 -06:00
Charles Betros
d9e88d83f6 Added single and double to debugger SendNumber. 2016-01-16 12:52:41 -06:00
fanoI
a260690028 Merge remote-tracking branch 'refs/remotes/CosmosOS/master' 2016-01-15 00:43:08 +01:00
fanoI
19520aed94 Revert "Revert "Merge remote-tracking branch 'refs/remotes/CosmosOS/master'""
This reverts commit 40db33bb9b.
2016-01-15 00:33:50 +01:00
fanoI
40db33bb9b Revert "Merge remote-tracking branch 'refs/remotes/CosmosOS/master'"
This reverts commit 1b7960c18d.
2016-01-15 00:18:57 +01:00
fanoI
093e6777b4 Revert "Restored Files that should not be changed"
This reverts commit 4606bc84c7.
2016-01-15 00:18:52 +01:00
fanoI
102b5357ef Revert "The Original property file should be restored"
This reverts commit ab504a8478.
2016-01-15 00:18:47 +01:00
fanoI
ab504a8478 The Original property file should be restored 2016-01-14 21:10:00 +01:00
fanoI
4606bc84c7 Restored Files that should not be changed 2016-01-14 20:58:26 +01:00
fanoI
1b7960c18d Merge remote-tracking branch 'refs/remotes/CosmosOS/master'
Conflicts fixed!
2016-01-14 20:50:56 +01:00
fanoI
ee11522200 Merged master fixed conflict. 2016-01-14 20:49:49 +01:00
Charles Betros
d559463c85 Merge branch 'master' of https://github.com/fanoI/Cosmos into fanoI-master
# Conflicts:
#	source/Cosmos.System.Plugs/System/IO/FileImpl.cs
#	source/Cosmos.System/FileSystem/FAT/FatStream.cs
2016-01-14 13:33:04 -06:00
Charles Betros
5c923da992 Compiler error. 2016-01-14 12:27:20 -06:00
Charles Betros
06fe844e67 Merge pull request #319 from charsleysa/patch-1
Updated Exceptions test runner
2016-01-12 22:57:43 -06:00
Charles Betros
ac423d389c Merge 2016-01-06 22:14:41 -06:00
Charles Betros
aaa0bb3eb6 Fixed string split and compare ordinal. Made some chnages to debug nessages to showmring and section. 2016-01-06 22:07:30 -06:00
fanoI
41d6aaf2c0 Re-enabled all tests
- TestPath, TestDirectory and TestFileStream was commented
2016-01-06 22:24:19 +01:00
fanoI
bfc3934be0 FATStream Constructor Fixed: FatTable generated for empty files too
- FATStream Constructor Fixed: FatTable generated for empty files too
- Corrected method WriteAllLines()
- Added new method ReadAllLines()
- In FatTestKernel added utility method StringArrayAreEquals()
- In FatTestKernel fixed assertions on file existence
- In FatTestKernel used ReadAllLines() to check that WriteAllLines()
succeeded
- In FatTestKernel moved AppendAllText() test as last of File as - for
now - is always failing
2016-01-06 22:21:52 +01:00
Stefan Andres Charsley
07750e4004 Updated Exceptions test runner
- Updated test runner to include exception filtering tests
2016-01-04 21:37:49 +13:00
fanoI
f4d627d22e Added new (failing) tests on FAT
- Added test to write another file in the same directory
- Added test for new method WriteAllLines()
- Added test for method WriteAllBytes() / ReadAllBytes()
- Added tests to create files in a subdirectory
- Added utility method byteArrayAreEquals()
2015-12-30 22:15:19 +01:00
fanoI
77a49293c8 TestFileStream() assertion fix 2015-12-27 18:43:14 +01:00
fanoI
5221adad8c FAT fixes
- GetFileName() of root directory does not correctly returned null
- GetExtension() returned the extension with the '.'
- Modified TestFile() to overwrite the file with the expected value or
the test will be OK only the first time
- Corrected the tests of GetFileName(), GetFileNameWithoutExtension()
- Added new tests
- Re-enabled TestFileStream()
2015-12-27 17:35:48 +01:00
Charles Betros
ac13fb8ced Fixed tests. 2015-12-20 13:42:06 -06:00
Charles Betros
a7ff742e2a Latest file system tets. 2015-12-20 09:46:09 -06:00
Charles Betros
1a2ed6b720 Fixed speed issue with the heap. 2015-12-18 12:28:24 -06:00
Charles Betros
519e58dd44 Removed unused project. 2015-12-18 09:44:39 -06:00
Charles Betros
e98b7c136c Moved fat test kernel to tests folder. 2015-12-18 08:58:50 -06:00