Commit Graph

643 Commits

Author SHA1 Message Date
elvez f174524b1e - Fixed loading/saving of config on win32. I know it's mainly my fault (I forgot to do an up yesterday night), but ever heard the ancient maxim 'Premature optimization is the root of all evil'?
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1189 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-16 11:46:19 +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
paolo 83cdf0efb4 - updated manual under holt_widget and simulation widget to reflect:
- disposition menu and places printout (holt)
  - scaling popup menu (simulation)



git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1186 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-16 08:05:37 +00:00
elvez df862714a0 - Completed porting to win32. Added project files for visual studio.net 2005. Now I can go to sleep (almost) pacefully...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1185 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-16 03:23:04 +00:00
paolo 997ead080b - holt_widget: added places used/total to resources
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1184 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-16 01:38:03 +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
paolo 28bd934c50 - bugfix drawing holt_graph
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1182 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-15 23:29:52 +00:00
tchernobog 5cb771ba81 - Whoops. Too much &-ed values to the file_test bitmask. Sorry 'bout that.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1181 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-15 22:29:24 +00:00
paolo 0cbe635c1e - documentation and warning removal: holt_widget.??,
simulation_widget.hh holt_container_window.cc



git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1180 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-15 22:14:23 +00:00
paolo 715e51dc9d - An example of process (and thread) that blocks himself
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1179 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-15 22:11:57 +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 057d3609f1 - (Maybe) fix portability issue between different distros
by disabling hardcoding the library path for DSOs. Will need to be
tested.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1174 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-15 12:09:04 +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 4080de9f5b - Make set_notify_enabled() methods of Simulation and History private to enforce encapsulation further (so that derived classes don't fall in temptation...)
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1171 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-15 09:48:58 +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
paolo 737324f250 - cairo_widget.cc - doc. updated
- simulation_widget.?? - doc. completed
- test-holt_widget - warnings removed



git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1169 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-15 10:24:35 +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 5e02657395 - Dodoc in the right place
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1167 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 23:39:47 +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 7bcd220f89 - Audited some other stuff
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1165 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 23:07:16 +00:00
paolo bd6e52f811 - cairo_widget.cc - documentation completed, removed all warnings
- simulation_widget.hh - documentation completed



git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1164 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 22:31:37 +00:00
tchernobog bb74bcbc48 - Remove destdir when finished
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1163 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 22:29:03 +00:00
tchernobog 0e9b32fe65 - Add todo note for deb packages
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1162 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 22:21:16 +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
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 93359507ea - Use modff() instead of modf() when using float parameters. C99 standard.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1158 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 19:41:21 +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
elvez 6d54f886f1 - Fixed portability issues. I'm curious to know where that programmer learnt about 'roundf' and 'uint', anyway...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1153 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 17:42:15 +00:00
tchernobog a075567773 - Put hint in the glade file instead that in the code
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1152 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 16:28:16 +00:00
tchernobog aec289ed92 - Show Statistics and HoltGraph only when the user wants them
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1151 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 16:20:01 +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 aeaec77cd1 - Another bit of auditing...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1149 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 15:31:42 +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
elvez c78794e27d - Small changes to compile under vc++
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1147 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 12:52:32 +00:00
tchernobog 8c7b3a2e3d - Fix compilation.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1146 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 12:38:45 +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
tchernobog 5df227431b - Update ebuild to behave correctly
- Add control file to create debian packages (still untested,
mantainer will be Marco)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1144 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 11:50:23 +00:00
paolo c39ecfed50 - documentet cairo_widget.hh
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1143 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 11:47:36 +00:00
fpaparel 9cb356a3f8 updated glade files
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1142 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 11:00:39 +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 290360c3b0 - Update ebuild
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1140 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-14 10:46:36 +00:00
paolo 4872d56461 - holt_container: partial implemented (and commented) scaling menu
- simulation_widget: added scaling popup menu



git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1138 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-13 22:05:36 +00:00
tchernobog da0aabcf61 - Ensure notifications from History are disabled while
editing a request. This *could* fix the infamous "st8ad_cast"
bug, but there's no guarantee. A backtrace for the bug
shows the problem doesn't happen inside our code, so the
best thing we can do is to kill the bug by static analysis.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1136 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-13 19:44:45 +00:00
elvez 8743ede127 - Forgot to escape some text from pango markup
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1132 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-13 15:49:58 +00:00