Léa Saviot
d7d348deac
[poincare] Fix ExpressionNode::shallowReplaceReplaceableSymbols
2018-11-23 12:04:10 +01:00
Léa Saviot
13e8f71150
[poincare] Add parsing tests on layouts
2018-11-23 12:04:10 +01:00
Léa Saviot
6eaf5c70c4
[poincare] Fix parsing of serialised layout [[2^2, 3]]
2018-11-23 12:04:10 +01:00
Léa Saviot
8346ca606f
[kandinsky] Fix Font::signedCharAsIndex
2018-11-23 12:04:10 +01:00
Léa Saviot
eda07922ab
[kandinsky/font] fetchGlyphForChar handles chars that do not have glyphs
2018-11-23 12:04:10 +01:00
Léa Saviot
5deef3176e
[sequence] The store checksum takes the storage into account
...
This fixed the following scenario:
Create f(x)=120
Create u(n) = f(1)
Go to sequence graph, then Home, then change f.
Go back to the sequence app: the cursor is not updated.
2018-11-23 12:04:10 +01:00
Émilie Feral
916493a4d2
[apps] Reset (exam mode) delete all records at once
2018-11-23 12:04:10 +01:00
Émilie Feral
0a9437e8dc
[ion] Storage: add a method destroyAllRecords
2018-11-23 12:04:10 +01:00
Émilie Feral
4459945fe9
[apps] When entering in exam mode (reset), destroy all recorded
...
expression variables
2018-11-23 12:04:10 +01:00
Léa Saviot
8196036eb3
[poincare] Remove default arguments to TreeNode::serialize
...
Put them on LayoutNode::serialize
2018-11-23 12:04:10 +01:00
Léa Saviot
2a38e4c31d
Fix comparison warning
2018-11-23 12:04:10 +01:00
Léa Saviot
2a7a8f56bc
[apps/regression] Fix typos
2018-11-23 12:04:10 +01:00
Léa Saviot
69fc876231
[poincare/tests] Add layout serialization+parsing tests
2018-11-23 12:04:10 +01:00
Léa Saviot
75aa84e65f
[poincare] Add explicit keyword to Addition constructor
2018-11-23 12:04:10 +01:00
Léa Saviot
3e12f83bb1
[tests] Fix with new serializations
2018-11-23 12:04:10 +01:00
Émilie Feral
123f974bff
[poincare] Power: implement (±inf)^x
2018-11-23 12:04:09 +01:00
Émilie Feral
0e3d8514c5
[poincare] Fix tests: first operand of addition does not require
...
parentheses anymore
2018-11-23 12:04:09 +01:00
Léa Saviot
c30f136fb3
[apps/poincare] Fix cursor position when inserting log(a,b) in 2DEdition
2018-11-23 12:04:09 +01:00
Léa Saviot
73d97944d5
[escher] Text fields do not have to handle special texts (_{}) anymore
2018-11-23 12:04:09 +01:00
Léa Saviot
53e4a290f7
[poincare] Rename Expression:parse in Parse
2018-11-23 12:04:09 +01:00
Léa Saviot
20e2194533
[escher] Remove Clipboard::store(Layout)
2018-11-23 12:04:09 +01:00
Léa Saviot
94603b2b7d
[poincare] Layout::serialize is serializeForParsing or ParsedExpression
...
serializeForParsing serializes the layout once,
serializeParsedExpression serializes the layout, parses it and
serializes it again.
2018-11-23 12:04:09 +01:00
Émilie Feral
2bdce9dd82
[poincare] Power: approximation of power of positive real and real is
...
real. Fix 10^1000 = inf instead of undef
2018-11-23 12:04:09 +01:00
Léa Saviot
bf6da61ca2
[escher/text_field] Fix privateHandleEvent text reset
2018-11-23 12:04:09 +01:00
Léa Saviot
9c788d31d4
[poincare] Do not add parenthesis to often in childNeedsParenthesis
2018-11-23 12:04:09 +01:00
Émilie Feral
d59c836abd
[code] PythonToolbox: add 'eval' to the catalog
2018-11-23 12:04:09 +01:00
Léa Saviot
39af89d661
[poincare] Fix LayoutNode::canBeOmittedMultiplicationRightFactor
2018-11-23 12:04:09 +01:00
Léa Saviot
67f940dfd2
[poincare] Fix VerticalOffsetLayout serialization
...
"2^3 !" would be serialized as "2^3*!", which is wrong. It is now serialized
as "2 Ion::Charset::Superscript 3 Ion::Charset::Superscript !" and
parsed correctly.
2018-11-23 12:04:09 +01:00
Émilie Feral
3f88d631af
[statistics] HistogramController: scroll to the selected bar when moving
...
selection vertically
2018-11-23 12:04:09 +01:00
Émilie Feral
fb1625e9f4
[statistics][regression] CalculationController: fix column width to
...
display all digits
2018-11-23 12:04:09 +01:00
Émilie Feral
d600ced40d
[shared] Regression and Statistics store cell use SmallFont
2018-11-23 12:04:09 +01:00
Émilie Feral
56932fbe04
[poincare] PrintFloat: fix bufferSizeForFloatsWithPrecision (worst case
...
is -1.234567E-201 for 7 significative digits)
2018-11-23 12:04:09 +01:00
Léa Saviot
5f24c5993c
[poincare] Reset sSimplificationHasBeenInterrupted in reduce
2018-11-23 12:04:09 +01:00
Léa Saviot
79e3842e2d
[apps/calculation] Add matrix test in calculation_display_exact_approximate
2018-11-23 12:04:09 +01:00
Léa Saviot
2f8bd5a241
[apps/Calculation] Fix forgotten namespace
2018-11-23 12:04:09 +01:00
Léa Saviot
58f73dc367
[apps] Handle uninitialized expression in ExpressionCanBeSerialized
2018-11-23 12:04:09 +01:00
Léa Saviot
ab83086fc5
[apps/graph] Remove old file
2018-11-23 12:04:09 +01:00
Léa Saviot
33676e915a
[apps] Check that serialized expression is not too long in Graph
2018-11-23 12:04:09 +01:00
Émilie Feral
e6c9448b6f
[regession] Clean useless reloadCell in
...
EvenOddDoubleBufferTextCellWithSeparator
2018-11-23 12:04:09 +01:00
Émilie Feral
4a0e235f16
[regression] Fix bug in EvenOddDoublebufferTextCell::setHighlight
2018-11-23 12:04:09 +01:00
Émilie Feral
af527b58a8
[apps] MathToolbox: fix scope of buffer used in handleEventWithText
2018-11-23 12:04:09 +01:00
Émilie Feral
978766f2e4
[code] Use strlcpy instead of memcpy to avoid invalid read
2018-11-23 12:04:09 +01:00
Léa Saviot
8101847d65
[poincare] Token: initialize text to ""
2018-11-23 12:04:09 +01:00
Léa Saviot
4d54834815
[poincare] Parser: avoid reading out of bound
...
popToken is called from parseUntil and from parseStore. It should be
responsible for not reading out of bound buffer
2018-11-23 12:04:09 +01:00
Émilie Feral
01e67dbdc0
[apps/probability] Fix law parameters display in calculation step
2018-11-23 12:04:09 +01:00
Émilie Feral
cffb144c41
[poincare] Power: fix one-child addition while reducing power
2018-11-23 12:04:09 +01:00
Émilie Feral
61b629db92
[poincare] Parser: avoid reading out of buffer
2018-11-23 12:04:09 +01:00
Émilie Feral
34e2524a83
[ion] Storage: use strncmp instead of strcmp
...
When building with -fsanitize=address, strcmp is wrapped in a version
that returns only +1, -1 or 0.
2018-11-23 12:04:09 +01:00
Léa Saviot
584f6d6f6b
[poincare] Add parsing test on 1E2E3
2018-11-23 12:04:09 +01:00
Léa Saviot
f5586b3d36
[apps] Clean the syntax error warning displaying
2018-11-23 12:04:09 +01:00