[Kst] [Kst-plot/kst] 7c1f6d: Rewrite a bunch of scripting...

Barth Netterfield netterfield at astro.utoronto.ca
Wed Apr 2 02:00:09 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/Kst-plot/kst
  Commit: 7c1f6d5eeb5acc7ae228fc5341f79bfbd350575f
      https://github.com/Kst-plot/kst/commit/7c1f6d5eeb5acc7ae228fc5341f79bfbd350575f
  Author: Barth Netterfield <netterfield at astro.utoronto.ca>
  Date:   2014-04-01 (Tue, 01 Apr 2014)

  Changed paths:
    A pyKst/AddingInterfaces
    A pyKst/demo/primitives.py
    A pyKst/demo/testvector.py
    A pyKst/demo/testviewitems.py
    M pyKst/pykst.py
    A pyKst/pykst_old.py
    M src/datasources/dirfilesource/dirfilesource.cpp
    M src/kst/CMakeLists.txt
    M src/libkst/datamatrix.cpp
    M src/libkst/datamatrix.h
    M src/libkst/datascalar.cpp
    M src/libkst/datascalar.h
    M src/libkst/datastring.cpp
    M src/libkst/datastring.h
    M src/libkst/datavector.cpp
    M src/libkst/datavector.h
    M src/libkst/generatedvector.cpp
    M src/libkst/generatedvector.h
    A src/libkst/matrixscriptinterface.cpp
    A src/libkst/matrixscriptinterface.h
    M src/libkst/object.cpp
    M src/libkst/object.h
    M src/libkst/scalar.cpp
    M src/libkst/scalar.h
    A src/libkst/scalarscriptinterface.cpp
    A src/libkst/scalarscriptinterface.h
    A src/libkst/scriptinterface.cpp
    A src/libkst/scriptinterface.h
    M src/libkst/string_kst.cpp
    M src/libkst/string_kst.h
    A src/libkst/stringscriptinterface.cpp
    A src/libkst/stringscriptinterface.h
    A src/libkst/vectorscriptinterface.cpp
    A src/libkst/vectorscriptinterface.h
    M src/libkst/vscalar.cpp
    M src/libkst/vscalar.h
    M src/libkstapp/application.cpp
    M src/libkstapp/arrowitem.cpp
    M src/libkstapp/arrowitem.h
    M src/libkstapp/arrowscriptinterface.cpp
    M src/libkstapp/arrowscriptinterface.h
    R src/libkstapp/dialogscriptinterface.cpp
    R src/libkstapp/dialogscriptinterface.h
    R src/libkstapp/kstScript.txt
    M src/libkstapp/labelitem.cpp
    M src/libkstapp/labelitem.h
    M src/libkstapp/labelscriptinterface.cpp
    M src/libkstapp/labelscriptinterface.h
    M src/libkstapp/plotitem.cpp
    M src/libkstapp/plotitem.h
    M src/libkstapp/plotscriptinterface.cpp
    M src/libkstapp/plotscriptinterface.h
    M src/libkstapp/pluginscriptinterface.cpp
    M src/libkstapp/pluginscriptinterface.h
    R src/libkstapp/script.qrc
    R src/libkstapp/scriptinterface.cpp
    R src/libkstapp/scriptinterface.h
    M src/libkstapp/scriptserver.cpp
    M src/libkstapp/scriptserver.h
    R src/libkstapp/stringscriptinterface.cpp
    R src/libkstapp/stringscriptinterface.h
    M src/libkstapp/viewitem.cpp
    M src/libkstapp/viewitem.h
    M src/libkstapp/viewitemscriptinterface.cpp
    M src/libkstapp/viewitemscriptinterface.h

  Log Message:
  -----------
  Rewrite a bunch of scripting...

The old script interface relied on dialogs, which meant
that scripting would break if used with translations.

The new script interface does not have this problem.
This commit deletes most of the old system (though some
dangling stuff still remains for now) and re-implements
view object and primitives.  DataObjects and Curves/Images
are not yet implementd.  Nor are editable matrixes and
vectors.




More information about the Kst mailing list