Commit Graph

738 Commits

Author SHA1 Message Date
tchernobog 5121ab9f39 - Change order on which the libraries are listed for installation
in the makefile, thus workarounding a nasty automake bug.
This problem is reported here:
   http://sourceware.org/ml/automake/2004-03/msg00113.html
   http://sources.redhat.com/ml/automake/2004-01/msg00171.html
... but it doesn't seem to have been solved thus far.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@356 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-20 00:12:24 +00:00
tchernobog 8c05219cec - Add newlines at the end of source files. I hope not having to do this
frequently! (it's a two-liner script, but nevertheless...)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@355 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-19 22:36:24 +00:00
tchernobog b9c4813f11 - Add first draft of SWIG interface file, and create Python
loadable module. However, please note that:
	- All the methods accepting a Glib::ustring should
	not be exported, instead they should be replaced by wrapper
	functions accepting PyObject*.
	- The same thing applies to every other method accepting
	a ``non built-in'' data type
	- Return types should probably be wrapped, too
	- It may be a good idea to implement wrapper methods 
	that print out the content of a C++ object, 
	so that a Python user can do a simple "print schedStat". 
	This is achieved by adding a "__str__()" method to the 
	class. See the SWIG manual for further infos about
	returning const char* values.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@354 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-19 22:25:23 +00:00
tchernobog 9b40d632eb - Fix documentation for Python Abstract module
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@353 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-19 16:22:53 +00:00
tchernobog e3b3deca11 - Change version number for first milestone release
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@352 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-19 15:49:03 +00:00
tchernobog 78df0793f3 - Add some temporary infos about how to perform the
build process.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@351 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-19 14:54:53 +00:00
tchernobog 8bb6220819 - Merged branch to avoid recursive make
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@349 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-19 14:34:41 +00:00
tchernobog 89ee208887 - Update localizable string catalog
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@344 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-17 23:41:43 +00:00
tchernobog 07b0cd2687 - Fix compilation
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@343 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-17 23:33:35 +00:00
fpaparel 759dfdad25 - added console interpreter
- added string_utils

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@342 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-17 22:19:25 +00:00
tchernobog 8cb6b81c38 - Check for Python distutils module presence
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@339 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-17 16:31:36 +00:00
tchernobog 3ba6b90f30 - Add missing files
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@338 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-17 16:08:54 +00:00
tchernobog 74df8ba0d2 - Temporary hack to Makefile. To be fixed.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@337 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-17 12:45:30 +00:00
tchernobog 6e15465e16 - Remove spurious files left from previous commit (these
files were moved to the pyloader directory)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@336 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-17 12:34:12 +00:00
tchernobog b6c49d98d6 - Add support for abtract python classes
- Create first modules: the Policy Python class


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@335 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-16 22:50:32 +00:00
tchernobog 5554ec2256 - Initial split of libpyloader from libbackend. Will need rework
in order to:
  - fix wrong design
  - fix include paths
  - fix installation of header files


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@333 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-16 21:29:51 +00:00
fpaparel 6d5e9270a8 - added few frontend classes
- updated others from backend

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@330 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-15 22:58:18 +00:00
tchernobog 34648139ec - Fix typo in comment
- Add extra checks for python version: should do a better job
  when determining the library name to use


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@328 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-14 12:55:57 +00:00
tchernobog 6cf67202c7 - Add Python preprocessor flags to src/ and src/backend Makefiles
- Add -Wno-long-long to compiler options in order to workaround Python types' evilness


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@322 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-13 16:35:00 +00:00
fpaparel 146b3c99cc - Now all backend classes are present (not all complete)
- Can't compile when trying to link with Python
         + check -pedantic parameter
         + when compiling main.cc there is no -I/..../Python parameter


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@321 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-13 11:32:05 +00:00
fpaparel e2a0c3f248 - added scheduler and other incomplete backend classes
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@319 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-12 17:12:54 +00:00
tchernobog 98cc6fb20b - Check for --as-needed linking flag
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@318 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-12 16:06:38 +00:00
tchernobog d6a19ca35d - Write code for the graphical terminal widget
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@315 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-10 20:44:48 +00:00
tchernobog be3de1dade - Add exception throwing specifications to methods
- Coding style fixes


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@313 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-10 11:47:25 +00:00
tchernobog 4dc9012c33 - Fix path
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@308 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-09 20:18:48 +00:00
tchernobog 87558b5c26 - Change filenames to follow a consistent naming scheme
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@307 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-09 19:43:24 +00:00
tchernobog 68a0cef9d9 - Fixed code to follow function naming conventions a bit more
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@306 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-09 19:33:35 +00:00
fpaparel e8b28cc2ec - Added some source code
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@304 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-09 18:51:26 +00:00
tchernobog d56fd53f2d - Revert my own commit - revision 299 (unneeded changes)
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@302 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-07 20:48:22 +00:00
tchernobog 235fdfdbe0 - Prefix our macros with "SG_", as per Luca request
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@301 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-07 20:41:59 +00:00
tchernobog 7de2c281bb - Fix documentation for smartp.hh
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@300 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-07 20:21:19 +00:00
tchernobog ab3b8e5686 - Update makefiles to make use of include dir with templates
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@299 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-07 20:13:50 +00:00
tchernobog 78de185d75 - Add template class implementing a smart pointer (a class of general utility)
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@298 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-07 20:11:03 +00:00
tchernobog f8be22e03d - Add subsection about the anomaly solving process
- Fix example about how to document C++ classes
- Fix note about non-const static class members


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@297 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-07 12:25:55 +00:00
fpaparel 8f02d11b0a - Added some source in the backend lib
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@293 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-06 21:37:32 +00:00
tchernobog 7ecc9ab822 - Correct typo
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@292 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-06 12:07:05 +00:00
tchernobog 1ebfef4064 - Lower the bar for the python version check: require >= 2.3 instead of >= 2.4
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@291 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-05 14:01:19 +00:00
tchernobog 18916e3f43 - Fix typo
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@290 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-05 12:52:53 +00:00
tchernobog 8d90b660c4 - Refine python macro before sending upstream
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@289 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-05 12:44:42 +00:00
tchernobog 07d76c3554 - Use pkgdatadir instead of datadir + pkgname
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@287 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-04 13:14:55 +00:00
tchernobog d007d72011 - Typo
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@286 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-03 21:53:30 +00:00
tchernobog 061404dedc - Never add autotool generated files to repository (e.g. Makefile.in)
- Use a "\" to prevent line breaks when you must split some command on more than a line. The slash must be the _last_ character present on a line.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@285 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-02 14:37:06 +00:00
fpaparel b1822d7284 - Can't compile source. Need help...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@284 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-02 13:46:48 +00:00
elvez b00d733ef0 - Updated coding style with a point on static non-POD objects.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@283 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-02 00:39:14 +00:00
tchernobog e008b0d4db - Corrected TextView -> Entry
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@282 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-01 22:56:29 +00:00
tchernobog fc8d5cb258 - Make inserting filenames into vector simpler
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@281 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-01 14:07:09 +00:00
tchernobog 4333591e8f - Add check to get sigc++ cflags and ldflags separately, if needed
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@278 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-01-31 22:49:22 +00:00
tchernobog 749bf68235 - Typo: bail out for python <= 2.1.0 instead of 2.5.0
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@277 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-01-31 21:11:46 +00:00
tchernobog aecf9bc207 - Fix typo
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@276 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-01-31 20:18:19 +00:00
tchernobog 8d5645d9d6 - Update ac_python_devel to check and complain about Python < 2.1.0
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@275 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-01-31 19:06:05 +00:00