Commit graph

53 commits

Author SHA1 Message Date
José Pedro
2c3ae6221d Fixed Newobj for string with length parameter.
Minor changes in debugging and FAT test messages.
Removed useless "if" in FAT, previously added by me.
2016-09-29 19:41:09 +01:00
Charles Betros
4ab093e732 Merge pull request #394 from MichaelTheShifter/fat-stuff
Adds plug for System.IO.File.Delete(), and adds deletion capabilities to FAT.
2016-08-24 20:17:55 -05:00
José Pedro
153cde7d5e - CosmosVFS.GetDirectoryListing(DirectoryEntry): "Argument is null or empty" error - Fixed
- File.Delete and Directory.Delete implementations - Fully Working

- Change Guess demo references to Project References - Done
2016-08-18 15:32:29 +01:00
Matthijs ter Woord
19160c30d4 Now plugs which aren't being used aren't being compiled anymore. 2016-06-24 15:26:31 -04:00
Matthijs ter Woord
bcf4b08719 Ongoing progress to get z-machine going. 2016-06-24 09:22:43 -04:00
MichaelTheShifter
903860a77d FAT File Deletion work.
Yet again, my hands are typing words. Jokes aside, deleting doesn't work
yet - but at least using System.IO.File.Delete() won't cause a plug
issue.
2016-06-21 19:38:44 -04:00
Charles Betros
bec9009bfc More path fixes. 2016-06-17 00:00:45 -05:00
Charles Betros
c9cfbbe443 Filesystem work. 2016-06-16 11:59:07 -05:00
Charles Betros
af12bec66f More filesystem work. 2016-06-15 23:29:36 -05:00
Charles Betros
77d0c37b3b Filesystem work 2016-06-15 20:53:29 -05:00
Charles Betros
280fdead4c Fix filesystem. 2016-06-14 23:20:10 -05:00
Matthijs ter Woord
baee616231 Fixes for windows insider build 14342. 2016-06-04 18:24:49 +02:00
Charles Betros
bf6f97756a Fixed create directory and directory exists. 2016-05-11 22:36:00 -05:00
Charles Betros
3fcc2860a9 FAT file system work. 2016-04-14 13:27:18 -05:00
Charles Betros
4a3b6a50df Fixed up project and solution configurations and remove jetbrains annotations. 2016-03-06 17:33:21 -06:00
Charles Betros
559ee8570a Filesystem work. 2016-03-02 15:57:53 -06:00
Charles Betros
043cbb2f19 Fixed path plugs 2016-02-25 11:56:30 -06:00
Charles Betros
f5468fe2b0 Path mostly works. Added a bunch of exception strings to environment. 2016-02-15 22:35:08 -06:00
Charles Betros
b6d95e1668 Plugged a bunch of classes and implemented a few ilops. Removed most of Path plugs. 2016-02-14 13:07:26 -06:00
Charles Betros
c469f13920 Fix error from merge 2016-01-14 13:45:31 -06:00
Charles Betros
d559463c85 Merge branch 'master' of https://github.com/fanoI/Cosmos into fanoI-master
# Conflicts:
#	source/Cosmos.System.Plugs/System/IO/FileImpl.cs
#	source/Cosmos.System/FileSystem/FAT/FatStream.cs
2016-01-14 13:33:04 -06:00
Charles Betros
ac423d389c Merge 2016-01-06 22:14:41 -06:00
Charles Betros
aaa0bb3eb6 Fixed string split and compare ordinal. Made some chnages to debug nessages to showmring and section. 2016-01-06 22:07:30 -06:00
fanoI
bfc3934be0 FATStream Constructor Fixed: FatTable generated for empty files too
- FATStream Constructor Fixed: FatTable generated for empty files too
- Corrected method WriteAllLines()
- Added new method ReadAllLines()
- In FatTestKernel added utility method StringArrayAreEquals()
- In FatTestKernel fixed assertions on file existence
- In FatTestKernel used ReadAllLines() to check that WriteAllLines()
succeeded
- In FatTestKernel moved AppendAllText() test as last of File as - for
now - is always failing
2016-01-06 22:21:52 +01:00
fanoI
f4d627d22e Added new (failing) tests on FAT
- Added test to write another file in the same directory
- Added test for new method WriteAllLines()
- Added test for method WriteAllBytes() / ReadAllBytes()
- Added tests to create files in a subdirectory
- Added utility method byteArrayAreEquals()
2015-12-30 22:15:19 +01:00
fanoI
5221adad8c FAT fixes
- GetFileName() of root directory does not correctly returned null
- GetExtension() returned the extension with the '.'
- Modified TestFile() to overwrite the file with the expected value or
the test will be OK only the first time
- Corrected the tests of GetFileName(), GetFileNameWithoutExtension()
- Added new tests
- Re-enabled TestFileStream()
2015-12-27 17:35:48 +01:00
Charles Betros
30e2ffad09 Remove debug define. 2015-12-18 10:41:45 -06:00
Charles Betros
929bd8d575 Removed source2 folder. 2015-12-17 00:16:15 -06:00
Charles Betros
2ae245e14b Implemented create file for FAT. 2015-12-06 16:32:30 -06:00
Charles Betros
fd54c66225 Reworked fat file system. Added conditionals for debug output. Implemented some System.IO plugs. 2015-11-26 11:45:58 -06:00
charles.betros@gmail.com
31684c15d6 Working on FAT and create directory. 2015-11-20 23:52:08 -06:00
Cyber
dbd3596a05 Fixed Minor Bug that breaks Reading 2015-11-17 18:30:52 -05:00
Charles Betros
2326b6b46d Was checking the wrong index for Path.HasInvalidPathChars. 2015-11-17 15:51:43 -06:00
charles.betros@hcss.com
ef181b4ee5 Set the parent directory to root if it's null. 2015-11-16 11:30:28 -06:00
charles.betros@hcss.com
d46bf5dd09 File system work. 2015-11-16 09:15:38 -06:00
Charles Betros
700a75f7c8 Merge branch 'master' of https://github.com/CosmosOS/Cosmos.git 2015-11-14 21:41:37 -06:00
Charles Betros
a391864356 More filesystem work. 2015-11-14 21:41:30 -06:00
Charles Betros
d626d68063 Merge pull request #252 from Cyber4/master
FAT Work (New stuff)
2015-11-14 09:45:54 -06:00
Charles Betros
75f681c175 Fixed some things with path that were throwing exceptions and shouldn't. 2015-11-13 21:43:42 -06:00
Charles Betros
ceeb1381e1 Added tracing for some system io plugs and hooked up GetVolume and GetVolumes. 2015-11-12 22:27:12 -06:00
Charles Betros
887b573b73 Ongoing file system work. 2015-11-11 22:59:14 -06:00
Cyber
e699cdc70b Ongoing FAT Work
Added ReadAllBytes, WriteAllBytes, and Copy to FileImpl
2015-11-11 21:49:57 -05:00
Charles Betros
f94290890a Continuing FAT work. 2015-11-11 10:21:49 -06:00
Charles Betros
535d3d136e Comment out StreamReader. 2015-11-05 10:57:38 -06:00
Charles Betros
c746643255 These were removed somehow? 2015-11-04 22:26:38 -06:00
Charles Betros
c03d183de2 Changed some exceptions to base Exception and working on FAT tests. 2015-10-28 10:34:44 -05:00
Matthijs ter Woord
3e5dd5f34b Ongoing work. 2015-10-04 15:58:17 +02:00
Matthijs ter Woord
10a5f6c36d Directory reading is now done using a stream. 2015-10-04 12:38:38 +02:00
Matthijs ter Woord
a05e3d3229 Reading works now. 2015-10-03 14:09:01 +02:00
Matthijs ter Woord
8e35d79602 Reading almost fixed. 2015-10-02 19:39:56 +02:00