Version: 1.4.0 (using KDE 3.5.8KDE 3.5.4KDE 3.5.3) Installed from: Compiled From SourcesCompiled From SourcesCompiled From Sources OS: Linux PROBLEM: JaveScript does not allow the user to create an instance of either the "Cross Power Spectrum" or the "Binned Map" plugins. STEPS TO REPRODUCE: Start Kst Show the JavaScript Console Type in: pl=new Plugin(Kst.pluginManager.modules["Cross Power Spectrum"]) RESULTS: Type Error EXPECTED RESULTS: The plugin is created
This is because the two plugins mentioned derive directly from KstDataObject as they provide a custom UI. Thus, there needs to be custom functionality added to the js extension to handle these two plugins.
SVN commit 775529 by arwalker: CCBUG:157693 first draft of adding cross power spectrum functionality to javaScript M +3 -3 Makefile.am A bind_crosspowerspectrum.cpp [License: GPL (v2+)] A bind_crosspowerspectrum.h [License: GPL (v2+)] M +1 -1 bind_ellipse.cpp M +1 -0 classindex.xml M +2 -0 js.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=775529
SVN commit 776904 by arwalker: CCBUG:157693 first draft of javaScript functionality for binned map plugin M +3 -2 extensions/js/Makefile.am A extensions/js/bind_binnedmap.cpp [License: GPL (v2+)] A extensions/js/bind_binnedmap.h [License: GPL (v2+)] M +30 -6 extensions/js/bind_crosspowerspectrum.cpp M +5 -0 extensions/js/bind_crosspowerspectrum.h M +2 -0 extensions/js/js.cpp M +1 -1 libkst/kstmatrix.cpp M +62 -8 plugins/binnedmap/binnedmap.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=776904
added cross power spectrum and binned map plugin functionality in javaScript