[Kst] extragear/graphics/kst/kst/extensions/js

George Staikos staikos at kde.org
Thu Jul 28 05:43:27 CEST 2005


SVN commit 439417 by staikos:

add bindings for matrices - partially incomplete


 M  +3 -0      Makefile.am  
 A             bind_datamatrix.cpp   [License: GPL (v2+)]
 A             bind_datamatrix.h   [License: GPL (v2+)]
 M  +3 -1      bind_datavector.cpp  
 A             bind_matrix.cpp   [License: GPL (v2+)]
 A             bind_matrix.h   [License: GPL (v2+)]
 A             bind_matrixcollection.cpp   [License: GPL (v2+)]
 A             bind_matrixcollection.h   [License: GPL (v2+)]
 M  +3 -0      classindex.xml  
 M  +2 -0      js.cpp  


--- trunk/extragear/graphics/kst/kst/extensions/js/Makefile.am #439416:439417
@@ -54,6 +54,8 @@
 			    bind_stringcollection.cpp \
 			    bind_datasourcecollection.cpp \
 			    bind_histogram.cpp \
+			    bind_matrix.cpp \
+			    bind_datamatrix.cpp \
 			    bind_debug.cpp \
 			    bind_debuglog.cpp \
 			    bind_debuglogentry.cpp \
@@ -62,6 +64,7 @@
 			    bind_histogramcollection.cpp \
 			    bind_equationcollection.cpp \
 			    bind_powerspectrumcollection.cpp \
+			    bind_matrixcollection.cpp \
 			    bind_dataobject.cpp \
 			    bind_dataobjectcollection.cpp \
 			    bind_colorsequence.cpp \
--- trunk/extragear/graphics/kst/kst/extensions/js/bind_datavector.cpp #439416:439417
@@ -169,7 +169,7 @@
   { "boxcar", 0L, &KstBindDataVector::boxcar },
   { "readToEnd", 0L, &KstBindDataVector::readToEnd },
   { "countFromEnd", 0L, &KstBindDataVector::countFromEnd },
-  { "skipLength", 0L, &KstBindDataVector::countFromEnd },
+  { "skipLength", 0L, &KstBindDataVector::skipLength },
   { "startFrame", 0L, &KstBindDataVector::startFrame },
   { "startFrameRequested", 0L, &KstBindDataVector::startFrameRequested },
   { "frames", 0L, &KstBindDataVector::frames },
@@ -498,4 +498,6 @@
   return KJS::Object(new KstBindDataSource(exec, dp));
 }
 
+#undef makeDataVector
+
 // vim: ts=2 sw=2 et
--- trunk/extragear/graphics/kst/kst/extensions/js/classindex.xml #439416:439417
@@ -6,6 +6,7 @@
   <class name="CubicBezier" file="bind_cubicbezier"/>
   <class name="CurveCollection" file="bind_curvecollection"/>
   <class name="Curve" file="bind_curve"/>
+  <class name="DataMatrix" file="bind_datamatrix"/>
   <class name="DataObjectCollection" file="bind_dataobjectcollection"/>
   <class name="DataObject" file="bind_dataobject"/>
   <class name="DataSourceCollection" file="bind_datasourcecollection"/>
@@ -26,6 +27,8 @@
   <class name="Label" file="bind_label"/>
   <class name="Legend" file="bind_legend"/>
   <class name="Line" file="bind_line"/>
+  <class name="MatrixCollection" file="bind_matrixcollection"/>
+  <class name="Matrix" file="bind_matrix"/>
   <class name="ObjectCollection" file="bind_objectcollection"/>
   <class name="Object" file="bind_object"/>
   <class name="Picture" file="bind_picture"/>
--- trunk/extragear/graphics/kst/kst/extensions/js/js.cpp #439416:439417
@@ -56,6 +56,7 @@
 #include "bind_kst.h"
 #include "bind_label.h"
 #include "bind_line.h"
+#include "bind_matrix.h"
 #include "bind_picture.h"
 #include "bind_plot.h"
 #include "bind_plotlabel.h"
@@ -128,6 +129,7 @@
   new KstBindString(exec, &globalObj);
   new KstBindDataSource(exec, &globalObj);
   new KstBindDataVector(exec, &globalObj);
+  new KstBindMatrix(exec, &globalObj);
 
   new KstBindEquation(exec, &globalObj);
   new KstBindPlugin(exec, &globalObj);


More information about the Kst mailing list