Commit graph

81 commits

Author SHA1 Message Date
fanoI
e941c8561c Merge branch 'master' of https://github.com/CosmosOS/Cosmos into hashtable-work 2018-08-22 17:50:46 +02:00
valentinbreiz
2698b051fa
To hex plugged. .ToString("X") 2018-07-26 01:19:56 +02:00
fanoI
bd6d211f5d - Added tests for HashTable
- Changed plug in ArrayImpl taking 'this' as pointer with the ObjectPointerAccess attribute (this solves the foreach test in HashTable)
- Corrected Thread plug signature
- Corrected SpinWait plug signature
- Added plug for Decimal.Equal (strangely was not required before)
2018-04-30 21:40:53 +02:00
jp2masa
e8262d196c
Merge pull request #950 from CosmosOS/structs-tests
Tests for structs
2018-04-27 19:33:16 +01:00
fanoI
57dc7813d5
Merge pull request #955 from fanoI/driveinfo_work
Driveinfo work
2018-04-22 21:30:07 +02:00
fanoI
b3bd8cbd1e Merge branch 'master' of https://github.com/CosmosOS/Cosmos into hashtable-work 2018-04-15 14:32:23 +02:00
fanoI
7439eed145 Merge branch 'master' of https://github.com/CosmosOS/Cosmos into driveinfo_work 2018-04-15 13:29:57 +02:00
Siaranite
a1c72e1c51 Plugged Console.Beep
Not sure about nuget.exe must've upgraded during build.
2018-04-14 02:12:42 +01:00
fanoI
d2ecdfdeee First part of the work on DiskManager
- plugged DriveInfo
- added tests for DriveInfo
- added to VFS a new method RegisterFilesystem()
2018-04-13 17:43:00 +02:00
José Pedro
75e0c8b648
Uncommented structs tests.
Added plug for Convert.ToString(long, int).
2018-04-11 20:42:11 +01:00
José Pedro
6bf136c713
Plugs improvements. 2018-04-04 19:47:55 +01:00
fanoI
d0f8fa85c3
Merge pull request #912 from quajak/master
Added Math.Floor function with tests
2018-02-27 23:39:56 +01:00
José Pedro
5e51301d5c
Added tests for Convert.
Added back plugs for Decimal.
Plugged Int32.ToString(IFormatProvider).
2018-02-26 00:22:06 +00:00
Quajak
4cb8d65752 Added Math.Floor function with tests (Tests are simply copied from ceiling and changed results) 2018-02-25 21:10:10 +01:00
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
Quajak
63f140f0ba Added new ceiling command 2018-02-24 15:23:44 +01:00
Quajak
106abb8744 Uses to double 2018-02-23 18:21:28 +01:00
Qujak
dc27f898fb
Merge branch 'master' into master 2018-02-22 08:17:50 +01:00
Qujak
e9b463c1e5 Added tan and atan method with tests 2018-02-21 21:41:48 +01:00
Qujak
b5cc828624 Added BitConverter toDouble method and added tests
Fixed log function
2018-02-21 17:58:47 +01:00
Qujak
d89ba10244 Rewrote log functions and added tests
Ensured that the copyright notice from fdlibm is clearly present at the beginning of the file
2018-02-21 10:16:22 +01:00
José Pedro
4cede67a45
Fixed namespaces. 2018-02-04 19:13:31 +00:00
fanoI
46d5c0b63a
Merge branch 'master' into extended-ascii 2018-01-27 21:15:05 +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
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
Qujak
c31cfcef31 Changed Math.Acos and added tests 2018-01-07 20:06:02 +01:00
Qujak
e8aa997b07 Changed asin implementation and added tests 2018-01-07 18:55:36 +01:00
Qujak
67b3222404 Added Cos function with tests 2018-01-07 18:22:54 +01:00
Qujak
ba3d492adb Added sign function 2018-01-07 17:07:51 +01:00
Qujak
e33cddd5cb Merge branch 'master' of https://github.com/CosmosOS/Cosmos 2018-01-07 15:14:21 +01:00
fanoI
5d18c212f5 Implemented requested changes 2018-01-05 20:02:53 +01:00
fanoI
893402c352 Removed plug of get_Exists is not needed anymore with the vmt_fixes branch 2018-01-05 11:41:18 +01:00
Qujak
393e99d95b -Added new sqrt function 2018-01-04 16:46:27 +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
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
6f87a91b12 Allowed the Parser functions to use Math.Pow 2017-12-30 17:14:40 +01:00
Jasper
47ba591540 Added implementation for Math.Exp and Math.Pow using two additional functions HighWord and LowWord. Code has been translated from the C version on http://www.netlib.org/fdlibm/e_exp.c. 2017-12-28 22:33:31 +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
fanoI
37d2ae4079 Corrected and added tests for Filetream in any FileMode
- Added tests to File for issue https://github.com/CosmosOS/Cosmos/issues/760
- FileImpl add "wrong" code for the previous merge: removed it
- Clean up
2017-12-24 13:34:11 +01:00
Qujak
c98c5c5f7f
Added Float Implementation
Added file to plug float to string, prarse and tryparse
2017-12-22 12:09:55 +01:00
Qujak
cdbfa28621
Add double implementation for Parse and TryParse 2017-12-22 12:07:53 +01:00
José Pedro
cb733aa434
Merge branch 'master' of https://github.com/CosmosOS/Cosmos into guess-improvements 2017-12-17 18:37:05 +00:00
fanoI
f3633a5356 Cosmos.IL2CPU has changed name in simply IL2CPU 2017-12-10 21:53:39 +01:00
fanoI
d6aff6ab3b Merge branch 'master' of https://github.com/CosmosOS/Cosmos
# Conflicts:
#	source/Cosmos.System2_Plugs/System/IO/DirectoryImpl.cs
#	source/Cosmos.System2_Plugs/System/IO/FileImpl.cs
2017-12-10 21:23:51 +01: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
José Pedro
00a884437a
Cosmos.IL2CPU.API -> IL2CPU.API. 2017-12-10 15:57:12 +00:00