Skip to content

Commit 76a0b58

Browse files
Release 3.14.0
1 parent 7cff0b7 commit 76a0b58

File tree

9 files changed

+13
-14
lines changed

9 files changed

+13
-14
lines changed

RESTService/pyminsky.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ namespace pyminsky
7373

7474
canvas.item.reset(); // Reset item to ensure clean start
7575

76-
bool found = minsky.model->recursiveDo(
76+
const bool found = minsky.model->recursiveDo(
7777
&GroupItems::items,
7878
[&](const Items&, Items::const_iterator i) {
7979
if (auto v = dynamic_cast<VariableBase*>(i->get()))

doc/version.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
\author{Version 3.13.0}
1+
\author{Version 3.14.0}

engine/CSVParser.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ namespace minsky
674674
size_t row=0, col=0;
675675
P csvParser(spec.escape,spec.separator,spec.quote);
676676
string buf;
677-
bool tabularFormat=spec.dataCols.size()>1 || (spec.dataCols.empty() && spec.numCols>spec.nColAxes()+1);
677+
const bool tabularFormat=spec.dataCols.size()>1 || (spec.dataCols.empty() && spec.numCols>spec.nColAxes()+1);
678678
uintmax_t bytesRead=0;
679679

680680
try
@@ -1090,7 +1090,7 @@ namespace minsky
10901090
} onError;
10911091

10921092
// parse file to extract error locations
1093-
ParseCSV<P> parseCSV(input, spec, fileSize, onError, /*checkValues=*/true);
1093+
const ParseCSV<P> parseCSV(input, spec, fileSize, onError, /*checkValues=*/true);
10941094

10951095
input.clear();
10961096
input.seekg(0);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const version="3.13.0";
1+
export const version="3.14.0";

gui-js/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gui-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ravel",
3-
"version":"3.13.0",
3+
"version":"3.14.0",
44
"author": "High Performance Coders",
55
"description": "Graphical dynamical systems simulator oriented towards economics",
66
"repository": {

minskyVersion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#define MINSKY_VERSION "3.13.0"
1+
#define MINSKY_VERSION "3.14.0"

model/variable.cc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
#include <boost/locale.hpp>
4545
#include <boost/filesystem.hpp>
4646
using namespace boost::locale::conv;
47-
using boost::filesystem::file_size;
4847

4948
using namespace classdesc;
5049
using namespace ecolab;
@@ -552,7 +551,7 @@ bool VariableBase::sliderVisible() const
552551
(type()==flow && !inputWired() && !cminsky().definingVar(valueId())))));
553552
}
554553

555-
void VariableBase::adjustSliderBounds()
554+
void VariableBase::adjustSliderBounds() const
556555
{
557556
if (auto vv=vValue())
558557
vv->adjustSliderBounds();
@@ -693,7 +692,7 @@ bool VariableBase::enableSlider() const
693692
return false;
694693
}
695694

696-
bool VariableBase::enableSlider(bool x)
695+
bool VariableBase::enableSlider(bool x) const
697696
{
698697
if (auto vv=vValue())
699698
return vv->enableSlider=x;

model/variable.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ namespace minsky
245245

246246
bool onMouseMotion(float x, float y) override;
247247

248-
void adjustSliderBounds();
248+
void adjustSliderBounds() const;
249249

250250
/// @{ slider parameters
251251
double sliderMin() const;
@@ -257,7 +257,7 @@ namespace minsky
257257
bool sliderStepRel() const;
258258
bool sliderStepRel(bool) const;
259259
bool enableSlider() const;
260-
bool enableSlider(bool);
260+
bool enableSlider(bool) const;
261261
/// @}
262262
};
263263

0 commit comments

Comments
 (0)