Émilie Feral
7306e3abcf
[solver] ListController: fix textRepresentsAnEquality
2018-11-26 13:46:18 +01:00
Léa Saviot
e04c8bd005
[apps/graph] Fix Graph::Snapshot::reset()
...
m_graphRange.setDefault called the delegate's interestingXRange, which
uses expressions that might have been deleted before the call to reset
if there had been an exception (the pool is emptied).
2018-11-26 13:20:30 +01:00
Émilie Feral
55be86ef50
[escher] TableView::cellAtLocation should return nullptr if the cell is
...
invisible and therefore no view displays it.
Fix bug: add 4 functions, in the values table one cell is wrong as soon
as you edit an x value
2018-11-26 11:24:30 +01:00
Léa Saviot
f81e221f50
[apps/shared] Fix char buffer initialization (make it const)
2018-11-23 14:15:50 +01:00
Léa Saviot
d7d348deac
[poincare] Fix ExpressionNode::shallowReplaceReplaceableSymbols
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
4459945fe9
[apps] When entering in exam mode (reset), destroy all recorded
...
expression variables
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
3e12f83bb1
[tests] Fix with new serializations
2018-11-23 12:04:10 +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
53e4a290f7
[poincare] Rename Expression:parse in Parse
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
d59c836abd
[code] PythonToolbox: add 'eval' to the catalog
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
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
Émilie Feral
01e67dbdc0
[apps/probability] Fix law parameters display in calculation step
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
Léa Saviot
97d7955d15
[poincare] Alpha lock when renaming function
2018-11-23 12:04:08 +01:00
Léa Saviot
95af0cf231
[apps] Fix cursor position when inserting function in Linear Edition
2018-11-23 12:04:08 +01:00
Léa Saviot
51ddba058f
[apps] Add test about Calculation output: 2x-x should just display x
2018-11-23 12:04:08 +01:00
Léa Saviot
5e404736b3
[poincare] LayoutHelper::String second parameter is a length, not size
2018-11-23 12:04:08 +01:00
Léa Saviot
a289d77425
[apps/calculation] Fix non returning method
2018-11-23 12:04:08 +01:00
Léa Saviot
63e83c246b
[poincare] Undefined::Name() gives "undef"
2018-11-23 12:04:08 +01:00
Léa Saviot
1cb9d5445c
[apps/calculation] Do not display approximate output if it is undef
2018-11-23 12:04:08 +01:00
Léa Saviot
71c848e7df
[apps] Reinit inputFormulaView text before edition
2018-11-23 12:04:08 +01:00
Léa Saviot
f6804c2d67
[apps] Use ExpressionFieldDelegateApp methods in Calculation::App
...
For methods textFieldDidReceiveEvent and layoutFieldDidReceiveEvent
2018-11-23 12:04:08 +01:00
Léa Saviot
48d281e44d
[apps] Do not allow store expressions except in Calculation
2018-11-23 12:04:08 +01:00
Émilie Feral
e80512f362
[poincare] Context::expressionForSymbol takes a boolean notifying that
...
we want a copy or not
2018-11-23 12:04:08 +01:00
Émilie Feral
b44c5e6d05
[shared] Change name: StorageExpressionModel::expressionWithSymbol -->
...
expressionClone
2018-11-23 12:04:08 +01:00
Émilie Feral
90befab6ce
[shared] Change name: StorageExpressionModel::expression --> expressionReduced
2018-11-23 12:04:08 +01:00
Léa Saviot
3397dbd039
[apps] Clean regression/graph_controller files
2018-11-23 12:04:08 +01:00
Léa Saviot
e3935fd9c0
[apps] Factorize closestCurveIndexVertically from Regression and Graph
2018-11-23 12:04:08 +01:00
Léa Saviot
28189aadac
[apps/regression] Fix selection problem when 2 regressions are equal
...
When going down, the cursor would loop between the 2 equal regressions
without going to lower regressions
2018-11-23 12:04:08 +01:00
Léa Saviot
3ccd1aabf4
[apps] Fix StorageFunctionGraphController::moveCursorVertically
2018-11-23 12:04:08 +01:00
Léa Saviot
e9974a7e7a
[apps/graph] Fix vertical move on intersecting functions
...
When two functions are equal, there was a bug when moving the selection
up or down in the graph (the cursor would skip one function)
2018-11-23 12:04:08 +01:00
Émilie Feral
2d36f02053
[apps] VariableBoxController: fix bug in right layouts of variable cells.
...
When the last dislayed page of VariableBoxController was 'Function', the
next time we displayed the symbol page, the expressions on the right of
cells were false the one of functions.
2018-11-23 12:04:08 +01:00
Émilie Feral
17abf68de1
[shared] StorageExpressionModel: memoize the fact that the expression is
...
circular to avoid lagging when approximating the model multiple times.
2018-11-23 12:04:08 +01:00
Émilie Feral
0609f0c982
[solver] Test: delete test with too long variable: symbols of more than
...
7 characters will not be parsed
2018-11-23 12:04:07 +01:00