Commit graph

238 commits

Author SHA1 Message Date
Matthijs ter Woord
a492f0eccc Mark heap implementation with PlugRequired 2016-06-09 10:08:25 -04: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
sgetaz
2de222bb2d Plug attribute (#196)
Plug required attribute.
2016-05-25 09:17:06 -05:00
Charles Betros
f19063ccc9 Fixed ldelema and disabled float and double tests. 2016-05-15 13:44:09 -05:00
Charles Betros
a2d610e1db Reversed return values. 2016-04-15 13:12:57 -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
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
2de021685e Fix up packages. 2016-03-13 13:14:37 -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
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
2c745389fe Trying to Plug GetHashCode() for all ValueTypes. 2016-02-28 22:39:20 +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
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
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
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
98d8336882 Fixed TraceAssemblies 2016-01-16 12:53:37 -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
438ac960c1 Closes #11 2015-12-31 15:25:10 -06:00
Charles Betros
3c52efaac6 Reorganized some plugs 2015-12-26 18:04:58 -06:00
Charles Betros
1a2ed6b720 Fixed speed issue with the heap. 2015-12-18 12:28:24 -06:00
Charles Betros
c01f5f1048 Reorganizing plugs. 2015-12-18 08:08:49 -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
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
Matthijs ter Woord
c85d42162b Merge pull request #259 from rebizu/master
fixing #254
2015-11-18 08:39:00 +01:00
Rebizu
4dd59188fa fixes #254 2015-11-17 20:14:49 +01: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
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
6f9fcec90a Reformat code, and add settings to editorconfig file. 2015-11-07 10:16:09 +01:00
Matthijs ter Woord
7d13293011 Add editorconfig file 2015-11-06 20:37:00 +01:00
Matthijs ter Woord
4ffeeae278 Compiler bug fixed. 2015-11-06 09:03:00 +01:00
Charles Betros
7565bb6a30 Exceptions were causing stack corruptions. 2015-11-04 22:31:38 -06:00
Charles Betros
d2ee8be699 Clean up extra stack after an exception. 2015-11-03 14:08:42 -06:00
Matthijs ter Woord
34c46c2c73 Refactor, so find references is easier to use. 2015-11-02 17:22:56 +01:00
Matthijs ter Woord
ac2a505f77 Merge branch 'master' of https://github.com/CosmosOS/Cosmos 2015-11-02 11:37:22 +01:00
Matthijs ter Woord
f9c6edf4f9 Add comment. 2015-11-02 11:37:08 +01:00
Charles Betros
48a145d45d Ldarg was printing its label twice. 2015-10-31 20:44:05 -05:00
Matthijs ter Woord
cd7f5e572a Slight improvement of stack corruption checking code. 2015-10-24 13:19:34 +02:00
Matthijs ter Woord
3e5dd5f34b Ongoing work. 2015-10-04 15:58:17 +02:00
Matthijs ter Woord
3fb0e6622d Progress on fat. 2015-10-04 11:53:03 +02:00
Matthijs ter Woord
8e35d79602 Reading almost fixed. 2015-10-02 19:39:56 +02:00
Matthijs ter Woord
6e2dda177f Ongoing fixes for file system work. 2015-10-02 17:59:06 +02:00
Matthijs ter Woord
d9a9737608 Filesystem/VFS/FAT work by @charlesbetros has been merged into main kernel.
This does NOT mean it's fully working yet!
2015-10-02 17:12:00 +02:00
Matthijs ter Woord
27286f0b33 Continuing fixes. 2015-09-05 18:18:23 +02:00
Matthijs ter Woord
44690293e8 Delegates issue solved., 2015-09-05 18:11:20 +02:00
Matthijs ter Woord
4769cb2ce6 Fixes for delegates. 2015-09-04 17:51:45 +02:00
Matthijs ter Woord
0f21a8059f Refactoring and more fixes to plug. 2015-09-04 13:32:23 +02:00
Darnell Williams
19932b4a5b Array plug fixes for memory handles 2015-08-31 03:41:47 -04:00
Matthijs ter Woord
4f945b11ce Disable vmt debug code. 2015-08-31 08:39:36 +02:00
Matthijs ter Woord
0b5490a281 Ongoing changes. 2015-08-18 20:19:36 +02:00
Matthijs ter Woord
e030f5b850 Progress. 2015-08-05 17:32:32 -04:00
Matthijs ter Woord
2762604cbc More progress 2015-08-05 14:58:57 -04:00
Matthijs ter Woord
1d9c648691 Seem to be there. Merging follows. 2015-08-02 09:46:47 -04:00
Matthijs ter Woord
ac674008e4 More compiler fixes for new memory model. 2015-08-01 14:52:14 -04:00
Matthijs ter Woord
d2db318dc1 Progress. Most stuff seems to work now. 2015-08-01 13:48:25 -04:00
Matthijs ter Woord
422d6a56b8 Starting to work now. 2015-08-01 09:22:35 -04:00
Matthijs ter Woord
f54d7ace72 More progress 2015-08-01 09:04:35 -04:00
Matthijs ter Woord
4274bc52ac More progress. 2015-07-31 13:11:51 -04:00
Matthijs ter Woord
73758c2643 Ongoing memory work. 2015-07-31 12:46:07 -04:00
Matthijs ter Woord
be0ace5c62 - Turns out the VMT table was not generated correctly: the _Handle datamember wasn't pointing to the actual data area
- small bugfix in heap.
2015-07-31 11:51:27 -04:00
Matthijs ter Woord
675ce71d10 Ongoing work. 2015-07-31 08:34:28 -04:00
Matthijs ter Woord
630118f4c9 Fixed an issue with VMT initialization. 2015-07-29 20:13:40 -04:00
Matthijs ter Woord
e91b500738 . 2015-07-29 18:58:42 -04:00
Matthijs ter Woord
7a35344202 More work on memory 2015-07-29 15:35:47 -04:00
Matthijs ter Woord
d6167d6e00 - Add extra logging to GlobalSystemInfo and Heap
- Fixed ldstr and string sending with memory handles
2015-07-29 10:44:52 -04:00
Matthijs ter Woord
7858e43584 Ongoing work on memory 2015-07-28 20:18:14 -04:00
Matthijs ter Woord
b56ce24f52 Merge branch 'master' into memory_handles
Conflicts:
	Tests/Cosmos.TestRunner.Core/DefaultEngineConfiguration.cs
2015-07-28 16:30:05 -04:00
Matthijs ter Woord
fa4da67ff0 Ongoing debugger work. 2015-07-28 11:51:11 -04:00
Matthijs ter Woord
c1c3782770 Code reformat 2015-07-26 19:04:07 -04:00
Matthijs ter Woord
16f3dab45a I think the default Heap allocates handles now. 2015-07-26 18:37:09 -04:00
Charles Betros
2e4e0dd370 Added a test kernel for boxing.
Moved Char Plug to Cosmos.System.Plugs
Added FAT writing. (Doesn't work yet.)
2015-07-24 17:52:44 -05:00
Matthijs ter Woord
66d1597746 . 2015-07-23 16:48:34 -04:00
Matthijs ter Woord
ae4600a0ee Compilation seems fixed now. Still testing debugger. 2015-07-23 12:33:58 -04:00
Matthijs ter Woord
c340812392 Stack corruption bug is fixed now. Now still need to fix tests. 2015-07-23 12:24:54 -04:00
Matthijs ter Woord
c80eb38c8a Reformat 2015-07-23 12:04:48 -04:00
Matthijs ter Woord
9171a3de35 . 2015-07-23 11:58:30 -04:00
Matthijs ter Woord
1154900a9b Ongoing fixes 2015-07-23 11:26:39 -04:00
Matthijs ter Woord
67f06011e0 Implement simple branching for 8-byte operands. 2015-07-22 21:39:18 -04:00
Matthijs ter Woord
d827212e4a Ongoing VS2015 work. 2015-07-22 21:23:55 -04:00
Matthijs ter Woord
befe55c72b Add local and argument info on plugged method. argument info is handy there (locals not so much) 2015-07-18 02:19:28 +02:00
CSharpLover
9911ada17a Update links for github 2015-07-04 18:24:31 +03:00
Matthijs ter Woord
732a3e2a3a More fixes to stack reservation. We were assuming that there was space reserved for return value, while it shouldn't in all cases. 2015-07-04 12:46:28 +02:00
Matthijs ter Woord
cba227747b Reformat code 2015-07-03 20:49:46 +02:00
Matthijs ter Woord
8eaee43bc0 Small compiler fix. 2015-07-01 20:28:31 +02:00