Commit graph

60 commits

Author SHA1 Message Date
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
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
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
José Pedro
05ab3657c2 Fixed Console.ReadKey. 2017-09-17 20:04:07 +01:00
GeomTech
afd0b6581e Change Requested and optimization code 2017-09-17 19:00:40 +02:00
José Pedro
3e5aff9463 Implemented Console.KeyAvailable. 2017-09-15 00:23:47 +01:00
Alexy
74e6858b36 Add Exceptions 2017-09-02 21:06:48 +02:00
Alexy
b92e59cb1c Add if file doesn't exist 2017-09-02 19:56:08 +02:00
Alexy
bf905d6e47 Copy works 2017-09-02 18:18:13 +02:00
KingLuigi4932
c1e11aabfd Update FileImpl.cs 2017-09-01 00:07:27 -07:00
KingLuigi4932
4e10bcdcfc Update FileImpl.cs 2017-09-01 00:04:08 -07:00
KingLuigi4932
d5cedcf1cf Fixing WriteAllLines issue 2017-08-31 23:54:34 -07:00
Alexy
37ec73cba4 Revert "GetParent Impl"
This reverts commit a37a8ae1b3.
2017-08-31 20:08:04 +02:00
GeomTech
404a3cc0d7 Merge pull request #4 from Alve-OS/latest
Latest
2017-08-31 20:04:02 +02:00
Alexy
a37a8ae1b3 GetParent Impl 2017-08-31 19:54:57 +02:00
Alexy
6050367b54 Copy Impl 2017-08-31 19:54:50 +02: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