"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/backend/cantorWorksheet/VariableParser.cpp" between
labplot-2.8.1.tar.gz and labplot-2.8.2.tar.gz

About: LabPlot is an application for plotting and analysis of 2D and 3D functions and data. It is a complete rewrite of LabPlot1 and lacks in the first release a lot of features available in the predecessor. On the other hand, the GUI and the usability is more superior.

VariableParser.cpp  (labplot-2.8.1):VariableParser.cpp  (labplot-2.8.2)
skipping to change at line 41 skipping to change at line 41
#include <QStringList> #include <QStringList>
#include "backend/lib/trace.h" #include "backend/lib/trace.h"
#include <cmath> // NAN #include <cmath> // NAN
VariableParser::VariableParser(QString name, QString value) VariableParser::VariableParser(QString name, QString value)
: m_backendName(std::move(name)), m_string(std::move(value)) { : m_backendName(std::move(name)), m_string(std::move(value)) {
PERFTRACE("parsing variable"); PERFTRACE("parsing variable");
if (m_backendName.compare(QStringLiteral("Maxima"), Qt::CaseInsensitive) == 0) if (m_backendName.compare(QStringLiteral("Maxima"), Qt::CaseInsensitive) == 0)
parseMaximaValues(); parseMaximaValues();
else if (m_backendName.compare(QStringLiteral("Python 3"), Qt::CaseInsens else if ( (m_backendName.compare(QStringLiteral("Python"), Qt::CaseInsens
itive) == 0) itive) == 0)
parsePythonValues(); || (m_backendName.compare(QStringLiteral("Python 3"), Qt:
else if (m_backendName.compare(QStringLiteral("Python 2"), Qt::CaseInsens :CaseInsensitive) == 0)
itive) == 0) || (m_backendName.compare(QStringLiteral("Python 2"), Qt:
:CaseInsensitive) == 0) )
parsePythonValues(); parsePythonValues();
else if (m_backendName.compare(QStringLiteral("Sage"), Qt::CaseInsensitiv e) == 0) else if (m_backendName.compare(QStringLiteral("Sage"), Qt::CaseInsensitiv e) == 0)
parsePythonValues(); parsePythonValues();
else if (m_backendName.compare(QStringLiteral("R"), Qt::CaseInsensitive) == 0) else if (m_backendName.compare(QStringLiteral("R"), Qt::CaseInsensitive) == 0)
parseRValues(); parseRValues();
else if (m_backendName.compare(QStringLiteral("Julia"), Qt::CaseInsensiti ve) == 0) else if (m_backendName.compare(QStringLiteral("Julia"), Qt::CaseInsensiti ve) == 0)
parsePythonValues(); parsePythonValues();
else if (m_backendName.compare(QStringLiteral("Octave"), Qt::CaseInsensit ive) == 0) else if (m_backendName.compare(QStringLiteral("Octave"), Qt::CaseInsensit ive) == 0)
parseOctaveValues(); parseOctaveValues();
} }
 End of changes. 1 change blocks. 
5 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)