Commit graph

483 commits

Author SHA1 Message Date
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
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
José Pedro
e69656c127
Added tests. 2017-12-17 18:53:30 +00:00
jp2masa
3a0da1a679
Merge pull request #815 from CosmosOS/remove-net471-workaround
Removed workaround for .NET Framework 4.7.1 projects
2017-12-13 17:30:58 +00:00
fanoI
f46a910bb0 Another try... 2017-12-13 01:19:03 +01:00
fanoI
736b08a66c Added FAT2 to TestKernelSets 2017-12-13 00:28:36 +01:00
fanoI
766e349340 Let's see if now it works... 2017-12-12 23:36:12 +01:00
fanoI
c82529d751 Splitted FATTest to avoid AppVoyer timeout :-( 2017-12-12 22:07:00 +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
8bed32957e
Test Runner fix. 2017-12-09 22:09:23 +00:00
José Pedro
084c573084
IL2CPU -> IL2CPU.Compiler. 2017-12-09 20:16:19 +00:00
José Pedro
7417cf913a
Removed workaround for .NET Framework 4.7.1 projects. 2017-12-05 23:23:12 +00:00
José Pedro
f8a765616d
Build. 2017-12-03 23:45:18 +00:00
fanoI
e05c58b4ed Merged with master 2017-12-01 22:24:28 +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
José Pedro
94a5b5ece6
Added the workaround to test projects. 2017-11-21 14:24:22 +00:00
José Pedro
e27746590e
Upgraded projects to .NET Framework 4.7.1. 2017-11-21 14:08:25 +00:00
fanoI
81234d1cd9 StreamReader implemented but found bug in IL2CPU plug resolution :-( 2017-11-18 11:12:17 +01:00
José Pedro
4909509cef Fixed typo. 2017-11-01 22:30:57 +00: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
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
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
c840978528 Change TypeInfo to Type. 2017-10-17 21:55:43 -05:00
Charles Betros
a3c412bd41 Type test kernel. 2017-10-15 11:34:49 -05:00
Charles Betros
fbdb7c1b9e Dictionary work 2017-10-15 11:32:26 -05:00
Charles Betros
2119ffc194 Type test kernel. 2017-10-15 11:31:28 -05: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
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
Alexy
32021ffcf5 Add TestRunner 2017-09-02 22:33:53 +02:00
KingLuigi4932
9e868d4623 Uncomment WriteAllLines Test 2017-09-02 09:31:06 -07: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
fanoI
6d2f9d5a8d [NOT MERGE THIS] Stack Overflow everywhere
During the test and plugging of DirectoryInfo I've benn hit by a lot of stack overflows / stack corruptions.
I do this PR because I've not the necessary competency to find where the issue his, executing the Cosmos.Kernel.Tests.Fat.Kernel you will be soon hit by a stack overflow.
2017-08-22 13:23:23 +02:00
fanoI
6632bfb1d7 Changed the StackCorruptionDetectionLevel to MethodFooters this should fix the timeout in AppVoyer tests. 2017-08-16 22:18:20 +02:00
José Pedro
3d6e040bb0 Tests. 2017-08-11 19:00:16 +01:00
José Pedro
8130894592 Tests. 2017-08-11 02:25:11 +01:00
Kudzu
47aff268ed Cosmos.Assembler --> XSharp.Assembler 2017-08-10 20:59:32 -04:00
José Pedro
e1f58681d2 g3 2017-08-10 22:17:28 +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
José Pedro
ad34bd4a2a g3 2017-08-07 19:21:02 +01:00