Commit graph

73 commits

Author SHA1 Message Date
Quajak
87d514f4be
Made 0 padding optional for ulong 2020-10-19 00:18:09 +02:00
Elia Sulimanov
e7e6ef047c Added API docs for the classes at Cosmos.Common namespace 2020-06-02 17:11:19 +03:00
Elia Sulimanov
892e0eafaa Removed IsLengthDivisible function 2020-05-28 15:34:43 +03:00
Elia Sulimanov
20eff3e967 Updated the way passed string length checked 2020-05-28 14:52:39 +03:00
Elia Sulimanov
8e0a564990 Removed minus check on IsNumeric function 2020-05-28 14:48:23 +03:00
Elia Sulimanov
4b5b2fa231 Added new condition check on StrToByteArray
Added new condition check on StrToByteArray to make sure the length of the passed string is divisible by 3
2020-05-28 14:28:31 +03:00
Elia Sulimanov
de5eaa1683 Added IsLengthDivisible function 2020-05-28 14:20:06 +03:00
Elia Sulimanov
0d0da0040c Changed IsNumeric function
Changed IsNumeric function in order to be able to check long strings
2020-05-28 14:19:47 +03:00
Elia Sulimanov
9e185e27b2 Added new check on the string passed to StrToByteArray
StrToByteArray had unsafe, unchecked case in which str in not in a number format.
Passing non-numerical string to byte.Parse makes it throw the "System.FormatException: Input string was not in a correct format." exception.

Added new condition, to check if the string passed to this function is numeric, in order to prevent unhandled exception problem.
2020-05-28 01:46:28 +03:00
Elia Sulimanov
21864f6aad Added IsNumeric function 2020-05-28 01:38:49 +03:00
Quajak
33d16fca1c Readded ByteConverter class so that the Set methods can be still used.
Improved dialog of testrunner for saving the file
Fixed changes in FatDirectoryEntry
Added tests to EncodingTests for UnicodeEncoding
2018-07-04 22:31:20 +02:00
Quajak
cacc918f09 Removed the byte converter class and used encoding or bitconverter classes for the correct classes. 2018-05-13 21:23:43 +02:00
José Pedro
3d30e35332
Project file cleanup. 2018-02-15 19:25:36 +00:00
José Pedro
a63f4eaa5a Moved to .NET Core 2.0. 2017-08-24 19:20:44 +01:00
Kudzu
fa4c223452 Move again because of submodules being less than half baked in git. 2017-08-10 16:04:19 -04:00
Kudzu
fa00b78441 New Cosmos parent dir 2017-08-08 11:29:41 -04:00
Valentin Charbonnier
6e6e8d9760 Fixes (+ GetUtf16Bytes) 2017-08-03 17:40:43 +02:00
Kudzu
310ca122d7 g3 2017-08-02 18:43:32 -04:00
Kudzu
bba806bb94 more 2017-07-14 14:12:25 -04:00
Kudzu
84ec7fcfff more 2017-07-14 12:52:55 -04:00
Kudzu
de4967ed3c more 2017-07-14 12:41:10 -04:00
Kudzu
d95d0b71b7 Code sorting to RingAttribs phase 1 2017-07-14 12:39:10 -04:00
Kudzu
d49d53ddeb GC decoupling 2017-07-13 13:48:15 -04:00
Kudzu
1dbf352c74 ref fixes 2017-07-02 12:21:53 -04:00
Kudzu
71ec45c583 Bin Cache changes 2017-06-28 13:56:00 -04:00
José Pedro
7cc7a8d16b Fixed the debug engine.
Added kernel packages to installation.
2017-05-03 00:34:28 +01:00
Charles Betros
a319a3f97e VS 2017 work. 2017-03-19 09:29:46 -05:00
Charles Betros
2633005924 Exception regions and assembly ring. 2017-01-31 11:22:59 -06:00
Charles Betros
296ca05ab0 Get references. 2017-01-22 09:07:37 -06:00
Charles Betros
afd18e2f15 Code cleanup and solution cleanup for netcore. 2017-01-15 22:23:56 -06:00
José Pedro
c2d422edf4 Compiler fixes.
Created project.json files for projects that need it.
2017-01-11 00:12:14 +00:00
José Pedro
3db5ce43bb Compiler fixes.
Compiler fixes.
Updated project.json files.
Removed *.lock.json files and updated gitignore to ignore them.
Updated some Cosmos.Debug projects.
2017-01-08 14:54:29 +00:00
Charles Betros
88bdb029a9 Progress on net core. 2017-01-03 15:31:21 -06:00
Charles Betros
10cfcbea73 Progress on netcore. 2016-12-28 00:27:54 -06:00
Charles Betros
8e3046219a Netcore changes. 2016-12-22 23:02:29 -06:00
Charles Betros
8d4f634d48 Going with PCL for now to make P2P references easier. 2016-12-19 10:45:38 -06:00
Charles Betros
411ce3e872 Create projects and msbuild targets for dotnet core. 2016-12-13 22:39:41 -06:00
José Pedro
8e2aa72d4e Fix FAT test.
Minor changes in ToHexString and the FAT test.
2016-11-19 22:43:15 +00:00
fanoI
a277900369 - Fixed ldarga so it will work again with types > bytes
- Fixed typos on DoubleTest
- Restored GetNumberString() as it was on my commit of the end of August
2016-10-10 21:43:38 +02:00
José Pedro
a860b2373a 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:48:59 +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
1a63a35507 Fix for remainder op. 2016-09-07 17:03:15 -05:00
Charles Betros
c2b3094c57 Ongoing memory changes. 2016-09-07 14:49:22 -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
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
Matthijs ter Woord
c083c8f35f Add kernel panic method to debugstub. 2016-06-25 19:33:26 -04:00
Matthijs ter Woord
38e897543b Ongoing progress integrating new memory model. 2016-06-25 15:30:58 -04:00
Charles Betros
0bef9a8fac Updating solution config. 2016-03-13 12:27:58 -05:00