Commit graph

96 commits

Author SHA1 Message Date
José Pedro
a3b055fa7c Merge branch master into KeyboardUpdate 2016-08-24 19:45:25 +01: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
47222a3a96 Keyboard update: KeyboardManager static class to manage different keyboards. 2016-07-18 21:26:35 +01:00
José Pedro
eede1e6675 Better keyboard implementation 2016-07-18 02:42:33 +01:00
José Pedro
2408319b41 Keyboard Update: now it's possible to change keyboard layout(it wasn't due to Rings); Fix typo in Cosmos.System.Plugs.RuntimeTypeImpl.cs; Implement op_Inequality(implemented as op_Equality and not sure if it's needed with the changes but needed it's needed by many system methods) 2016-07-12 22:38:37 +01: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
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
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
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
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
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