Revision 1225667

Go back to digest for 27th March 2011

Bug Fixes in Educational

Barth Netterfield committed changes in /branches/work/kst/portto4/kst/src:

BUG:

Fix saving and reloading of plugins with input scalars....
The short name system plugin re-load assumes that no primitives were
created between the creation of the data object, and the creation of
the last slave vector of the object.
This is true, except for when a scalar is automatically created
from the config dialog before all of the output scalars have been
created. This patch makes the output scalars always be created
before the inputs are set, avoiding that problem. I have changed
the order for all plugins, even those for which it doesn't matter.
This is a bit of a fragile solution, but it does work....

Also, this commit adds the short name (eg, (X22) ) to the labels
in the viewprimitive dialogs.

File Changes

Modified 47 files
  • /branches/work/kst/portto4/kst/src
  •   /libkstapp/primitivemodel.h
  •   /plugins/dataobject/bin/bin.cpp
  •   /plugins/dataobject/chop/chop.cpp
  •   /plugins/dataobject/crossspectrum/crossspectrum.cpp
  •   /plugins/dataobject/differentiation/differentiation.cpp
  •   /plugins/dataobject/effectivebandwidth/effectivebandwidth.cpp
  •   /plugins/dataobject/genericfilter/genericfilter.cpp
  •   /plugins/dataobject/linefit/linefit.cpp
  •   /plugins/dataobject/lockin/lockin.cpp
  •   /plugins/dataobject/noiseaddition/noiseaddition.cpp
  •   /plugins/dataobject/periodogram/periodogram.cpp
  •   /plugins/dataobject/phase/phase.cpp
  •   /plugins/dataobject/shift/shift.cpp
  •   /plugins/dataobject/statistics/statistics.cpp
  •   /plugins/dataobject/syncbin/syncbin.cpp
  •   /plugins/filters/butterworth_bandpass/butterworth_bandpass.cpp
  •   /plugins/filters/butterworth_bandstop/butterworth_bandstop.cpp
  •   /plugins/filters/butterworth_highpass/butterworth_highpass.cpp
  •   /plugins/filters/butterworth_lowpass/butterworth_lowpass.cpp
  •   /plugins/filters/cumulativesum/cumulativesum.cpp
  •   /plugins/filters/despike/filterdespike.cpp
  •   /plugins/filters/differentiation/differentiation.cpp
  •   /plugins/fits/exponential_unweighted/fitexponential_unweighted.cpp
  •   /plugins/fits/exponential_weighted/fitexponential_weighted.cpp
  •   /plugins/fits/gaussian_unweighted/fitgaussian_unweighted.cpp
  •   /plugins/fits/gaussian_weighted/fitgaussian_weighted.cpp
  •   /plugins/fits/gradient_unweighted/fitgradient_unweighted.cpp
  •   /plugins/fits/gradient_weighted/fitgradient_weighted.cpp
  •   /plugins/fits/kneefrequency/fitkneefrequency.cpp
  •   /plugins/fits/linear_unweighted/fitlinear_unweighted.cpp
  •   /plugins/fits/linear_weighted/fitlinear_weighted.cpp
  •   /plugins/fits/lorentzian_unweighted/fitlorentzian_unweighted.cpp
  •   /plugins/fits/lorentzian_weighted/fitlorentzian_weighted.cpp
  •   /plugins/fits/polynomial_unweighted/fitpolynomial_unweighted.cpp
  •   /plugins/fits/polynomial_weighted/fitpolynomial_weighted.cpp
  •   /plugins/fits/sinusoid_unweighted/fitsinusoid_unweighted.cpp
  •   /plugins/fits/sinusoid_weighted/fitsinusoid_weighted.cpp
  •   /plugins/dataobject/convolution/convolve/convolve.cpp
  •   /plugins/dataobject/convolution/deconvolve/deconvolve.cpp
  •   /plugins/dataobject/correlation/autocorrelation/autocorrelation.cpp
  •   /plugins/dataobject/correlation/crosscorrelation/crosscorrelation.cpp
  •   /plugins/dataobject/interpolations/akima/akima.cpp
  •   /plugins/dataobject/interpolations/akimaperiodic/akimaperiodic.cpp
  •   /plugins/dataobject/interpolations/cspline/cspline.cpp
  •   /plugins/dataobject/interpolations/csplineperiodic/csplineperiodic.cpp
  •   /plugins/dataobject/interpolations/linear/linear.cpp
  •   /plugins/dataobject/interpolations/polynomial/polynomial.cpp
47 files changed in total