Showing with 337 additions and 175 deletions.
  1. +1 −1 cmake/3rdparty/matio/matio_pubconf.h.mingw.cmake
  2. +1 −1 cmake/3rdparty/netcdf/CMakeLists.txt
  3. +1 −1 cmake/CMakeLists.txt
  4. +1 −1 cmake/modules/MergedFilesBuild.cmake
  5. +1 −1 docbook/kst/alternatehtml/alternate-index.html
  6. +1 −1 docbook/kst/creatingplugins-chapter.docbook
  7. +1 −1 docbook/kst/plugins-chapter.docbook
  8. +1 −1 old_tests/dirfile_replay/replay.c
  9. +1 −1 src/datasources/ascii/asciidatareader.cpp
  10. +1 −1 src/datasources/ascii/asciifilebuffer.cpp
  11. +2 −0 src/datasources/ascii/kstdata_ascii.desktop
  12. +2 −0 src/datasources/dirfilesource/kstdata_dirfilesource.desktop
  13. +1 −1 src/datasources/dmc/dmcdata.cpp
  14. +0 −1 src/datasources/dmc/dmcsource.h
  15. +2 −0 src/datasources/dmc/kstdata_dmc.desktop
  16. +2 −0 src/datasources/fitsimage/kstdata_fitsimage.desktop
  17. +2 −0 src/datasources/healpix/kstdata_healpix.desktop
  18. +2 −0 src/datasources/lfiio/kstdata_lfiio.desktop
  19. +3 −0 src/datasources/matlab/kstdata_matlab.desktop
  20. +2 −0 src/datasources/netcdf/kstdata_netcdf.desktop
  21. +2 −0 src/datasources/planckIDEF/kstdata_planckIDEF.desktop
  22. +0 −3 src/datasources/planckIDEF/planckIDEFconfig.ui
  23. +4 −0 src/datasources/qimagesource/kstdata_qimagesource.desktop
  24. +4 −0 src/datasources/sampledatasource/kstdata_sampledatasource.desktop
  25. +2 −0 src/datasources/sourcelist/kstdata_sourcelist.desktop
  26. +3 −1 src/kst/kst2.desktop
  27. +2 −0 src/kst/x-kst2.desktop
  28. +8 −1 src/libkst/datasource.cpp
  29. +3 −0 src/libkst/datasource.h
  30. +2 −0 src/libkst/datasourcepluginmanager.cpp
  31. +3 −6 src/libkst/objectstore.cpp
  32. +1 −1 src/libkst/settings.cpp
  33. +1 −1 src/libkst/timezones.cpp
  34. +1 −1 src/libkst/timezones.h
  35. +1 −0 src/libkst/updatemanager.cpp
  36. +0 −3 src/libkstapp/arrowpropertiestab.ui
  37. +0 −3 src/libkstapp/axistab.ui
  38. +3 −0 src/libkstapp/changefiledialog.cpp
  39. +0 −3 src/libkstapp/circledimensionstab.ui
  40. +0 −6 src/libkstapp/contenttab.ui
  41. +1 −0 src/libkstapp/datamanager.cpp
  42. +1 −0 src/libkstapp/datawizard.cpp
  43. +0 −6 src/libkstapp/datawizardpagevectors.ui
  44. +0 −3 src/libkstapp/defaultlabelpropertiestab.ui
  45. +0 −3 src/libkstapp/dialog.ui
  46. +0 −3 src/libkstapp/dialogpage.ui
  47. +0 −1 src/libkstapp/dialogscriptinterface.cpp
  48. +0 −3 src/libkstapp/dimensionstab.ui
  49. +0 −3 src/libkstapp/editmultiplewidget.ui
  50. +0 −3 src/libkstapp/filltab.ui
  51. +0 −3 src/libkstapp/generaltab.ui
  52. +0 −3 src/libkstapp/gridtab.ui
  53. +0 −3 src/libkstapp/imagetab.ui
  54. +0 −6 src/libkstapp/labelcreator.ui
  55. +0 −3 src/libkstapp/labeldimensionstab.ui
  56. +0 −9 src/libkstapp/labelpropertiestab.ui
  57. +0 −9 src/libkstapp/labeltab.ui
  58. +0 −3 src/libkstapp/layouttab.ui
  59. +0 −12 src/libkstapp/legendtab.ui
  60. +0 −3 src/libkstapp/linedimensionstab.ui
  61. +4 −0 src/libkstapp/mainwindow.cpp
  62. +1 −0 src/libkstapp/mainwindow.h
  63. +0 −3 src/libkstapp/markerstab.ui
  64. +5 −0 src/libkstapp/matrixdialog.cpp
  65. +0 −9 src/libkstapp/overridelabeltab.ui
  66. +1 −0 src/libkstapp/pictureitem.h
  67. +1 −1 src/libkstapp/primitivemodel.h
  68. +0 −3 src/libkstapp/rangetab.ui
  69. +7 −0 src/libkstapp/scalardialog.cpp
  70. +7 −2 src/libkstapp/stringdialog.cpp
  71. +0 −3 src/libkstapp/stroketab.ui
  72. +1 −0 src/libkstapp/svgitem.h
  73. +0 −9 src/libkstapp/themedialog.ui
  74. +20 −6 src/libkstapp/vectordialog.cpp
  75. +3 −3 src/libkstapp/vectortab.ui
  76. +1 −1 src/libkstapp/view.cpp
  77. +4 −0 src/libkstapp/viewprimitivedialog.h
  78. +4 −0 src/plugins/dataobject/activitylevel/kstplugin_activitylevel.desktop
  79. +4 −0 src/plugins/dataobject/bin/kstplugin_bin.desktop
  80. +4 −0 src/plugins/dataobject/chop/kstplugin_chop.desktop
  81. +5 −0 src/plugins/dataobject/convolution/convolve/kstplugin_convolve.desktop
  82. +6 −0 src/plugins/dataobject/convolution/deconvolve/kstplugin_deconvolve.desktop
  83. +6 −0 src/plugins/dataobject/correlation/autocorrelation/kstplugin_autocorrelation.desktop
  84. +4 −0 src/plugins/dataobject/correlation/crosscorrelation/kstplugin_crosscorrelation.desktop
  85. +3 −0 src/plugins/dataobject/crossspectrum/kstplugin_crossspectrum.desktop
  86. +3 −0 src/plugins/dataobject/effectivebandwidth/kstplugin_effectivebandwidth.desktop
  87. +5 −0 src/plugins/dataobject/genericfilter/kstplugin_genericfilter.desktop
  88. +1 −1 src/plugins/dataobject/genericfilter/polynom.h
  89. +6 −0 src/plugins/dataobject/interpolations/akima/kstplugin_akima.desktop
  90. +6 −0 src/plugins/dataobject/interpolations/akimaperiodic/kstplugin_akimaperiodic.desktop
  91. +5 −0 src/plugins/dataobject/interpolations/cspline/kstplugin_akima.desktop
  92. +6 −0 src/plugins/dataobject/interpolations/csplineperiodic/kstplugin_csplineperiodic.desktop
  93. +6 −0 src/plugins/dataobject/interpolations/linear/kstplugin_linear.desktop
  94. +8 −2 src/plugins/dataobject/interpolations/polynomial/kstplugin_polynomial.desktop
  95. +6 −0 src/plugins/dataobject/linefit/kstplugin_linefit.desktop
  96. +4 −0 src/plugins/dataobject/lockin/kstplugin_lockin.desktop
  97. +6 −0 src/plugins/dataobject/noiseaddition/kstplugin_noiseaddition.desktop
  98. +6 −0 src/plugins/dataobject/periodogram/kstplugin_periodogram.desktop
  99. +6 −0 src/plugins/dataobject/phase/kstplugin_phase.desktop
  100. +6 −0 src/plugins/dataobject/shift/kstplugin_shift.desktop
  101. +6 −0 src/plugins/dataobject/statistics/kstplugin_statistics.desktop
  102. +4 −0 src/plugins/dataobject/syncbin/kstplugin_syncbin.desktop
  103. +4 −0 src/plugins/filters/butterworth_bandpass/kstplugin_filter_butterworth_bandpass.desktop
  104. +4 −0 src/plugins/filters/butterworth_bandstop/kstplugin_filter_butterworth_bandstop.desktop
  105. +4 −0 src/plugins/filters/butterworth_highpass/kstplugin_filter_butterworth_highpass.desktop
  106. +0 −1 src/plugins/filters/butterworth_lowpass/butterworth_lowpass.cpp
  107. +4 −0 src/plugins/filters/butterworth_lowpass/kstplugin_filter_butterworth_lowpass.desktop
  108. +4 −0 src/plugins/filters/cumulativeaverage/kstplugin_cumulativeaverage.desktop
  109. +4 −0 src/plugins/filters/cumulativesum/kstplugin_cumulativesum.desktop
  110. +2 −0 src/plugins/filters/despike/kstplugin_filter_despike.desktop
  111. +4 −0 src/plugins/filters/differentiation/kstplugin_differentiation.desktop
  112. +2 −0 src/plugins/filters/unwind/kstplugin_filter_unwind.desktop
  113. +4 −0 src/plugins/fits/exponential_unweighted/kstplugin_fits_exponential_unweighted.desktop
  114. +3 −0 src/plugins/fits/exponential_weighted/kstplugin_fits_exponential_weighted.desktop
  115. +4 −0 src/plugins/fits/gaussian_unweighted/kstplugin_fits_gaussian_unweighted.desktop
  116. +3 −0 src/plugins/fits/gaussian_weighted/kstplugin_fits_gaussian_weighted.desktop
  117. +2 −0 src/plugins/fits/gradient_unweighted/kstplugin_fits_gradient_unweighted.desktop
  118. +2 −0 src/plugins/fits/gradient_weighted/kstplugin_fits_gradient_weighted.desktop
  119. +4 −0 src/plugins/fits/kneefrequency/kstplugin_fits_kneefrequency.desktop
  120. +4 −0 src/plugins/fits/linear_unweighted/kstplugin_fits_linear_unweighted.desktop
  121. +4 −0 src/plugins/fits/linear_weighted/kstplugin_fits_linear_weighted.desktop
  122. +2 −0 src/plugins/fits/lorentzian_unweighted/kstplugin_fits_lorentzian_unweighted.desktop
  123. +2 −0 src/plugins/fits/lorentzian_weighted/kstplugin_fits_lorentzian_weighted.desktop
  124. +4 −0 src/plugins/fits/polynomial_unweighted/kstplugin_fits_polynomial_unweighted.desktop
  125. +2 −0 src/plugins/fits/polynomial_weighted/kstplugin_fits_polynomial_weighted.desktop
  126. +2 −0 src/plugins/fits/sinusoid_unweighted/kstplugin_fits_sinusoid_unweighted.desktop
  127. +2 −0 src/plugins/fits/sinusoid_weighted/kstplugin_fits_sinusoid_weighted.desktop
  128. +4 −0 src/plugins/sampleplugin/kstplugin_sampleplugin.desktop
  129. +2 −2 src/plugins/sampleplugin/sampleplugin.cpp
  130. +0 −1 src/widgets/cclineedit.cpp
  131. +1 −0 src/widgets/dialogdefaults.cpp
  132. +0 −3 src/widgets/fftoptions.ui
  133. +2 −0 src/widgets/widgets.h
  134. +0 −3 tests/kstcontrol/cwidget.ui
  135. +1 −1 tests/testcsd.cpp
  136. +0 −1 tests/testeqparser.cpp
2 changes: 1 addition & 1 deletion cmake/3rdparty/matio/matio_pubconf.h.mingw.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,4 @@
typedef _mat_uint8_t mat_uint8_t;
#endif

#endif /* MATIO_PUBCONF_H */
#endif /* MATIO_PUBCONF_H */
2 changes: 1 addition & 1 deletion cmake/3rdparty/netcdf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
endif()

message(STATUS)
message(STATUS "Using netCDF soures from: ${TOP_DIR}")
message(STATUS "Using netCDF sources from: ${TOP_DIR}")
message(STATUS "Installing netCDF at : ${CMAKE_INSTALL_PREFIX}")
message(STATUS)

Expand Down
2 changes: 1 addition & 1 deletion cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ endif()

if(WIN32)
add_definitions(-D_WIN32_WINNT=0x0501) # Windows XP
# on 32 bit Windows we must explicitely enable >2GB support
# on 32 bit Windows we must explicitly enable >2GB support
# maybe you have to ' 4-gigabyte tune' your Windows XP 32 bit system:
# http://msdn.microsoft.com/en-us/library/windows/desktop/aa366778%28v=vs.85%29.aspx
macro(large_address var flag)
Expand Down
2 changes: 1 addition & 1 deletion cmake/modules/MergedFilesBuild.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ macro(merged_files_build _allinone_name _list)
set(_file_const ${CMAKE_CURRENT_BINARY_DIR}/${_allinone_name}_const.cpp)
set(_file_touched ${CMAKE_CURRENT_BINARY_DIR}/${_allinone_name}_touched.cpp)

# don't touch exisiting or non-empty file,
# don't touch existing or non-empty file,
# so a cmake re-run doesn't touch all created files
set(_rebuild_file_const 0)
if (NOT EXISTS ${_file_const})
Expand Down
2 changes: 1 addition & 1 deletion docbook/kst/alternatehtml/alternate-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2360,7 +2360,7 @@
The array of output scalars. The scalars should be in the same order they are
listed in the XML file.
</p></dd></dl></div></li><li><p>
The function must return <tt>0</tt> if it executed succesfully, and
The function must return <tt>0</tt> if it executed successfully, and
<tt>-1</tt> otherwise.
</p></li><li><p>
The code for the object file must handle unexpected inputs, such as empty input arrays
Expand Down
2 changes: 1 addition & 1 deletion docbook/kst/creatingplugins-chapter.docbook
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ listed in the XML file.

<listitem>
<para>
The function must return <literal>0</literal> if it executed succesfully, and
The function must return <literal>0</literal> if it executed successfully, and
<literal>-1</literal> otherwise.
</para>
</listitem>
Expand Down
2 changes: 1 addition & 1 deletion docbook/kst/plugins-chapter.docbook
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ with the exception of additional convenience dialog functionality accessible fro
<para>
By default, the built-in plugins are stored in <filename>/usr/lib/kde3/kstplugins/</filename> (this directory
may vary, depending on where you installed &kst;). The Plugin Manager can be used to add
and remove plugins. It can be acccessed by selecting <guimenuitem>Plugins...</guimenuitem>
and remove plugins. It can be accessed by selecting <guimenuitem>Plugins...</guimenuitem>
from the <guimenu>Settings</guimenu> menu. A list of the currently installed plugins is displayed in the
Plugin Manager.
</para>
Expand Down
2 changes: 1 addition & 1 deletion old_tests/dirfile_replay/replay.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ int main(int argc, char *argv[]) {
}


printf("%d frames availible\n", N_frames);
printf("%d frames available\n", N_frames);

first_field = P->first_field.field;

Expand Down
2 changes: 1 addition & 1 deletion src/datasources/ascii/asciidatareader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ int AsciiDataReader::readField(const AsciiFileData& buf, int col, double *v, con
if (_config._columnType == AsciiSourceConfig::Fixed) {
//MeasureTime t("AsciiSource::readField: same width for all columns");
const LexicalCast& lexc = LexicalCast::instance();
// buf[0] points to some row start, _rowIndex[i] is absolute, so we have to substract buf.begin().
// buf[0] points to some row start, _rowIndex[i] is absolute, so we have to subtract buf.begin().
const char*const col_start = &buf.checkedData()[0] + _config._columnWidth * (col - 1) - buf.begin();
for (int i = 0; i < n; ++i) {
v[i] = lexc.toDouble(col_start + _rowIndex[i + s] );
Expand Down
2 changes: 1 addition & 1 deletion src/datasources/ascii/asciifilebuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const QVector<AsciiFileData> AsciiFileBuffer::splitFile(qint64 chunkSize, const
chunks << chunk;
pos = rowIndex[nextRow];
}
//qDebug() << "File splitted into " << chunks.size() << " chunks:"; AsciiFileData::logData(chunks);
//qDebug() << "File split into " << chunks.size() << " chunks:"; AsciiFileData::logData(chunks);
return chunks;
}

Expand Down
2 changes: 2 additions & 0 deletions src/datasources/ascii/kstdata_ascii.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ X-KDE-ModuleType=Plugin
X-KDE-Library=ascii
X-Kst-Plugin-Author=The University of Toronto
Name=ASCII File Reader
Name[ca]=Lector de fitxers ASCII
Name[de]=ASCII-Dateileser
Name[fr]=Lecteur de fichier ASCII
Name[nl]=Lezer voor ASCII-bestand
Expand All @@ -15,6 +16,7 @@ Name[sv]=ASCII-filläsare
Name[uk]=Засіб читання файлів ASCII
Name[x-test]=xxASCII File Readerxx
Comment=Implements support for reading ASCII files into Kst.
Comment[ca]=Implementació que permet llegir fitxers ASCII en el Kst.
Comment[de]=Unterstützung für das Einlesen von ASCII-Dateien in Kst
Comment[fr]=Implémente la prise en charge de la lecture de fichiers ASCII dans Kst.
Comment[nl]=Implementeert ondersteuning voor het lezen van ASCII-bestanden in Kst.
Expand Down
2 changes: 2 additions & 0 deletions src/datasources/dirfilesource/kstdata_dirfilesource.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ X-KDE-ModuleType=Plugin
X-KDE-Library=dirfilesource
X-Kst-Plugin-Author=The University of Toronto
Name=DirFile Reader
Name[ca]=Lector de DirFile
Name[de]=DirFile-Leser
Name[fr]=Lecteur DirFile
Name[nl]=Lezer van DirFile-bestand
Expand All @@ -15,6 +16,7 @@ Name[sv]=DirFile-läsare
Name[uk]=Засіб читання DirFile
Name[x-test]=xxDirFile Readerxx
Comment=Plugin to read the dirfile format.
Comment[ca]=Connector per llegir el format DirFile.
Comment[de]=Modul zum Lesen des DirFile-Formats
Comment[fr]=Module pour lire le format dirfile.
Comment[nl]=Plugin voor het lezen van het dirfile-formaat.
Expand Down
2 changes: 1 addition & 1 deletion src/datasources/dmc/dmcdata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ bool validDatabase(const QString& db) {
#warning "Kst2 port use PIOQuitDB()"
//rtc = PIOQuitDB();
if(rtc != 0) {
// closing failed, dont care
// closing failed, do not care
}
return true;
}
Expand Down
1 change: 0 additions & 1 deletion src/datasources/dmc/dmcsource.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "dmcdata.h"
#include "dmcobj.h"

#include "datasource.h"
#include "dataplugin.h"


Expand Down
2 changes: 2 additions & 0 deletions src/datasources/dmc/kstdata_dmc.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ X-KDE-ModuleType=Plugin
X-KDE-Library=dmc
X-Kst-Plugin-Author=The University of Toronto
Name=PLANCK DMC Plugin
Name[ca]=Connector DMC de PLANCK
Name[de]=PLANCK-DMC-Modul
Name[fr]=Module PLANCK DMC
Name[nl]=Plug-in voor PLANCK DMC
Expand All @@ -14,6 +15,7 @@ Name[sv]=PLANCK DMC-insticksprogram
Name[uk]=Додаток PLANCK DMC
Name[x-test]=xxPLANCK DMC Pluginxx
Comment=Plugin to read PLANCK DMC data.
Comment[ca]=Connector per llegir dades DMC de PLANCK.
Comment[de]=Modul zum Lesen von PLANCK-DMC-Daten
Comment[fr]=Module pour lire les données PLANCK DMC.
Comment[nl]=Plugin voor het lezen van PLANCK DMC-gegevens.
Expand Down
2 changes: 2 additions & 0 deletions src/datasources/fitsimage/kstdata_fitsimage.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ X-KDE-ModuleType=Plugin
X-KDE-Library=fitsimage
X-Kst-Plugin-Author=The University of Toronto
Name=fitsimage
Name[ca]=Imatge FITS
Name[de]=Fitsimage
Name[fr]=fitsimage
Name[nl]=fitsimage
Expand All @@ -15,6 +16,7 @@ Name[sv]=FITS-bild
Name[uk]=fitsimage
Name[x-test]=xxfitsimagexx
Comment=Plugin to read a FITS image.
Comment[ca]=Connector per llegir una imatge FITS.
Comment[de]=Modul zum Lesen von FITS-Bildern
Comment[fr]=Module pour lire une image FITS.
Comment[nl]=Plugin voor het lezen van FITS-afbeelding.
Expand Down
2 changes: 2 additions & 0 deletions src/datasources/healpix/kstdata_healpix.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ X-KDE-ModuleType=Plugin
X-KDE-Library=healpix
X-Kst-Plugin-Author=The University of Toronto
Name=Healpix File Reader
Name[ca]=Lector de fitxers Healpix
Name[de]=Healpix-Dateileser
Name[fr]=Lecteur de fichier Healpix
Name[nl]=Lezer voor Healpix-bestand
Expand All @@ -14,6 +15,7 @@ Name[sv]=Healpix-filläsare
Name[uk]=Засіб читання файлів Healpix
Name[x-test]=xxHealpix File Readerxx
Comment=Plugin to read Healpix FITS files.
Comment[ca]=Connector per llegir fitxers Healpix FITS.
Comment[de]=Modul zum Lesen von Healpix FITS-Bildern
Comment[fr]=Module pour lire une des fichiers Healpix FITS.
Comment[nl]=Plugin voor het lezen van Healpix FITS-bestanden.
Expand Down
2 changes: 2 additions & 0 deletions src/datasources/lfiio/kstdata_lfiio.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ X-KDE-ModuleType=Plugin
X-KDE-Library=lfiio
X-Kst-Plugin-Author=The University of Toronto
Name=LFIIO Reader
Name[ca]=Lector LFIIO
Name[de]=LFIIO-Betrachter
Name[fr]=Lecteur LFIIO
Name[nl]=Lezer voor LFIIO
Expand All @@ -14,6 +15,7 @@ Name[sv]=LFIIO-läsare
Name[uk]=Засіб читання LFIIO
Name[x-test]=xxLFIIO Readerxx
Comment=Implements support for reading FITS files into Kst.
Comment[ca]=Implementació que permet llegir fitxers FITS en el Kst.
Comment[de]=Unterstützung für das Einlesen von FITS-Dateien in Kst
Comment[fr]=Implémente la prise en charge de la lecture de fichiers FITS dans Kst.
Comment[nl]=Implementeert ondersteuning voor het lezen van FITS-bestanden in Kst.
Expand Down
3 changes: 3 additions & 0 deletions src/datasources/matlab/kstdata_matlab.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ X-KDE-ModuleType=Plugin
X-KDE-Library=matlabio
X-Kst-Plugin-Author=Nicolas Brisset
Name=Matlab's .mat reader
Name[ca]=Lector de .mat de Matlab
Name[de]=Matlab-Dateileser-Modul
Name[fr]=Lecteur de *.mat de Matlab
Name[nl]=Lezer voor .mat van Matlab
Name[pt]=Leitor de .mat do Matlab
Expand All @@ -13,6 +15,7 @@ Name[sv]=Matlabs .mat-läsare
Name[uk]=Засіб читання файлів .mat Matlab
Name[x-test]=xxMatlab's .mat readerxx
Comment=Matlab file reader plugin for Kst
Comment[ca]=Connector de lector de fitxers Matlab pel Kst
Comment[de]=Matlab-Dateileser-Modul für Kst
Comment[fr]=Module de lecture de fichiers Matlab pour Kst
Comment[nl]=Plug-in van lezer voor Matlab voor Kst
Expand Down
2 changes: 2 additions & 0 deletions src/datasources/netcdf/kstdata_netcdf.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ X-KDE-ModuleType=Plugin
X-KDE-Library=netcdf
X-Kst-Plugin-Author=Nicolas Brisset
Name=netCDF File Reader
Name[ca]=Lector de fitxers netCDF
Name[de]=netCDF-Dateileser
Name[fr]=Lecteur de fichier netCDF
Name[nl]=Lezer voor netCDF-bestand
Expand All @@ -14,6 +15,7 @@ Name[sv]=netCDF-filläsare
Name[uk]=Засіб читання файлів netCDF
Name[x-test]=xxnetCDF File Readerxx
Comment=Implements support for reading netCDF files into Kst.
Comment[ca]=Implementació que permet llegir fitxers netCDF en el Kst.
Comment[de]=Unterstützung für das Einlesen von netCDF-Dateien in Kst
Comment[fr]=Implémente la prise en charge de la lecture de fichiers netCDF dans Kst.
Comment[nl]=Implementeert ondersteuning voor het lezen van netCDF-bestanden in Kst.
Expand Down
2 changes: 2 additions & 0 deletions src/datasources/planckIDEF/kstdata_planckIDEF.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ X-KDE-ModuleType=Plugin
X-KDE-Library=planckIDEF
X-Kst-Plugin-Author=The University of Toronto
Name=Planck IDIS DMC Exchange Format Reader
Name[ca]=Lector de format d'intercanvi IDIS DMC de Planck
Name[de]=Planck-IDIS-DMC-Austauschformatleser
Name[fr]=Lecteur de format Planck IDIS DMC Exchange
Name[nl]=Lezer voor Planck IDIS DMC uitwisselingsformaat
Name[pt]=Leitor do Formato de Intercâmbio do IDIS DMC do Planck
Name[pt_BR]=Leitor do formato de intercâmbio do IDIS DMC do Planck
Name[sv]=Läsare av Planck IDIS DMC-utbytesformat
Expand Down
3 changes: 0 additions & 3 deletions src/datasources/planckIDEF/planckIDEFconfig.ui
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
<height>82</height>
</rect>
</property>
<property name="windowTitle" >
<string>PlanckIDEFConfig</string>
</property>
<layout class="QGridLayout" >
<item row="1" column="0" >
<spacer name="spacer1" >
Expand Down
4 changes: 4 additions & 0 deletions src/datasources/qimagesource/kstdata_qimagesource.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,21 @@ X-KDE-ModuleType=Plugin
X-KDE-Library=qimagesource
X-Kst-Plugin-Author=The University of Toronto
Name=qimagesource
Name[ca]=Font QImage
Name[de]=QImagesource
Name[fr]=qimagesource
Name[nl]=qimagesource
Name[pt]=Fonte QImage
Name[pt_BR]=Fonte QImage
Name[sk]=qimagesource
Name[sv]=qimage-källa
Name[uk]=qimagesource
Name[x-test]=xxqimagesourcexx
Comment=Plugin to read a qimage compatible image.
Comment[ca]=Connector per llegir una imatge compatible amb QImage.
Comment[de]=Modul zum Lesen von QImage-kompatiblen Bildern
Comment[fr]=Module pour lire une image compatible qimage.
Comment[nl]=Plug-in voor het lezen van afbeelding compatibel met gimage.
Comment[pt]=Um 'plugin' para ler uma imagem compatível com a QImage.
Comment[pt_BR]=Plugin para ler uma imagem compatível com a QImage.
Comment[sv]=Insticksprogram för att läsa en qimage-kompatibel bild.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,20 @@ X-KDE-ModuleType=Plugin
X-KDE-Library=sampledatasource
X-Kst-Plugin-Author=The University of Toronto
Name=File Reader Template
Name[ca]=Plantilla de lector de fitxer
Name[de]=Vorlage für Dateileser
Name[fr]=Modèle de lecteur de fichier
Name[nl]=Sjabloon voor bestandslezer
Name[pt]=Modelo de Leitor de Ficheiros
Name[pt_BR]=Modelo de leitor de arquivos
Name[sv]=Mall för filläsare
Name[uk]=Шаблон засобу для читання файлів
Name[x-test]=xxFile Reader Templatexx
Comment=Code template for a file reader plugin.
Comment[ca]=Plantilla de codi per un connector de lector de fitxer.
Comment[de]=Quelltext-Vorlage für Dateileser-Module
Comment[fr]=Modèle de code pour un module de lecture de fichiers.
Comment[nl]=Sjabloon voor code voor plug-in voor bestandslezer.
Comment[pt]=Um modelo de código para um 'plugin' de leitura de ficheiros.
Comment[pt_BR]=Modelo de código para um plugin de leitura de arquivos.
Comment[sv]=Kodmall för ett insticksprogram för filläsning.
Expand Down
2 changes: 2 additions & 0 deletions src/datasources/sourcelist/kstdata_sourcelist.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ X-KDE-ModuleType=Plugin
X-KDE-Library=sourcelist
X-Kst-Plugin-Author=C. Barth Netterfield
Name=Data Source List
Name[ca]=Llista de fonts de les dades
Name[de]=Datenquellenliste
Name[fr]=Liste de sources de données
Name[nl]=Lijst met gegevensbronnen
Name[pt]=Lista de Fontes de Dados
Name[pt_BR]=Lista de fontes de dados
Name[sv]=Lista över datakällor
Expand Down
4 changes: 3 additions & 1 deletion src/kst/kst2.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
Type=Application
Exec=kst2
Icon=kst
DocPath=kst2/index.html
X-DocPath=kst2/index.html
MimeType=application/x-kst;
Categories=Qt;KDE;Education;Science;
Name=Kst2
Name[ca]=Kst2
Name[cs]=Kst2
Name[de]=Kst2
Name[fr]=Kst2
Expand All @@ -17,6 +18,7 @@ Name[sv]=Kst2
Name[uk]=Kst2
Name[x-test]=xxKst2xx
GenericName=Data Viewer
GenericName[ca]=Visor de dades
GenericName[cs]=Prohlížeč dat
GenericName[de]=Daten-Betrachter
GenericName[fr]=Afficheur de données
Expand Down
2 changes: 2 additions & 0 deletions src/kst/x-kst2.desktop
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[Desktop Entry]
Type=MimeType
Name=Kst2
Name[ca]=Kst2
Name[cs]=Kst2
Name[de]=Kst2
Name[fr]=Kst2
Expand All @@ -15,6 +16,7 @@ Icon=kst
DefaultApp=kst2
Patterns=*.kst;*.KST;
Comment=Kst Session File
Comment[ca]=Fitxer de sessió del Kst
Comment[cs]=Soubor sezení Kst
Comment[de]=Kst-Sitzungsdatei
Comment[fr]=Fichier de s session Kst
Expand Down
9 changes: 8 additions & 1 deletion src/libkst/datasource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,9 @@ void DataSource::checkUpdate() {


void DataSource::deleteDependents() {
foreach (const PrimitivePtr &p, slavePrimitives) {
store()->removeObject(p);
}
}


Expand Down Expand Up @@ -583,14 +586,18 @@ ValidateDataSourceThread::ValidateDataSourceThread(const QString& file, const in
_requestID(requestID) {
}


static QMutex _mutex;
void ValidateDataSourceThread::run() {

QFileInfo info(_file);
if (!info.exists()) {
emit dataSourceInvalid(_requestID);
return;
}

// FIXME validSource(_file) is not thread safe, so wait
// if there is another one running
QMutexLocker locker(&_mutex);
if (!DataSourcePluginManager::validSource(_file)) {
emit dataSourceInvalid(_requestID);
return;
Expand Down
3 changes: 3 additions & 0 deletions src/libkst/datasource.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ class KSTCORE_EXPORT DataSource : public Object
*/
virtual ObjectList<Object> autoCurves(ObjectStore&) { return ObjectList<Object>(); }

PrimitiveList slavePrimitives;


public Q_SLOTS:
virtual void checkUpdate();
Expand Down Expand Up @@ -274,6 +276,7 @@ class KSTCORE_EXPORT DataSource : public Object
QFileSystemWatcher *_watcher;

QColor _color;

// NOTE: You must bump the version key if you add new member variables
// or change or add virtual functions.
};
Expand Down
Loading