Commit graph

123 commits

Author SHA1 Message Date
NuHash
ab56018cf3 Removed PointsCollection 2017-05-23 14:30:58 +01:00
NuHash
feffe0a39f Made requested changes
Made DrawPolygon variadic
Included exception handling for drawing out of bounds
Updated CGS demo
2017-05-22 22:51:07 +01:00
NuHash
fb2065fd78 Added virtual keywords 2017-05-21 22:45:08 +01:00
NuHash
fa5b7e30b7 Completed DrawPolygon method
Create Point and PointsCollection classes to make it easier to use.
2017-05-21 22:27:19 +01:00
NuHash
ba861ddd18 Completed DrawCircle and DrawEllipse
Tested
2017-05-21 21:49:37 +01:00
NuHash
8476a1f0fd DrawCircle and DrawEllipse
Need to implement Bresenham
2017-05-21 02:23:00 +01:00
NuHash
cbb2f4440a Began DrawCircle function 2017-05-20 23:02:38 +01:00
fanoI
73aa970508 CGS finally works!
Please note that this version works only with Bochs.

- To make it works was needed to renounce to all structures (a part for primitive types) so now Mode and Color are classes.
- Implemented methods of Canvas DrawPoint(), DrawLine() and DrawRect() for now only color depth of 32 bit and integer coordinates are supported
- Changed IoPort of Bochs / VBE to MemoryBlock and not MemoryBlock08 so I can write an 32 bit ARGB color in only an operation instead of 4, this will semplify the future
  work of RGB24 and RGB16 too. Changed the name to the correct one "LinearFrameBuffer".
- Made VBEDriver more object oriented (used enums instead of hardcoded values, created methods and so on...)
- Bugfix in the Pen class there was confusion in the setter / getter of the Color property
- In VBEScreen removed the old code that is not needed anymore, added check to method arguments (that throws in case of fatal errors)
2017-01-08 22:57:27 +01:00
fanoI
86ff377084 First release of CGS, really preliminar work.
The kernel crashes for stack overflow :-)
2016-12-18 16:33:23 +01:00
José Pedro
8e2aa72d4e Fix FAT test.
Minor changes in ToHexString and the FAT test.
2016-11-19 22:43:15 +00:00
José Pedro
39ea6ee678 Fixed return on foreach
Fixed Array.Clear
Minor changes
2016-11-09 00:08:23 +00:00
José Pedro
c8844527a5 Merge branch 'master' 2016-11-03 22:50:14 +00:00
José Pedro
a8dca0d21d Minor changes 2016-11-03 22:43:21 +00:00
Charles Betros
4beeee98ab Enable some tests and small change to fat allocation. 2016-11-03 14:02:44 -05:00
jp2masa
da7e340148 Trying to fix KeyboardManager.cs 2016-10-24 20:49:22 +01:00
José Pedro
4f71752ca8 Merge branch 'master' of https://github.com/CosmosOS/Cosmos into KeyboardUpdate 2016-10-13 21:52:08 +01: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
José Pedro
594bf34fd6 Merge branch 'master' into KeyboardUpdate 2016-09-14 23:48:57 +01:00
Charles Betros
b3737d726c Fat fixes. 2016-09-11 16:35:43 -05:00
Charles Betros
a9cb616f86 Merge from master. 2016-09-07 19:42:40 -05:00
José Pedro
ba66f8b28d Merge branch 'master' of https://github.com/CosmosOS/Cosmos into KeyboardUpdate 2016-08-31 15:13:27 +01: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
José Pedro
74ccda1ffc Finished merging 2016-08-24 20:04:07 +01:00
José Pedro
a3b055fa7c Merge branch master into KeyboardUpdate 2016-08-24 19:45:25 +01:00
Unknown6656
f246908358 Added the german keyboard layout
* Added the German keyboard layout and made the keyboard implementation
more scalable and modular to permit future foreign keyboards.
* Added support for ALTGR-keypresses
* Added support for the OEM-102-key
* Cleaned up some code
2016-08-19 18:12:25 +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
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
6e5d7620a9 Little progress. 2016-06-25 17:37:45 -04: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
Matthijs ter Woord
075e64d991 . 2016-06-20 16:11:16 -04:00
Charles Betros
af12bec66f More filesystem work. 2016-06-15 23:29:36 -05:00
Charles Betros
280fdead4c Fix filesystem. 2016-06-14 23:20:10 -05: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
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
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
653b7a8321 Fixed Get directory listing with subdirectory. 2016-03-24 22:35:59 -05:00
Charles Betros
0bef9a8fac Updating solution config. 2016-03-13 12:27:58 -05:00
Charles Betros
4a3b6a50df Fixed up project and solution configurations and remove jetbrains annotations. 2016-03-06 17:33:21 -06:00
Charles Betros
559ee8570a Filesystem work. 2016-03-02 15:57:53 -06:00
Charles Betros
043cbb2f19 Fixed path plugs 2016-02-25 11:56:30 -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
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
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