Commit Graph

11243 Commits

Author SHA1 Message Date
Léa Saviot
70a4542705 [apps/calc] Add test on shouldOnlyDisplayApproximateOutput 2018-12-03 15:03:24 +00:00
Émilie Feral
10556b477b [apps] Tidy snapshots when leaving the app following an exception 2018-12-03 13:47:52 +01:00
Léa Saviot
fb44f8617c [apps/calculation] Fix display exact and approx results
If the results are equal but their layouts not, because of the number of
significant digits for instance, display both the equal and approximate
results.
2018-12-03 12:32:51 +00:00
Léa Saviot
f84d56a5c9 [poincare] Reset interruption flag before evaluation 2018-12-03 12:32:05 +00:00
Émilie Feral
58eab04c5f [poincare] Expression: add an argument to reduce routine.
Reduction can be done for:
- the user
- a top-down computation
- a bottom-up computation
2018-11-30 09:53:31 +01:00
Émilie Feral
d126f6f9b2 [poincare] Get rid of Expression::reduceChildren which is very alike
deepReduceChildren
2018-11-30 09:53:31 +01:00
Émilie Feral
6d0ca73649 [poincare] Fix getLinearCoefficients & getPolynomialReducedCoefficients: reset the interruption flag
because getLinearCoefficients & getPolynomialReducedCoefficients use deepReduce
2018-11-30 09:53:31 +01:00
Émilie Feral
cf92eb8506 [poincare] Discard useless argument 'replaceSymbols' from simplification
routine
2018-11-30 09:53:31 +01:00
Émilie Feral
e56cfa3f94 [shared] Fix the buffer size of curve view labels 2018-11-30 09:40:15 +01:00
Léa Saviot
b0f2131dec [apps/code] Fix variableBox crash
Respect the k_maxScriptNodesCount limit
2018-11-28 17:28:22 +01:00
Émilie Feral
e112d6cf17 [apps] Shared: revert change on ExpressionModel. The memoized expression
should be reduced.
2018-11-28 13:58:36 +01:00
Léa Saviot
3b81f9bedc [apps] Remove the poincare circuit breaker on emscripten 2018-11-28 11:17:52 +01:00
Léa Saviot
a3ff266635 [apps] Create an exception checkpoint before switching to the first app 2018-11-28 11:17:52 +01:00
Léa Saviot
2a089fe643 [apps] Share NameTooLong message 2018-11-27 12:09:36 +01:00
Léa Saviot
f3ab938481 [apps] Share and fix NameTaken message 2018-11-27 12:09:36 +01:00
Léa Saviot
d745b719a9 [build/padding] Pad with FF FF FF FF in hex
Using "echo" added a \n at the end of the input
2018-11-27 12:01:20 +01:00
Émilie Feral
df45f800e1 [escher] SelectableTableView: fix wrong assert 2018-11-26 14:48:54 +01:00
Léa Saviot
ca2fdf8ffd [build/makefiles] Commands to create a scenario logger and creator 2018-11-26 14:40:40 +01:00
Léa Saviot
2772e0397f [poincare] Add tests on power serailization 2018-11-26 14:07:42 +01:00
Léa Saviot
0ecaea0695 [poincare] Fix power serialization 2018-11-26 14:07:42 +01:00
Émilie Feral
f94395191c [tests] Udpdate calculation scenari 2018-11-26 13:46:27 +01:00
Émilie Feral
ba7370e3bc [tests] Update statistics scenari 2018-11-26 13:46:27 +01:00
Émilie Feral
2b2d7b257d [tests] Update solver scenari 2018-11-26 13:46:27 +01:00
Émilie Feral
7b93d9e84d [tests] Update scenari about toolbox and variable_box 2018-11-26 13:46:27 +01:00
Émilie Feral
ba1d9a8f29 [tests] Update settings scenari 2018-11-26 13:46:27 +01:00
Émilie Feral
7ba0001e6a [tests] Update sequence scenari 2018-11-26 13:46:27 +01:00
Émilie Feral
202e0ee94a [tests] Update regression scenari 2018-11-26 13:46:27 +01:00
Émilie Feral
4c9fb55a18 [tests] Update python scenari 2018-11-26 13:46:27 +01:00
Émilie Feral
40f6702c79 [tests] Update probability scenari 2018-11-26 13:46:27 +01:00
Émilie Feral
379dc13edd [test] Update function scenari 2018-11-26 13:46:27 +01:00
Émilie Feral
7306e3abcf [solver] ListController: fix textRepresentsAnEquality 2018-11-26 13:46:18 +01:00
Léa Saviot
cedcdc2f5f [poincare] Lower the recursion limit on Symbols replacement
The limit is still reasonnable and prevents stack overflows that we do
not handle yet
2018-11-26 13:20:30 +01:00
Léa Saviot
8ef394d440 [poincare] If exception, reset Expression::SymbolReplacementsLock 2018-11-26 13:20:30 +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
f30df04dba build: Version 1.9.0 2018-11-23 14:46:46 +01:00
Léa Saviot
3273de4dac [poincare] Fix Expression::shallowReplaceReplaceableSymbols 2018-11-23 14:46:46 +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
2794669eb9 [kandinsky] Fix typo that bugged glyph drawing 2018-11-23 12:04:10 +01:00
Léa Saviot
a95ff9797f [Makefile] Add padding to binary files for the device 2018-11-23 12:04:10 +01:00
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