7ce8cf93c3- Add SJF - Re-enable FCFS sorting function - Correct bug in PythonPolicy that wronged return value of is_pre_emptible()
tchernobog
2006-02-24 11:17:37 +0000
5dddd9b488- I don't remember exactly what I did.
tchernobog
2006-02-24 10:39:40 +0000
6446c205ea- Fix trivial conflict between revisions
tchernobog
2006-02-24 10:07:47 +0000
edd8cc3e95- Print arrival time instead of priority for Schedulables at this stage of development
tchernobog
2006-02-24 09:53:23 +0000
dc84bfd16c- Return numeric_limits<int>::max() from get_time_slice() of PythonPolicy when the Python user-implemented one returns a negative value
tchernobog
2006-02-24 08:28:18 +0000
924896ca0bAdded some comments to the source code
jinx
2006-02-24 01:33:06 +0000
47c184ac3f- "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.
johnny
2006-02-24 01:24:21 +0000
c996eca3ba- Add yet-not-functional code for managing the "return" keypress in the input entrybox
tchernobog
2006-02-23 12:50:19 +0000
1a1c9b943a- Temporarily solve synchronization problem. A more correct and complete solution is of course using a mutex.
tchernobog
2006-02-23 12:12:43 +0000
ec5d813a7c- Move SWIG interface file to the correct subdir
tchernobog
2006-02-23 11:36:13 +0000
8d6b7c500e- 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!
tchernobog
2006-02-23 11:29:25 +0000
a2a492b5d5- 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
tchernobog
2006-02-23 10:12:27 +0000
075e12d14d- Add note that building with --disable-shared at the moment doesn't work
tchernobog
2006-02-23 09:26:27 +0000
8eeeaae3f5- hemm... updated also the header!!
fpaparel
2006-02-22 23:21:12 +0000
b7f3086286- implemented swap in schedulable_list.cc
fpaparel
2006-02-22 23:19:51 +0000
73a3e72118- 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()
tchernobog
2006-02-22 22:57:32 +0000
7110279f53- The grafical interpreter now works
fpaparel
2006-02-22 22:45:06 +0000
47451bf78d- Add swap() method signature to SchedulableQueue - Export swap() to SWIG - Add sort function (just its documentation, actually, implementation will follow) to Policy.py
tchernobog
2006-02-22 21:35:26 +0000
eecb9f109f- "Yeehaw! It's working! I can't believe it! And they said that an imitation diamond wasn't good enough..." :-)
tchernobog
2006-02-22 20:36:33 +0000
8f655f2f69- 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).
tchernobog
2006-02-22 15:16:08 +0000
882a6acf5e- Don't include full paths
tchernobog
2006-02-22 14:27:14 +0000
4e65ca6cd0- Super mega hacked implementation of python_policy_manager. Haven't tried running it.
tchernobog
2006-02-22 12:39:30 +0000
e4f6b8d719- Guess what: correcting a typo that prevented compiling
tchernobog
2006-02-22 10:36:26 +0000
3bd8cad316sgpem2dman.texi: added the anomaly classes in the subsection about anomaly resolution.
jinx
2006-02-22 00:09:27 +0000
712e14f558- Add first undocumented (and quite useless) test for libpyloader. It doesn't work properly for no apparent reason. - Add SWIG interface generation for Scheduler
tchernobog
2006-02-21 22:57:14 +0000
2e1a699b65- This is a save point (everything compiles again) ;-)
tchernobog
2006-02-21 11:30:19 +0000
ef659927c4- Die tortoise-svn die
fpaparel
2006-02-21 11:29:05 +0000
0de370f4d3- Add dummy policy left out of previous commit
fpaparel
2006-02-21 11:15:57 +0000
4482b98df7- fixed a number of bugs - added dummy_policy written in C++ - the interpreter is now finished (hopefully)
fpaparel
2006-02-21 11:09:55 +0000
8c05219cec- Add newlines at the end of source files. I hope not having to do this frequently! (it's a two-liner script, but nevertheless...)
tchernobog
2006-02-19 22:36:24 +0000
b9c4813f11- 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.
tchernobog
2006-02-19 22:25:23 +0000
74df8ba0d2- Temporary hack to Makefile. To be fixed.
tchernobog
2006-02-17 12:45:30 +0000
6e15465e16- Remove spurious files left from previous commit (these files were moved to the pyloader directory)
tchernobog
2006-02-17 12:34:12 +0000
b6c49d98d6- Add support for abtract python classes - Create first modules: the Policy Python class
tchernobog
2006-02-16 22:50:32 +0000
5554ec2256- Initial split of libpyloader from libbackend. Will need rework in order to: - fix wrong design - fix include paths - fix installation of header files
tchernobog
2006-02-16 21:29:51 +0000
6d5e9270a8- added few frontend classes - updated others from backend
fpaparel
2006-02-15 22:58:18 +0000
34648139ec- Fix typo in comment - Add extra checks for python version: should do a better job when determining the library name to use
tchernobog
2006-02-14 12:55:57 +0000
6cf67202c7- Add Python preprocessor flags to src/ and src/backend Makefiles - Add -Wno-long-long to compiler options in order to workaround Python types' evilness
tchernobog
2006-02-13 16:35:00 +0000
146b3c99cc- 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
fpaparel
2006-02-13 11:32:05 +0000
e2a0c3f248- added scheduler and other incomplete backend classes
fpaparel
2006-02-12 17:12:54 +0000
98cc6fb20b- Check for --as-needed linking flag
tchernobog
2006-02-12 16:06:38 +0000
d6a19ca35d- Write code for the graphical terminal widget
tchernobog
2006-02-10 20:44:48 +0000
87558b5c26- Change filenames to follow a consistent naming scheme
tchernobog
2006-02-09 19:43:24 +0000
68a0cef9d9- Fixed code to follow function naming conventions a bit more
tchernobog
2006-02-09 19:33:35 +0000
e8b28cc2ec- Added some source code
fpaparel
2006-02-09 18:51:26 +0000
d56fd53f2d- Revert my own commit - revision 299 (unneeded changes)
tchernobog
2006-02-07 20:48:22 +0000
235fdfdbe0- Prefix our macros with "SG_", as per Luca request
tchernobog
2006-02-07 20:41:59 +0000
7de2c281bb- Fix documentation for smartp.hh
tchernobog
2006-02-07 20:21:19 +0000
ab3b8e5686- Update makefiles to make use of include dir with templates
tchernobog
2006-02-07 20:13:50 +0000
78de185d75- Add template class implementing a smart pointer (a class of general utility)
tchernobog
2006-02-07 20:11:03 +0000
f8be22e03d- Add subsection about the anomaly solving process - Fix example about how to document C++ classes - Fix note about non-const static class members
tchernobog
2006-02-07 12:25:55 +0000
8f02d11b0a- Added some source in the backend lib
fpaparel
2006-02-06 21:37:32 +0000
061404dedc- 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.
tchernobog
2006-02-02 14:37:06 +0000
b1822d7284- Can't compile source. Need help...
fpaparel
2006-02-02 13:46:48 +0000
b00d733ef0- Updated coding style with a point on static non-POD objects.
elvez
2006-02-02 00:39:14 +0000