Commit graph

69 commits

Author SHA1 Message Date
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
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
José Pedro
7befa1eb3c
Guess demo improvements. 2017-12-10 01:31:21 +00:00
fanoI
5d3d991035 Other plug missed :-( 2017-12-02 13:50:43 +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
Arawn Davies
a12e7ff875 Merge pull request #757 from aura-systems/FileDirectoryImplUpdate
Fixing Copy File impl
2017-10-26 14:16:14 +01:00
fanoI
4071e75a47 Trying to plug StreamWriter(), but Flush() has only a buffer filled all with 0x0000 not with the text to Write()! 2017-10-24 23:17:50 +02:00
Charles Betros
3cf8c806ca Some type/runtime type worrk. 2017-10-15 11:30:46 -05: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
d1a0beeea6 Added forgotten plug file :-) 2017-09-24 23:28:19 +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