Léa Saviot
273b5910bf
[apps/regression] GoToParamCtrl::setParam checks value validity
2018-12-13 12:20:22 +01:00
Léa Saviot
15c5d2af1b
[apps/regression] Fix vertical navigation if 2 series have same point
...
Data set:
X1: 8 9 10 10
Y1: 2 5 1 2
X2: 10 12 5
Y2: 2 0 8
2018-12-12 17:50:03 +01:00
Léa Saviot
de339c44ae
[apps] Handle StorageFunction::m_color unaligned read on emscripten
2018-12-12 17:49:51 +01:00
Léa Saviot
f6861e4301
[apps] Fix SuspendTimer::Fire that caused two suspensions
2018-12-12 11:53:25 +01:00
Léa Saviot
ce1cdaacc3
[apps/code] Fix console reloading that did not occur often enough
...
Scenario:
Write a script that prints "abc"
Open the console -> prints "abc"
Modify the script to print "ab"
Go back to the console -> "ab" not printed !
2018-12-12 11:15:50 +01:00
Léa Saviot
460c21801f
[apps/regression] More intuitive curve/dot vertical navigation
2018-12-12 11:14:51 +01:00
Léa Saviot
96c6143c6e
[apps] Fix graph vertical navigation
...
It would loop when three equal functions are defined.
2018-12-12 11:14:51 +01:00
Léa Saviot
29cb0672b8
[apps] The suspend timer dispatches an OnOff event.
...
The sandbox was not exited when the device suspended because of a long
time without use. When the device was powered on again, a blank sandbox
was displayed.
2018-12-11 09:34:12 +01:00
Léa Saviot
ddf361c1b1
[apps] Sandbox handles/absorbs only keyboard events (except Home, OnOff)
...
The sandbox prevented USB enumeration by absorbing the event.
2018-12-11 09:34:12 +01:00
Léa Saviot
cc3beb6014
[python/turtle] Turtle::reset() method
2018-12-06 17:26:43 +01:00
Émilie Feral
f7193602ef
[calculation] Bug in the subview selected with heigh cells
...
In SelectableTableView::selectCellAtLocation, we call 'tableViewDidChangeSelection'
before scrolling. Therefore, the cell with updated with the right selected subview
is not the one drawn... To solve this issue, we keep the selectedSubview ('model')
in the HistoryController instead of in the limited-lifespan view.
2018-12-06 14:52:23 +01:00
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
É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
0ecaea0695
[poincare] Fix power serialization
2018-11-26 14:07:42 +01:00
É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