Commit Graph

481 Commits

Author SHA1 Message Date
elvez 88831f468a - Fixed another bug with interpreter reinizialization. See bug #16
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@568 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-05-05 11:21:30 +00:00
tchernobog 2bbfdca142 - Make sure pyloader doesn't try to look outside its sandbox
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@564 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-04-07 20:14:04 +00:00
tchernobog 38a7990e26 - Add revision left out from last merging (Subversion has one of
the worst merge systems I've seen thus far)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@563 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-04-07 19:57:58 +00:00
tchernobog 51f0d7fbe7 - Merged branch 0.3-r556--SPLIT_PYLOADER_CONFIG back into trunk
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@561 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-04-06 19:01:13 +00:00
tchernobog c6d4f5fd27 - Remove ChangeLog since it's generated by svn2cl.sh
- Add .bzrignore to make easy perform commits w/ bazaar-ng


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@556 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-04-03 08:59:51 +00:00
tchernobog 9dc21270a2 - Make GUI a little bit more responsive. Still doesn't scroll
to the end of output
- Use GraphicalTerminalIO::read_command into GraphicalTerminalIO::onSend()
as per specs (fixes a program crash)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@552 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-18 10:50:16 +00:00
tchernobog b821b94b85 - Avoid generating API documentation for tests
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@549 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-16 08:38:08 +00:00
tchernobog 8102eb8b7e - Finish fix for return values in PythonPolicy
- Put mutex and global _ret_val variable into 
ScriptAdapter instead of the global space, space which is
anyway not accessible after decref'ing the corresponding 
python module


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@527 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-10 15:21:44 +00:00
jinx 4ab3056c23 essageMinor correcions
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@526 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-10 15:08:15 +00:00
tchernobog 3b593e00ae - Partial attempt at fixing PythonPolicies broken return values
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@525 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-10 14:54:24 +00:00
jinx 50a5214bb9 essageAdded chapter Writing new policies
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@524 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-10 14:46:35 +00:00
tchernobog c3065a86c6 - Fix bug with retval not treated as a bool value in wait_unlock()
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@523 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-10 11:38:10 +00:00
jinx b6f23767cb Added chapters Overview of SGPEM and Starting with SGPEM
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@521 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-10 03:20:36 +00:00
tchernobog ec3361cb84 - Make test-python_loader a unit test instead of an integration test
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@520 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-09 22:20:55 +00:00
tchernobog ef733b37e8 - Update test-python_loader, do not link to libpyloader anymore
- TODO: sigsegv (due to an hidden vtable?)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@519 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-09 21:56:16 +00:00
tchernobog 3c75e1391d - Add support for conditional compilation of tests
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@518 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-09 21:02:43 +00:00
matrevis bb1d465b34 - ArthurDent - Test completato codice del test di history
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@517 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-09 16:25:21 +00:00
tchernobog 0c2cba8bbe - Fix compilation of test-history
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@515 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-09 11:37:09 +00:00
tchernobog 92e6f3be2b - Add copyright notices to existing builtin python policies
- Implement system to dinamically pass plugins and policies search paths to
the sgpemv2 binary and tests (class GlobalSettings)
- Drastically reduce usage of hardcoded paths in code except as 
default overridable values


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@514 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-09 10:49:41 +00:00
matrevis 24a0194368 - added some test drafts
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@512 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-09 05:19:43 +00:00
matrevis 8afcc2edbb - Added draft of test code for Frontend Unit testing
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@510 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-08 16:57:23 +00:00
tchernobog 6a0bf4f444 - Give facelift to test_loader. Still to be finished.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@509 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-08 16:47:39 +00:00
johnny d462f6d1d3 - How to spend two hours tracking a bug of Unipd's laboratory broken distribution (how fscking unbelievable!)
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@508 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-08 15:50:13 +00:00
tchernobog 1388eeeac1 - Add extended support for casting between different types
of smart_ptr


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@507 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-08 12:49:14 +00:00
tchernobog e0142149b0 - Update smartp to version 1.1: add support for dynamic casting
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@501 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-07 01:27:15 +00:00
tchernobog 181164722b - Use kluge to an automake bug to have ``make distcheck'' working again
- Update ChangeLog


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@492 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-05 23:06:48 +00:00
tchernobog 7207f697c7 - Fix obscure bug (with reference initialization, or nested name
specifiers?)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@490 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-05 01:07:51 +00:00
tchernobog 8dab5cc548 - Remove non-const method from Python-exported interface that allowed
to change a SchedulableStatus from a user Policy


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@488 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-04 13:46:08 +00:00
tchernobog 17678ebbe4 - Reorganize makefile to install files in a reorganized directory
hierarchy: 
	- make room for future plugins
	- separate real plugins from their satellite helper
	data


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@484 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-03-03 21:04:42 +00:00
tchernobog 0a6b34d6ab - Catch UserInterruptException launched from
PythonPolicy in Scheduler, but it cheerfully 
segfaults python...


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@464 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-26 23:38:25 +00:00
tchernobog 8c39173c2f - 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
2006-02-25 19:32:54 +00:00
tchernobog d5565b319f - Add placeholder for a plugin interface to implement.
Will need to be finished with next milestones.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@460 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-25 12:40:24 +00:00
tchernobog c6dcf32fa2 - Remove all leftover references to DummyPolicy
- Adjust installation of backend header files, so users
can write their own plugins (needs to be documented)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@459 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-25 12:31:46 +00:00
tchernobog 56534edb6c - 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


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@458 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-25 12:21:30 +00:00
tchernobog 38f7b84909 - Workaround Automake limitations for calculating library dependencies
when installing. Should fix the problem for now.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@453 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 16:42:54 +00:00
tchernobog 022af85ed1 - Install tests (will need to be set as a conditional at
some point in the future)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@451 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 16:36:13 +00:00
fpaparel 4833658cc1 - added doxygen documentation
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@446 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 15:10:36 +00:00
tchernobog ed389f8b37 updated graphical_simulation.hh - Djina
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@440 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 14:25:48 +00:00
matrevis 5034c59728 - Added documentation to some headers
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@438 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 13:19:27 +00:00
johnny 52857f08b9 - More documentation
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@437 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 12:22:25 +00:00
tchernobog 7ce8cf93c3 - Add SJF
- Re-enable FCFS sorting function
- Correct bug in PythonPolicy that wronged return value
of is_pre_emptible()


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@435 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 11:17:37 +00:00
tchernobog 5dddd9b488 - I don't remember exactly what I did.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@434 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 10:39:40 +00:00
tchernobog 6446c205ea - Fix trivial conflict between revisions
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@433 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 10:07:47 +00:00
tchernobog edd8cc3e95 - Print arrival time instead of priority for Schedulables
at this stage of development


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@432 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 09:53:23 +00:00
tchernobog 1395347b1a - Fix Schedulable::get_name() in SWIG export interface
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@431 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 09:02:32 +00:00
tchernobog dc84bfd16c - Return numeric_limits<int>::max() from get_time_slice()
of PythonPolicy when the Python user-implemented one returns
a negative value


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@430 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 08:28:18 +00:00
jinx 924896ca0b Added some comments to the source code
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@422 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 01:33:06 +00:00
johnny 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.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@421 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 01:24:21 +00:00
paolo 02e69f9214 Documented history.hh, policy.hh, policy_manager.hh, slice.hh - ps
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@419 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 01:06:49 +00:00
tchernobog 3a38a2d3a6 - Add comment about a thing to fix ;-)
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@418 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-23 22:54:27 +00:00