Commit Graph

121 Commits

Author SHA1 Message Date
tchernobog 732303ed4e Normalize space/tabs indentation for Python 3.0
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1339 3ecf2c5c-341e-0410-92b4-d18e462d057c
2009-04-06 20:37:52 +00:00
tchernobog 2d4a04fb10 Re-add proper file
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1338 3ecf2c5c-341e-0410-92b4-d18e462d057c
2009-02-14 14:04:18 +00:00
tchernobog 8ec6dab39f Delete symlink
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1337 3ecf2c5c-341e-0410-92b4-d18e462d057c
2009-02-14 14:03:55 +00:00
tchernobog 0ff989f891 Update the AC_PYTHON_DEVEL macro to support also Python 3.0.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1336 3ecf2c5c-341e-0410-92b4-d18e462d057c
2009-02-07 11:17:00 +00:00
tchernobog ed9e5bfa0a Update package to be dist'd w/ new versions of GNU Gettext
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1331 3ecf2c5c-341e-0410-92b4-d18e462d057c
2008-11-08 21:32:36 +00:00
tchernobog 99135b1237 Fix compilation warnings and a couple of errors due to GCC -pedantic flags
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1329 3ecf2c5c-341e-0410-92b4-d18e462d057c
2008-11-08 21:17:11 +00:00
tchernobog 61df7cd551 Misc fixes to infrastructure: adjourn gettext version and
some m4 macros


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1328 3ecf2c5c-341e-0410-92b4-d18e462d057c
2008-11-08 20:01:09 +00:00
tchernobog d704fc4b13 * Drop libglademm dep, upgrade gtkmm dep to 2.12.1 and use
Gtkbuilder instead of Glade::XML
* Misc bugfixes



git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1326 3ecf2c5c-341e-0410-92b4-d18e462d057c
2008-11-08 18:35:13 +00:00
tchernobog 82f97ffce9 Update macro to allow linking to libpython.so if libpython#.#.so doesn't exist
FIXME: order of printing nested check messages in macro is sub-optimal


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1323 3ecf2c5c-341e-0410-92b4-d18e462d057c
2007-10-04 13:59:19 +00:00
tchernobog 989f9a27ef - Update license to GPLv3
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1322 3ecf2c5c-341e-0410-92b4-d18e462d057c
2007-06-30 13:31:19 +00:00
matrevis 9aa6bf39cb - My part of auditing was completed
- Many missing strings to gettext-ize


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1267 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-17 22:26:47 +00:00
matrevis 859df07a89 - Gettext support to resource policies descriptions.
- Renamed default_resource_policy_manager to match the design.
- Audited some other files.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1232 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-17 15:32:56 +00:00
matrevis b976aaaa34 - Audited schedulable.hh
- Removed holt_graph.* since they were unused
- Updated makefile accordingly


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1227 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-17 13:44:17 +00:00
paolo a2c6df90b7 - program files documentation
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1221 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-17 08:48:27 +00:00
jinx 85982217db auditing performed, made some changes like removed std, or corrected the name of the file, and in come cases added the licence text where it was missing --gv
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1220 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-17 01:19:52 +00:00
elvez b3e76d99b6 - Completed my part of auditing
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1215 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-16 23:47:45 +00:00
tchernobog 2935d9fcfd - Ask if you want to save also when closing main window, or
opening another file


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1213 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-16 22:27:34 +00:00
paolo 77eca3ba4e - program files documentation
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1210 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-16 21:36:46 +00:00
tchernobog 470901d20e - Remove deleted m4 macro from Makefiles
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1192 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-16 13:36:49 +00:00
tchernobog d128ee8608 - Fix portability issues with config.h header. Now it is
included by the compiler (via a flag) and the visibility
macros have been moved to a separate header. You'll
probably need to cleanup your source dir and re-run autogen.sh
before compiling sgpem again.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1191 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-16 13:34:43 +00:00
tchernobog 93feee1ee5 - Cleanup GlobalPreferences badly cluttered interface, removing
deprecated methods and things that don't exist in the design
- Put the ``sgpemrc'' application configuration file into
the proper place (``$HOME/.sgpemv2''), creating the directory
if it doesn't exist, as per specs
- Disable test-global_preferences_serialization building since
it doesn't work with the new interface (todo: create a class inheriting 
from GlobalPreferences, and redefining get_config_filename() to return
a tmpname to a mkfifo() pipe connected to the stdout. If you don't understand 
a word of this, you're not a Real Unix Programmer(tm))
- Update other files to use the new interface


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1178 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-15 21:31:31 +00:00
elvez bd1b8f879b - Still a bit of portability-related changes. Now it is almost totally portable to Windows (only path of config file should remain...)
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1175 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-15 16:41:24 +00:00
tchernobog 13c52d20a8 - Bump version number for incoming release
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1173 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-15 11:57:31 +00:00
tchernobog 83b655496f - Use a NotifyLock instead of (History|Simulation)::set_notify_enabled() method, which is more elegant and also exception-safe
- Delete set_notify_enabled() method from ConcreteHistory; it was both wrong and useless, and caused impredictable behaviour!
- Don't make some methods of History and Simulation virtual if we don't want the user to override them
- Loading from file and jumping to an instant of the simulation should be much quickier now

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1170 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-15 09:34:12 +00:00
tchernobog 29c664951f - Add desktop file
- Delete old leftovers from first xmlsave implementation
- Move valid dtd to xmlsave


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1166 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 23:34:12 +00:00
elvez 503634d7c5 Again, portability fixes
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1159 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 20:42:54 +00:00
tchernobog 382b38ab6a - Add beta tester names to the AUTHORS files
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1150 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 15:40:18 +00:00
elvez 90c562006a - Audited some files
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1148 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 15:10:48 +00:00
tchernobog 9c50d712f3 - Fix bug in FCFS. Thanks, Filippo.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1126 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-13 11:59:44 +00:00
tchernobog efa5b781ef - Small fix: don't reenable history notifications if they
were disabled when we started to load an XML file


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1106 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-12 09:39:17 +00:00
tchernobog eec74de632 - Poll more often to make "jump_to()" faster. Also increase
time given to a policy before judging it dead to ~5 seconds.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1076 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-09 12:30:49 +00:00
tchernobog 34825da69b - Expose the Schedulable::set_priority_push() method to python and
outside the backend in general (else, having a 
get_current_priority() method was quite pointless)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1070 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-08 20:34:05 +00:00
tchernobog aedac205ea - Add a warning about quicksort being stable only with some
operators


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1066 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-08 15:09:36 +00:00
elvez 0c02a29f8b - "Beautify" debug printout from Python policy manager
- Added support for resource policies in textual frontend

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1064 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-08 14:15:24 +00:00
tchernobog f7b440d53a -Update version numbers
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1063 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-08 13:00:59 +00:00
elvez 284490f271 - Reduced verbosity of PythonPolicyManager`s policies collection process
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1060 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-08 10:11:02 +00:00
tchernobog f7eb44bf64 - Fix ``make distcheck''
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1051 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 19:12:19 +00:00
tchernobog 312b67e2a4 - Re-enable clipping for HoltSchedulable
- Add missing header to Makefile.am 
- Regen POTFILE.in


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1046 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 16:56:42 +00:00
tchernobog 0f718f2899 - Fix all includes, separating header files to be installed
from other headers. Take it while it's hot.
- To all those that lock source files: you'll burn in hell. Really.
It'll be painful, dreadful and above all *long*. *Eternally* long.
And there'll be Freddy Mercury and The Queen playing, *all the time*, 
day after boring, useless, sorrowful day. The song
will be *``Radio Ga-Ga''*, in secula secularum amen.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1033 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 00:43:00 +00:00
tchernobog dbfc7393ed - Fix all policies to ensure that the sort *IS* stable
- Erase the newly selected running thread from the ready queue
as per Marco feedback (or so I believe to have understood...)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1024 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 13:04:31 +00:00
tchernobog df4b1b4205 - Merge branch 0.3-r1003--scheduler-manage-preemption into trunk
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1023 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 12:29:22 +00:00
tchernobog cb5d958790 - Add the --enable-debug flag to configure.ac
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1022 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 10:14:49 +00:00
tchernobog e39c6c1430 - Update POTFILES list (not including .glade files because
not everybody has gettext compiled with expat support)
- Update version numbers in configure.ac


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1011 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-05 09:38:31 +00:00
tchernobog 64839353bb - Re-add Giovanni in the (hopefully) right places
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1001 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-02 14:12:55 +00:00
tchernobog 77c91ebfec - Fix XMLSerializer to disable notifications to HistoryObservers
during the loading of a snapshot. This should fix a non-deterministic
sigsegv due to asyncronous callback mappings.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@997 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-02 12:46:47 +00:00
elvez 4b3cce6bea - Correctly manage file extensions in load/save dialogs. I couldn`t find a way to automagically add the extension on file save. It`s just too much of an hassle to do it by hand, isn`t it?
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@989 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-02 01:01:37 +00:00
tchernobog ad774067e1 - Add lottery and plain round robin cpu policies. I didn't test
them extensively, mind you. Closes task #14.
- Added documentation for each cpu policy
- Manage extra-exception into PythonCPUPolicy (when the .py
file doesn't contain a similarly named class)
- Update exception output in GuiBuilder to make it slightly
more descriptive


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@983 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-01 17:03:34 +00:00
tchernobog 1f466f80d5 - Add newlines at the end of file to make new versions of m4 happy
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@961 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-29 09:12:54 +00:00
elvez 8b7a4ed569 - Fixed bug in serialization which caused threads to be saved with a "lats-for" field of 0
- Added some comments to the string_to code

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@956 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-28 22:29:43 +00:00
elvez 9e61332a12 - Removed CPUPolicyManager::init(), it was deprecated
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@953 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-08-28 21:40:02 +00:00