From 8c39173c2f4bc2ef45c221c5221c300e136e5e74 Mon Sep 17 00:00:00 2001 From: tchernobog Date: Sat, 25 Feb 2006 19:32:54 +0000 Subject: [PATCH] - Update ac_python_devel macro to integrate advice from Horst - Improve a little GraphicalTerminalIo git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@461 3ecf2c5c-341e-0410-92b4-d18e462d057c --- ChangeLog | 1151 +++++++++++++++++++--------------- m4/ac_python_devel.m4 | 38 ++ src/graphical_terminal_io.cc | 82 +-- src/graphical_terminal_io.hh | 12 +- 4 files changed, 739 insertions(+), 544 deletions(-) diff --git a/ChangeLog b/ChangeLog index bfd4a82..28514b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,953 +1,1108 @@ +2006-02-25 12:40 tchernobog + + * trunk/Makefile.am, trunk/src/backend/plugin.hh, + trunk/src/backend/pyloader/hook.cc: - Add placeholder for a plugin + interface to implement. Will need to be finished with next + milestones. + +2006-02-25 12:31 tchernobog + + * trunk/Makefile.am, trunk/src/main.cc: - Remove all leftover + references to DummyPolicy - Adjust installation of backend header + files, so users can write their own plugins (needs to be + documented) + +2006-02-25 12:21 tchernobog + + * trunk/Makefile.am, trunk/src/backend/dummy_policy.cc, + trunk/src/backend/dummy_policy.hh, trunk/src/backend/policy.hh, + trunk/src/backend/policy_manager.cc, + trunk/src/backend/policy_manager.hh, + trunk/src/backend/pyloader/hook.cc, + trunk/src/backend/pyloader/python_policy.cc, + trunk/src/backend/pyloader/python_policy.hh, + trunk/src/backend/pyloader/sgpem.i, + trunk/src/backend/scheduler.cc, trunk/src/backend/scheduler.hh, + trunk/src/main.cc, trunk/src/simulation.cc, + trunk/src/testsuite/test-python_loader.cc: - Make libpyloader a + loadable plugin (warning: won't work on Window$ unless you change + the string "libpyloader" to "pyloader" into main.cc) - Fix + Makefile to support module creation and loading - 2DO: - Add a + class into backend to load and manage plugins - Install plugins + into separate directory - Remove hardcoded paths + +2006-02-24 16:42 tchernobog + + * trunk/Makefile.am: - Workaround Automake limitations for + calculating library dependencies when installing. Should fix the + problem for now. + +2006-02-24 16:36 tchernobog + + * trunk/Makefile.am, trunk/po/sgpemv2.pot: - Install tests (will + need to be set as a conditional at some point in the future) + +2006-02-24 15:10 fpaparel + + * trunk/src/backend/observed_subject.hh, + trunk/src/backend/policy_parameters.hh, + trunk/src/backend/pyloader/python_policy.hh, + trunk/src/backend/string_utils.hh: - added doxygen documentation + +2006-02-24 14:25 tchernobog + + * trunk/src/graphical_simulation.hh: updated graphical_simulation.hh + - Djina + +2006-02-24 13:19 matrevis + + * trunk/ChangeLog, trunk/src/backend/process.hh, + trunk/src/backend/scheduler.hh, + trunk/src/graphical_terminal_io.hh, trunk/src/parse_opts.hh: - + Added documentation to some headers + +2006-02-24 12:22 johnny + + * trunk/src/backend/dummy_policy.cc, + trunk/src/backend/dummy_policy.hh: - More documentation + 2006-02-24 11:17 tchernobog - * Makefile.am, src/backend/pyloader/python_policy.cc, - src/backend/pyloader/python_policy_manager.cc, - src/builtin-policies/fcfs.py, src/builtin-policies/sjf.py: - Add - SJF - Re-enable FCFS sorting function - Correct bug in - PythonPolicy that wronged return value of is_pre_emptible() + * trunk/Makefile.am, trunk/src/backend/pyloader/python_policy.cc, + trunk/src/backend/pyloader/python_policy_manager.cc, + trunk/src/builtin-policies/fcfs.py, + trunk/src/builtin-policies/sjf.py: - Add SJF - Re-enable FCFS + sorting function - Correct bug in PythonPolicy that wronged return + value of is_pre_emptible() 2006-02-24 10:39 tchernobog - * Makefile.am, src/backend/pyloader/Policy.py, - src/builtin-policies/fcfs.py: - I don't remember exactly what I - did. + * trunk/Makefile.am, trunk/src/backend/pyloader/Policy.py, + trunk/src/builtin-policies/fcfs.py: - I don't remember exactly + what I did. 2006-02-24 10:07 tchernobog - * src/testsuite/test-python_loader.cc: - Fix trivial conflict + * trunk/src/testsuite/test-python_loader.cc: - Fix trivial conflict between revisions 2006-02-24 09:53 tchernobog - * src/text_simulation.cc: - Print arrival time instead of priority - for Schedulables at this stage of development + * trunk/src/text_simulation.cc: - Print arrival time instead of + priority for Schedulables at this stage of development 2006-02-24 09:02 tchernobog - * src/backend/pyloader/Policy.py, src/backend/pyloader/sgpem.i: - - Fix Schedulable::get_name() in SWIG export interface + * trunk/src/backend/pyloader/Policy.py, + trunk/src/backend/pyloader/sgpem.i: - Fix Schedulable::get_name() + in SWIG export interface 2006-02-24 08:28 tchernobog - * src/backend/pyloader/python_policy.cc: - Return + * trunk/src/backend/pyloader/python_policy.cc: - Return numeric_limits::max() from get_time_slice() of PythonPolicy when the Python user-implemented one returns a negative value 2006-02-24 01:33 jinx - * src/graphical_simulation.hh, src/io_manager.hh, - src/main_window.hh, src/start_gui.hh: Added some comments to the - source code + * trunk/src/graphical_simulation.hh, trunk/src/io_manager.hh, + trunk/src/main_window.hh, trunk/src/start_gui.hh: Added some + comments to the source code 2006-02-24 01:24 johnny - * src/backend/schedulable.cc, src/backend/schedulable.hh, - src/backend/schedulable_list.cc, src/backend/schedulable_list.hh, - src/backend/schedulable_status.cc, - src/backend/schedulable_status.hh: - "Commenting The Source(tm)" - 02-2006 - The best summer camp of the world - Second part - - Reorganized the .cc files to match the .hh methods order. + * trunk/src/backend/schedulable.cc, + trunk/src/backend/schedulable.hh, + trunk/src/backend/schedulable_list.cc, + trunk/src/backend/schedulable_list.hh, + trunk/src/backend/schedulable_status.cc, + trunk/src/backend/schedulable_status.hh: - "Commenting The + Source(tm)" 02-2006 - The best summer camp of the world - Second + part - Reorganized the .cc files to match the .hh methods order. 2006-02-24 01:06 paolo - * src/backend/history.hh, src/backend/policy.hh, - src/backend/policy_manager.hh, src/backend/slice.hh: Documented - history.hh, policy.hh, policy_manager.hh, slice.hh - ps + * trunk/src/backend/history.hh, trunk/src/backend/policy.hh, + trunk/src/backend/policy_manager.hh, trunk/src/backend/slice.hh: + Documented history.hh, policy.hh, policy_manager.hh, slice.hh - ps 2006-02-23 22:54 tchernobog - * src/testsuite/test-python_loader.cc: - Add comment about a thing - to fix ;-) + * trunk/src/testsuite/test-python_loader.cc: - Add comment about a + thing to fix ;-) 2006-02-23 22:54 tchernobog - * doc/sgpem2uman.texi: - Update user manual to list required + * trunk/doc/sgpem2uman.texi: - Update user manual to list required software and tools to build / run sgpemv2 2006-02-23 22:02 tchernobog - * Makefile.am, src/builtin-policies/fcfs.py: - Move compiled test to - the ``testsuite'' subdir + * trunk/Makefile.am, trunk/src/builtin-policies/fcfs.py: - Move + compiled test to the ``testsuite'' subdir 2006-02-23 21:50 tchernobog - * src/backend/pyloader/Policy.py, - src/backend/pyloader/python_policy.cc, - src/backend/pyloader/sgpem.i, src/builtin-policies/fcfs.py: - - Tadaaaan! Fixed it! Now: - SWIG generate interface doesn't do a - mess with namespaces anymore - Improved PythonPolicy to be - acceptably faster - FCFS implemented, sir! - FIXME : the qsort - implementation doesn't seem right + * trunk/src/backend/pyloader/Policy.py, + trunk/src/backend/pyloader/python_policy.cc, + trunk/src/backend/pyloader/sgpem.i, + trunk/src/builtin-policies/fcfs.py: - Tadaaaan! Fixed it! Now: - + SWIG generate interface doesn't do a mess with namespaces anymore + - Improved PythonPolicy to be acceptably faster - FCFS + implemented, sir! - FIXME : the qsort implementation doesn't seem + right 2006-02-23 20:59 elvez - * src/observer.hh, src/simulation.hh, src/standard_io.hh, - src/text_simulation.hh: - Fixed a couple of problems in doc + * trunk/src/observer.hh, trunk/src/simulation.hh, + trunk/src/standard_io.hh, trunk/src/text_simulation.hh: - Fixed a + couple of problems in doc 2006-02-23 19:32 elvez - * src/standard_io.hh: - Commented file + * trunk/src/standard_io.hh: - Commented file 2006-02-23 19:08 tchernobog - * src/backend/pyloader/Policy.py: + * trunk/src/backend/pyloader/Policy.py: 2006-02-23 19:02 tchernobog - * src/backend/pyloader/Policy.py: - Fix typos + * trunk/src/backend/pyloader/Policy.py: - Fix typos 2006-02-23 18:55 tchernobog - * src/backend/pyloader/Policy.py, - src/backend/pyloader/ScriptAdapter.py, - src/backend/pyloader/python_policy_manager.hh, - src/builtin-policies/fcfs.py: - Add documentation for classes: - - (C++) PythonPolicyManager - (Python) Policy, ScriptAdapter, fcfs + * trunk/src/backend/pyloader/Policy.py, + trunk/src/backend/pyloader/ScriptAdapter.py, + trunk/src/backend/pyloader/python_policy_manager.hh, + trunk/src/builtin-policies/fcfs.py: - Add documentation for + classes: - (C++) PythonPolicyManager - (Python) Policy, + ScriptAdapter, fcfs 2006-02-23 18:09 elvez - * src/observer.hh: - Commented file + * trunk/src/observer.hh: - Commented file 2006-02-23 18:01 elvez - * src/text_simulation.hh: - Commented file + * trunk/src/text_simulation.hh: - Commented file 2006-02-23 17:59 johnny - * src/backend/schedulable_status.cc, - src/backend/schedulable_status.hh: - "Commenting The Source(tm)" - 02-2006 - The best summer camp of the world - First part + * trunk/src/backend/schedulable_status.cc, + trunk/src/backend/schedulable_status.hh: - "Commenting The + Source(tm)" 02-2006 - The best summer camp of the world - First + part 2006-02-23 17:19 elvez - * src/simulation.hh: - Commented file + * trunk/src/simulation.hh: - Commented file 2006-02-23 12:50 tchernobog - * src/graphical_terminal_io.cc, src/graphical_terminal_io.hh: - Add - yet-not-functional code for managing the "return" keypress in the - input entrybox + * trunk/src/graphical_terminal_io.cc, + trunk/src/graphical_terminal_io.hh: - Add yet-not-functional code + for managing the "return" keypress in the input entrybox 2006-02-23 12:12 tchernobog - * src/graphical_terminal_io.cc, src/graphical_terminal_io.hh: - - Temporarily solve synchronization problem. A more correct and - complete solution is of course using a mutex. + * trunk/src/graphical_terminal_io.cc, + trunk/src/graphical_terminal_io.hh: - Temporarily solve + synchronization problem. A more correct and complete solution is + of course using a mutex. 2006-02-23 11:36 tchernobog - * Makefile.am, src/backend/pyloader/sgpem.i, src/backend/sgpem.i: - - Move SWIG interface file to the correct subdir + * trunk/Makefile.am, trunk/src/backend/pyloader/sgpem.i, + trunk/src/backend/sgpem.i: - Move SWIG interface file to the + correct subdir 2006-02-23 11:29 tchernobog - * ChangeLog, Makefile.am, src/backend/pyloader/ScriptAdapter.py, - src/backend/pyloader/python_policy.cc, - src/backend/pyloader/python_policy.hh, - src/backend/pyloader/python_policy_manager.cc, - src/backend/pyloader/python_policy_manager.hh, - src/backend/user_interrupt_exception.cc, - src/backend/user_interrupt_exception.hh, - src/builtin-policies/fcfs.py, src/testsuite/test-python_loader.cc: - - Fix test to initialize a set of processes and run a simulation - - The test needs to be linked to Gtkmm, even if it doesn't use it. - This is wrong and a coding anomaly that will need to be resolved. - - Add debug code to fcfs.py. Please remove it when it'll be okay - + * trunk/ChangeLog, trunk/Makefile.am, + trunk/src/backend/pyloader/ScriptAdapter.py, + trunk/src/backend/pyloader/python_policy.cc, + trunk/src/backend/pyloader/python_policy.hh, + trunk/src/backend/pyloader/python_policy_manager.cc, + trunk/src/backend/pyloader/python_policy_manager.hh, + trunk/src/backend/user_interrupt_exception.cc, + trunk/src/backend/user_interrupt_exception.hh, + trunk/src/builtin-policies/fcfs.py, + trunk/src/testsuite/test-python_loader.cc: - Fix test to + initialize a set of processes and run a simulation - The test + needs to be linked to Gtkmm, even if it doesn't use it. This is + wrong and a coding anomaly that will need to be resolved. - Add + debug code to fcfs.py. Please remove it when it'll be okay - Calling dir(SchedulableList.get_item_at(x)) from Python shows a worringly empty list! 2006-02-23 10:12 tchernobog - * src/backend/pyloader/Policy.py, - src/backend/pyloader/ScriptAdapter.py, - src/backend/pyloader/python_policy.cc, - src/backend/schedulable_list.hh, src/backend/sgpem.i: - Previous - segmentation fault was due to a faulty call (wrong parameters to - ScriptAdapter.__wrap_sort_queue()). Now prints an error and check - for retval before Py_DECREF'ing it. - Fix(?) qsort implementation - in Policy - SWIG doesn't understand "uint". Change into more - verbose (but surely standard) unsigned int + * trunk/src/backend/pyloader/Policy.py, + trunk/src/backend/pyloader/ScriptAdapter.py, + trunk/src/backend/pyloader/python_policy.cc, + trunk/src/backend/schedulable_list.hh, trunk/src/backend/sgpem.i: + - Previous segmentation fault was due to a faulty call (wrong + parameters to ScriptAdapter.__wrap_sort_queue()). Now prints an + error and check for retval before Py_DECREF'ing it. - Fix(?) qsort + implementation in Policy - SWIG doesn't understand "uint". Change + into more verbose (but surely standard) unsigned int 2006-02-23 09:26 tchernobog - * Makefile.am, doc/sgpem2uman.texi, - src/backend/pyloader/python_policy.cc: - Add note that building - with --disable-shared at the moment doesn't work + * trunk/Makefile.am, trunk/doc/sgpem2uman.texi, + trunk/src/backend/pyloader/python_policy.cc: - Add note that + building with --disable-shared at the moment doesn't work 2006-02-22 23:21 fpaparel - * src/backend/schedulable_list.hh: - hemm... updated also the + * trunk/src/backend/schedulable_list.hh: - hemm... updated also the header!! 2006-02-22 23:19 fpaparel - * src/backend/schedulable_list.cc: - implemented swap in + * trunk/src/backend/schedulable_list.cc: - implemented swap in schedulable_list.cc 2006-02-22 22:57 tchernobog - * src/backend/policy.hh, src/backend/pyloader/Policy.py, - src/backend/pyloader/python_policy_manager.cc, - src/backend/sgpem.i, src/builtin-policies/fcfs.py, - src/testsuite/test-python_loader.cc: - Implement first draft of - quicksort in Python - Extend test to have a set of processes (now - lacks significative output) - Extend FCFS policy to do something - useful - FIXME : segfaults on sortQueue() - FIXME : needs - implementation for SchedulableQueue.swap() + * trunk/src/backend/policy.hh, trunk/src/backend/pyloader/Policy.py, + trunk/src/backend/pyloader/python_policy_manager.cc, + trunk/src/backend/sgpem.i, trunk/src/builtin-policies/fcfs.py, + trunk/src/testsuite/test-python_loader.cc: - Implement first draft + of quicksort in Python - Extend test to have a set of processes + (now lacks significative output) - Extend FCFS policy to do + something useful - FIXME : segfaults on sortQueue() - FIXME : + needs implementation for SchedulableQueue.swap() 2006-02-22 22:45 fpaparel - * src/graphical_simulation.hh, src/graphical_terminal_io.cc, - src/graphical_terminal_io.hh, src/main.cc, src/start_gui.cc, - src/start_gui.hh, src/text_simulation.cc, src/text_simulation.hh: - - The grafical interpreter now works + * trunk/src/graphical_simulation.hh, + trunk/src/graphical_terminal_io.cc, + trunk/src/graphical_terminal_io.hh, trunk/src/main.cc, + trunk/src/start_gui.cc, trunk/src/start_gui.hh, + trunk/src/text_simulation.cc, trunk/src/text_simulation.hh: - The + grafical interpreter now works 2006-02-22 21:35 tchernobog - * src/backend/pyloader/Policy.py, src/backend/schedulable_list.hh, - src/backend/sgpem.i: - Add swap() method signature to - SchedulableQueue - Export swap() to SWIG - Add sort function (just - its documentation, actually, implementation will follow) to - Policy.py + * trunk/src/backend/pyloader/Policy.py, + trunk/src/backend/schedulable_list.hh, trunk/src/backend/sgpem.i: + - Add swap() method signature to SchedulableQueue - Export swap() + to SWIG - Add sort function (just its documentation, actually, + implementation will follow) to Policy.py 2006-02-22 20:36 tchernobog - * ChangeLog, Makefile.am, src/backend/pyloader/python_policy.cc, - src/backend/pyloader/python_policy_manager.cc: - "Yeehaw! It's - working! I can't believe it! And they said that an imitation + * trunk/ChangeLog, trunk/Makefile.am, + trunk/src/backend/pyloader/python_policy.cc, + trunk/src/backend/pyloader/python_policy_manager.cc: - "Yeehaw! + It's working! I can't believe it! And they said that an imitation diamond wasn't good enough..." :-) 2006-02-22 15:16 tchernobog - * src/backend/dummy_policy.hh, src/backend/policy.hh, - src/backend/pyloader/Policy.py, - src/backend/pyloader/ScriptAdapter.py, - src/backend/pyloader/python_policy.cc, - src/backend/pyloader/python_policy.hh, - src/backend/pyloader/python_policy_manager.cc, - src/builtin-policies/fcfs.py: - Finish implementing async setup - for Python policies' access - Correct method names for the Python - policy (design problem?) - Compiles, but can't run it on this - machine. I'll test it later (and I expect quite a lot of + * trunk/src/backend/dummy_policy.hh, trunk/src/backend/policy.hh, + trunk/src/backend/pyloader/Policy.py, + trunk/src/backend/pyloader/ScriptAdapter.py, + trunk/src/backend/pyloader/python_policy.cc, + trunk/src/backend/pyloader/python_policy.hh, + trunk/src/backend/pyloader/python_policy_manager.cc, + trunk/src/builtin-policies/fcfs.py: - Finish implementing async + setup for Python policies' access - Correct method names for the + Python policy (design problem?) - Compiles, but can't run it on + this machine. I'll test it later (and I expect quite a lot of SIGSEGVs). 2006-02-22 14:27 tchernobog - * config/Doxyfile.in: - Don't include full paths + * trunk/config/Doxyfile.in: - Don't include full paths 2006-02-22 12:39 tchernobog - * src/backend/pyloader/python_policy_manager.cc: - Super mega hacked - implementation of python_policy_manager. Haven't tried running it. + * trunk/src/backend/pyloader/python_policy_manager.cc: - Super mega + hacked implementation of python_policy_manager. Haven't tried + running it. 2006-02-22 10:36 tchernobog - * doc/sgpem2dman.texi: - Guess what: correcting a typo that + * trunk/doc/sgpem2dman.texi: - Guess what: correcting a typo that prevented compiling 2006-02-22 00:09 jinx - * doc/sgpem2dman.texi: sgpem2dman.texi: added the anomaly classes in - the subsection about anomaly resolution. + * trunk/doc/sgpem2dman.texi: sgpem2dman.texi: added the anomaly + classes in the subsection about anomaly resolution. 2006-02-21 22:57 tchernobog - * Makefile.am, src/backend/pyloader/ScriptAdapter.py, - src/backend/pyloader/python_policy_manager.cc, - src/backend/pyloader/python_policy_manager.hh, - src/backend/sgpem.i, src/builtin-policies/fcfs.py, - src/testsuite/test-python_loader.cc: - Add first undocumented (and - quite useless) test for libpyloader. It doesn't work properly for - no apparent reason. - Add SWIG interface generation for Scheduler + * trunk/Makefile.am, trunk/src/backend/pyloader/ScriptAdapter.py, + trunk/src/backend/pyloader/python_policy_manager.cc, + trunk/src/backend/pyloader/python_policy_manager.hh, + trunk/src/backend/sgpem.i, trunk/src/builtin-policies/fcfs.py, + trunk/src/testsuite/test-python_loader.cc: - Add first + undocumented (and quite useless) test for libpyloader. It doesn't + work properly for no apparent reason. - Add SWIG interface + generation for Scheduler 2006-02-21 20:35 tchernobog - * Makefile.am: - Typo (surprising, isn't it?) + * trunk/Makefile.am: - Typo (surprising, isn't it?) 2006-02-21 15:18 tchernobog - * Makefile.am: - Update makefile to build ScriptAdapter.py + * trunk/Makefile.am: - Update makefile to build ScriptAdapter.py 2006-02-21 15:18 tchernobog - * src/backend/pyloader/ScriptAdapter.py: - Added initial interface - for the PythonScript adapter + * trunk/src/backend/pyloader/ScriptAdapter.py: - Added initial + interface for the PythonScript adapter 2006-02-21 12:20 tchernobog - * src/backend/pyloader/python_policy_manager.cc: - Add preliminary - code for Python policy management + * trunk/src/backend/pyloader/python_policy_manager.cc: - Add + preliminary code for Python policy management 2006-02-21 11:30 tchernobog - * Makefile.am, src/backend/sgpem.i, src/main.cc, - src/text_simulation.cc, src/text_simulation.hh: - This is a save - point (everything compiles again) ;-) + * trunk/Makefile.am, trunk/src/backend/sgpem.i, trunk/src/main.cc, + trunk/src/text_simulation.cc, trunk/src/text_simulation.hh: - This + is a save point (everything compiles again) ;-) 2006-02-21 11:29 fpaparel - * src/backend/string_utils.cc, src/backend/string_utils.hh: - Die - tortoise-svn die + * trunk/src/backend/string_utils.cc, + trunk/src/backend/string_utils.hh: - Die tortoise-svn die 2006-02-21 11:15 fpaparel - * src/backend/dummy_policy.cc, src/backend/dummy_policy.hh: - Add - dummy policy left out of previous commit + * trunk/src/backend/dummy_policy.cc, + trunk/src/backend/dummy_policy.hh: - Add dummy policy left out of + previous commit 2006-02-21 11:09 fpaparel - * src/backend/history.cc, src/backend/history.hh, - src/backend/observed_subject.cc, src/backend/policy.cc, - src/backend/policy.hh, src/backend/schedulable_list.cc, - src/backend/scheduler.cc, src/backend/scheduler.hh, - src/graphical_simulation.hh, src/io_manager.hh, src/main.cc, - src/simulation.cc, src/simulation.hh, src/standard_io.cc, - src/standard_io.hh, src/text_simulation.cc, - src/text_simulation.hh: - fixed a number of bugs - added + * trunk/src/backend/history.cc, trunk/src/backend/history.hh, + trunk/src/backend/observed_subject.cc, + trunk/src/backend/policy.cc, trunk/src/backend/policy.hh, + trunk/src/backend/schedulable_list.cc, + trunk/src/backend/scheduler.cc, trunk/src/backend/scheduler.hh, + trunk/src/graphical_simulation.hh, trunk/src/io_manager.hh, + trunk/src/main.cc, trunk/src/simulation.cc, + trunk/src/simulation.hh, trunk/src/standard_io.cc, + trunk/src/standard_io.hh, trunk/src/text_simulation.cc, + trunk/src/text_simulation.hh: - fixed a number of bugs - added dummy_policy written in C++ - the interpreter is now finished (hopefully) 2006-02-21 10:31 tchernobog - * src/backend/pyloader/Policy.py, - src/backend/pyloader/python_policy_manager.cc, - src/backend/pyloader/python_policy_manager.hh: - Typos + * trunk/src/backend/pyloader/Policy.py, + trunk/src/backend/pyloader/python_policy_manager.cc, + trunk/src/backend/pyloader/python_policy_manager.hh: - Typos 2006-02-21 07:39 tchernobog - * Makefile.am, src/backend/pyloader/Policy.py, - src/backend/schedulable_list.hh, - src/backend/schedulable_status.hh, src/backend/sgpem.i, - src/builtin-policies/fcfs.py: - Add initial layout for further - builtin policies (needs to be expanded / fixed) + * trunk/Makefile.am, trunk/src/backend/pyloader/Policy.py, + trunk/src/backend/schedulable_list.hh, + trunk/src/backend/schedulable_status.hh, + trunk/src/backend/sgpem.i, trunk/src/builtin-policies/fcfs.py: - + Add initial layout for further builtin policies (needs to be + expanded / fixed) 2006-02-20 21:26 tchernobog - * Makefile.am, configure.ac, m4/compilerflags.m4, - m4/linkingflags.m4, src/templates/parameter.tcc: - Fix Python/C++ - module compilation when compiler supports the -fvisibility=hidden - option - Update Makefile consequentially + * trunk/Makefile.am, trunk/configure.ac, trunk/m4/compilerflags.m4, + trunk/m4/linkingflags.m4, trunk/src/templates/parameter.tcc: - Fix + Python/C++ module compilation when compiler supports the + -fvisibility=hidden option - Update Makefile consequentially 2006-02-20 19:10 tchernobog - * ChangeLog, src/backend/policy_parameters.hh, src/backend/sgpem.i: - - Rewrite sgpem module interface file with adapter methods + * trunk/ChangeLog, trunk/src/backend/policy_parameters.hh, + trunk/src/backend/sgpem.i: - Rewrite sgpem module interface file + with adapter methods 2006-02-20 12:56 tchernobog - * src/templates/smartp.hh: - Fix documentation a little + * trunk/src/templates/smartp.hh: - Fix documentation a little 2006-02-20 00:12 tchernobog - * Makefile.am, config/Doxyfile.in: - Change order on which the - libraries are listed for installation in the makefile, thus - workarounding a nasty automake bug. This problem is reported here: - http://sourceware.org/ml/automake/2004-03/msg00113.html + * trunk/Makefile.am, trunk/config/Doxyfile.in: - Change order on + which the libraries are listed for installation in the makefile, + thus workarounding a nasty automake bug. This problem is reported + here: http://sourceware.org/ml/automake/2004-03/msg00113.html http://sources.redhat.com/ml/automake/2004-01/msg00171.html ... but it doesn't seem to have been solved thus far. 2006-02-19 22:36 tchernobog - * src/backend/history.cc, src/backend/history.hh, - src/backend/observed_subject.cc, src/backend/observed_subject.hh, - src/backend/policy.cc, src/backend/policy.hh, - src/backend/policy_manager.cc, src/backend/policy_manager.hh, - src/backend/policy_parameters.cc, - src/backend/policy_parameters.hh, src/backend/process.cc, - src/backend/process.hh, src/backend/pyloader/python_policy.cc, - src/backend/pyloader/python_policy.hh, - src/backend/pyloader/python_policy_manager.cc, - src/backend/pyloader/python_policy_manager.hh, - src/backend/schedulable.cc, src/backend/schedulable.hh, - src/backend/schedulable_list.cc, src/backend/schedulable_list.hh, - src/backend/schedulable_status.cc, - src/backend/schedulable_status.hh, src/backend/scheduler.cc, - src/backend/scheduler.hh, src/backend/slice.cc, - src/backend/slice.hh, src/backend/string_utils.cc, - src/backend/string_utils.hh, src/graphical_simulation.hh, - src/graphical_terminal_io.cc, src/graphical_terminal_io.hh, - src/io_manager.hh, src/main.cc, src/main.hh, src/main_window.cc, - src/main_window.hh, src/observer.cc, src/observer.hh, - src/parse_opts.cc, src/parse_opts.hh, src/simulation.cc, - src/simulation.hh, src/standard_io.cc, src/standard_io.hh, - src/start_gui.cc, src/start_gui.hh, src/templates/smartp.hh, - src/text_simulation.cc, src/text_simulation.hh: - Add newlines at - the end of source files. I hope not having to do this frequently! - (it's a two-liner script, but nevertheless...) + * trunk/src/backend/history.cc, trunk/src/backend/history.hh, + trunk/src/backend/observed_subject.cc, + trunk/src/backend/observed_subject.hh, + trunk/src/backend/policy.cc, trunk/src/backend/policy.hh, + trunk/src/backend/policy_manager.cc, + trunk/src/backend/policy_manager.hh, + trunk/src/backend/policy_parameters.cc, + trunk/src/backend/policy_parameters.hh, + trunk/src/backend/process.cc, trunk/src/backend/process.hh, + trunk/src/backend/pyloader/python_policy.cc, + trunk/src/backend/pyloader/python_policy.hh, + trunk/src/backend/pyloader/python_policy_manager.cc, + trunk/src/backend/pyloader/python_policy_manager.hh, + trunk/src/backend/schedulable.cc, + trunk/src/backend/schedulable.hh, + trunk/src/backend/schedulable_list.cc, + trunk/src/backend/schedulable_list.hh, + trunk/src/backend/schedulable_status.cc, + trunk/src/backend/schedulable_status.hh, + trunk/src/backend/scheduler.cc, trunk/src/backend/scheduler.hh, + trunk/src/backend/slice.cc, trunk/src/backend/slice.hh, + trunk/src/backend/string_utils.cc, + trunk/src/backend/string_utils.hh, + trunk/src/graphical_simulation.hh, + trunk/src/graphical_terminal_io.cc, + trunk/src/graphical_terminal_io.hh, trunk/src/io_manager.hh, + trunk/src/main.cc, trunk/src/main.hh, trunk/src/main_window.cc, + trunk/src/main_window.hh, trunk/src/observer.cc, + trunk/src/observer.hh, trunk/src/parse_opts.cc, + trunk/src/parse_opts.hh, trunk/src/simulation.cc, + trunk/src/simulation.hh, trunk/src/standard_io.cc, + trunk/src/standard_io.hh, trunk/src/start_gui.cc, + trunk/src/start_gui.hh, trunk/src/templates/smartp.hh, + trunk/src/text_simulation.cc, trunk/src/text_simulation.hh: - Add + newlines at the end of source files. I hope not having to do this + frequently! (it's a two-liner script, but nevertheless...) 2006-02-19 22:25 tchernobog - * Makefile.am, src/backend/pyloader/Policy.py, src/backend/sgpem.i: - - Add first draft of SWIG interface file, and create Python - loadable module. However, please note that: - All the methods - accepting a Glib::ustring should not be exported, instead they - should be replaced by wrapper functions accepting PyObject*. - The - same thing applies to every other method accepting a ``non - built-in'' data type - Return types should probably be wrapped, - too - It may be a good idea to implement wrapper methods that - print out the content of a C++ object, so that a Python user can - do a simple "print schedStat". This is achieved by adding a - "__str__()" method to the class. See the SWIG manual for further - infos about returning const char* values. + * trunk/Makefile.am, trunk/src/backend/pyloader/Policy.py, + trunk/src/backend/sgpem.i: - Add first draft of SWIG interface + file, and create Python loadable module. However, please note + that: - All the methods accepting a Glib::ustring should not be + exported, instead they should be replaced by wrapper functions + accepting PyObject*. - The same thing applies to every other + method accepting a ``non built-in'' data type - Return types + should probably be wrapped, too - It may be a good idea to + implement wrapper methods that print out the content of a C++ + object, so that a Python user can do a simple "print schedStat". + This is achieved by adding a "__str__()" method to the class. See + the SWIG manual for further infos about returning const char* + values. 2006-02-19 16:22 tchernobog - * src/backend/pyloader/Abstract.py, src/backend/pyloader/Policy.py: - - Fix documentation for Python Abstract module + * trunk/src/backend/pyloader/Abstract.py, + trunk/src/backend/pyloader/Policy.py: - Fix documentation for + Python Abstract module 2006-02-19 15:49 tchernobog - * ChangeLog, configure.ac: - Change version number for first - milestone release + * trunk/ChangeLog, trunk/configure.ac: - Change version number for + first milestone release 2006-02-19 14:54 tchernobog - * README: - Add some temporary infos about how to perform the build - process. + * trunk/README: - Add some temporary infos about how to perform the + build process. 2006-02-19 14:34 tchernobog - * ChangeLog, Makefile.am, configure.ac, doc/Makefile.am, - m4/Makefile.am, src/Makefile.am, src/backend/Makefile.am, - src/backend/pyloader/Makefile.am, - src/builtin-policies/Makefile.am, src/templates/Makefile.am, - src/testsuite/Makefile.am: - Merged branch to avoid recursive make + * trunk/ChangeLog, trunk/Makefile.am, trunk/configure.ac, + trunk/doc/Makefile.am, trunk/m4/Makefile.am, + trunk/src/Makefile.am, trunk/src/backend/Makefile.am, + trunk/src/backend/pyloader/Makefile.am, + trunk/src/builtin-policies/Makefile.am, + trunk/src/templates/Makefile.am, trunk/src/testsuite/Makefile.am: + - Merged branch to avoid recursive make 2006-02-17 23:41 tchernobog - * po/POTFILES.in, po/sgpemv2.pot: - Update localizable string - catalog + * trunk/po/POTFILES.in, trunk/po/sgpemv2.pot: - Update localizable + string catalog 2006-02-17 23:33 tchernobog - * doc/Makefile.am, src/Makefile.am, src/io_manager.hh, src/main.cc: - - Fix compilation + * trunk/doc/Makefile.am, trunk/src/Makefile.am, + trunk/src/io_manager.hh, trunk/src/main.cc: - Fix compilation 2006-02-17 22:19 fpaparel - * src/Makefile.am, src/backend/Makefile.am, src/backend/policy.hh, - src/backend/string_utils.cc, src/backend/string_utils.hh, - src/graphical_simulation.hh, src/graphical_terminal_io.cc, - src/graphical_terminal_io.hh, src/io_manager.hh, src/main.cc, - src/standard_io.cc, src/standard_io.hh, src/start_gui.cc, - src/start_gui.hh, src/text_simulation.cc, src/text_simulation.hh: - - added console interpreter - added string_utils + * trunk/src/Makefile.am, trunk/src/backend/Makefile.am, + trunk/src/backend/policy.hh, trunk/src/backend/string_utils.cc, + trunk/src/backend/string_utils.hh, + trunk/src/graphical_simulation.hh, + trunk/src/graphical_terminal_io.cc, + trunk/src/graphical_terminal_io.hh, trunk/src/io_manager.hh, + trunk/src/main.cc, trunk/src/standard_io.cc, + trunk/src/standard_io.hh, trunk/src/start_gui.cc, + trunk/src/start_gui.hh, trunk/src/text_simulation.cc, + trunk/src/text_simulation.hh: - added console interpreter - added + string_utils 2006-02-17 16:31 tchernobog - * ChangeLog, configure.ac, m4/ac_python_devel.m4: - Check for Python - distutils module presence + * trunk/ChangeLog, trunk/configure.ac, trunk/m4/ac_python_devel.m4: + - Check for Python distutils module presence 2006-02-17 16:08 tchernobog - * src/Makefile.am, src/backend/Makefile.am, src/backend/pyloader, - src/backend/pyloader/python_policy.cc, - src/backend/pyloader/python_policy.hh, - src/backend/pyloader/python_policy_manager.cc, - src/backend/pyloader/python_policy_manager.hh, src/main.cc, - src/pyloader: - Add missing files + * trunk/src/Makefile.am, trunk/src/backend/Makefile.am, + trunk/src/backend/pyloader, + trunk/src/backend/pyloader/python_policy.cc, + trunk/src/backend/pyloader/python_policy.hh, + trunk/src/backend/pyloader/python_policy_manager.cc, + trunk/src/backend/pyloader/python_policy_manager.hh, + trunk/src/main.cc, trunk/src/pyloader: - Add missing files 2006-02-17 12:45 tchernobog - * src/backend/Makefile.am: - Temporary hack to Makefile. To be + * trunk/src/backend/Makefile.am: - Temporary hack to Makefile. To be fixed. 2006-02-17 12:34 tchernobog - * src/backend/python_policy.cc, src/backend/python_policy.hh, - src/backend/python_policy_manager.cc, - src/backend/python_policy_manager.hh: - Remove spurious files left - from previous commit (these files were moved to the pyloader - directory) + * trunk/src/backend/python_policy.cc, + trunk/src/backend/python_policy.hh, + trunk/src/backend/python_policy_manager.cc, + trunk/src/backend/python_policy_manager.hh: - Remove spurious + files left from previous commit (these files were moved to the + pyloader directory) 2006-02-16 22:50 tchernobog - * src/Makefile.am, src/backend/policy.hh, - src/backend/policy_manager.hh, src/pyloader/Abstract.py, - src/pyloader/Makefile.am, src/pyloader/Policy.py: - Add support - for abtract python classes - Create first modules: the Policy - Python class + * trunk/src/Makefile.am, trunk/src/backend/policy.hh, + trunk/src/backend/policy_manager.hh, + trunk/src/pyloader/Abstract.py, trunk/src/pyloader/Makefile.am, + trunk/src/pyloader/Policy.py: - Add support for abtract python + classes - Create first modules: the Policy Python class 2006-02-16 21:29 tchernobog - * src/Makefile.am, src/backend/Makefile.am, src/main.cc, - src/pyloader/Makefile.am: - Initial split of libpyloader from - libbackend. Will need rework in order to: - fix wrong design - fix - include paths - fix installation of header files + * trunk/src/Makefile.am, trunk/src/backend/Makefile.am, + trunk/src/main.cc, trunk/src/pyloader/Makefile.am: - Initial split + of libpyloader from libbackend. Will need rework in order to: - + fix wrong design - fix include paths - fix installation of header + files 2006-02-15 22:58 fpaparel - * src/Makefile.am, src/backend/history.cc, src/backend/policy.hh, - src/backend/python_policy.cc, - src/backend/python_policy_manager.cc, src/backend/scheduler.cc, - src/backend/scheduler.hh, src/graphical_terminal_io.cc, - src/graphical_terminal_io.hh, src/io_manager.hh, src/main.cc, - src/simulation.cc, src/simulation.hh, src/standard_io.cc, - src/standard_io.hh, src/text_simulation.hh: - added few frontend - classes - updated others from backend + * trunk/src/Makefile.am, trunk/src/backend/history.cc, + trunk/src/backend/policy.hh, trunk/src/backend/python_policy.cc, + trunk/src/backend/python_policy_manager.cc, + trunk/src/backend/scheduler.cc, trunk/src/backend/scheduler.hh, + trunk/src/graphical_terminal_io.cc, + trunk/src/graphical_terminal_io.hh, trunk/src/io_manager.hh, + trunk/src/main.cc, trunk/src/simulation.cc, + trunk/src/simulation.hh, trunk/src/standard_io.cc, + trunk/src/standard_io.hh, trunk/src/text_simulation.hh: - added + few frontend classes - updated others from backend 2006-02-14 12:55 tchernobog - * m4/ac_python_devel.m4: - Fix typo in comment - Add extra checks - for python version: should do a better job when determining the - library name to use + * trunk/m4/ac_python_devel.m4: - Fix typo in comment - Add extra + checks for python version: should do a better job when determining + the library name to use 2006-02-13 16:35 tchernobog - * configure.ac, src/Makefile.am, src/backend/Makefile.am: - Add - Python preprocessor flags to src/ and src/backend Makefiles - Add - -Wno-long-long to compiler options in order to workaround Python - types' evilness + * trunk/configure.ac, trunk/src/Makefile.am, + trunk/src/backend/Makefile.am: - Add Python preprocessor flags to + src/ and src/backend Makefiles - Add -Wno-long-long to compiler + options in order to workaround Python types' evilness 2006-02-13 11:32 fpaparel - * src/backend/Makefile.am, src/backend/policy.cc, - src/backend/policy.hh, src/backend/policy_manager.cc, - src/backend/policy_manager.hh, src/backend/policy_parameters.cc, - src/backend/policy_parameters.hh, src/backend/python_policy.cc, - src/backend/python_policy.hh, - src/backend/python_policy_manager.cc, - src/backend/python_policy_manager.hh, - src/backend/schedulable_list.cc, src/backend/scheduler.cc, - src/backend/scheduler.hh, src/main.cc, - src/templates/parameter.tcc: - Now all backend classes are present - (not all complete) - Can't compile when trying to link with Python - + check -pedantic parameter + when compiling main.cc there is no - -I/..../Python parameter + * trunk/src/backend/Makefile.am, trunk/src/backend/policy.cc, + trunk/src/backend/policy.hh, trunk/src/backend/policy_manager.cc, + trunk/src/backend/policy_manager.hh, + trunk/src/backend/policy_parameters.cc, + trunk/src/backend/policy_parameters.hh, + trunk/src/backend/python_policy.cc, + trunk/src/backend/python_policy.hh, + trunk/src/backend/python_policy_manager.cc, + trunk/src/backend/python_policy_manager.hh, + trunk/src/backend/schedulable_list.cc, + trunk/src/backend/scheduler.cc, trunk/src/backend/scheduler.hh, + trunk/src/main.cc, trunk/src/templates/parameter.tcc: - Now all + backend classes are present (not all complete) - Can't compile + when trying to link with Python + check -pedantic parameter + when + compiling main.cc there is no -I/..../Python parameter 2006-02-12 17:12 fpaparel - * src/Makefile.am, src/backend/Makefile.am, src/backend/history.cc, - src/backend/history.hh, src/backend/policy.cc, - src/backend/policy.hh, src/backend/policy_parameters.cc, - src/backend/policy_parameters.hh, src/backend/schedulable.hh, - src/backend/schedulable_list.cc, src/backend/schedulable_list.hh, - src/backend/schedulable_status.cc, src/backend/scheduler.cc, - src/backend/scheduler.hh, src/backend/simulation_status.cc, - src/backend/simulation_status.hh, src/backend/slice.cc, - src/backend/slice.hh, src/main.cc, src/observer.cc, - src/observer.hh: - added scheduler and other incomplete backend - classes + * trunk/src/Makefile.am, trunk/src/backend/Makefile.am, + trunk/src/backend/history.cc, trunk/src/backend/history.hh, + trunk/src/backend/policy.cc, trunk/src/backend/policy.hh, + trunk/src/backend/policy_parameters.cc, + trunk/src/backend/policy_parameters.hh, + trunk/src/backend/schedulable.hh, + trunk/src/backend/schedulable_list.cc, + trunk/src/backend/schedulable_list.hh, + trunk/src/backend/schedulable_status.cc, + trunk/src/backend/scheduler.cc, trunk/src/backend/scheduler.hh, + trunk/src/backend/simulation_status.cc, + trunk/src/backend/simulation_status.hh, + trunk/src/backend/slice.cc, trunk/src/backend/slice.hh, + trunk/src/main.cc, trunk/src/observer.cc, trunk/src/observer.hh: - + added scheduler and other incomplete backend classes 2006-02-12 16:06 tchernobog - * configure.ac, m4/Makefile.am, m4/linkingflags.m4, - src/backend/Makefile.am: - Check for --as-needed linking flag + * trunk/configure.ac, trunk/m4/Makefile.am, + trunk/m4/linkingflags.m4, trunk/src/backend/Makefile.am: - Check + for --as-needed linking flag 2006-02-10 20:44 tchernobog - * src/graphical_terminal_io.cc, src/graphical_terminal_io.hh, - src/io_manager.hh, src/main.cc, src/main_window.cc, - src/start_gui.cc: - Write code for the graphical terminal widget + * trunk/src/graphical_terminal_io.cc, + trunk/src/graphical_terminal_io.hh, trunk/src/io_manager.hh, + trunk/src/main.cc, trunk/src/main_window.cc, + trunk/src/start_gui.cc: - Write code for the graphical terminal + widget 2006-02-10 11:47 tchernobog - * src/templates/smartp.hh, src/templates/smartp.tcc: - Add exception - throwing specifications to methods - Coding style fixes + * trunk/src/templates/smartp.hh, trunk/src/templates/smartp.tcc: - + Add exception throwing specifications to methods - Coding style + fixes 2006-02-09 20:18 tchernobog - * ChangeLog, po/POTFILES.in: - Fix path + * trunk/ChangeLog, trunk/po/POTFILES.in: - Fix path 2006-02-09 19:43 tchernobog - * src/Makefile.am, src/backend/Makefile.am, src/backend/history.hh, - src/backend/observedSubject.cc, src/backend/observedSubject.hh, - src/backend/observed_subject.cc, src/backend/observed_subject.hh, - src/backend/schedulableStatus.cc, - src/backend/schedulableStatus.hh, - src/backend/schedulable_status.cc, - src/backend/schedulable_status.hh, - src/backend/simulationStatus.cc, src/backend/simulationStatus.hh, - src/backend/simulation_status.cc, - src/backend/simulation_status.hh, src/backend/slice.hh, - src/graphical_terminal_io.cc, src/graphical_terminal_io.hh, - src/graphicalterminalio.cc, src/graphicalterminalio.hh, - src/io_manager.hh, src/iomanager.hh, src/main.cc, - src/main_window.cc, src/main_window.hh, src/mainwindow.cc, - src/mainwindow.hh, src/parse_opts.cc, src/parse_opts.hh, - src/parseopts.cc, src/parseopts.hh, src/start_gui.cc, - src/start_gui.hh, src/startgui.cc, src/startgui.hh: - Change - filenames to follow a consistent naming scheme + * trunk/src/Makefile.am, trunk/src/backend/Makefile.am, + trunk/src/backend/history.hh, + trunk/src/backend/observedSubject.cc, + trunk/src/backend/observedSubject.hh, + trunk/src/backend/observed_subject.cc, + trunk/src/backend/observed_subject.hh, + trunk/src/backend/schedulableStatus.cc, + trunk/src/backend/schedulableStatus.hh, + trunk/src/backend/schedulable_status.cc, + trunk/src/backend/schedulable_status.hh, + trunk/src/backend/simulationStatus.cc, + trunk/src/backend/simulationStatus.hh, + trunk/src/backend/simulation_status.cc, + trunk/src/backend/simulation_status.hh, + trunk/src/backend/slice.hh, trunk/src/graphical_terminal_io.cc, + trunk/src/graphical_terminal_io.hh, + trunk/src/graphicalterminalio.cc, + trunk/src/graphicalterminalio.hh, trunk/src/io_manager.hh, + trunk/src/iomanager.hh, trunk/src/main.cc, + trunk/src/main_window.cc, trunk/src/main_window.hh, + trunk/src/mainwindow.cc, trunk/src/mainwindow.hh, + trunk/src/parse_opts.cc, trunk/src/parse_opts.hh, + trunk/src/parseopts.cc, trunk/src/parseopts.hh, + trunk/src/start_gui.cc, trunk/src/start_gui.hh, + trunk/src/startgui.cc, trunk/src/startgui.hh: - Change filenames + to follow a consistent naming scheme 2006-02-09 19:33 tchernobog - * src/backend/history.cc, src/backend/history.hh, - src/backend/observedSubject.cc, src/backend/observedSubject.hh, - src/backend/process.cc, src/backend/process.hh, - src/backend/schedulable.cc, src/backend/schedulable.hh, - src/backend/schedulableStatus.cc, - src/backend/schedulableStatus.hh, src/backend/simulationStatus.cc, - src/backend/simulationStatus.hh, src/backend/slice.cc, - src/backend/slice.hh, src/graphicalterminalio.cc, - src/graphicalterminalio.hh, src/iomanager.hh, src/main.cc, - src/mainwindow.cc, src/mainwindow.hh, src/observer.hh, - src/startgui.cc: - Fixed code to follow function naming + * trunk/src/backend/history.cc, trunk/src/backend/history.hh, + trunk/src/backend/observedSubject.cc, + trunk/src/backend/observedSubject.hh, + trunk/src/backend/process.cc, trunk/src/backend/process.hh, + trunk/src/backend/schedulable.cc, + trunk/src/backend/schedulable.hh, + trunk/src/backend/schedulableStatus.cc, + trunk/src/backend/schedulableStatus.hh, + trunk/src/backend/simulationStatus.cc, + trunk/src/backend/simulationStatus.hh, trunk/src/backend/slice.cc, + trunk/src/backend/slice.hh, trunk/src/graphicalterminalio.cc, + trunk/src/graphicalterminalio.hh, trunk/src/iomanager.hh, + trunk/src/main.cc, trunk/src/mainwindow.cc, + trunk/src/mainwindow.hh, trunk/src/observer.hh, + trunk/src/startgui.cc: - Fixed code to follow function naming conventions a bit more 2006-02-09 18:51 fpaparel - * src/Makefile.am, src/backend/Makefile.am, src/backend/history.cc, - src/backend/history.hh, src/backend/observedSubject.cc, - src/backend/observedSubject.hh, src/backend/process.cc, - src/backend/schedulableStatus.cc, - src/backend/schedulableStatus.hh, src/backend/simulationStatus.cc, - src/backend/simulationStatus.hh, src/backend/slice.cc, - src/backend/slice.hh, src/main.cc, src/observer.hh: - Added some - source code + * trunk/src/Makefile.am, trunk/src/backend/Makefile.am, + trunk/src/backend/history.cc, trunk/src/backend/history.hh, + trunk/src/backend/observedSubject.cc, + trunk/src/backend/observedSubject.hh, + trunk/src/backend/process.cc, + trunk/src/backend/schedulableStatus.cc, + trunk/src/backend/schedulableStatus.hh, + trunk/src/backend/simulationStatus.cc, + trunk/src/backend/simulationStatus.hh, trunk/src/backend/slice.cc, + trunk/src/backend/slice.hh, trunk/src/main.cc, + trunk/src/observer.hh: - Added some source code 2006-02-07 20:48 tchernobog - * src/Makefile.am, src/backend/Makefile.am, - src/pyloader/Makefile.am: - Revert my own commit - revision 299 - (unneeded changes) + * trunk/src/Makefile.am, trunk/src/backend/Makefile.am, + trunk/src/pyloader/Makefile.am: - Revert my own commit - revision + 299 (unneeded changes) 2006-02-07 20:41 tchernobog - * configure.ac, doc/sgpem2dman.texi, src/backend/process.hh, - src/backend/schedulable.hh, src/backend/schedulableStatus.hh, - src/backend/simulationStatus.hh, src/backend/slice.hh, - src/startgui.hh: - Prefix our macros with "SG_", as per Luca + * trunk/configure.ac, trunk/doc/sgpem2dman.texi, + trunk/src/backend/process.hh, trunk/src/backend/schedulable.hh, + trunk/src/backend/schedulableStatus.hh, + trunk/src/backend/simulationStatus.hh, trunk/src/backend/slice.hh, + trunk/src/startgui.hh: - Prefix our macros with "SG_", as per Luca request 2006-02-07 20:21 tchernobog - * src/templates/smartp.hh: - Fix documentation for smartp.hh + * trunk/src/templates/smartp.hh: - Fix documentation for smartp.hh 2006-02-07 20:13 tchernobog - * src/Makefile.am, src/backend/Makefile.am, - src/pyloader/Makefile.am: - Update makefiles to make use of + * trunk/src/Makefile.am, trunk/src/backend/Makefile.am, + trunk/src/pyloader/Makefile.am: - Update makefiles to make use of include dir with templates 2006-02-07 20:11 tchernobog - * config/Doxyfile.in, configure.ac, src/templates, - src/templates/Makefile.am, src/templates/smartp.hh, - src/templates/smartp.tcc: - Add template class implementing a - smart pointer (a class of general utility) + * trunk/config/Doxyfile.in, trunk/configure.ac, trunk/src/templates, + trunk/src/templates/Makefile.am, trunk/src/templates/smartp.hh, + trunk/src/templates/smartp.tcc: - Add template class implementing + a smart pointer (a class of general utility) 2006-02-07 12:25 tchernobog - * doc/sgpem2dman.texi: - Add subsection about the anomaly solving - process - Fix example about how to document C++ classes - Fix note - about non-const static class members + * trunk/doc/sgpem2dman.texi: - Add subsection about the anomaly + solving process - Fix example about how to document C++ classes - + Fix note about non-const static class members 2006-02-06 21:37 fpaparel - * src/backend/Makefile.am, src/backend/process.cc, - src/backend/process.hh, src/backend/schedulable.cc, - src/backend/schedulable.hh, src/backend/schedulableStatus.cc, - src/backend/schedulableStatus.hh, src/backend/simulationStatus.cc, - src/backend/simulationStatus.hh, src/backend/slice.cc, - src/backend/slice.hh, src/main.cc: - Added some source in the - backend lib + * trunk/src/backend/Makefile.am, trunk/src/backend/process.cc, + trunk/src/backend/process.hh, trunk/src/backend/schedulable.cc, + trunk/src/backend/schedulable.hh, + trunk/src/backend/schedulableStatus.cc, + trunk/src/backend/schedulableStatus.hh, + trunk/src/backend/simulationStatus.cc, + trunk/src/backend/simulationStatus.hh, trunk/src/backend/slice.cc, + trunk/src/backend/slice.hh, trunk/src/main.cc: - Added some source + in the backend lib 2006-02-06 12:07 tchernobog - * doc/sgpem2dman.texi: - Correct typo + * trunk/doc/sgpem2dman.texi: - Correct typo 2006-02-05 14:01 tchernobog - * configure.ac, m4/ac_python_devel.m4: - Lower the bar for the - python version check: require >= 2.3 instead of >= 2.4 + * trunk/configure.ac, trunk/m4/ac_python_devel.m4: - Lower the bar + for the python version check: require >= 2.3 instead of >= 2.4 2006-02-05 12:52 tchernobog - * configure.ac, m4/ac_python_devel.m4: - Fix typo + * trunk/configure.ac, trunk/m4/ac_python_devel.m4: - Fix typo 2006-02-05 12:44 tchernobog - * configure.ac, m4/ac_python_devel.m4: - Refine python macro before - sending upstream + * trunk/configure.ac, trunk/m4/ac_python_devel.m4: - Refine python + macro before sending upstream 2006-02-04 13:14 tchernobog - * src/Makefile.am, src/backend/Makefile.am, - src/builtin-policies/Makefile.am, src/pyloader/Makefile.am, - src/testsuite/Makefile.am: - Use pkgdatadir instead of datadir + - pkgname + * trunk/src/Makefile.am, trunk/src/backend/Makefile.am, + trunk/src/builtin-policies/Makefile.am, + trunk/src/pyloader/Makefile.am, trunk/src/testsuite/Makefile.am: - + Use pkgdatadir instead of datadir + pkgname 2006-02-03 21:53 tchernobog - * src/parseopts.cc: - Typo + * trunk/src/parseopts.cc: - Typo 2006-02-02 14:37 tchernobog - * src/backend/Makefile.am, src/backend/Makefile.in: - Never add - autotool generated files to repository (e.g. Makefile.in) - Use a - "\" to prevent line breaks when you must split some command on - more than a line. The slash must be the _last_ character present - on a line. + * trunk/src/backend/Makefile.am, trunk/src/backend/Makefile.in: - + Never add autotool generated files to repository (e.g. + Makefile.in) - Use a "\" to prevent line breaks when you must + split some command on more than a line. The slash must be the + _last_ character present on a line. 2006-02-02 13:46 fpaparel - * src/backend/Makefile.am, src/backend/Makefile.in, - src/backend/process.cc, src/backend/process.hh, src/main.cc: - - Can't compile source. Need help... + * trunk/src/backend/Makefile.am, trunk/src/backend/Makefile.in, + trunk/src/backend/process.cc, trunk/src/backend/process.hh, + trunk/src/main.cc: - Can't compile source. Need help... 2006-02-02 00:39 elvez - * doc/sgpem2dman.texi: - Updated coding style with a point on static - non-POD objects. + * trunk/doc/sgpem2dman.texi: - Updated coding style with a point on + static non-POD objects. 2006-02-01 22:56 tchernobog - * src/graphicalterminalio.hh: - Corrected TextView -> Entry + * trunk/src/graphicalterminalio.hh: - Corrected TextView -> Entry 2006-02-01 14:07 tchernobog - * ChangeLog, src/main.cc: - Make inserting filenames into vector - simpler + * trunk/ChangeLog, trunk/src/main.cc: - Make inserting filenames + into vector simpler 2006-01-31 22:49 tchernobog - * configure.ac: - Add check to get sigc++ cflags and ldflags + * trunk/configure.ac: - Add check to get sigc++ cflags and ldflags separately, if needed 2006-01-31 21:11 tchernobog - * m4/ac_python_devel.m4: - Typo: bail out for python <= 2.1.0 + * trunk/m4/ac_python_devel.m4: - Typo: bail out for python <= 2.1.0 instead of 2.5.0 2006-01-31 20:18 tchernobog - * m4/ac_python_devel.m4: - Fix typo + * trunk/m4/ac_python_devel.m4: - Fix typo 2006-01-31 19:06 tchernobog - * ChangeLog, m4/ac_python_devel.m4: - Update ac_python_devel to - check and complain about Python < 2.1.0 + * trunk/ChangeLog, trunk/m4/ac_python_devel.m4: - Update + ac_python_devel to check and complain about Python < 2.1.0 2006-01-31 11:59 tchernobog - * src/backend/schedulable.hh, src/parseopts.hh: - Fix api docs: - aesthetics + * trunk/src/backend/schedulable.hh, trunk/src/parseopts.hh: - Fix + api docs: aesthetics 2006-01-29 17:33 tchernobog - * m4/ac_python_devel.m4: - Fix macro documentation header + * trunk/m4/ac_python_devel.m4: - Fix macro documentation header 2006-01-29 15:34 tchernobog - * doc/Makefile.am: - Make ``make distclean'' to complete cleanly - when directory doc/API doesn't exists. + * trunk/doc/Makefile.am: - Make ``make distclean'' to complete + cleanly when directory doc/API doesn't exists. 2006-01-29 15:33 tchernobog - * m4/ac_python_devel.m4: - Overhaul ac_python_devel.m4 using + * trunk/m4/ac_python_devel.m4: - Overhaul ac_python_devel.m4 using extensively informations provided by the interpreter. Will try to send upstream if told to do so. 2006-01-28 20:42 tchernobog - * doc/sgpem2dman.texi: - Change non-existant English word with + * trunk/doc/sgpem2dman.texi: - Change non-existant English word with something understandable :-) 2006-01-28 20:39 tchernobog - * configure.ac, distro/gentoo, distro/gentoo/sgpemv2-0.00.ebuild, - src/backend/Makefile.am, src/backend/schedulable.cc, - src/backend/schedulable.hh, src/main.hh, src/startgui.cc: - Get - DSO visibility check right in configure.ac. Now it should work - correctly with GCC >= 4.0, while doing nothing for GCC < 4.0 - Add - class sgpem::schedulable to test for DSO visibility export. - Methods may need to be reordered to conform to coding style - guidelines + * trunk/configure.ac, trunk/distro/gentoo, + trunk/distro/gentoo/sgpemv2-0.00.ebuild, + trunk/src/backend/Makefile.am, trunk/src/backend/schedulable.cc, + trunk/src/backend/schedulable.hh, trunk/src/main.hh, + trunk/src/startgui.cc: - Get DSO visibility check right in + configure.ac. Now it should work correctly with GCC >= 4.0, while + doing nothing for GCC < 4.0 - Add class sgpem::schedulable to test + for DSO visibility export. Methods may need to be reordered to + conform to coding style guidelines 2006-01-27 19:26 tchernobog - * ChangeLog, configure.ac, src/Makefile.am: - Added the possibility - to pass LT_LDFLAGS to configure in order to obtain a completely - static build + * trunk/ChangeLog, trunk/configure.ac, trunk/src/Makefile.am: - + Added the possibility to pass LT_LDFLAGS to configure in order to + obtain a completely static build 2006-01-27 17:57 tchernobog - * ChangeLog, configure.ac, src/Makefile.am, src/backend, - src/backend/Makefile.am, src/graphicalterminalio.cc, - src/graphicalterminalio.hh, src/gtkgui, src/iomanager.hh, - src/main.cc, src/main.hh, src/mainwindow.cc, src/mainwindow.hh, - src/startgui.cc, src/startgui.hh: - Reorganize sources to split - them across three parts: - The main program, the frontend - A - pyton loader library - The backend library Happy hacking. + * trunk/ChangeLog, trunk/configure.ac, trunk/src/Makefile.am, + trunk/src/backend, trunk/src/backend/Makefile.am, + trunk/src/graphicalterminalio.cc, + trunk/src/graphicalterminalio.hh, trunk/src/gtkgui, + trunk/src/iomanager.hh, trunk/src/main.cc, trunk/src/main.hh, + trunk/src/mainwindow.cc, trunk/src/mainwindow.hh, + trunk/src/startgui.cc, trunk/src/startgui.hh: - Reorganize sources + to split them across three parts: - The main program, the frontend + - A pyton loader library - The backend library Happy hacking. 2006-01-27 15:33 tchernobog - * doc/sgpem2dman.texi: - Fix grammar and form in chapter "2.Writing - documentation" + * trunk/doc/sgpem2dman.texi: - Fix grammar and form in chapter + "2.Writing documentation" 2006-01-27 15:04 tchernobog - * src/gtkgui/Makefile.am, src/gtkgui/graphicalterminalio.cc, - src/gtkgui/graphicalterminalio.hh, src/gtkgui/iomanager.hh: - - Start adding interface for the frontend IO section. Should we use - namespaces? + * trunk/src/gtkgui/Makefile.am, + trunk/src/gtkgui/graphicalterminalio.cc, + trunk/src/gtkgui/graphicalterminalio.hh, + trunk/src/gtkgui/iomanager.hh: - Start adding interface for the + frontend IO section. Should we use namespaces? 2006-01-27 14:29 tchernobog - * doc/fdl.texi: - Fix appendixsubsec -> appendixsec (else it has no - father section) + * trunk/doc/fdl.texi: - Fix appendixsubsec -> appendixsec (else it + has no father section) 2006-01-27 14:19 tchernobog - * doc/sgpem2dman.texi: - Fix overfull box in PDF output + * trunk/doc/sgpem2dman.texi: - Fix overfull box in PDF output 2006-01-27 14:11 tchernobog - * doc/sgpem2dman.texi: - Add section about reporting anomalies + * trunk/doc/sgpem2dman.texi: - Add section about reporting anomalies 2006-01-27 10:04 tchernobog - * src/gtkgui/mainwindow.cc, src/gtkgui/startgui.cc, - src/parseopts.cc: - Put opening braces on a newline, as per + * trunk/src/gtkgui/mainwindow.cc, trunk/src/gtkgui/startgui.cc, + trunk/src/parseopts.cc: - Put opening braces on a newline, as per coding-style rules 2006-01-27 00:17 tchernobog - * doc/sgpem2dman.texi: - Change Subsections of Chapter 5 into + * trunk/doc/sgpem2dman.texi: - Change Subsections of Chapter 5 into Sections to preserve right gerarchy 2006-01-26 23:56 elvez - * doc/sgpem2dman.texi: Added two points to coding rules. See + * trunk/doc/sgpem2dman.texi: Added two points to coding rules. See changelog for details. 2006-01-26 23:06 tchernobog - * src/gtkgui/mainwindow.cc, src/gtkgui/startgui.cc: - Show an - example of the use of a signal, and basic packing, for the + * trunk/src/gtkgui/mainwindow.cc, trunk/src/gtkgui/startgui.cc: - + Show an example of the use of a signal, and basic packing, for the developer 2006-01-26 22:41 tchernobog - * ChangeLog, config/Doxyfile.in, doc/Makefile.am, m4/Makefile.am, - src/gtkgui/mainwindow.hh, src/gtkgui/startgui.hh, - src/parseopts.hh: - Small fixes to class documentation - Now - distcheck works correctly, including a copy of the API - documentation in the built dist tar. + * trunk/ChangeLog, trunk/config/Doxyfile.in, trunk/doc/Makefile.am, + trunk/m4/Makefile.am, trunk/src/gtkgui/mainwindow.hh, + trunk/src/gtkgui/startgui.hh, trunk/src/parseopts.hh: - Small + fixes to class documentation - Now distcheck works correctly, + including a copy of the API documentation in the built dist tar. 2006-01-26 21:41 tchernobog - * Makefile.am, doc/Makefile.am, m4/Makefile.am: - Fixing makefiles - with the help of ``make distcheck'' + * trunk/Makefile.am, trunk/doc/Makefile.am, trunk/m4/Makefile.am: - + Fixing makefiles with the help of ``make distcheck'' 2006-01-26 20:32 tchernobog - * Makefile.am, config/Doxyfile.in, configure.ac, doc/Makefile.am, - doc/sgpem2uman.texi: - Add support for automagically generating - API documentation with Doxygen. Just use ``make apidox''. + * trunk/Makefile.am, trunk/config/Doxyfile.in, trunk/configure.ac, + trunk/doc/Makefile.am, trunk/doc/sgpem2uman.texi: - Add support + for automagically generating API documentation with Doxygen. Just + use ``make apidox''. 2006-01-26 18:31 tchernobog - * ChangeLog, configure.ac, src/Makefile.am, src/gtkgui, - src/gtkgui/Makefile.am, src/gtkgui/mainwindow.cc, - src/gtkgui/mainwindow.hh, src/gtkgui/startgui.cc, - src/gtkgui/startgui.hh, src/main.cc, src/main.hh, src/pyloader, - src/pyloader/Makefile.am: - Separate work in a main program and - two libraries. This is experimental, and ideally it should be a - target to work towards decoupling - Still more experimental, added - support for visibility exports from DSOs. Need testing from + * trunk/ChangeLog, trunk/configure.ac, trunk/src/Makefile.am, + trunk/src/gtkgui, trunk/src/gtkgui/Makefile.am, + trunk/src/gtkgui/mainwindow.cc, trunk/src/gtkgui/mainwindow.hh, + trunk/src/gtkgui/startgui.cc, trunk/src/gtkgui/startgui.hh, + trunk/src/main.cc, trunk/src/main.hh, trunk/src/pyloader, + trunk/src/pyloader/Makefile.am: - Separate work in a main program + and two libraries. This is experimental, and ideally it should be + a target to work towards decoupling - Still more experimental, + added support for visibility exports from DSOs. Need testing from someone with GCC 4.0 2006-01-26 14:21 tchernobog - * doc/sgpem2dman.texi: - Added norms about documentation guidelines - by Djina - Integrated draft about Mailing List usage (adaptation) + * trunk/doc/sgpem2dman.texi: - Added norms about documentation + guidelines by Djina - Integrated draft about Mailing List usage + (adaptation) 2006-01-25 17:50 tchernobog - * po/POTFILES.in, src/Makefile.am, src/main.cc, src/parseopts.cc, - src/parseopts.hh: - Added support for command line option parsing - - Creates a vector with filenames to be opened; not actually - useful now, it's already in place when it'll be needed. + * trunk/po/POTFILES.in, trunk/src/Makefile.am, trunk/src/main.cc, + trunk/src/parseopts.cc, trunk/src/parseopts.hh: - Added support + for command line option parsing - Creates a vector with filenames + to be opened; not actually useful now, it's already in place when + it'll be needed. 2006-01-24 21:48 tchernobog - * doc/sgpem2dman.texi: - Added notes on glib::string, glib::RefPtr<> - e the c++ stdlib + * trunk/doc/sgpem2dman.texi: - Added notes on glib::string, + glib::RefPtr<> e the c++ stdlib 2006-01-24 17:39 elvez - * doc/sgpem2dman.texi: Modified sgpem2dman.texi: -Adjusted some code - snippets whose style was inconsistent -Added an item for operator - overloading + * trunk/doc/sgpem2dman.texi: Modified sgpem2dman.texi: -Adjusted + some code snippets whose style was inconsistent -Added an item for + operator overloading 2006-01-21 15:02 tchernobog - * configure.ac, src/Makefile.am, src/builtin-policies, - src/builtin-policies/Makefile.am: - Added separate directory for - keeping builtin policies + * trunk/configure.ac, trunk/src/Makefile.am, + trunk/src/builtin-policies, + trunk/src/builtin-policies/Makefile.am: - Added separate directory + for keeping builtin policies 2006-01-17 11:44 tchernobog - * configure.ac: - Change order when checking for glib / gtkmm + * trunk/configure.ac: - Change order when checking for glib / gtkmm 2006-01-17 10:23 tchernobog - * ChangeLog, configure.ac, m4/ac_pkg_swig.m4: - Added fatal errors - when swig isn't found - Downgraded gettext reqs + * trunk/ChangeLog, trunk/configure.ac, trunk/m4/ac_pkg_swig.m4: - + Added fatal errors when swig isn't found - Downgraded gettext reqs 2006-01-15 19:40 tchernobog - * ChangeLog, Makefile.am, configure.ac, src/Makefile.am, - src/main.cc, src/testsuite, src/testsuite/Makefile.am: - Lay out - directory for keeping tests - Create Makefile for sources, add - main.cc that just prints the license as a test for the rules. + * trunk/ChangeLog, trunk/Makefile.am, trunk/configure.ac, + trunk/src/Makefile.am, trunk/src/main.cc, trunk/src/testsuite, + trunk/src/testsuite/Makefile.am: - Lay out directory for keeping + tests - Create Makefile for sources, add main.cc that just prints + the license as a test for the rules. 2006-01-13 17:30 tchernobog - * ChangeLog, configure.ac, doc/Makefile.am: - Add automake option - for dejagnu + * trunk/ChangeLog, trunk/configure.ac, trunk/doc/Makefile.am: - Add + automake option for dejagnu 2006-01-13 16:16 tchernobog - * ChangeLog, autogen.sh, config, config/svn2cl.sh, - config/svn2cl.xsl: - Add support for automatic ChangeLog creation - with svn2cl + * trunk/ChangeLog, trunk/autogen.sh, trunk/config, + trunk/config/svn2cl.sh, trunk/config/svn2cl.xsl: - Add support for + automatic ChangeLog creation with svn2cl 2006-01-13 16:00 tchernobog - * autogen.sh, configure.ac: - Add macro for autopoint + * trunk/autogen.sh, trunk/configure.ac: - Add macro for autopoint 2006-01-13 15:52 tchernobog - * ChangeLog, Makefile.am, autogen.sh, configure.ac, doc/Makefile.am, - doc/sgpem2.texi, doc/sgpem2dman.texi, doc/sgpem2uman.texi, - gettext.h, m4/Makefile.am, m4/ac_pkg_swig.m4, - m4/ac_python_devel.m4, m4/ac_python_module.m4, po/ChangeLog, - po/Makevars, po/POTFILES.in: - Added libtool, gettext support - - Added needed m4 macros - fixed autogen.sh to be made executable - - fix directory categories with info manuals + * trunk/ChangeLog, trunk/Makefile.am, trunk/autogen.sh, + trunk/configure.ac, trunk/doc/Makefile.am, trunk/doc/sgpem2.texi, + trunk/doc/sgpem2dman.texi, trunk/doc/sgpem2uman.texi, + trunk/gettext.h, trunk/m4/Makefile.am, trunk/m4/ac_pkg_swig.m4, + trunk/m4/ac_python_devel.m4, trunk/m4/ac_python_module.m4, + trunk/po/ChangeLog, trunk/po/Makevars, trunk/po/POTFILES.in: - + Added libtool, gettext support - Added needed m4 macros - fixed + autogen.sh to be made executable - fix directory categories with + info manuals 2005-12-30 20:09 tchernobog - * autogen.sh, configure.ac: - Fix autoreconf parameters in - autogen.sh - Change obsolete macros in configure.ac + * trunk/autogen.sh, trunk/configure.ac: - Fix autoreconf parameters + in autogen.sh - Change obsolete macros in configure.ac 2005-12-30 19:40 tchernobog - * AUTHORS, COPYING, ChangeLog, Makefile.am, NEWS, README, - autogen.sh, configure.ac, doc/Makefile.am, doc/sgpem2.texi, - doc/sgpem2dman.texi, doc/sgpem2uman.texi, m4/Makefile.am, - m4/compilerflags.m4: - Lay out autotools foundations + * trunk/AUTHORS, trunk/COPYING, trunk/ChangeLog, trunk/Makefile.am, + trunk/NEWS, trunk/README, trunk/autogen.sh, trunk/configure.ac, + trunk/doc/Makefile.am, trunk/doc/sgpem2.texi, + trunk/doc/sgpem2dman.texi, trunk/doc/sgpem2uman.texi, + trunk/m4/Makefile.am, trunk/m4/compilerflags.m4: - Lay out + autotools foundations 2005-12-26 23:21 tchernobog - * doc/gpl.texi, doc/sgpem2dman.texi: - Changed dir layout to reflect - current repository setup - Added how to insert license info in the - source files + * trunk/doc/gpl.texi, trunk/doc/sgpem2dman.texi: - Changed dir + layout to reflect current repository setup - Added how to insert + license info in the source files 2005-12-21 12:22 johnny - * data, desktop, distro, m4, po: - Added directories as defined in - developers' manual. + * trunk/data, trunk/desktop, trunk/distro, trunk/m4, trunk/po: - + Added directories as defined in developers' manual. 2005-12-21 12:09 johnny - * docs/manuals, src, doc, src: - Moved src in trunk/src - Moved - docs/manuals in trunk/doc + * docs/manuals, src, trunk/doc, trunk/src: - Moved src in trunk/src + - Moved docs/manuals in trunk/doc 2005-12-21 12:06 johnny - * branches, tags, .: - Added directories tags, trunk, branches. + * branches, tags, trunk: - Added directories tags, trunk, branches. diff --git a/m4/ac_python_devel.m4 b/m4/ac_python_devel.m4 index 90c160f..be395b8 100644 --- a/m4/ac_python_devel.m4 +++ b/m4/ac_python_devel.m4 @@ -30,6 +30,7 @@ dnl @author Alan W. Irwin dnl @author Rafael Laboissiere dnl @author Andrew Collier dnl @author Matteo Settenvini +dnl @author Horst Knorr dnl @version 2006-02-05 dnl @license GPLWithACException @@ -183,4 +184,41 @@ $ac_distutils_result]) fi AC_MSG_RESULT([$PYTHON_EXTRA_LDFLAGS]) AC_SUBST(PYTHON_EXTRA_LDFLAGS) + + # + # final check to see if everything compiles alright + # + AC_MSG_CHECKING([whether collected informations are consistent]) + AC_LANG_PUSH([C]) + # save current global flags + LIBS="$ac_save_LIBS $PYTHON_LDFLAGS" + CPPFLAGS="$ac_save_CPPFLAGS $PYTHON_CPPFLAGS" + AC_TRY_LINK([ + #include + ],[ + Py_Initialize(); + ],[pythonexists=yes],[pythonexists=no]) + + AC_MSG_RESULT([$pythonexists]) + + if test ! "$pythonexists" = "yes"; then + AC_MSG_ERROR([ + Could not link test program to Python. Maybe the main Python library has been + installed in some non-standard library path. If so, pass it to configure, + via the LDFLAGS environment variable. + ============================================================================ + ERROR! + You probably have to install the development version of the Python package + for your distribution. The exact name of this package varies among them. + ============================================================================ + ]) + fi + AC_LANG_POP + # turn back to default flags + CPPFLAGS="$ac_save_CPPFLAGS" + LIBS="$ac_save_LIBS" + + # + # all done! + # ]) diff --git a/src/graphical_terminal_io.cc b/src/graphical_terminal_io.cc index 594641e..40ad1d9 100644 --- a/src/graphical_terminal_io.cc +++ b/src/graphical_terminal_io.cc @@ -25,10 +25,13 @@ #include #include +#include +#include #include #include #include +#include #include using namespace sgpem; @@ -37,36 +40,41 @@ using Glib::ustring; using Glib::Thread; GraphicalTerminalIO::GraphicalTerminalIO(TextSimulation* sim) - :_sim(sim) + : _sim(sim) { using namespace Gtk; set_title(_("Textual Simulation Log")); set_default_size(500,300); - Gtk::Box* mainbox = manage(new VBox()); - add(*mainbox); + Box& mainbox = *manage(new VBox()); + add(mainbox); + ScrolledWindow& txout_scroll = *manage(new ScrolledWindow()); _text_output.set_editable(false); _text_output.modify_font(Pango::FontDescription("monospace")); - mainbox->pack_start(_text_output); + txout_scroll.set_policy(POLICY_AUTOMATIC, POLICY_AUTOMATIC); + txout_scroll.add(_text_output); + mainbox.pack_start(txout_scroll); - Gtk::Box* cmdbox = manage(new HBox()); - mainbox->pack_end(*cmdbox, false, false); + Box& cmdbox = *manage(new HBox()); + mainbox.pack_end(cmdbox, false, false); - _text_input.signal_key_press_event().connect(sigc::mem_fun(*this, &GraphicalTerminalIO::_on_input_commit)); - cmdbox->pack_start(_text_input); + // Maybe we should connect explicitly TextBuffer.signal_changed + // to the TextView redraw function (see Gtk::Widget for that)?? - _send = manage(new Button(_("Send Command"))); - _send->signal_clicked().connect(sigc::mem_fun(*this, &GraphicalTerminalIO::onSend)); - cmdbox->pack_start(*_send, false, true); + _text_input.activate(); + _text_input.set_activates_default(); + cmdbox.pack_start(_text_input); + + Button& btsend = *manage(new Gtk::Button(_("Send Command"))); + btsend.signal_clicked().connect(sigc::mem_fun(*this, &GraphicalTerminalIO::onSend)); + GTK_WIDGET_SET_FLAGS(btsend.gobj(), CAN_DEFAULT); + set_default(btsend); + cmdbox.pack_start(btsend, false, true); _text_input.grab_focus(); - //this button is the default widget - //GTK_WIDGET_SET_FLAGS ( _send , GTK_CAN_DEFAULT); - //_send->grab_default(); - show_all_children(); } @@ -77,28 +85,37 @@ void GraphicalTerminalIO::onSend() { - pair< pair, const ustring > p( - pair(_sim, this), _text_input.get_text()); + pair, const ustring> p( + pair(_sim, this), + _text_input.get_text()); - Thread::create( sigc::bind(&TextSimulation::parse_command, p), true); - - _text_input.set_text(""); - _text_input.grab_focus(); + Thread::create(sigc::bind(&TextSimulation::parse_command, p), true); + + _text_input.set_text(""); + _text_input.grab_focus(); } uint GraphicalTerminalIO::write_buffer(const Glib::ustring& buffer) { - Gtk::TextBuffer::iterator i = _text_output.get_buffer()->end(); - _text_output.get_buffer()->insert(i, buffer); - i = _text_output.get_buffer()->end(); - //_text_output.scroll_to(i); // would need a mutex! - return buffer.size(); + Gtk::TextBuffer::iterator i = _text_output.get_buffer()->end(); + _text_output.get_buffer()->insert(i, buffer); + + // Force the UI update queue to flush + // while(Gtk::Main::instance()->events_pending()) + // Gtk::Main::instance()->iteration(); + + // i = _text_output.get_buffer()->end(); + return buffer.size(); } Glib::ustring GraphicalTerminalIO::read_command() { + // For next implementers: take a look to Gtk::EntryCompletion... + // ... maybe it's worth using (when and if we'll have a separate + // Interpreter class) + using Glib::ustring; static const ustring whitespaces = " \r\b\n\t\a"; // are there any other wspaces? @@ -119,16 +136,3 @@ GraphicalTerminalIO::is_full_duplex() { return true; } - -bool -GraphicalTerminalIO::_on_input_commit(GdkEventKey* event) -{ - // We should use Gdk::GDK_Return here, but it doesn't work for - // some reason!! - if((event->keyval & 0xFF0D) == 0xFF0D ) - { - onSend(); - return true; - } - return true; -} diff --git a/src/graphical_terminal_io.hh b/src/graphical_terminal_io.hh index 139ce1f..9bf1a17 100644 --- a/src/graphical_terminal_io.hh +++ b/src/graphical_terminal_io.hh @@ -30,9 +30,10 @@ #include #include +#include "io_manager.hh" #include "text_simulation.hh" -#include "io_manager.hh" +#include namespace sgpem { @@ -88,12 +89,9 @@ namespace sgpem { void onSend(); private: - bool _on_input_commit(GdkEventKey* event); - - TextSimulation* _sim; - Gtk::TextView _text_output; - mutable Gtk::Entry _text_input; - Gtk::Button* _send; + TextSimulation* _sim; + Gtk::TextView _text_output; + mutable Gtk::Entry _text_input; }; }