Romain Goyet
ada205b1a7
[build] Use variants
...
- Move helpers functions into build/helpers.mak
- Move official warning into official targets only
2020-04-03 22:26:55 -04:00
Émilie Feral
8d621e4dce
[apps/shared] ScrollableMultipleExpressionsView: reload scroll content
...
view layout when changing the displayed expression layouts
Fix bug: input (transpose([1 1 1 1 1 1])[1 1 1 1 1 1])^30, click on 'OK'
and then 'up'. The cell is mis-displayed.
2020-04-03 10:42:42 +02:00
Émilie Feral
300de8fb15
[apps/calculation] HistoryViewCell: when changing SubviewType, set the
...
right subcell as first responder!
This fixes the following bug: when selecting a cell whose content is too
long to be displayed, the scrolling is broken
2020-04-03 10:42:42 +02:00
Émilie Feral
90222c3f45
[apps/calculation] SelectableTableView: scrollToCell once the margin
...
have been updated
This fixes the following bug: input the vertical matrix [1,2,3], the
scroll failed
2020-04-03 10:42:42 +02:00
Émilie Feral
e6516ae0e7
[apps/calculation] Fix typo
2020-04-03 10:39:05 +02:00
Émilie Feral
ffb8f8f953
[python] Test: add all template scripts
2020-04-01 16:39:59 +02:00
Léa Saviot
11ac25e935
[apps/code] Fix toolbox comment
2020-04-01 13:42:44 +02:00
Léa Saviot
92c62ce3dc
[apps/code] Remove superfluous spaces in toolbox
2020-04-01 13:42:44 +02:00
Léa Saviot
76e0deb9bf
[tests/solver] Test solve equation with max number of variables
2020-04-01 11:47:19 +02:00
Émilie Feral
633776b92f
[apps/shared] Fix CurveView::drawArrow on arrow without orientation
2020-04-01 11:46:25 +02:00
Léa Saviot
511a96f464
[apps/code] Add matplotlib.pyplot functions to the toolbox catalog
...
Not just in the modules submenu
2020-04-01 10:18:09 +02:00
Émilie Feral
0f00bdda33
[apps] Fix test build
2020-04-01 10:18:09 +02:00
Émilie Feral
642a7c7f61
[apps/code] Increase python heap to 32k
2020-04-01 10:18:09 +02:00
Émilie Feral
d247843da6
[apps/code] Clean ConsoleController::reloadData (always returns true)
2020-04-01 10:18:09 +02:00
Émilie Feral
81284120af
[apps/code] ConsoleController: refreshOutput is now done only when the
...
console is active
2020-04-01 10:18:09 +02:00
Léa Saviot
2f4064d92b
[apps/code] Fix axis() command without arguments
...
It inserted axis(,,,) instead of axis()
2020-04-01 10:18:09 +02:00
Léa Saviot
2ac1396dd2
[apps/code] Put back the polynomial script
2020-04-01 10:18:09 +02:00
Léa Saviot
b2c95bcbbf
[apps/code] Parabola script
2020-04-01 10:18:09 +02:00
Léa Saviot
399cfffc83
[apps/code] Fix toolbox texts
2020-04-01 10:18:09 +02:00
Léa Saviot
89ef6ec71b
[apps/code] Add MatplotlibPyplot in the toolbox
2020-04-01 10:18:09 +02:00
Léa Saviot
f5e69395ee
[apps/code] Reorder toolbox modules
2020-04-01 10:18:09 +02:00
Émilie Feral
fb3f6ab6f3
[apps/code][python] ConsoleController doesn't keep any pointer/boolean to know
...
if the sandbox/matplotlib view controller is displayed. Its state won't be
always right; instead, use the StackViewController depth.
This fixes the following bug: when popping the sandbox/matplotlib view
controller, the first responder token was not given to the console
controller!
2020-04-01 10:18:09 +02:00
Émilie Feral
89b54d424e
[apps/code] ConsoleController: when becoming first responder, check if a
...
controller is displayed and switch the first responder accordingly
2020-04-01 10:18:09 +02:00
Émilie Feral
886fc98350
[escher] Palette: factorize data color iteration
2020-04-01 10:18:08 +02:00
Émilie Feral
bd3fa60594
[app/graph] Enables zoom on CalculationGraphControllers
2020-04-01 10:18:08 +02:00
Émilie Feral
d504564334
[apps/shared] Create ZoomAndPanCurveViewController,
...
ZoomParameterController inherits from ZoomAndPanCurveViewController
2020-04-01 10:18:08 +02:00
Émilie Feral
52b6508d6c
[apps/shared] Create ZoomCurveViewController:
...
SimpleInteractiveCurveViewController inherits from
ZoomCurveViewController
2020-04-01 10:18:08 +02:00
Émilie Feral
7d48d4e7c4
[apps/code] Console controller: display only one ExecutionViewController
...
at a time
2020-04-01 10:18:08 +02:00
Émilie Feral
53ec023ea0
[apps/code] ConsoleController: factorize code to reload the table
2020-04-01 10:18:08 +02:00
Émilie Feral
659da1dff8
[apps][python] ExecutionEnvironment handles hide sand display of sandbox
...
and plot controller the same way
2020-04-01 10:18:08 +02:00
Émilie Feral
51da01aa11
[apps/code] Remove 'm_preventEdition' from ConsoleController, it was
...
always used with m_preventEdition = true.
2020-04-01 10:18:08 +02:00
Émilie Feral
9e822e85e5
[apps/shared] CurveView: implement drawArrow
2020-04-01 10:18:08 +02:00
Émilie Feral
bc8dc0c59c
[apps] Use drawSegment when drawing lines instead of drawCurve or
...
drawCartesianCurve
2020-04-01 10:18:08 +02:00
Émilie Feral
aaf71328ba
[apps/shared] CurveView: resolve name conflict -
...
drawHorizontalOrVerticalSegment & drawSegment -
2020-04-01 10:18:08 +02:00
Romain Goyet
d71ad9b288
[wip] Convenience to test matplotlib
2020-04-01 10:18:08 +02:00
Romain Goyet
3df8018943
[apps/code] Remove useless code
2020-04-01 10:18:08 +02:00
Romain Goyet
a3b1b51f75
[pyton/matplotlib] Support plot
2020-04-01 10:18:08 +02:00
Romain Goyet
2b73c4c9aa
[apps/code] Quick hacks to allow pushing a view controller
2020-04-01 10:18:08 +02:00
Romain Goyet
131df18b00
[python] A module can now ask to present a view controller
2020-04-01 10:18:08 +02:00
Léa Saviot
bd0b9f8a4a
[apps/curve_view] Fix typo
...
The labels would not float on the right of the display
2020-03-31 15:16:39 +02:00
Léa Saviot
764cf1087a
[apps/solver] Fix EquationStore::resolveLinearSystem
...
Scenario: solve a system with the maximum number of variables -> our
routine to compute the number of variables did not use
k_maxNumberOfVariables, so we ended up adding the same children to the
matrix Ab, which created ghosts, which made the deep reduction crash.
2020-03-31 12:05:38 +02:00
Léa Saviot
e828491171
[apps/probability] Test on finite integral computations
2020-03-16 11:40:40 +01:00
Léa Saviot
29b4c75227
[apps/probability] Assert discrete distributions override evaluation
2020-03-16 11:40:40 +01:00
Léa Saviot
5c70fdc7a6
[apps/probability] Handle a == b case in finite integral computation
...
For non continuous distributions, P(a <= X <= a) is not necessarily
null.
2020-03-16 11:40:40 +01:00
Léa Saviot
8168a125e6
[apps/statistics] Remove unused variable in HistogramView
...
It is unused as HistogramView now inherits Shared::HorizontallyLabeledCurveView
2020-03-11 13:58:41 +01:00
Léa Saviot
702772a7c9
[apps/reg] Store::m_seriesChecksum is Snapshot::m_prevModelsVersions
...
Share these objects instead of duplicating them
2020-03-11 11:43:36 +01:00
Léa Saviot
53705fb333
[apps/graph_ctrlr] Reload range if no previous model is present
...
We memoize the checksum of the x first models, and we check that one of
these models is still present when the graph view appears. If so, we do
not reload the range, other wise we reload it.
Scenario:
f(t) = [t^2 t+1] in parametric
Display the graph
f(x) = 1 on ]-inf;0]
g(x) = 2 on [0;inf[
Display the graph -> the range did not change
2020-03-11 11:43:36 +01:00
Léa Saviot
aab8974934
[apps] Memoize five model checksums
2020-03-11 11:43:36 +01:00
Romain Goyet
2bf83c43a8
[apps/shared] Factorize CurveView::label
...
There was a lot of code duplication.
I removed the initialization of xLabel{} and yLabels{} because those are
scratch buffers that shouldn't be accessed before being written to
anyway.
2020-03-11 09:51:33 +01:00
Ruben Dashyan
1ca902c129
[apps/shared/round_cursor_view] Comment about markRectAsDirty
2020-03-10 11:11:57 +01:00