Commit graph

115 commits

Author SHA1 Message Date
José Pedro
14bf74389c
Added back float and double parsing tests, accidentally removed in the previous commit. 2018-01-14 19:12:14 +00:00
José Pedro
71e754fe2f
BCL tests. 2018-01-14 16:58:25 +00:00
José Pedro
0142e03c0d
Added a workaround to fix e_sqlite3.dll loading.
Added NoWarn="NU1604" to package references in the kernel projects.
Fixed project reference paths in TRKernel.csproj.
Project file cleanup.
2018-01-08 17:49:19 +00:00
José Pedro
280defa822
Merge branch 'master' of https://github.com/CosmosOS/Cosmos into project-system 2018-01-07 15:55:27 +00:00
fanoI
5d18c212f5 Implemented requested changes 2018-01-05 20:02:53 +01:00
fanoI
d19e3f867b Merge branch 'master' of https://github.com/CosmosOS/Cosmos
# Conflicts:
#	Tests/Cosmos.TestRunner.Core/DefaultEngineConfiguration.cs
2018-01-03 22:22:31 +01:00
fanoI
b33724190b Finally Directory.Info function again calling the right plug too: IFileSystemObject_get_Exists!
- Modified String.Compare() to be totally managed code & added tests
- Clean up
2018-01-03 22:17:51 +01:00
Jasper
2049d9c508 Moved float tests to single tests 2017-12-31 17:26:40 +01:00
Jasper
c2b83a6779 Fixed Pow function to handle edge cases and wrote tests to check that they are handled correctly. 2017-12-31 16:50:18 +01:00
Jasper
fe9b4c7e1d Completed requested changes 2017-12-30 18:42:38 +01:00
Jasper
3c308271ee Added tests for Double and Float parsing 2017-12-30 17:44:30 +01:00
Jasper
527108dcdb Added tests for Math.Exp and Math.Pow 2017-12-30 12:22:26 +01:00
José Pedro
b7b020f575
Upgraded Cosmos projects to the new format.
Removed test kernel Cosmos projects.
2017-12-27 02:44:51 +00:00
fanoI
f2016193ba Merge branch 'master' of https://github.com/CosmosOS/Cosmos
# Conflicts:
#	Test.sln
#	Tests/Cosmos.Compiler.Tests.Bcl/Kernel.cs
2017-12-24 21:34:41 +01:00
José Pedro
e69656c127
Added tests. 2017-12-17 18:53:30 +00:00
fanoI
51fac7ada4 Plugged FileInfo
- Added tests for FileInfo
- Added tests for Binary Reader/Writer
- Unified StreamReader and StreamWriter in a unique test
2017-12-10 20:35:29 +01:00
fanoI
1719083522 Make EncodingTest compile :-( 2017-12-01 22:22:01 +01:00
fanoI
299c155f4c Removed a lot of plugs from File: the promise is mantained it uses StreamReader / StreamWriter directly
- CosmosEncoding replacement of Encoding is not needed: Encoding runs perfectly on Cosmos!
- Added tests to BCL for UTF8Encoding
- StreamWriter does not needs a plug anymore, TextWriter is plugged instead but the plug is really the Ctor only
- Commented COSMOSDEBUG
2017-12-01 22:21:15 +01:00
fanoI
81234d1cd9 StreamReader implemented but found bug in IL2CPU plug resolution :-( 2017-11-18 11:12:17 +01:00
fanoI
eb0a469315 Merge branch 'master' of https://github.com/CosmosOS/Cosmos
# Conflicts:
#	Test.sln
#	Tests/Cosmos.Kernel.Tests.Fat/Kernel.cs
#	Tests/Cosmos.TestRunner.Core/TestKernelSets.cs
2017-10-29 18:09:47 +01:00
José Pedro
3b6cade435 Fixed Array.Copy. 2017-10-27 22:45:31 +01:00
José Pedro
047cbecde6 String tests. 2017-10-23 20:48:25 +01:00
José Pedro
054897c50e Merge latest from master. 2017-10-23 01:35:11 +01:00
Charles Betros
fbdb7c1b9e Dictionary work 2017-10-15 11:32:26 -05: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
José Pedro
a63f4eaa5a Moved to .NET Core 2.0. 2017-08-24 19:20:44 +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
Kudzu
84c04fb685 Merge branch 'master' of https://github.com/CosmosOS/Cosmos 2017-07-30 14:26:01 -04:00
José Pedro
aaa5886c72 g3 2017-07-29 19:50:57 +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
54a87048f8 Cosmos.System_Plugs 2017-07-12 14:23:19 -04:00
José Pedro
cb8d97af93 Test.sln. 2017-07-04 03:07:36 +01:00
Kudzu
e70afe3165 Few more fixes 2017-07-03 18:49:38 -04:00
Kudzu
b9181e016e Compiler.sln 2017-06-28 16:41:25 -04:00
Charles Betros
7468ab1339 Local names and caching. Minor csproj changes. 2017-06-10 12:35:21 -05:00
José Pedro
9c90f7eaae Merge branch 'master'. 2017-05-22 01:51:41 +01:00
jp2masa
686904c918 Merge pull request #525 from zarlo/Dictionary
Dictionary test
2017-05-21 20:11:04 +01:00
José Pedro
5096e3cd90 Merge branch 'master'. 2017-05-04 01:18:50 +01:00
Charles Betros
a319a3f97e VS 2017 work. 2017-03-19 09:29:46 -05: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
32d1f2502d Fixed some plugs.
Fixed DebugConnector.Thread.
Compiler fixes.
2017-02-09 19:55:49 +00: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
296ca05ab0 Get references. 2017-01-22 09:07:37 -06:00