Commit graph

84 commits

Author SHA1 Message Date
fanoI
e240641863 Created plugs to make Hashtable work (at least when an object is key).
There are issue however:
1. IL2CPU modifications are needed (see the PR for the list of the PR of IL2CPU to merge to make this usable)
2. Some fix in IL2CPU seems to give problems with Dictionary (VMT problem again?)
3. Hashtable with valuetype as key doesn't work (ContainsKey() always return false)
2018-02-25 15:27:39 +01:00
fanoI
c8c2bdfc20 Dictionary<String, T> works finally! 2018-02-04 18:48:58 +01:00
fanoI
1fb30deebd Updated to the New Project System 2018-01-28 02:57:08 +01:00
fanoI
46d5c0b63a
Merge branch 'master' into extended-ascii 2018-01-27 21:15:05 +01:00
fanoI
c98978c70c Compiler.Tests.Bcl.System.Text -> Cosmos.Compiler.Tests.Bcl.System.Text 2018-01-27 21:12:08 +01:00
fanoI
7dadc52dc9 Fix merge conflicts 2018-01-27 20:17:17 +01:00
fanoI
4a990ac2af Added the concept of Encoding to the Console for now ASCII (default) and CP437 are supported (for others as CP858 I think it is needed to change font too)
- moved EncodingTest on Text subdir
- added ConsoleTest (not enabled by default)
- removed ASCIIEncodingImpl (it was not needed)
- Made plugs of Console better and added plugs for formatted versions
- Removed code to test Hashtable, Hashtable it will be a separate PR
2018-01-27 20:00:11 +01:00
ewoudje
22f67e6549 Thread.Sleep plug and added ThreadTest 2018-01-21 19:15:27 +01:00
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
fanoI
c50b581d91 More work on Encoding
- Resolved problem with UTF8Enconding.BaseName property
- Started work to plug Hashtable to make the Encoding / Decoding more efficient
2018-01-10 20:29:05 +01:00
fanoI
ff78034a1c Added CP437 and CP858 (DOS Latin1) support to Encoding, CP858 is not working for VMT bugs. 2018-01-07 21:25:07 +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
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
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
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
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
José Pedro
9c90f7eaae Merge branch 'master'. 2017-05-22 01:51:41 +01:00
José Pedro
32d1f2502d Fixed some plugs.
Fixed DebugConnector.Thread.
Compiler fixes.
2017-02-09 19:55:49 +00:00
kaleb
ef489b0f2f Dictionary test 2016-12-02 20:00:09 +10: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
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
Charles Betros
4b67c02f26 Fixed delegates and moved some assemblers. 2016-09-28 23:24:04 -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
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