[Kst] [Kst-plot/kst] faf5d6: Fix crash in ascii source on invalid files.

Barth Netterfield netterfield at astro.utoronto.ca
Thu Jun 5 21:00:10 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/Kst-plot/kst
  Commit: faf5d6d223498668d031790fbc4bcdf3206f6a5e
      https://github.com/Kst-plot/kst/commit/faf5d6d223498668d031790fbc4bcdf3206f6a5e
  Author: Barth Netterfield <netterfield at astro.utoronto.ca>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M src/datasources/ascii/asciisource.cpp

  Log Message:
  -----------
  Fix crash in ascii source on invalid files.

An assert in the ascii source was being triggered when presented
with (some?) invalid files, like executable binaries.  So
bypass the assert instead...

A better ascii file validator might be in order long term.  But
this is better than a crash.


  Commit: 2f406d7cfe94e6d4b5e686122147a807743b4f18
      https://github.com/Kst-plot/kst/commit/2f406d7cfe94e6d4b5e686122147a807743b4f18
  Author: Barth Netterfield <netterfield at astro.utoronto.ca>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M src/libkstmath/csd.cpp
    M src/libkstmath/csdfactory.cpp

  Log Message:
  -----------
  Use "Spectrogram" instead of "CSD".

Some debug messages still were using "CSD" rather
than "Spectrogram".


  Commit: a7411f1629d4f44f3aa6eddeab058d765d797859
      https://github.com/Kst-plot/kst/commit/a7411f1629d4f44f3aa6eddeab058d765d797859
  Author: Barth Netterfield <netterfield at astro.utoronto.ca>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M src/libkstapp/csddialog.cpp
    M src/libkstmath/csd.cpp

  Log Message:
  -----------
  Use "spectrogram" rather than "Cumulative Spectral Decay"


Compare: https://github.com/Kst-plot/kst/compare/1bd158313d9e...a7411f1629d4


More information about the Kst mailing list