Commit Graph

15 Commits

Author SHA1 Message Date
tchernobog d9d88e7032 - Put Simulation in stopped state before changing policy (doesn't
prevent a sigsegv if you try to change it while the simulation
is running)
- Use a red color to indicate a blocked thread / unallocable request
in widgets
- TODO: try the deadlock test w/ the rr (NOT the rr_priority) cpu
policy. There's something wrong with the policy...


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1019 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 08:46:06 +00:00
paolo 51ce976d65 - fixed redrawing bug
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1014 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-05 23:49:55 +00:00
paolo c9d9766092 - Modified colors gree, yellow, blue in simulation widget
- modified test-holt_widget accordling



git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1006 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-04 14:23:42 +00:00
tchernobog c10ed2f4fb - Add debug printout in SimulationWidget
- Add holt_widget.{cc,hh} to main executable sources


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1002 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-02 14:48:03 +00:00
matrevis 47d4fe65b4 - Corrected get_front() issues.
- Widget tests are now working properly.



git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@990 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-02 01:56:00 +00:00
tchernobog 231662825d - Unify interface of string_utils. I dropped most of the exception
handling, hoping it's unnecessary. Code should be slightly more
maintainable now.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@943 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-26 10:45:04 +00:00
paolo 7756a56b25 - modified simulation_widget to show threads
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@933 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-23 00:34:55 +00:00
paolo b3335ed467 - added src/holt_widget
- added src/testsuite/test-holt_widget
- updated Makefile.am



git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@928 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-22 01:38:30 +00:00
paolo ba00eac7f0 - updated simulation_widget
- now hinerith from SimulationObserver and HistoryObserver
- updated gui_builder and test-simulation_widget accordling



git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@925 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-21 17:50:44 +00:00
paolo 2a408b82af - modified cairo_widget, simulation_widget
- updated test-cairo_widget
- improved test-simulation_widget



git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@924 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-21 13:02:04 +00:00
paolo 894784463f - modified simulation_widget (pre release)
- added test-simulation_widget - modified Makefile.am



git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@910 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-20 03:49:17 +00:00
paolo e4c269f5d4 - modified cairo_widget and simulation_widget to support scaling
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@908 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-18 19:54:24 +00:00
paolo 69c098b266 - increased separation between CairoWidget and SimulationWidget
- CairoWidget doesn't extend more History Observer
  - Modified scaling in CairoWidget
  - NOTE: this is a partial update; total update will follow soon 
- added File save/file open in GuiBuilder



git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@903 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-18 07:27:00 +00:00
tchernobog f42eea8514 - The problem with CairoWidget was that it did scale a pixmap of ~100x100
with a *factor* of ~640x480. That means ~64*48*10^6*3 bytes = a ~1.1 Gb RAM pixmap.
The problem didn't show in versions of cairo >= 1.2 because it automagically
clips (yeah, cairo programmers *are* smart :-))
It is temporary fixed for the moment, will be made better asap.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@892 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-17 17:03:42 +00:00
tchernobog 59edb09c14 - Create SimulationWidget
- Drop the old SchedulablesWidget in favor of a simple Gtk::TreeView
- Update the GuiBuilder consequentially
- FIXME: in cairo_widget.cc : have we to scale the context before or after
drawing on it?


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@845 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-12 15:49:37 +00:00
Renamed from src/schedulables_widget.cc (Browse further)