Showing 305 changed files with 796 additions and 1,772 deletions.
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

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
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
1 change: 1 addition & 0 deletions cmake/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ else
fi

$cmakebin ../kst/cmake/ \
-Dkst_console=1 \
-Dkst_release=1 \
-Dkst_version_string=$versionname \
-Dkst_install_prefix=./$versionname \
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
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.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
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.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/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
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
5 changes: 5 additions & 0 deletions src/datasources/ascii/asciisource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,11 @@ int AsciiSource::readField(double *v, const QString& field, int s, int n)
emit progress(0, i18n("Reading field: ") + field);
}

printf("%s: AsciiSource::readField() %s, s=%s, n=%i\n",
qPrintable(QDateTime::currentDateTime().toString("hh.mm.ss.zzz")),
qPrintable(field.leftJustified(15)),
qPrintable(QString("%1").arg(s, 10)), n);

int read = tryReadField(v, field, s, n);

if (isTime(field)) {
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: 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
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
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
Loading