summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-05removed superfluous context in vga driver (was not used)Andreas Baumann
added dummy methods and driver_init for anonymous driver initialization
2017-07-05updated bug listAndreas Baumann
2017-07-05small fix around vga.h incusionAndreas Baumann
2017-07-05tried to fix libc tests, currently they draw in too many dependenciesAndreas Baumann
and don't link. We have to separate libc better from the rest of the kernel code (kernel_panic, libc library initializers)
2017-07-05'mem' command shows memory usage of kernel heap nowAndreas Baumann
implemented a malloc/free and memory manager (simplest possible implementation, just allocating linearly and never freeing)
2017-07-05fixed compilation errors due to unused variablesAndreas Baumann
2017-07-05some kernel code cleanupAndreas Baumann
renamed 'proc' command to 'task' and make it show number of tasks and context switches
2017-07-05fixed graphical screen refresh (a refreshScreen task)Andreas Baumann
cleaned up code after interrupt_enable in main thread everything works again
2017-07-04got scheduling of task A and B working (now graphics output and termination ↵Andreas Baumann
is broken)
2017-07-02started to add task schedulingAndreas Baumann
2017-07-02more documentation on doing OOP in CAndreas Baumann
2017-07-02added ESC key in PS/2 keyboard driverAndreas Baumann
allow pressing ESC in graphics mode to return to text mode
2017-07-02simplified some driver manager code around calling virtual driver methodsAndreas Baumann
declared method tables const per class
2017-07-02some more vtable initialization fixesAndreas Baumann
2017-07-02updated bug list and added to TODO fileAndreas Baumann
2017-07-01do not call methods directly on desktop object, the desktop object couldAndreas Baumann
be derived, so go over the vtable (keyboard and mouse handlers in kernel.c)
2017-07-01replaced some strange access to .base.base with casts of the class to the ↵Andreas Baumann
class needed to access the proper vtable
2017-07-01got rid of superflous vtables in GUI class hierarchyAndreas Baumann
2017-07-01fixed get_focus error in widget (called the wrong parent)Andreas Baumann
the text widget reacts to mouse down and key events and appends text to the output buffer so we have text input in GUI mode
2017-07-01..Andreas Baumann
2017-07-01tested with pcc, worksAndreas Baumann
removed some weird comments in vga_font.h troubling pcc
2017-07-01added a preprocessor guard to vga_font.hAndreas Baumann
2017-07-01added a strlcatAndreas Baumann
2017-07-01restoring VGA text cursor in the right placeAndreas Baumann
2017-07-01readded -Werror and fixed some cast errors around memcpyAndreas Baumann
2017-06-30almost got a complete mode switch (vga graphics back to text) workingAndreas Baumann
some cleanup in VGA driver code
2017-06-30text widget has a constant buffer and owns the string to draw nowAndreas Baumann
(passing a const char * from a local stack context is not really a good idea!) added more efficiet draw method for characters in vga driver protected desktop for now against too often redraws (boolean global variable needs_redraw, this is later a soffisticated set-of-areas-to -redraw algorithm)
2017-06-30playing with Z buffering in VGA driverAndreas Baumann
2017-06-30added a third widget (for drawing fonts)Andreas Baumann
fixed drawing races due to mouse interrupts
2017-06-30added a VGA wait for retrace in graphics modeAndreas Baumann
2017-06-30added a window to gui which is draggable by the mouseAndreas Baumann
2017-06-29widget should be in kernel data section and not in local scopes of a stackAndreas Baumann
2017-06-26nothing working in gui!Andreas Baumann
2017-06-25fighting races and corrupted data on clang, funny behaviour on tcc, fine on ↵Andreas Baumann
gcc in desktop draw
2017-06-25small unused variable fixAndreas Baumann
2017-06-25we have a flickering mouse cursor and terrible redrawing of the desktop now :-)Andreas Baumann
removed the font window for now, far too slow!
2017-06-25put the mouse object into the global context so we can adjust theAndreas Baumann
resolution when switching video modes
2017-06-25fixed calculation of coordinates in text widgetAndreas Baumann
2017-06-24.Andreas Baumann
2017-06-24font is shown as a text widget nowAndreas Baumann
fixed setting of vtable in derived classes still some local to screen coordinate calculation problem in text widget
2017-06-24started to implement a widget showing text, the problem currentlyAndreas Baumann
is the inheritance method in draw is not working correctly
2017-06-24fixed the console output to VGA text mode to also wipe the rest of a lineAndreas Baumann
on newline
2017-06-24minor font printing fixesAndreas Baumann
2017-06-24printing whole ASCII font in VGA graphics modeAndreas Baumann
2017-06-24made VGA graphical font smaller (we only want ASCII for now)Andreas Baumann
some performance improvements in VGA graphics mode
2017-06-24started to make some things in graphical VGA driver fasterAndreas Baumann
2017-06-21started to rewrite to use the main desktop widgetAndreas Baumann
2017-06-21fixed vtable initialization of desktopAndreas Baumann
2017-06-21much nicer calls when passing color constantsAndreas Baumann
2017-06-21improved VGA colorsAndreas Baumann
added basics of a desktop widget class