Commit graph

109 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
95f4dbad77 More memory work. 2016-09-11 07:53:45 -05:00
Charles Betros
a9cb616f86 Merge from master. 2016-09-07 19:42:40 -05:00
Charles Betros
c2b3094c57 Ongoing memory changes. 2016-09-07 14:49:22 -05:00
Charles Betros
4b5bc34445 Remove breakpoints. 2016-09-06 14:38:29 -05:00
Charles Betros
87d964a602 More memory. 2016-09-05 01:01:54 -05:00
Charles Betros
4f13a49a85 Compiler changes for memory. 2016-09-03 00:40:33 -05:00
Charles Betros
85103e9d9b RAT progress 2016-08-26 07:02:18 -05: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
fanoI
e2f363a200 Merge branch 'master' of https://github.com/CosmosOS/Cosmos
# Conflicts:
#	Tests/Cosmos.Compiler.Tests.Bcl/System/DoubleTest.cs
#	Tests/Cosmos.Compiler.Tests.Bcl/System/SingleTest.cs
2016-08-22 17:12:59 +02:00
fanoI
ad960c9a1a Continuation of Float work
- Fixed Single.ToString() on special cases (infinities, NaN and 0) and aumented the range of printable values
- Fixed Double.ToString(): it always printed "Double Overrange" for a bug in opcode ldarga
- Fixed opcode ldarga: the displacement of the argument variable was off of 4 bytes
- Fixed opcodes shr, shr_un and shl when the shift was more that 32 bytes, added to BCL relative tests
- Added BLC tests regarding BitConverter and unsafe code
- Moved the meat of the code of Single.ToString() and Double.ToString() to the class StringHelper together with the analogous methods for numer types
- Re-added _floatsignbit to CosmosAssembler.cs so the neg test should not fail anymore
- Removed all code relative to x87 that I had left under #if false
- Clean up
2016-08-22 16:31:22 +02: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
Charles Betros
37a4e71deb Merge some compiler changes from master. 2016-06-29 23:18:04 -05:00
Matthijs ter Woord
218f3ef03a Merge pull request #395 from jp2masa/ConsoleUpdate
Implemented some console methods and fixed a bug in the console, copying the behaviour of background color in windows console applications.
2016-06-26 20:27:26 +02:00
Matthijs ter Woord
8cfa0b89ca Merge pull request #389 from MichaelTheShifter/console
Added more keys to the ConsoleKeyEx -> ConsoleKey converter.
2016-06-26 19:09:01 +02:00
Matthijs ter Woord
1433340ba5 Generic plugs work now. 2016-06-25 10:52:50 -04: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
José Pedro
fbac0cabcf Implemented some console methods and fixed a bug in the console, copying the behaviour of background color in
windows console applications.
2016-06-24 00:41:30 +01: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
MichaelTheShifter
db31f1bbfe Added some new Console keys. 2016-06-18 15:26:01 -04:00
MichaelTheShifter
a522e2bc0c Merge remote-tracking branch 'refs/remotes/CosmosOS/master' into crypto 2016-06-17 08:46:47 -04:00
Charles Betros
bec9009bfc More path fixes. 2016-06-17 00:00:45 -05:00
MichaelTheShifter
692af4f061 Merge remote-tracking branch 'refs/remotes/CosmosOS/master' into crypto 2016-06-16 15:53:38 -04:00
Charles Betros
c9cfbbe443 Filesystem work. 2016-06-16 11:59:07 -05:00
MichaelTheShifter
b795d787f8 fixed an error with the cctor plug in system.security.cryptography.cryptoconfig 2016-06-16 08:22:29 -04: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
MichaelTheShifter
07c5a1a4bf Merge remote-tracking branch 'refs/remotes/CosmosOS/master' into crypto 2016-06-15 08:16:10 -04:00
Charles Betros
280fdead4c Fix filesystem. 2016-06-14 23:20:10 -05:00
MichaelTheShifter
7aef75dc25 Override CryptoConfig .cctor 2016-06-14 14:11:02 -04:00
MichaelTheShifter
e1d2e029b2 Plugged System.Security.Cryptography.AllowOnlyFipsAlgorithm 2016-06-14 11:29:34 -04:00
Matthijs ter Woord
fe9cbbe9ff Console.ReadKey should work now as well. 2016-06-09 07:56:29 -04: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
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
ef9282836b Fixed keyboard interrupt, generics, and double. 2016-04-14 13:26:54 -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
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
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