Showing with 338 additions and 1,486 deletions.
  1. +2 −0 .krazy
  2. +15 −15 cmake/src/datasources/CMakeLists.txt
  3. +4 −0 old_datasources/README
  4. 0 {cmake/modules → old_datasources/dmc}/FindDmc.cmake
  5. 0 {src/datasources → old_datasources}/dmc/Makefile.am
  6. 0 {src/datasources → old_datasources}/dmc/dmcdata.cpp
  7. 0 {src/datasources → old_datasources}/dmc/dmcdata.h
  8. 0 {src/datasources → old_datasources}/dmc/dmcobj.cpp
  9. 0 {src/datasources → old_datasources}/dmc/dmcobj.h
  10. 0 {src/datasources → old_datasources}/dmc/dmcplugin.cpp
  11. 0 {src/datasources → old_datasources}/dmc/dmcplugin.h
  12. 0 {src/datasources → old_datasources}/dmc/dmcsource.cpp
  13. 0 {src/datasources → old_datasources}/dmc/dmcsource.h
  14. 0 {src/datasources → old_datasources}/dmc/kstdata_dmc.desktop
  15. 0 {src/datasources → old_datasources}/healpix/healpix.cpp
  16. 0 {src/datasources → old_datasources}/healpix/healpix.h
  17. 0 {src/datasources → old_datasources}/healpix/healpix.pro
  18. 0 {src/datasources → old_datasources}/healpix/healpix_tools.h
  19. 0 {src/datasources → old_datasources}/healpix/healpix_tools_fits.cpp
  20. 0 {src/datasources → old_datasources}/healpix/healpix_tools_pix.cpp
  21. 0 {src/datasources → old_datasources}/healpix/healpix_tools_proj.cpp
  22. 0 {src/datasources → old_datasources}/healpix/healpixconfig.ui
  23. 0 {src/datasources → old_datasources}/healpix/kstdata_healpix.desktop
  24. 0 {src/datasources → old_datasources}/lfiio/kstdata_lfiio.desktop
  25. 0 {src/datasources → old_datasources}/lfiio/lfiio.cpp
  26. 0 {src/datasources → old_datasources}/lfiio/lfiio.h
  27. 0 {src/datasources → old_datasources}/lfiio/lfiio.pro
  28. 0 {src/datasources/planckIDEF → old_datasources/plankIDEF}/kstdata_planckIDEF.desktop
  29. 0 {src/datasources/planckIDEF → old_datasources/plankIDEF}/planckIDEF.cpp
  30. 0 {src/datasources/planckIDEF → old_datasources/plankIDEF}/planckIDEF.h
  31. 0 {src/datasources/planckIDEF → old_datasources/plankIDEF}/planckIDEF.pro
  32. 0 {src/datasources/planckIDEF → old_datasources/plankIDEF}/planckIDEFconfig.ui
  33. +2 −2 src/datasources/ascii/asciiconfigwidget.h
  34. +2 −2 src/datasources/ascii/asciidatainterfaces.h
  35. +1 −1 src/datasources/ascii/asciidatareader.h
  36. +4 −4 src/libkst/datasource.cpp
  37. +1 −1 src/libkst/ksttimezone.h
  38. +1 −1 src/libkst/measuretime.h
  39. +2 −2 src/libkst/rwlock.h
  40. +0 −805 src/libkst/timezones.cpp
  41. +0 −349 src/libkst/timezones.h
  42. +1 −1 src/libkstapp/aboutdialog.cpp
  43. +1 −1 src/libkstapp/aboutdialog.h
  44. +1 −1 src/libkstapp/applicationsettingsdialog.h
  45. +1 −1 src/libkstapp/arrowitem.h
  46. +1 −1 src/libkstapp/arrowpropertiestab.h
  47. +2 −2 src/libkstapp/axistab.cpp
  48. +1 −1 src/libkstapp/axistab.h
  49. +2 −2 src/libkstapp/baddatasourcedialog.cpp
  50. +1 −1 src/libkstapp/boxitem.h
  51. +1 −1 src/libkstapp/bugreportwizard.h
  52. +1 −1 src/libkstapp/buttonitem.h
  53. +1 −1 src/libkstapp/cartesianrenderitem.h
  54. +2 −2 src/libkstapp/changedatasampledialog.cpp
  55. +1 −1 src/libkstapp/changedatasampledialog.h
  56. +4 −4 src/libkstapp/changefiledialog.cpp
  57. +1 −1 src/libkstapp/changefiledialog.h
  58. +1 −1 src/libkstapp/choosecolordialog.h
  59. +1 −1 src/libkstapp/circleitem.h
  60. +2 −2 src/libkstapp/contenttab.cpp
  61. +1 −1 src/libkstapp/csddialog.h
  62. +1 −1 src/libkstapp/curvedialog.h
  63. +3 −3 src/libkstapp/datamanager.cpp
  64. +2 −2 src/libkstapp/datasourcedialog.cpp
  65. +1 −1 src/libkstapp/datasourcepluginfactory.cpp
  66. +1 −1 src/libkstapp/datatab.h
  67. +5 −5 src/libkstapp/datawizard.cpp
  68. +4 −4 src/libkstapp/datawizard.h
  69. +1 −1 src/libkstapp/debugdialog.h
  70. +1 −1 src/libkstapp/debugnotifier.h
  71. +1 −1 src/libkstapp/defaultlabelpropertiestab.h
  72. +4 −4 src/libkstapp/dialog.cpp
  73. +1 −1 src/libkstapp/dialog.h
  74. +2 −2 src/libkstapp/dialogpage.h
  75. +2 −2 src/libkstapp/dialogscriptinterface.cpp
  76. +1 −1 src/libkstapp/dialogscriptinterface.h
  77. +1 −1 src/libkstapp/dialogtab.h
  78. +1 −1 src/libkstapp/differentiatecurvesdialog.h
  79. +1 −1 src/libkstapp/document.h
  80. +2 −2 src/libkstapp/editmultiplewidget.cpp
  81. +1 −1 src/libkstapp/editmultiplewidget.h
  82. +1 −1 src/libkstapp/ellipseitem.h
  83. +2 −2 src/libkstapp/equationdialog.cpp
  84. +1 −1 src/libkstapp/equationdialog.h
  85. +13 −13 src/libkstapp/eventmonitordialog.cpp
  86. +1 −1 src/libkstapp/eventmonitordialog.h
  87. +1 −1 src/libkstapp/exportgraphicsdialog.h
  88. +2 −2 src/libkstapp/exportvectorsdialog.cpp
  89. +1 −1 src/libkstapp/exportvectorsdialog.h
  90. +2 −2 src/libkstapp/filltab.cpp
  91. +1 −1 src/libkstapp/filltab.h
  92. +1 −1 src/libkstapp/filterfitdialog.cpp
  93. +1 −1 src/libkstapp/formatgridhelper.h
  94. +1 −1 src/libkstapp/generaltab.h
  95. +1 −1 src/libkstapp/gridtab.h
  96. +2 −2 src/libkstapp/histogramdialog.cpp
  97. +1 −1 src/libkstapp/histogramdialog.h
  98. +12 −12 src/libkstapp/imagedialog.cpp
  99. +1 −1 src/libkstapp/imagedialog.h
  100. +1 −1 src/libkstapp/labelcreator.h
  101. +1 −1 src/libkstapp/labelpropertiestab.cpp
  102. +1 −1 src/libkstapp/labelpropertiestab.h
  103. +3 −3 src/libkstapp/labelscriptinterface.cpp
  104. +1 −1 src/libkstapp/labelscriptinterface.h
  105. +2 −2 src/libkstapp/labeltab.cpp
  106. +1 −1 src/libkstapp/layoutboxitem.h
  107. +1 −1 src/libkstapp/layouttab.h
  108. +1 −1 src/libkstapp/legenditem.h
  109. +2 −2 src/libkstapp/legendtab.cpp
  110. +1 −1 src/libkstapp/legendtab.h
  111. +1 −1 src/libkstapp/lineedititem.h
  112. +1 −1 src/libkstapp/lineitem.h
  113. +1 −1 src/libkstapp/logdialog.h
  114. +1 −1 src/libkstapp/logwidget.h
  115. +5 −5 src/libkstapp/mainwindow.cpp
  116. +4 −4 src/libkstapp/markerstab.cpp
  117. +1 −1 src/libkstapp/markerstab.h
  118. +8 −8 src/libkstapp/matrixdialog.cpp
  119. +1 −1 src/libkstapp/matrixmodel.h
  120. +1 −1 src/libkstapp/overridelabeltab.cpp
  121. +3 −3 src/libkstapp/plotitem.h
  122. +1 −1 src/libkstapp/plotmarkers.h
  123. +1 −1 src/libkstapp/plotrenderitem.h
  124. +1 −1 src/libkstapp/plotscriptinterface.h
  125. +1 −1 src/libkstapp/powerspectrumdialog.h
  126. +1 −1 src/libkstapp/primitivemodel.h
  127. +6 −6 src/libkstapp/rangetab.cpp
  128. +5 −5 src/libkstapp/scalardialog.cpp
  129. +1 −1 src/libkstapp/scalarmodel.h
  130. +1 −1 src/libkstapp/scene.h
  131. +11 −11 src/libkstapp/scriptserver.cpp
  132. +1 −1 src/libkstapp/scriptserver.h
  133. +1 −1 src/libkstapp/sessionmodel.h
  134. +1 −1 src/libkstapp/sharedaxisboxitem.h
  135. +3 −3 src/libkstapp/stringdialog.cpp
  136. +1 −1 src/libkstapp/stringmodel.h
  137. +2 −2 src/libkstapp/stringscriptinterface.cpp
  138. +1 −1 src/libkstapp/stringscriptinterface.h
  139. +1 −1 src/libkstapp/stroketab.cpp
  140. +1 −1 src/libkstapp/stroketab.h
  141. +1 −1 src/libkstapp/tabwidget.cpp
  142. +1 −1 src/libkstapp/tabwidget.h
  143. +2 −2 src/libkstapp/themedialog.cpp
  144. +6 −6 src/libkstapp/vectordialog.cpp
  145. +1 −1 src/libkstapp/view.h
  146. +1 −1 src/libkstapp/viewgridlayout.h
  147. +6 −6 src/libkstapp/viewitem.h
  148. +10 −10 src/libkstapp/viewitemscriptinterface.cpp
  149. +1 −1 src/libkstapp/viewitemscriptinterface.h
  150. +2 −2 src/libkstapp/viewvectordialog.cpp
  151. +1 −1 src/libkstmath/dataobject.h
  152. +4 −4 src/libkstmath/enodes.h
  153. +1 −1 src/libkstmath/painter.h
  154. +1 −1 src/libkstmath/palette.h
  155. +1 −1 src/libkstmath/relation.h
  156. +14 −14 src/widgets/cclineedit.cpp
  157. +8 −8 src/widgets/cclineedit.h
  158. +1 −1 src/widgets/cclineedit_p.h
  159. +2 −2 src/widgets/colorpalette.cpp
  160. +1 −1 src/widgets/colorpalette.h
  161. +11 −11 src/widgets/curveappearance.cpp
  162. +1 −1 src/widgets/curveappearance.h
  163. +1 −1 src/widgets/curveplacement.h
  164. +2 −2 src/widgets/datarange.cpp
  165. +1 −1 src/widgets/datarange.h
  166. +1 −1 src/widgets/datasourceselector.cpp
  167. +1 −1 src/widgets/datasourceselector.h
  168. +1 −1 src/widgets/datasourceselectordialog.cpp
  169. +3 −3 src/widgets/fftoptions.cpp
  170. +1 −1 src/widgets/fftoptions.h
  171. +1 −1 src/widgets/filerequester.cpp
  172. +1 −1 src/widgets/filerequester.h
  173. +1 −1 src/widgets/gradienteditor.h
  174. +1 −1 src/widgets/labellineedit.h
  175. +1 −1 src/widgets/scalarlistselector.cpp
  176. +1 −1 src/widgets/scalarlistselector.h
  177. +19 −19 src/widgets/widgets.h
2 changes: 2 additions & 0 deletions .krazy
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
IGNORESUBS old_tests old_datasources

30 changes: 15 additions & 15 deletions cmake/src/datasources/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,29 +29,29 @@ if(cfitsio)
kst_link(${CFITSIO_LIBRARIES})
endif()

if(healpix)
kst_add_plugin(. healpix)
endif()
#if(healpix)
# kst_add_plugin(. healpix)
#endif()

if(lfioo)
kst_add_plugin(. lfiio)
endif()
#if(lfioo)
# kst_add_plugin(. lfiio)
#endif()

if(netcdf)
include_directories(${NETCDF_INCLUDE_DIR})
kst_add_plugin(. netcdf)
kst_link(${NETCDF_LIBRARIES})
endif()

if(planckIDEF)
kst_add_plugin(. planckIDEF)
endif()

if(dmc)
include_directories(${DMC_INCLUDE_DIR})
kst_add_plugin(. dmc)
#kst_link(${DMC_LIBRARIES})
endif()
#if(planckIDEF)
# kst_add_plugin(. planckIDEF)
#endif()

#if(dmc)
# include_directories(${DMC_INCLUDE_DIR})
# kst_add_plugin(. dmc)
# #kst_link(${DMC_LIBRARIES})
#endif()

if(matio)
include_directories(${MATIO_INCLUDE_DIR})
Expand Down
4 changes: 4 additions & 0 deletions old_datasources/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
This file has non-functioning data sources from kst1.x which have not been
ported, and which do not compile. If you decide to port them, feel free to
move them back to datasources.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/datasources/ascii/asciiconfigwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class AsciiConfigWidgetInternal : public QWidget, public Ui_AsciiConfig
Q_OBJECT

public:
AsciiConfigWidgetInternal(QWidget *parent);
explicit AsciiConfigWidgetInternal(QWidget *parent);

AsciiSourceConfig config();
void setConfig(const AsciiSourceConfig&);
Expand Down Expand Up @@ -53,7 +53,7 @@ class AsciiConfigWidget : public Kst::DataSourceConfigWidget
Q_OBJECT

public:
AsciiConfigWidget(QSettings&);
explicit AsciiConfigWidget(QSettings&);
~AsciiConfigWidget();

void load();
Expand Down
4 changes: 2 additions & 2 deletions src/datasources/ascii/asciidatainterfaces.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ using namespace Kst;
class DataInterfaceAsciiVector : public DataSource::DataInterface<DataVector>
{
public:
DataInterfaceAsciiVector(AsciiSource& a) : ascii(a) {}
explicit DataInterfaceAsciiVector(AsciiSource& a) : ascii(a) {}

void prepareRead(int);
// read one element
Expand Down Expand Up @@ -106,7 +106,7 @@ QMap<QString, QString> DataInterfaceAsciiVector::metaStrings(const QString& fiel
class DataInterfaceAsciiString : public DataSource::DataInterface<DataString>
{
public:
DataInterfaceAsciiString(AsciiSource& s) : ascii(s) {}
explicit DataInterfaceAsciiString(AsciiSource& s) : ascii(s) {}

// read one element
int read(const QString&, DataString::ReadInfo&);
Expand Down
2 changes: 1 addition & 1 deletion src/datasources/ascii/asciidatareader.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class AsciiSourceConfig;
class AsciiDataReader
{
public:
AsciiDataReader(AsciiSourceConfig& config);
explicit AsciiDataReader(AsciiSourceConfig& config);
~AsciiDataReader();

void clear();
Expand Down
8 changes: 4 additions & 4 deletions src/libkst/datasource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ QMap<QString, QString> DataSource::fileMetas() const

void DataSource::resetFileWatcher() {
if (_watcher) {
disconnect(_watcher, SIGNAL(fileChanged ( const QString & )), this, SLOT(checkUpdate()));
disconnect(_watcher, SIGNAL(directoryChanged ( const QString & )), this, SLOT(checkUpdate()));
disconnect(_watcher, SIGNAL(fileChanged(QString)), this, SLOT(checkUpdate()));
disconnect(_watcher, SIGNAL(directoryChanged(QString)), this, SLOT(checkUpdate()));
delete _watcher;
_watcher = 0L;
}
Expand Down Expand Up @@ -231,8 +231,8 @@ void DataSource::setUpdateType(UpdateCheckType updateType, const QString& file)
_watcher = new QFileSystemWatcher();
const QString usedfile = (file.isEmpty() ? _filename : file);
_watcher->addPath(usedfile);
connect(_watcher, SIGNAL(fileChanged ( const QString & )), this, SLOT(checkUpdate()));
connect(_watcher, SIGNAL(directoryChanged ( const QString & )), this, SLOT(checkUpdate()));
connect(_watcher, SIGNAL(fileChanged(QString)), this, SLOT(checkUpdate()));
connect(_watcher, SIGNAL(directoryChanged(QString)), this, SLOT(checkUpdate()));
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/libkst/ksttimezone.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace Kst {
class KSTCORE_EXPORT KstTimeZone
{
public:
KstTimeZone(QString name = "GMT");
explicit KstTimeZone(QString name = "GMT");
int gmtOffset(time_t t);
bool setTZ(QString name);
QString tzName() const {return _tzName;}
Expand Down
2 changes: 1 addition & 1 deletion src/libkst/measuretime.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class KSTCORE_EXPORT MeasureTime
{
public:
MeasureTime(const QString& name);
explicit MeasureTime(const QString& name);
~MeasureTime();

void restart();
Expand Down
4 changes: 2 additions & 2 deletions src/libkst/rwlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class KSTCORE_EXPORT KstRWLock {

class KSTCORE_EXPORT KstReadLocker {
public:
KstReadLocker(KstRWLock *l) : _l(l) { _l->readLock(); }
explicit KstReadLocker(KstRWLock *l) : _l(l) { _l->readLock(); }
~KstReadLocker() { _l->unlock(); }
private:
KstRWLock *_l;
Expand All @@ -74,7 +74,7 @@ class KSTCORE_EXPORT KstReadLocker {

class KSTCORE_EXPORT KstWriteLocker {
public:
KstWriteLocker(KstRWLock *l) : _l(l) { _l->writeLock(); }
explicit KstWriteLocker(KstRWLock *l) : _l(l) { _l->writeLock(); }
~KstWriteLocker() { _l->unlock(); }
private:
KstRWLock *_l;
Expand Down
Loading