Commit graph

3104 commits

Author SHA1 Message Date
MichaelTheShifter
7aef75dc25 Override CryptoConfig .cctor 2016-06-14 14:11:02 -04:00
Kudzu
7ed55bdbea heap 2016-06-14 14:11:00 -04:00
Matthijs ter Woord
d1447458af Implement Object.MemberwiseClone 2016-06-14 13:51:16 -04:00
Matthijs ter Woord
1d7fd7fd8a Fix the boot screen. 2016-06-14 12:37:56 -04:00
MichaelTheShifter
e1d2e029b2 Plugged System.Security.Cryptography.AllowOnlyFipsAlgorithm 2016-06-14 11:29:34 -04:00
Matthijs ter Woord
3702de977b . 2016-06-13 12:06:37 -04:00
Kudzu
9f79d0d527 Merge branch 'master' of https://github.com/CosmosOS/Cosmos 2016-06-13 10:54:28 -04:00
Kudzu
5c596650e6 Heap 2016-06-13 10:54:01 -04:00
Matthijs ter Woord
4ed9d246ae First compiler refactoring. 2016-06-13 08:27:59 -04:00
Kudzu
12f4bd314a Heap and RAT 2016-06-12 16:13:03 -04:00
Matthijs ter Woord
1d90e04ad5 . 2016-06-12 15:34:31 -04:00
Matthijs ter Woord
ba9d2929cd Compare moved to newer x# stuff. 2016-06-12 15:25:48 -04:00
Matthijs ter Woord
ed4c39c238 . 2016-06-12 12:28:23 -04:00
Matthijs ter Woord
88332a04be . 2016-06-12 12:09:11 -04:00
Matthijs ter Woord
200923c859 . 2016-06-12 10:35:03 -04:00
Matthijs ter Woord
64ada17c2d . 2016-06-12 10:17:06 -04:00
Matthijs ter Woord
e4a89f11bc . 2016-06-12 09:56:49 -04:00
Matthijs ter Woord
8a2d8a1403 . 2016-06-12 09:46:11 -04:00
Matthijs ter Woord
91d891244c . 2016-06-12 09:25:09 -04:00
Matthijs ter Woord
6e7a942987 Move x# improvements. 2016-06-12 09:07:47 -04:00
Matthijs ter Woord
f9dfb1bcf7 Use near jumps. 2016-06-11 16:17:05 -04:00
Matthijs ter Woord
4d6fceb9e7 First step in improving x# and compiler. 2016-06-11 16:13:13 -04:00
Kudzu
c360d588c5 heap 2016-06-11 09:30:53 -04:00
Charles Betros
455ee32d5b Merge branch 'master' of https://github.com/CosmosOS/Cosmos.git 2016-06-10 16:44:54 -05:00
Charles Betros
648ec56a6b Merge stack overflow check. 2016-06-10 16:42:02 -05:00
Matthijs ter Woord
6e37341d08 Remove .ilinstructions file creation. 2016-06-10 13:33:39 -04:00
Matthijs ter Woord
34ce59e238 Move memory out to a separate project. 2016-06-10 13:01:20 -04:00
Matthijs ter Woord
cd491eb356 Slight fix. 2016-06-10 11:48:01 -04:00
Matthijs ter Woord
82330b4b48 Initial work to move out the heap to a separate project. 2016-06-10 11:42:30 -04:00
Kudzu
1beeebd4a0 more 2016-06-10 11:41:53 -04:00
Kudzu
6ae68f91ab CRAM to CHEAP 2016-06-10 11:31:23 -04:00
Kudzu
e328b44c6e CRAM shell and test 2016-06-09 20:04:42 -04:00
Matthijs ter Woord
901ac5b937 Merge branch 'master' of https://github.com/CosmosOS/Cosmos 2016-06-09 17:24:35 -04:00
Matthijs ter Woord
c4929d43a5 We don't need to call the class constructor if we're already in the class itself. 2016-06-09 16:48:43 -04:00
Charles Betros
6e12a413ed Added VS SDK package to fix a bug in the sdk tools. 2016-06-09 13:36:42 -05:00
Matthijs ter Woord
a492f0eccc Mark heap implementation with PlugRequired 2016-06-09 10:08:25 -04:00
Matthijs ter Woord
d27c44893a Missing file reference. 2016-06-09 08:00:45 -04:00
Matthijs ter Woord
fe9cbbe9ff Console.ReadKey should work now as well. 2016-06-09 07:56:29 -04:00
Matthijs ter Woord
8dde71adf1 Clarify things a bit. 2016-06-08 19:55:48 -04:00
Matthijs ter Woord
7a733a59c8 Small keyboard refactoring: Now it's possible to specify a different keymap (Currently only US standard and FR standard are supported) in the kernel. 2016-06-07 16:35:11 +02:00
Matthijs ter Woord
659dc538bf Potentially fix the build? 2016-06-04 19:11:01 +02:00
Matthijs ter Woord
2bd58182af Fix plugs referencing non-existing types. 2016-06-04 19:01:45 +02:00
Matthijs ter Woord
baee616231 Fixes for windows insider build 14342. 2016-06-04 18:24:49 +02:00
sgetaz
2de222bb2d Plug attribute (#196)
Plug required attribute.
2016-05-25 09:17:06 -05:00
Charles Betros
720f6187ed Fixed issue with writing to a new file in a new directory. 2016-05-18 16:08:56 -05:00
Charles Betros
5a26ea509d Fixed creating in subdirectories. 2016-05-15 13:45:30 -05:00
Charles Betros
f19063ccc9 Fixed ldelema and disabled float and double tests. 2016-05-15 13:44:09 -05:00
Charles Betros
bf6f97756a Fixed create directory and directory exists. 2016-05-11 22:36:00 -05:00
Charles Betros
a2d610e1db Reversed return values. 2016-04-15 13:12:57 -05:00
Charles Betros
d6bc0420d3 Changed build configuartion so any cpu builds properly as x86. 2016-04-14 17:03:59 -05:00
Charles Betros
3fcc2860a9 FAT file system work. 2016-04-14 13:27:18 -05:00
Charles Betros
ef9282836b Fixed keyboard interrupt, generics, and double. 2016-04-14 13:26:54 -05:00
Charles Betros
31e5c09885 Aaded methods to the debugger for long, float, and double. 2016-04-08 22:50:33 -05:00
Charles Betros
1941126547 Fixed build configurations for new projects. Closes #352 and #353. 2016-04-08 22:42:53 -05:00
Charles Betros
653b7a8321 Fixed Get directory listing with subdirectory. 2016-03-24 22:35:59 -05:00
Charles Betros
89d021772b Added byref types so they work with constrained callvirt. 2016-03-24 13:24:09 -05:00
Charles Betros
83ad5f34cf Fixed some issues with wtong types on the stack. 2016-03-24 08:52:02 -05:00
Charles Betros
b283a07631 Update .net versions. 2016-03-13 20:42:09 -05:00
Charles Betros
2de021685e Fix up packages. 2016-03-13 13:14:37 -05:00
Charles Betros
b7e7cd6c0a Removed Mdbg projects. 2016-03-13 13:05:53 -05:00
Charles Betros
8937b5c11a Merge branch 'master' of https://github.com/CosmosOS/Cosmos.git 2016-03-13 12:49:12 -05:00
Charles Betros
0bef9a8fac Updating solution config. 2016-03-13 12:27:58 -05:00
fanoI
b1a2646a60 Merge branch 'master' of https://github.com/CosmosOS/Cosmos 2016-03-10 21:58:22 +01:00
Charles Betros
b542871886 Don't build linq tests. 2016-03-09 19:16:28 -06:00
Charles Betros
2846d8525e Appveyor and solution config changes. 2016-03-09 18:53:36 -06:00
Charles Betros
3114bebffe Enable build for some projects for testing. 2016-03-09 12:53:33 -06:00
fanoI
35583c657a Merge branch 'master' of https://github.com/CosmosOS/Cosmos
# Conflicts:
#	Demos/Guess/GuessOS.cs
#	Tests/Cosmos.Compiler.Tests.Bcl/Kernel.cs
#	source/Cosmos.System.Plugs/Cosmos.System.Plugs.csproj
2016-03-07 21:23:11 +01:00
Charles Betros
4a3b6a50df Fixed up project and solution configurations and remove jetbrains annotations. 2016-03-06 17:33:21 -06:00
Charles Betros
c12022c893 Got constrained callvirt working. 2016-03-05 23:56:27 -06:00
fanoI
eb533357b0 - Correctly plugged Enum's GetHashCode()
- Removed GetHashCode() methods that were not really needed
- Plugged class CultureInfo for GetHashCode()
- Plugged class Runtime.CompilerServices for GetHashCode()
- Plugged class RuntimeTypeImpl for GetHashCode()
- Fixed tests that were failing using true .NET GetHashCode()
- Fixed IL Interpreter added SHIFT, AND, XOR... for sbyte and short
2016-03-05 23:10:06 +01:00
Charles Betros
559ee8570a Filesystem work. 2016-03-02 15:57:53 -06:00
fanoI
a95ea1bdbb Added missing file DecimalImpl.cs 2016-02-29 20:36:53 +01:00
fanoI
2c745389fe Trying to Plug GetHashCode() for all ValueTypes. 2016-02-28 22:39:20 +01:00
fanoI
f167ae91e6 Added a lot of tests for Primitive Types there a lot of failure for compiler bug or native methods that need to be implemented. Indeed the commited version is not compiling for GetHashCode() that cannot be plugged... 2016-02-28 16:32:25 +01:00
Charles Betros
5b35e17502 Fixed Path 2016-02-25 12:00:06 -06:00
Charles Betros
043cbb2f19 Fixed path plugs 2016-02-25 11:56:30 -06:00
Charles Betros
a52ea7a514 Fixed invalid enum 2016-02-21 12:23:40 -06:00
Charles Betros
1f104d812b Revert "Added some globalization and culture plugs. Also added string and struct tests."
This reverts commit 815f2f78a4.
2016-02-21 10:16:00 -06:00
Charles Betros
815f2f78a4 Added some globalization and culture plugs. Also added string and struct tests. 2016-02-21 10:13:29 -06:00
Charles Betros
d790a6ad52 Removed an unused project. 2016-02-16 16:21:26 -06:00
Charles Betros
f69f4c8fd9 Fixed some annoying runtime errors in the ILSpy plugin. 2016-02-16 16:21:05 -06:00
Charles Betros
24baff0e8a Merge branch 'master' of https://github.com/CosmosOS/Cosmos.git 2016-02-16 11:42:49 -06:00
Charles Betros
9f550d60c4 Added appveyor.yml and removed an unused file. 2016-02-16 11:42:37 -06:00
Boyan Nikolov
b4f0acaf18 Builder solution fixed. Any CPU changed to x86. 2016-02-16 17:26:21 +02:00
Charles Betros
6a0f0b7ea7 Removed duplicate test kernel. 2016-02-16 00:09:29 -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
ba6070dbe7 String and simple debugger change 2016-02-15 16:02:23 -06:00
Matthijs ter Woord
cd26d218ae Enable all projects in the Debug/x86 profile. 2016-02-15 09:34:01 +01:00
Matthijs ter Woord
80bc4d451e Convert existing tests to nunit. 2016-02-15 09:29:26 +01:00
Matthijs ter Woord
bdb106c966 Fix build. 2016-02-15 09:24:00 +01:00
Charles Betros
6f50b73386 Changed build configuration 2016-02-15 01:29:03 -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
87da5be07b Fixed string ctor which caused tests to fail. 2016-02-14 02:01:28 -06:00
Charles Betros
76f6ce7873 Made numbers work for ToString 2016-01-17 02:11:41 -06:00
Charles Betros
b76c6221d9 Got string format working. 2016-01-17 00:47:00 -06:00
Charles Betros
20c0c938ad Added debug symbols to Bochs. 2016-01-16 13:39:26 -06:00
Charles Betros
98d8336882 Fixed TraceAssemblies 2016-01-16 12:53:37 -06:00
Charles Betros
d9e88d83f6 Added single and double to debugger SendNumber. 2016-01-16 12:52:41 -06:00
Charles Betros
acaa60067d Changes to a previous merge. 2016-01-14 14:35:20 -06:00
Charles Betros
fe2250a9ae Merge conflicts 2016-01-14 14:31:31 -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
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