User statistics for renej_frog

back to main page

Summary Period: 2003-04-17 to 2003-04-28

Total Changes

40 (0.0%)

Lines Of Code

99471 (4.8%)

Modules

Directory Changes Lines of code Lines per change
Totals 40 (100.0%) 99471 (100.0%) 2486.7
CS/plugins/cscript/cspython/ 16 (40.0%) 86627 (87.1%) 5414.1
CS/scripts/python/ 12 (30.0%) 11369 (11.4%) 947.4
CS/include/ivaria/ 6 (15.0%) 1351 (1.4%) 225.1
CS/include/iutil/ 1 (2.5%) 73 (0.1%) 73.0
CS/docs/ 3 (7.5%) 26 (0.0%) 8.6
CS/include/igraphic/ 1 (2.5%) 13 (0.0%) 13.0
CS/include/ivideo/ 1 (2.5%) 12 (0.0%) 12.0

Activity By Clock Time

Most Recent Commits

renej_frog 2003-04-28 02:43

- Modified way of python scripting building. Files generated by
SWIG are now in $(OUTDERIVED)/python, python module building
takes place in $(OUT)/python and python module files are
installed in $(OUTPROC)/python. Before committing files
generated by SWIG a "make swigpythinst" is needed.
- Updated SWIG python scripting files to reflect latest CVS state.
This will be automated soon.

234 lines of code changed in:

renej_frog 2003-04-26 23:13

Updated python scripting stub (SWIG generated) to reflect latest cvs
repo state.

947 lines of code changed in:

renej_frog 2003-04-24 00:58

Forgot to add python test/example script for using csPyEventHandler.

264 lines of code changed in:

renej_frog 2003-04-24 00:49

Updated SWIG input files cspace.i, pythpre.i and pythpost.i in
include/ivaria/ to provide "safe" (safe as CS) pointer handling
with csWrapPtr. The building of a CS python module should work
better now by means of plugins/cscript/cspython/pythmod_setup.py
(ES provided PYTHON.DISTUTILS in config.mak). Additionally, it is
now possible to derive from csPyEventHandler in Python which allows
to write event handlers in Python and use them as iEventHandler's
in C++.

6942 lines of code changed in:

renej_frog 2003-04-18 11:48

Added log about python scripting update.

10 lines of code changed in:

renej_frog 2003-04-17 00:59

Major update of CS python scripting.

The cspython plugin can now access CS almost completely.
A python module can be built by "make pythmod" which allows for writing
CS application python.

Development and testing was done with Python 2.2.1, SWIG 1.3.17 on
RedHat Linux 7.2+. For platforms where Python 2.2.x is run by the
command "python2", use "PYTHON=python2" before "./configure" and
"make *" commands.

ToDo's:
* more support for callback situations
* provide support for building with Jam

The following lists repository changes (M=modified, A=addd, R=removed):

scripts/python/:
M cspace.py
generated by SWIG 1.3.17 from include/ivaria/cspace.i
M pysimp.py
used by cspython plugin in pysimp application
A pysimp2.py
second plugin example by Mark Gossage (mark@gossage.cjb.net)
M pysimpcd.py
stand-alone python version of simpcd application
M testpymod.py
simple python module test (much like pysimp.py, but pure python)
A tinydoc.py
test for iDocumentSystem
A tutorial0.py
python version of tutorial 0 by Mark Gossage (mark@gossage.cjb.net)
A tutorial2.py
python version of tutorial 2 by Mark Gossage (mark@gossage.cjb.net)
A tutorial3.py
python version of tutorial 3 by Mark Gossage (mark@gossage.cjb.net)

plugins/cscript/cspython/:
M cs_pyth.cpp
generated by SWIG 1.3.17 from include/ivaria/cspace.i
R cspymod.cpp
replaced by pythmod.cpp, following LANGmod.cpp scheme
M cspython.cpp
main file for cspython plugin
M cspython.mak
makefile for cspython plugin and python module (pythmod)
A pythmod.cpp
application stub for python module
A pythmod_setup.py
setup file for python module
M pytocs.cpp
python-to-CS-console functions for plugin

include/:
M ivaria/cspace.i
too much to mention, please see file
A ivaria/pythpre.i
python pre-include file for cspace.i (LANGpre.i scheme)
A ivaria/pythpost.i
python pre-include file for cspace.i (LANGpost.i scheme)
M igraphic/imageio.h
iImageIO::FileFormatDescription now usable by SWIG by introducing
a global csImageIOFileFormatDescription type
M iutil/event.h
anonymous structs in anonoymous union in iEvent now usable by SWIG,
names csEvent*Data
M ivideo/graph3d.h
"enum {...} vertex_mode;" made usable by SWIG by changing to
"enum {...} VertexMode; VertexMode vertex_mode;"

91074 lines of code changed in:


Generated by StatCvs v0.2-dev