Commit Graph

  • 6969d5b2c2 - Written what I suppose might be HoltGraph elvez 2006-08-02 00:28:31 +0000
  • b9cbbacd10 - Added ResourcePolicy class. I need to clear some doubts before writing the remaining part of resource policy management... elvez 2006-08-01 22:57:40 +0000
  • c6ebe792e4 - Make Scheduler::step_forward return a bool representing if the step went okay or otherwise if the simulation ended - Fix simulation states in concrete_simulation.cc - Manage end of input (now CTRL+D exits the program, and you can redirect a file in input knowing that at EOF sgpemv2 will terminate) - Fix a bug in Scheduler that didn't add the newly created environment to History when the simulation ended, thus leading both to a memory leak and an inconsistency in representing the simulation tchernobog 2006-08-01 09:19:26 +0000
  • 6f8625d308 Just printing resource name along with ID in subrequest (1 line commit!) matrevis 2006-07-31 23:35:27 +0000
  • 504311a390 - Made more clear and complete output from TextSimulation - Added the "continuous" attribute for the SET and GET commands - Now resource ids are checked for validity elvez 2006-07-31 23:18:51 +0000
  • 1d34e1f592 - Draft first version of rr_priority (incomplete, will need some more exported interface) - Add to the Makefile the glade files tchernobog 2006-07-31 22:29:42 +0000
  • 96e8198d83 - Fix SJF to use the new exported interface. Maybe we could add a convenience function "get_remaining_time()" for the user commodity. tchernobog 2006-07-31 21:56:46 +0000
  • 58b35916c6 - Added another couple of dialogs, I`m not sure of what other dialogs we`ll need, so for the moment I`m done with it elvez 2006-07-30 21:43:35 +0000
  • 1508c179e6 - Added the dialog which asks the questions needed to create a process elvez 2006-07-29 17:18:52 +0000
  • 8b20c7d30a - Completed code for visualization of the simulation, there`s still the part for the visualization of the request queue commented elvez 2006-07-29 15:48:24 +0000
  • d64051279f - Fixed bug in copy construction of DynamicProcess - Fixed bug in get_parameter<bool> in TextSimulation - Written some new code for visualization of the simulation elvez 2006-07-29 00:24:48 +0000
  • 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 tchernobog 2006-07-28 15:24:56 +0000
  • 5b22b503a5 - Do the assignment before using the variable... tchernobog 2006-07-28 12:34:13 +0000
  • 6c79bc361c - Fix deadlock that blocked PythonPolicy::sort_queue tchernobog 2006-07-28 12:21:49 +0000
  • ebeda15359 - Add DLLEXPORT directive to sgpem::Module tchernobog 2006-07-25 11:08:05 +0000
  • 6a88e3d85e - Added NullPolicyException to scheduler - Started code for printing the state of the scheduling - Fixed a bug in the copy constructor of DynamicThread elvez 2006-07-23 22:27:33 +0000
  • f26b80f76b - Keep a map to hold request queues into a concrete_environment - TODO: fix test-history consequentially (request queues should be prepared by Scheduler or by Environment?) tchernobog 2006-07-23 13:38:13 +0000
  • 508ce4d86b - Aestethics when printing license tchernobog 2006-07-23 11:19:39 +0000
  • 66a2d414f2 - Fixed test-pyloader elvez 2006-07-22 14:47:39 +0000
  • 5e40f9a8c1 - Fixed a problem with test-pyloader, now it starts, but it segfaults in no time elvez 2006-07-21 23:41:06 +0000
  • 0dd711657f - Added the "set cpu-policy" command. It`s still not useful until we initialize the pyloader plugin... elvez 2006-07-21 13:10:31 +0000
  • ddb0d99aca - Add note about indentation in Emacs (how to get it right) - Add deletor.tcc to Makefile.am tchernobog 2006-07-20 22:12:08 +0000
  • 19ee5c1884 - Fix deletion using an ad-hoc functor to avoid memory leaks, instead that ptr_fun(operator delete). Valgrind says we're doing well with History\! tchernobog 2006-07-20 21:50:28 +0000
  • 69a7ee03eb - Fix visibility support into string_utils tchernobog 2006-07-20 11:11:37 +0000
  • 40180557c7 - Bits and tits of step_forward tchernobog 2006-07-20 10:36:24 +0000
  • bfbcc71e72 - Force initialization of the PythonPolicyManager tchernobog 2006-07-20 08:43:58 +0000
  • dbd24ffd75 - Fix compilation of PoliciesGatekeeper, making sure we don't invalidate iterators - Fix test-history wrong index variable that made the program try to poke its nose where it shouldn't tchernobog 2006-07-20 08:27:56 +0000
  • e3d2381212 - Pay attention to iterators invalidated by Container.erase(it) methods. tchernobog 2006-07-19 15:50:57 +0000
  • 95ef5eba53 - Fix compilation of test-python_loader (which doesn't f*ckin' work). tchernobog 2006-07-19 14:48:53 +0000
  • 984d390f3f - Fix typo with iterator initialization (screwed RAII) tchernobog 2006-07-19 14:02:44 +0000
  • a92b542081 - Completed test-history. I still have some doubts about some points, but I think the current implementation is already a pretty intensive test... elvez 2006-07-18 23:39:33 +0000
  • 14b5b66b3c - Implement a couple of helper methods into Dynamic(Sub)Request to make life easier to Scheduler - Go on implementing a bit more of Scheduler::step_forward() - Remove "places" from SubRequest tchernobog 2006-07-18 15:52:55 +0000
  • 53073295d5 - Started test-history elvez 2006-07-18 14:48:33 +0000
  • d839e4dcf6 - Lower requirements for libglademm tchernobog 2006-07-18 08:50:40 +0000
  • d9f24de7c0 - Written ConcreteHistory copy constructor elvez 2006-07-16 21:56:04 +0000
  • f4b255d31c - Fixed linking problem with visibility enabled caused by TextSimulation accessing (stupidly) Dynamic* objects - Removed a bunch of FIXME from text_simulation.cc, now TextSimulation fully cooperates with Environment and History elvez 2006-07-16 21:43:54 +0000
  • a092f3dc7b - Moved Simulation and ConcreteSimulation to the backend > - Completed ConcreteSimulation, i think it is all we need at the moment... elvez 2006-07-16 13:35:39 +0000
  • cab84a0e3d - deleted "gera ora!" test-global_preferences_serializer.cc paolo 2006-07-15 21:03:55 +0000
  • 4ab7123ced - Added ConcreteSimulation, but not coded it`s behaviour - Made Simulation a singleton elvez 2006-07-15 17:35:24 +0000
  • 1506c46287 - Added the REMOVE command, it was almost completely a cut-and-paste work, so the code will need some refactoring to remove duplicated portions elvez 2006-07-15 15:46:13 +0000
  • d26ee57e3c - definive fix of xml serialization paolo 2006-07-15 11:29:20 +0000
  • 1ea164cb23 - added a semi-good global preferences serialization test program paolo 2006-07-15 11:28:11 +0000
  • 2b31d6d2eb - fixed global preferences serialization - global_preferences.?? - fixed key=value configuration class - key_file.?? paolo 2006-07-15 11:25:57 +0000
  • 8a43216527 - validation dtd and example of snapsot data paolo 2006-07-15 11:23:05 +0000
  • 6ea402f012 - removed unused files serializer_visitor.?? paolo 2006-07-15 01:31:38 +0000
  • 88d5ca2fe1 - updated & documented all about serializers & visitors paolo 2006-07-15 01:28:35 +0000
  • 35ae7f4eae - updated seriralize_visitor to manage history & environment - corrected wrong calls to SerializeVisitor in dynamic_process & dynamic_thread paolo 2006-07-15 01:25:31 +0000
  • aee102d05d - xml serializer test in semi-ok version paolo 2006-07-14 05:15:03 +0000
  • d31c31d8a3 - Completed the ADD command, or better, what was implementable of the ADD commmand... Beware this is UNTESTED code! elvez 2006-07-13 21:09:27 +0000
  • 751ecf6415 - Begin writing the ADD command. I`m assuming you all like what I`m doing... elvez 2006-07-13 15:07:15 +0000
  • 456cef0fd3 - Added some more templates in preparation of the ADD wizards. This will minimize redundant code in the forthcoming methods elvez 2006-07-12 23:52:09 +0000
  • 4bece17f36 - Completed the SHOW command with the best I can do at the actual stage of development - Layout of output is not tested so it will surely look odd the first time it is run... elvez 2006-07-12 22:46:55 +0000
  • 8894e31222 - partial update of serializer paolo 2006-07-12 22:31:47 +0000
  • 09268f7fd4 - Add stubs to implement custom widget to show schedulables entities. Paint a red clown nose just to show the humour of the thing, and that it works(?). tchernobog 2006-07-12 09:24:57 +0000
  • db34232e72 - Textual simulation is now brought up only if requested by the -N switch given at the cmdline tchernobog 2006-07-12 08:31:25 +0000
  • 3612d20ae0 - Partially written the code for the SHOW command. - Reorganized source to avoid duplicated code elvez 2006-07-11 22:50:41 +0000
  • d4beb67d0e - Added the GET and SET commands to TextSimulation elvez 2006-07-11 15:46:46 +0000
  • 8ffd81b823 - Adjusted copy construction of the Dynamic* hierarchy. Hope this is what you wanted, Matteo... elvez 2006-07-11 14:20:30 +0000
  • b6b303c4e3 - updated xml_serializer.??, xml_visitor.?? - added xml_serializer_factory.?? paolo 2006-07-11 00:06:40 +0000
  • 864e71b82e - update serializer related files paolo 2006-07-11 00:04:26 +0000
  • 6150af3d30 - Fixed some bugs in command processing, added the configure-cpu-policy command elvez 2006-07-10 22:28:51 +0000
  • 1a6805afc4 - Update interface to see how if would look if we put together all in the same window tchernobog 2006-07-10 19:17:19 +0000
  • 2ede92d6d1 - Written some code for command processing. Still not tested it. Feedback is very much appreciated! elvez 2006-07-09 16:27:16 +0000
  • 0e79b163f3 - Fix Dynamic* constructor to add them objects into the correct vector - Split push_back in constructors on two lines so the compiler warns us if returned vectors are temporary objects, or do not match the expected type tchernobog 2006-07-09 15:48:24 +0000
  • 301775debd - modified concrete_hystory - method add_thread - fix push into static_process's vector and dynamic_process's vector - method add_request - fix push into static_thread's vector and dynamic_thread's vetor paolo 2006-07-09 15:25:19 +0000
  • 519e516314 - added xml serialization classes (partial implementation) - xml_serializer - xml_visitor - testsuite/test-xml_visitor paolo 2006-07-08 05:54:21 +0000
  • 4d862a3c2f - added classes needed by serialization - serializers_gatekeeper - serializer - serializer_error - serializer_visitor (should replace serialize_visitor) paolo 2006-07-08 05:50:41 +0000
  • c1d104dba8 - Small changes: no need to use assert, since libGlade already does print a warning for us on error - Fix Makefile tchernobog 2006-07-06 12:36:05 +0000
  • f84c7bbf40 - Do things in a more C++ style tchernobog 2006-07-06 12:23:29 +0000
  • 483cf2815d - Pardon my italian, but "'affanculo" is the only thing that crosses my mind seeing what was the correct fix. tchernobog 2006-07-06 11:26:23 +0000
  • 933d814ddc - Trivialities: change a couple of comments. The SIGSEGV isn't related to option parsing. tchernobog 2006-07-06 10:51:37 +0000
  • 8b1da4e1c7 - Fix plugin.hh visibility attributes - Improve option parsing - Strange SIGSEGV still happening (a different one, though) tchernobog 2006-07-06 09:49:35 +0000
  • 3125f3d3cf - Option parsing system is now complete, shame on me, Glib::Option* was so easy to use... - This is not so important, but the app now segfaults because of this "improvement", don`t say it`s my fault, from what I can understand, glib crashes at some time in between the call to parse_options() is terminated and the call to start_gui() is performed elvez 2006-07-06 00:05:50 +0000
  • b6da06e014 - Added a touch of class to the plugin management system. Now we do things (more or less ;-) ) like gaim does! elvez 2006-07-05 21:30:08 +0000
  • 27ac53330e - Written what I could for commandline options parsing, it will take a lot to move from this point if I can`t find adequate documentation for the option parsing system of Glib... elvez 2006-07-05 21:00:57 +0000
  • 331bf0c9e5 - Empty test-history tchernobog 2006-07-05 17:21:05 +0000
  • 45cc6733e4 - Fixed plugin interface. Now both plugins are loaded. Not tried calling the exported functions, though... - To make sure libraries are not loaded multiple times, only .so files are considered. Beware that this is not portable elvez 2006-07-05 17:03:04 +0000
  • f181c93527 - added global_preferences_serielizer - TO DO - test-program not finished paolo 2006-07-05 16:01:44 +0000
  • d7ca106d89 - Add about dialog as an extra example on how to use libglade with signals - Remember that sigc::bind exists for passing extra parameters to called methods/functions tchernobog 2006-07-05 15:16:58 +0000
  • e99b7c80ae - Whoops, missing glade file tchernobog 2006-07-05 14:39:58 +0000
  • 41d20ba6eb - Move to libglademm to handle GUI creation. This is experimental, but should greatly help in reducing development times tchernobog 2006-07-05 14:37:11 +0000
  • 3dd8403f0a - Port xmlsave to the new plugin system tchernobog 2006-07-05 12:52:11 +0000
  • 1b018234be - Make me compile! (this doesn't necessarily mean it runs, though.) - Fix SWIG interface to correctly manage things - PythonPolicyManager isn't a singleton anymore. Since I did this in a bit of a hurry, check the modifications are right tchernobog 2006-07-05 12:46:12 +0000
  • fee643d3f3 - added files to write to and read from configuration files paolo 2006-07-05 12:32:16 +0000
  • 90fc0c6c95 - addedd files to read/wride configuration files paolo 2006-07-05 12:31:07 +0000
  • b69f9b9d12 - Finish splitting the visibility macro also for plugins ---Questa linea, e quelle sotto di essa, saranno ignorate-- tchernobog 2006-07-05 12:05:30 +0000
  • cd9a73ee0e - Move macro for checking for GCC visibility support to a separate file - Delete the "serialize()" method of concrete_environment, since useless tchernobog 2006-07-05 11:11:50 +0000
  • 6152a06268 - Another typo, for a change tchernobog 2006-07-04 23:18:39 +0000
  • 3f024be712 - Fix typo, but not compilation tchernobog 2006-07-04 23:17:29 +0000
  • 3e83f4db23 - Fix return type of Scheduler::get_policy() before going to bed tchernobog 2006-07-04 23:12:28 +0000
  • 22af0b9cdd - Add method to set a request state - Work on step_forward() a little more - Add extra check inside dynamic_thread()::decrease_remaining_time() tchernobog 2006-07-04 23:09:10 +0000
  • dd4898ca55 - Added SerializeVisitor class and written various serialize() methods elvez 2006-07-04 22:34:39 +0000
  • fcc9e93827 - Let the user disable the new GCC 4.0 visibility support from configure. This is mainly there for buggy compilers / binutils. tchernobog 2006-07-04 22:17:02 +0000
  • 4108b39c09 - Fix datarootdir for autoconf 2.60 tchernobog 2006-07-04 20:28:40 +0000
  • b7d61d5c56 - Fix compilation tchernobog 2006-07-04 19:53:58 +0000
  • 5ab575dffd - Minor modifications to step_forward() tchernobog 2006-07-04 17:17:31 +0000
  • 401c569a9f - Updated interface of pyloader to comply with the new plugin management system`s requirements - Commented a lot of code to make it compile-able. But still it doesn`t link (at least for me...) elvez 2006-07-04 15:05:04 +0000
  • b65adbe1cc - Empty the main - Delegate plugin loading to PluginManager so that it can be tested tchernobog 2006-07-04 11:09:45 +0000
  • a378239d60 - Only schedule Threads. Ditch support for Policies deciding if they want to schedule Threads or Processes altogether - Move setter methods for last_acquisition/last_release from DynamicSchedulable to DynamicThread - Rewrite aforesaid methods, along with the respective getter methods, into Dynamic(Thread|Process) tchernobog 2006-07-04 10:46:15 +0000
  • 736aa25456 - Change pkg-config file to use ${prefix}/include rather thant ${prefix}/include/sgpemv2: users will be able to use directives like "#include <sgpemv2/scheduler.hh>" in their headers, which reduces name clashes. - Make _mutex a protected member of Singleton, so that inheriters can recycle it :-) - Add exclusive access control for step_forward() - Add two states (future and exhausted) to Request tchernobog 2006-07-04 10:03:43 +0000