Commit graph

2954 commits

Author SHA1 Message Date
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
34720e6c7f Removed some debug code in string plugs. Added a helper to grab debug sysmbols for debugging in bochs. 2016-01-14 12:22:47 -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
Charles Betros
82d0e07cf3 Made TraceAssemblies work again. 2016-01-04 21:47:38 -06:00
Charles Betros
2ec375e1c8 Fixed unbox and unbox_any. Also added interfaces to the branch ops. Added checks in assembler for duplicate methods. Added a few more exception message resource strings. 2016-01-04 21:42:56 -06:00
Charles Betros
48a3aca852 Fixed debugger asm label and asm label for pointers. 2016-01-04 21:35:20 -06:00
fanoI
0d07f9bae8 Merge remote-tracking branch 'refs/remotes/CosmosOS/master' 2016-01-04 20:55:05 +01:00
Charles Betros
0829cf8204 Merge pull request #318 from fanoI/master
Added new (failing) tests on FAT
2016-01-01 21:53:59 -06:00
Charles Betros
476eb6d09f Merge pull request #314 from MyvarHD/#313
Fixed #313
2016-01-01 21:52:59 -06:00
Charles Betros
438ac960c1 Closes #11 2015-12-31 15:25:10 -06: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
Emile Badenhorst
d1d9cd0974 Fiex #313 2015-12-28 13:34:21 +02: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
612fbb760d Merge branch 'master' of https://github.com/CosmosOS/Cosmos.git 2015-12-26 18:55:42 -06:00
Charles Betros
6ed36d75b6 Set string.empty. 2015-12-26 18:55:32 -06:00
Charles Betros
3c52efaac6 Reorganized some plugs 2015-12-26 18:04:58 -06:00
Charles Betros
c9f5c23bab Merge pull request #301 from MyvarHD/master
Fixed VBE Bochs support
2015-12-25 12:52:58 -06:00
Charles Betros
7268261324 Fixed bug in heap. Entry index didn't get reset. 2015-12-19 09:04:59 -06:00
Charles Betros
1a2ed6b720 Fixed speed issue with the heap. 2015-12-18 12:28:24 -06:00
Charles Betros
30e2ffad09 Remove debug define. 2015-12-18 10:41:45 -06:00
Charles Betros
519e58dd44 Removed unused project. 2015-12-18 09:44:39 -06:00
Charles Betros
e98b7c136c Moved fat test kernel to tests folder. 2015-12-18 08:58:50 -06:00
Charles Betros
5ec6d38ad4 Adding TextScreenHelpers. 2015-12-18 08:23:38 -06:00
Charles Betros
21c464d946 Merge 2015-12-18 08:22:57 -06:00
Charles Betros
c01f5f1048 Reorganizing plugs. 2015-12-18 08:08:49 -06:00
Emile Badenhorst
a3cadd2b95 Fixed VBE to support Bochs 2015-12-18 15:17:20 +02:00
Cyber
05148af8cf FINALLY fixed string stuff 2015-12-17 15:52:22 -05:00
Cyber
e9b163a75b Revert "Fixed String Comparisons"
This reverts commit 2b46c857e7.
2015-12-17 15:01:54 -05:00
Cyber
2b46c857e7 Fixed String Comparisons
Fixed String Comparisons
2015-12-17 15:01:14 -05:00
Cyber
f8fabfd49e Revert "Fixed Broken String Comparison Functions"
This reverts commit 64440ba3c1.
2015-12-17 15:01:11 -05:00
Cyber4
0437fdb55e Merge pull request #4 from CosmosOS/master
ignore pls
2015-12-17 14:58:33 -05:00
Charles Betros
c018d75bf5 Merge pull request #283 from fanoI/master
Implemented Console's CursorSize and CursorVisible properties …
2015-12-17 08:23:51 -06:00
Charles Betros
f4d0ec86a6 Merge branch 'master' of https://github.com/CosmosOS/Cosmos.git 2015-12-17 00:16:22 -06:00
Charles Betros
929bd8d575 Removed source2 folder. 2015-12-17 00:16:15 -06:00
Charles Betros
4e08b03a8a Closes #271. Added an option for stack corruption detection. Checks can now occur after every instruction or for method footers ornly. 2015-12-17 00:15:51 -06:00
Cyber
64440ba3c1 Fixed Broken String Comparison Functions
StartsWith()
Contains()
EndsWith()
2015-12-16 16:47:07 -05:00
Cyber
224ef15000 Revert "Revert "Revert "Fixed Broken String Functions"""
This reverts commit 0a5a46aac9.
2015-12-16 16:45:11 -05:00
Cyber
0a5a46aac9 Revert "Revert "Fixed Broken String Functions""
This reverts commit 1b4bdaec6d.
2015-12-16 16:44:52 -05:00
Cyber
1b4bdaec6d Revert "Fixed Broken String Functions"
This reverts commit c26a2bcd95.
2015-12-16 16:44:37 -05:00
Cyber
c26a2bcd95 Fixed Broken String Functions
fixed StartsWith, Contains, and EndsWith
2015-12-16 16:42:15 -05:00
fanoI
847a1a772b Used right expception, new TextScreenHelpers class (for debug)
- In the DebugTextScreen class used the already existing
NotImplementedException instead of create a new exception type
- Created new class TextScreenHelpers  for the debug of the TextScreen
Class
- In the TextScreen class replaced any call to Debugger.XXX() in
TextScreenHelpers.DebugXXX()
2015-12-13 16:39:04 +01:00
Yuuki Wesp
17f19d563b Fix bugs in the crash unprepared device 2015-12-12 19:59:34 +03:00
Charles Betros
fdf893b87b Merge branch 'master' of https://github.com/CosmosOS/Cosmos.git 2015-12-10 23:43:21 -06:00
Charles Betros
85a255912e Fixed GetFullPath 2015-12-10 23:43:12 -06:00
Charles Betros
c1d5ebd78c Merge pull request #279 from rebizu/master
chg: .net 3.5 sp1 check was commented out. and it did not do at is wa…
2015-12-10 11:52:13 -06:00
fanoI
6c4b3c02cd GetCursorSize(), SetCursorSize(), GetCursorVisible() and SetCursorVisible() throw Exception("Not implemented") 2015-12-07 15:29:46 +01:00
fanoI
45a3f79c50 Implemented Console's CursorSize and CursorVisible properties
- Now Console's CursorSize and CursorVisible properties
- Console Cursor default size is 25 as on Windows (before was 1)
- Console Cursor is visible by default
2015-12-07 15:11:57 +01:00
Charles Betros
2ae245e14b Implemented create file for FAT. 2015-12-06 16:32:30 -06:00
Rebizu
572daa0616 chg: .net 3.5 sp1 check was commented out. and it did not do at is was supposed to.
fixes #219
2015-12-06 14:25:32 +01:00
Charles Betros
102c909cd9 Fixed SetSize for FatStream. 2015-12-04 15:05:18 -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
417df82cf7 Handle stelem for unsigned types. 2015-11-24 11:38:57 -06:00
charles.betros@gmail.com
f23d8207ab Merge branch 'master' of https://github.com/CosmosOS/Cosmos.git 2015-11-20 23:52:57 -06:00
charles.betros@gmail.com
31684c15d6 Working on FAT and create directory. 2015-11-20 23:52:08 -06:00
fanoI
f566917239 Console modifications
- In MemoryBlock added Fill overloads that accept UInt16
- In TextScreen removed unused variables, magic number and finally the
Clear() method does what is expected!
2015-11-18 23:27:33 +01:00
Matthijs ter Woord
c85d42162b Merge pull request #259 from rebizu/master
fixing #254
2015-11-18 08:39:00 +01: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
Rebizu
3d82193491 Merge remote-tracking branch 'origin/master' 2015-11-17 20:15:36 +01:00
Rebizu
4dd59188fa fixes #254 2015-11-17 20:14:49 +01:00
charles.betros@hcss.com
8257fba6ac Working on create in FAT. 2015-11-16 12:02:48 -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
a4c842e0cf Merge pull request #256 from rebizu/master
chg: fix pre requisit for setup program
2015-11-16 08:21:23 -06:00
Rene Brokholm
5aa504c4a3 changed the isNullOrEmpty back to IsNullOrWhiteSpace 2015-11-16 07:36:22 +01: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
Rebizu
26878425e8 chg: fix pre requisit for setup programm 2015-11-14 12:16:27 +01:00
Charles Betros
75f681c175 Fixed some things with path that were throwing exceptions and shouldn't. 2015-11-13 21:43:42 -06:00
Matthijs ter Woord
2d7a151c0f Exception handling improvement 2015-11-13 09:21:09 +01: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
3ad05d79aa #253 Create a test kernel for file system plugs. 2015-11-11 22:59:45 -06:00
Charles Betros
887b573b73 Ongoing file system work. 2015-11-11 22:59:14 -06:00
Cyber
70e4678866 Removed NewVGA.cs 2015-11-11 21:52:25 -05:00
Cyber
e699cdc70b Ongoing FAT Work
Added ReadAllBytes, WriteAllBytes, and Copy to FileImpl
2015-11-11 21:49:57 -05:00
Cyber
3fb391e8ba Merge remote-tracking branch 'origin/master' 2015-11-11 21:44:58 -05:00
Cyber
3aa754f4c0 Revert "Did a lot of stuff"
This reverts commit 7011f7d218.
2015-11-11 21:40:57 -05:00
Cyber
1588d0a764 Revert "Stuff"
This reverts commit 97d1ce58e0.
2015-11-11 21:28:05 -05:00
Cyber
2557d78526 Revert "Tiny Changes"
This reverts commit 7a3b4f9df7.
2015-11-11 21:27:47 -05:00
Cyber
5794022f1d Revert "StringFunctions"
This reverts commit 3ec93b4b6b.
2015-11-11 21:27:35 -05:00
Charles Betros
6a1b942fcd #250 Add an option in Cosmos projects to use the Bochs Gui Debugger. 2015-11-11 20:23:40 -06:00
Charles Betros
7d90f3609a Removed missing file and added all tests to test runner configuration. 2015-11-11 10:58:25 -06:00
Charles Betros
f94290890a Continuing FAT work. 2015-11-11 10:21:49 -06:00
Matthijs ter Woord
b7021b8fc1 Seems like compiler bug is fixed now. 2015-11-07 11:37:18 +01:00
Matthijs ter Woord
d5a1c54636 Another reformat 2015-11-07 10:22:33 +01:00
Matthijs ter Woord
e5cf7e7599 Add multidimensional tests again. 2015-11-07 10:16:17 +01:00
Matthijs ter Woord
6f9fcec90a Reformat code, and add settings to editorconfig file. 2015-11-07 10:16:09 +01:00
Charles Betros
870c07991a Removed a missing project. 2015-11-06 15:18:43 -06:00
Matthijs ter Woord
7d13293011 Add editorconfig file 2015-11-06 20:37:00 +01:00
Matthijs ter Woord
a5dc365616 Merg pr/232 2015-11-06 19:30:04 +01:00
Matthijs ter Woord
713e8d8746 Add multi dimensional arrays test. Not working yet. 2015-11-06 18:45:40 +01:00
CSharpLover
a8c886b485 Fixed a simple bug 2015-11-06 19:20:27 +02:00
CSharpLover
5682ef6841 VGAScreen Edit 2015-11-06 19:09:09 +02:00
CSharpLover
60727b0e49 VGAScreen Edit 2015-11-06 19:05:07 +02:00
CSharpLover
cabe66f8db VGAScreen 640x480 and 720x480 is working now 2015-11-06 18:58:52 +02:00
Matthijs ter Woord
4ffeeae278 Compiler bug fixed. 2015-11-06 09:03:00 +01:00