elvez
a79b4a57d7
- Written DynamicProcess::get_state()
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@670 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-28 15:16:50 +00:00
elvez
628010656e
- Updated DynamicSchedulable::operator==
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@667 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-28 09:43:50 +00:00
elvez
bfe8f3456e
- added FIXME note about deletion of thread objects in DynamicProcess::remove_thread()
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@663 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-25 19:54:36 +00:00
tchernobog
409047a225
- Update plugin interface
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@658 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-24 18:35:43 +00:00
tchernobog
66d46db357
- Separate template definition from template declaration
...
- Explicitly instantiate Singleton templates to be exported from libbackend.so
- Install only header files that are backend interfaces to be exposed to the user
- Don't use full path for including templates in header files
- Instantiate a couple of smart_ptr templates to have their symbols exported outside the DSO. This happens in history.cc. FIXME: the interface for History will definitely need to be reworked, and the two smart_ptr explicit instantiations removed.
- Change SWIG exported interface to make use of Schedulable instead of (Dynamic|Static)Schedulable
- Fix provided policies to make use of the new interface
- TODO: limit the use of smart_ptrs.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@653 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-23 13:06:39 +00:00
elvez
56db7cd6a2
- Added requests system
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@652 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-22 22:48:33 +00:00
matrevis
d8cd3577a7
Arthur Dent: completed test-history, merging with Matteo's.
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@651 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-22 10:47:23 +00:00
elvez
e95d915e3a
- Added DynamicThread class
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@649 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-21 22:39:35 +00:00
elvez
0a2f37345f
- Temporarily disabled template-based singleton system because of a crash virtually surely caused by it
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@648 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-21 20:24:36 +00:00
tchernobog
167f9ad437
- Fix sigsegv when no parameter is passed on the cmdline
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@647 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-21 14:54:59 +00:00
tchernobog
77e61e0b91
- Hide cctors for singletons
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@644 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-21 09:15:41 +00:00
tchernobog
383889a203
- Add unified Singleton support
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@643 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-21 09:09:50 +00:00
elvez
8ca3a61730
- Minor changes to DynamicProcess and DynamicSchedulable to reflect change in design
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@642 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-20 21:49:13 +00:00
elvez
ec7c6a7c81
- Added Thread class
...
- Synchronized DynamicSchedulable and DynamicProcess with changes in design
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@637 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-19 22:37:27 +00:00
elvez
30d070a420
- Added SETPOLICY and LISTPOLICIES commands to text-based interface
...
- Fixed a bug preventing registration of managers in PoliciesGatekeeper
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@634 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-15 20:07:03 +00:00
elvez
9642918dd8
- Added StaticThread and DynamicProcess classes
...
- Added Process interface
- Classes are still incomplete
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@632 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-14 23:31:31 +00:00
elvez
a1662de194
- Added the Schedulable interface
...
- Renamed SchedulableStatus to DynamicSchedulable
- Implemented almost all methods of DynamicSchedulable
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@630 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-13 16:37:57 +00:00
elvez
dd6085a0a6
- Renamed Process to StaticProcess
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@627 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-13 14:20:05 +00:00
elvez
1f7972c308
- Renamed Schedulable to StaticSchedulable
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@626 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-13 13:55:47 +00:00
elvez
c381ee8875
- Doh! I forgot to svn move two files...
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@622 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-12 14:08:00 +00:00
elvez
1706119e4d
- Renamed GlobalSettings to GlobalPreferences
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@621 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-12 14:04:06 +00:00
elvez
65ed285807
- Implemented PythonPolicyManager::collect_policies()
...
- Integrated PythonPolicyManager with PoliciesGatekeeper
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@620 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-12 13:16:10 +00:00
elvez
c5d78f3547
- updated PoliciesGatekeeper to reflect change in design, it is still not usable at this time
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@616 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-10 15:44:42 +00:00
elvez
1e75fe91f1
- Added Policy::wants() and updated related code. Scheduler::get_ready_queue() still always returns a process queue...
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@615 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-09 16:51:53 +00:00
elvez
e5b90a39ad
- Added PoliciesGatekeeper class, but still not integrated it with the rest of the code
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@610 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-06 22:13:33 +00:00
elvez
da39407173
- removed Scheduler-initiated events
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@604 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-03 15:51:38 +00:00
elvez
8062dd95da
- Completed renaming of class SchedulableList to SchedulableQueue
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@603 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-03 15:19:13 +00:00
elvez
4508ed017b
-changing SchedulableList to SchedulableQueue: intermediate commit,
...
so SVN can let me use "mv"
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@602 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-03 14:40:19 +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
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
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
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
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
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
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
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
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