Commit Graph

150 Commits

Author SHA1 Message Date
tchernobog bce427d022 Port the code from Cairo to Cairo--.
See the TODO files for bugs and things that require attention.
The nasty bug that prevents visualization has been around for a while now, since Gtk+ reached 2.12, I think. Must be fixed.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1349 3ecf2c5c-341e-0410-92b4-d18e462d057c
2009-12-30 23:36:01 +00:00
tchernobog 1220e1be16 Minor fixes and small, negligible, boring code cleanups.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1348 3ecf2c5c-341e-0410-92b4-d18e462d057c
2009-12-30 20:23:41 +00:00
tchernobog bae91ba90b Add menu option to open directly an example (so it's clearer it exists!)
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1333 3ecf2c5c-341e-0410-92b4-d18e462d057c
2008-12-26 15:28:06 +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 a40c636ba7 - Migrate Glade files to GtkBuilder XML
- Update code to adapt to GtkBuilder


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1324 3ecf2c5c-341e-0410-92b4-d18e462d057c
2007-12-05 10:44:09 +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
tchernobog 9481d322c7 - Don't dist doxygen documentation
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1318 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-11-11 10:50:22 +00:00
tchernobog 6894684a69 - Install icon in /usr/share/pixmaps
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1317 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-10-16 14:30:46 +00:00
elvez 4be1fff629 - Fixed some bugs in test-statistics, there are still a lot of problems, it seems...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1270 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-17 23:28:48 +00:00
tchernobog 972db124e6 - Don't expose unnecessary interface
- Do a bit of auditing


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1250 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-17 19:59:41 +00:00
tchernobog a8beb17e76 - Add line for cleanup related to make distcheck
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1238 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-17 16:22:24 +00:00
jinx 27314face4 added inst. for compiling the test-statistics.cc
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1237 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-17 16:11:56 +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
tchernobog 094c58a580 - Revert garbled commit of fpaparel for process_statistics.hh. I've no time to lose with careless thinkerers.
- Make ConcreteSimulation::step() private as it should always have been
- Delete useless SchedulableStateWidget class

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1208 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-16 20:22:16 +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 deaf0702e5 - Add down_cast<> to safely checking dynamic_casts when in development. Be sure to read its documentation before use\!
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1188 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-16 11:21:06 +00:00
paolo f1954c9f71 - changed Makefile.am
- added MyAutoDeadlock.xgp 
  - removed holt_vert.gif and holt_horiz.gif



git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1187 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-16 08:10:06 +00:00
tchernobog 70c3609a8f - Try to make more fine tuned use of rpath, crossing fingers not to break builds for foreign hosts
- Calc debian package final size dynamically

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1183 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-16 00:42:10 +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
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 9fc743e2a8 - Add icon, and update desktop file (I forgot to add the main group)
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1168 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-15 00:12:37 +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
tchernobog 93b78788ad - Add script to automatize creation of deb packages
- Updated deb control file


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1161 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 22:07:43 +00:00
tchernobog 916743ed10 - Now RPMs are created okay from the spec file
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1160 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 20:52:35 +00:00
tchernobog 3e4ad93dc9 - Convert images on the fly before making dist (if you need
to make pdf or dvi, make dist before). Requires ImageMagick 
installed.
- Delete obsolete images
- Fix compilation of manual
- TODO: add txt files for missing images from the info files
- TODO: fix image sizes when generating pdf/dvi, because they're
wrong


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1157 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 19:33:12 +00:00
johnny aef436eb45 - "Is it so damn difficult to keep that Makefile " ... with a consistent tab usage? ;) j/j.. good job guys.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1156 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 18:39:52 +00:00
tchernobog b29873052b - Is it so damn difficult to keep that Makefile updated and in sorted order, huh?
- Update specfile to use "make install-strip"


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1155 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 18:19:34 +00:00
tchernobog f1bd513a4d - Overhaul rpm spec file. Still under testing, don't use it yet!
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1154 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 17:57:46 +00:00
tchernobog e2f760c2bf - Rename deb control file
- Add distro files to makefile for distribution
- Add a draft of an RPM specfile


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1145 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 12:29:43 +00:00
fpaparel 03498c1a78 added statistics show/hide, resized windows, added, scrolbars, added
simulation statistics 


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1141 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 10:58:54 +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
matrevis 43bd4369ed - Added priority inversion issue and solution.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1123 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-13 01:27:03 +00:00
tchernobog 0b8d42c933 - Install examples following beta-testers' feedback
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1104 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-12 09:01:53 +00:00
matrevis 79d2ae1e44 - Added a new example, "Colori".
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1096 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-11 21:16:26 +00:00
fpaparel 96dbda64cd - Adeed simple tabular statistics, modified statistics interfaces,
updated architecture (don't know if something is missing...)
 


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1092 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-11 01:32:05 +00:00
tchernobog 957ce2c987 - Add images needed for ``make dvi'' and ``make html'' (else
``make distcheck'' won't finish correctly). Sorry for the
filesize.
- Fix wrong reference in the user manual


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1084 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-09 16:48:18 +00:00
fpaparel 2d87f354e1 - Finished backend statistics, added two source files, added simple and TEMPORARY printouts into
simulation_widget



git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1080 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-09 16:04:35 +00:00
tchernobog 20aa646546 - Add new .xgp file to Makefile.am
- Fix warning in manual


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1079 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-09 15:45:39 +00:00
tchernobog 90ff1f455d - Add a screenshot of the main window to the documentation. Images
should be the exception, not the rule!


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1067 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-08 16:05:16 +00:00
tchernobog e4d359304c - Add exception checking to ConcreteSimulation::jump_to()
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1054 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 21:26:41 +00:00
matrevis a9c0ff01d2 - Added resource policies: FIFO and Priority.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1052 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 19:22:38 +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
fpaparel 8271a880b2 - added source files
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1050 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 18:05:40 +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
elvez 4aa7bcf460 - Implemented jumpto for the gui, it has some problems, but at 4:00 AM a human being should be doing something else, perhaps sleeping
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1034 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 02:08:00 +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