[Kst] kdeextragear-2/kst/kst/extensions/js

George Staikos staikos at kde.org
Fri Apr 1 01:47:26 CEST 2005


CVS commit by staikos: 

Add histogram binding.  Problem remains of how to deal with different types.


  A            bind_histogram.cpp   1.1 [GPL (v2+)]
  A            bind_histogram.h   1.1 [GPL (v2+)]
  M +26 -10    Makefile.am   1.21
  M +1 -1      bindings.txt   1.11
  M +2 -0      js.cpp   1.22


--- kdeextragear-2/kst/kst/extensions/js/Makefile.am  #1.20:1.21
@@ -10,14 +10,30 @@
 kstextension_js_la_LDFLAGS=$(all_libraries) -module -avoid-version
 kstextension_js_la_LIBADD=../../libkstapp.la -lkjsembed
-kstextension_js_la_SOURCES=js.cpp jsiface.skel jsiface_impl.cpp \
-                        kstbinding.cpp bind_vector.cpp bind_kst.cpp \
-                        bind_scalar.cpp bind_string.cpp bind_datasource.cpp \
-                        bind_datavector.cpp bind_equation.cpp \
-                        bind_powerspectrum.cpp bind_curve.cpp bind_point.cpp \
-                        bind_window.cpp bind_plot.cpp bind_collection.cpp \
-                        bind_plotcollection.cpp bind_curvecollection.cpp \
-                        bind_windowcollection.cpp bind_vectorcollection.cpp \
-                        bind_scalarcollection.cpp bind_stringcollection.cpp \
-                        bind_datasourcecollection.cpp
+kstextension_js_la_SOURCES= \
+                            js.cpp \
+                            jsiface.skel \
+                            jsiface_impl.cpp \
+                            kstbinding.cpp \
+                            bind_vector.cpp \
+                            bind_kst.cpp \
+                            bind_scalar.cpp \
+                            bind_string.cpp \
+                            bind_datasource.cpp \
+                            bind_datavector.cpp \
+                            bind_equation.cpp \
+                            bind_powerspectrum.cpp \
+                            bind_curve.cpp \
+                            bind_point.cpp \
+                            bind_window.cpp \
+                            bind_plot.cpp \
+                            bind_collection.cpp \
+                            bind_plotcollection.cpp \
+                            bind_curvecollection.cpp \
+                            bind_windowcollection.cpp \
+                            bind_vectorcollection.cpp \
+                            bind_scalarcollection.cpp \
+                            bind_stringcollection.cpp \
+                            bind_datasourcecollection.cpp \
+                            bind_histogram.cpp
 
 

--- kdeextragear-2/kst/kst/extensions/js/bindings.txt  #1.10:1.11
@@ -17,5 +17,5 @@
 Filter
 KPlugin         Name?
-Histogram
+Histogram       DONE (issue with the type of histogram remains)
 Curve           DONE (maybe still do some minX etc stuff)
 Image           Name?

--- kdeextragear-2/kst/kst/extensions/js/js.cpp  #1.21:1.22
@@ -39,4 +39,5 @@
 #include "bind_datavector.h"
 #include "bind_equation.h"
+#include "bind_histogram.h"
 #include "bind_kst.h"
 #include "bind_plot.h"
@@ -105,4 +106,5 @@ void KstJS::createBindings() {
   new KstBindEquation(exec, &globalObj);
   new KstBindPowerSpectrum(exec, &globalObj);
+  new KstBindHistogram(exec, &globalObj);
 
   new KstBindCurve(exec, &globalObj);




More information about the Kst mailing list