Commit Graph

111 Commits

Author SHA1 Message Date
tchernobog 957ce2c987 - Add images needed for ``make dvi'' and ``make html'' (else
``make distcheck'' won't finish correctly). Sorry for the
filesize.
- Fix wrong reference in the user manual


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1084 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-09 16:48:18 +00:00
fpaparel 2d87f354e1 - Finished backend statistics, added two source files, added simple and TEMPORARY printouts into
simulation_widget



git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1080 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-09 16:04:35 +00:00
tchernobog 20aa646546 - Add new .xgp file to Makefile.am
- Fix warning in manual


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1079 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-09 15:45:39 +00:00
tchernobog 90ff1f455d - Add a screenshot of the main window to the documentation. Images
should be the exception, not the rule!


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1067 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-08 16:05:16 +00:00
tchernobog e4d359304c - Add exception checking to ConcreteSimulation::jump_to()
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1054 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 21:26:41 +00:00
matrevis a9c0ff01d2 - Added resource policies: FIFO and Priority.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1052 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 19:22:38 +00:00
tchernobog f7eb44bf64 - Fix ``make distcheck''
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1051 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 19:12:19 +00:00
fpaparel 8271a880b2 - added source files
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1050 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 18:05:40 +00:00
tchernobog 312b67e2a4 - Re-enable clipping for HoltSchedulable
- Add missing header to Makefile.am 
- Regen POTFILE.in


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1046 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 16:56:42 +00:00
elvez 4aa7bcf460 - Implemented jumpto for the gui, it has some problems, but at 4:00 AM a human being should be doing something else, perhaps sleeping
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1034 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 02:08:00 +00:00
tchernobog 0f718f2899 - Fix all includes, separating header files to be installed
from other headers. Take it while it's hot.
- To all those that lock source files: you'll burn in hell. Really.
It'll be painful, dreadful and above all *long*. *Eternally* long.
And there'll be Freddy Mercury and The Queen playing, *all the time*, 
day after boring, useless, sorrowful day. The song
will be *``Radio Ga-Ga''*, in secula secularum amen.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1033 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 00:43:00 +00:00
tchernobog cb1d85a4cc - Add a widget to show the ReadyQueue
- Change slightly the gradients of the SimulationWidget to make
them more aggressive. Bite, Fido! :-)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1025 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 14:51:53 +00:00
elvez a4d6bf2771 - Forgot to update makefile
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1018 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 00:44:56 +00:00
paolo 2b9942bbec - test-holt_widget: temporary added an extra holt_widget in container
- gui_builder: added an holt_widget in container
- Makefile.am: added holt_containr_window accordling 



git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1015 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-05 23:54:16 +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 b4f8c61695 - Ported wizards, altough still missing the way
to copy them into the install destination directory
- Yaling in preferences treeviews
- Changing policy now resets history
- Corrected some detail in speed control widget


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@995 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-02 11:47:06 +00:00
tchernobog f003779a04 - Split SimulationController from GuiBuilder and put it in its own file
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@994 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-02 11:31:01 +00:00
tchernobog 4f3e8f61df - Enable CPUPolicy configuration in the GUI through clicking on the
toolbar button about the "Scheduling policy". The same is true also
for a ResourcePolicy. These two features will also need a related
entry under the "Edit" menu. Closes task #15.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@970 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-30 23:37:11 +00:00
elvez 9af2008050 - Allow compilation of test which didn`t need massive updates (those from m0.1). Task #19
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@969 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-30 22:35:45 +00:00
matrevis f3dc9b77df - Added a bit of resource policy mamagement. Still far from being usefu.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@958 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-28 22:40:08 +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
elvez 077157739c - Enjoy the new ResourcesWidget! (to be honest, it`s mainly a cut-n-paste work made from SchedulablesTreeWidget...)
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@921 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-21 00:12:56 +00:00
tchernobog 8c3d8b4878 - Some little improvements to interface (use HPaned instead of HBox)
- Add logo to AboutDialog :-)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@919 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-20 22:15:02 +00:00
tchernobog 23adb864c2 - Add first draft of a widget to show the state of a schedulable
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@915 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-20 19:19:30 +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
elvez dd40bac86c - Improvements to the schedulables widget, now the menu is context-sensitive
- Started work on the add-request-dialog derived widget, it`s not so difficult as I first thinked...

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@909 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-19 00:09:36 +00:00
paolo df24fafb06 - added test-cairo_widget to Makefile.am
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@907 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-18 19:52:44 +00:00
tchernobog d3704721d9 - Make libbackend.so link against glibmm (solves undefined references
in libbackend)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@905 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-18 09:15:45 +00:00
matrevis df4b32f1ba - Added full-featured jumpto command.
- Minor fixes on the gui.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@901 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-18 00:46:38 +00:00
tchernobog e27ba77fed - Merge branch https://lowca.thgnet.it/swe/branches/0.3-r847--simplify-scheduler
revisions 846:897 into trunk, with approval and peer review of manager (Luca).


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@898 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-17 23:30:49 +00:00
tchernobog 0933d63344 - Small change: we left some unused variables around, I removed them
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@886 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-16 21:13:52 +00:00
matrevis cfd7a025db - Added a best-effort preferences dialog:
the user may now add plugin directories,
  policy directories, and set the simulation
  speed.
- Added some menu voice to the main window.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@872 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-15 17:33:47 +00:00
tchernobog 390af1f09d - Add support for input sequences via template; this should simplify a little
iterating over containers


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@857 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-14 12:09:51 +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
elvez 97d6f574af - Done some more experimental work on the tree widget, indeed I hoped gtk were a more developer-friendly toolkit than it is...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@843 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-12 00:35:40 +00:00
elvez 48fc2f5a00 - Added still more error checking to PythonCPUPolicy. But the code which calls its methods should be updated to handle the new exceptions...
- Added a base class for cpu policy exceptions to make simpler their catching
- Implemented all numeric fields in dialogs with spinboxes, with bounds checking

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@838 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-10 00:42:17 +00:00
elvez 0138387a7f - Added the LOAD command to TextSimulation, and the classic question made to user on replacing an unsaved simulation
- Changed the way syntactically incorrect python policies are handled, we no more exit abruptly

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@829 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-08 00:20:56 +00:00
tchernobog a7fc644043 - Fix compilation and loading of XmlSave plugin
- Fix throwing of exceptions from sgpem::Module
- **THOU SHALL ALWAYS UPDATE THY MAKEFILES, OR THE WRATH OF GOD
WILL DESCEND UPON THEE**


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@827 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-07 15:16:27 +00:00
elvez 96728edfce - Fixed compilation errors caused by latest changes to serialization code
- Setup makefile for xmlsave plugin. It still can`t be activated. why?
- Added a temporary command SAVE to commandline interface to try serialization

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@826 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-07 00:54:43 +00:00
tchernobog 132db18b8c - Split between abstract base class (sgpem::CairoWidget) and
derived widget
- Add History::set_notify_enabled() for usage by the frontend 
(for example, when loading from file, you'll want to call
set_notify_enabled(false) before starting)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@823 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-04 20:08:55 +00:00
elvez 10091d7a16 - Added ResourcePolicyManager
- Removed obsolete files

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@815 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-02 23:38:52 +00:00
tchernobog 43b817aaed - Rename Policy to CPUPolicy where appropriate
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@811 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-02 21:57:36 +00:00
elvez 6969d5b2c2 - Written what I suppose might be HoltGraph
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@809 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-02 00:28:31 +00:00
elvez b9cbbacd10 - Added ResourcePolicy class. I need to clear some doubts before writing the remaining part of resource policy management...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@808 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-01 22:57:40 +00:00
tchernobog 1d34e1f592 - Draft first version of rr_priority (incomplete, will need some more
exported interface)
- Add to the Makefile the glade files


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@804 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-07-31 22:29:42 +00:00
tchernobog 25e5a7319b - Add CairoElements
- Start code for double buffering in custom widgets, using
an off-screen pixmap. Problem: we don't know the height from the 
beginning


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@798 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-07-28 15:24:56 +00:00
elvez 6a88e3d85e - Added NullPolicyException to scheduler
- Started code for printing the state of the scheduling
- Fixed a bug in the copy constructor of DynamicThread

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@794 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-07-23 22:27:33 +00:00
tchernobog ddb0d99aca - Add note about indentation in Emacs (how to get it right)
- Add deletor.tcc to Makefile.am


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@788 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-07-20 22:12:08 +00:00
elvez a092f3dc7b - Moved Simulation and ConcreteSimulation to the backend
> - Completed ConcreteSimulation, i think it is all we need at the moment...

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@773 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-07-16 13:35:39 +00:00
elvez 4ab7123ced - Added ConcreteSimulation, but not coded it`s behaviour
- Made Simulation a singleton

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@771 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-07-15 17:35:24 +00:00