M4x1m3
ac75bfd0fc
Allow simulator to be loaded with multiple scripts.
2020-02-29 14:24:35 +01:00
Quentin Guidée
d589107e01
Fix conflicts
2020-02-29 12:36:33 +01:00
Quentin Guidée
9b6d68e932
Fixed conflicts
2020-02-29 12:31:16 +01:00
Quentin Guidée
7bf3cd377c
[Fix] Allow to compile only the code app
2020-02-29 10:57:29 +01:00
Quentin Guidée
02a5826789
Merge branch 'master' of https://github.com/numworks/epsilon into numworks-master
2020-02-28 19:50:43 +01:00
Léa Saviot
f12c53b3f2
[apps/code] printText should not be asynchronous in emscripten
...
Otherwise, we need to put in the whitelist all methods that might call
printText, which are a lot.
2020-02-27 11:32:26 +01:00
Quentin Guidée
a9c46dc28c
Fix conflicts
2020-02-26 22:17:57 +01:00
David
2913bcb8b5
[Fix] Bug with the default display mode
2020-02-26 17:44:52 +01:00
Ruben Dashyan
bdb29b9bf9
[apps/regression/graph_controller] Remove setRoundCrossCursorView's parameter
...
Get it directly from model
2020-02-26 09:50:43 +01:00
Ruben Dashyan
b8b6e4b5b8
[apps/regression/graph_controller] Update model before setting cursor view
2020-02-26 09:50:43 +01:00
Ruben Dashyan
4f279f15da
[apps/regression/graph_controller] Inline selectRegressionCurve in header
2020-02-26 09:50:43 +01:00
Ruben Dashyan
436b934f76
[apps/regression/graph_controller] selectRegressionCurve does not update the cursor view
...
selectRegressionCurve is only called from GoToParameterController and is
part of the GraphController's API for updating the model. It should not
update the view. viewWillAppear does.
2020-02-26 09:50:43 +01:00
Ruben Dashyan
7e6a601af0
[apps/regression/graph_controller] Inline selectRegressionCurve in moveCursorVertically
...
In the graph controller, selectRegressionCurve is only called at one
place (in moveCursorVertically). In general, setRoundCrossCursorView is
called and *m_selectedDotIndex is updated. There is no reason at all to
do things differently.
Though selectRegressionCurve is called from GoToParameterController.
2020-02-26 09:50:43 +01:00
Ruben Dashyan
d13c243876
[apps/regression/graph_controller] Simplify viewWillAppear
2020-02-26 09:50:43 +01:00
Ruben Dashyan
7b00072ccf
[apps/regression/graph_controller] Factor m_roundCursorView.setColor in setRoundCrossCursorView
2020-02-26 09:50:43 +01:00
Émilie Feral
38d02663b4
[build] epsilon_src & epsilon_official_src have to be defined because
...
they're used by target.simulator.web.mak
2020-02-25 17:37:29 -05:00
Quentin Guidée
00350b1530
[Change] Remove the LED color choice by default
2020-02-25 20:43:01 +01:00
DSchndr
acb71d2975
German translations
2020-02-25 20:10:33 +01:00
Léa Saviot
02e79ad595
[apps/code] Do not refresh the print if the sandbox is displayed
...
Otherwise the first responder becomes the console edit line, and events
(such as Toolbox) are not intercepted by the sandbox anymore.
2020-02-25 15:31:25 +01:00
Quentin Guidée
b26a35a200
Merge remote-tracking branch 'upstream/master' into omega-hotfix
2020-02-25 15:21:24 +01:00
Léa Saviot
22afe4df2d
[apps/statistics] EXE should open the histogram param controller
...
The OK button already does it.
2020-02-25 15:15:03 +01:00
David
88f202c4e7
[Fix] Improved the compact result display
2020-02-25 15:14:38 +01:00
Léa Saviot
e5a2208b27
[apps/interactive_curve_view_range] Recompute yRange after setDefault
...
Scenario : f(x)=8x, scroll to the right until the window range has
changed, then set the preadjustment to default -> the x change had no
impact on the yRange because we did not set the yAuto before doing the
changes.
2020-02-25 15:07:16 +01:00
Quentin Guidée
1a77250624
Fix conflicts
2020-02-23 13:43:36 +01:00
Quentin Guidée
24907511f5
Fix conflicts
2020-02-23 13:27:10 +01:00
Léa Saviot
c8537df3b4
[apps/calc] Do not forget to call parent method
...
Scenario: Open several times the additional outputs menu, there are
drawing problems (multiple stack headers)
2020-02-21 17:04:19 +01:00
Léa Saviot
686e25ec43
[apps/variable_box_controller] Fix expressionLayoutForRecord
2020-02-21 17:03:56 +01:00
Léa Saviot
0a3ce4cade
[apps/settings_message_tree] Remove .cpp file
2020-02-21 16:03:07 +01:00
Léa Saviot
750f655b2f
[apps] Move SettingsMessageTree in Shared
...
It is needed in exam_mode_configuration. This way, we can build one app
only
2020-02-21 16:03:07 +01:00
Neven Sajko
f5e53e03e3
[apps/code] Deduplicate definitions of pi and e
...
Merge the language-specific definitions of these mathematical constants
into one definition. Note that the definitions were in fact inconsistent
across languages.
2020-02-21 15:36:21 +01:00
Quentin Guidée
5420a8a34f
Merge remote-tracking branch 'upstream/master' into omega-hotfix
2020-02-20 23:41:50 +01:00
0b101
43795a7456
Fixed result display bug
2020-02-20 23:28:14 +01:00
Quentin Guidée
f1e39b6709
Fix compilation in official
2020-02-20 22:14:54 +01:00
Léa Saviot
9bc0776a6a
[apps/code] Allow interruption of infinite print loops
...
while (True):
print("hello")
is now interruptible when the user presses Back
2020-02-20 10:59:01 +01:00
Émilie Feral
c3d8e09ceb
[apps/calculation] Calculation: invalid heights memoization when forcing the
...
display output
2020-02-20 10:56:11 +01:00
Émilie Feral
a2a47bb8ae
[apps/calculation] Additional outputs: dismiss the pop-up before doing
...
any Poincare computations to optimize the available space in the
Poincare pool
2020-02-20 10:56:11 +01:00
Émilie Feral
99e88df284
[apps/calculation] Additional outputs: Clean cells when the pop-up
...
disappears to avoid uselessly overloading the Poincare pool
2020-02-20 10:56:11 +01:00
Émilie Feral
94daf465c4
[escher][apps/calculation] Improve ScrollView::scrollToContentRect to
...
scroll "smartly" when scrolling to a too-big-to-be-displayed rect
This fixes calculation history navigation on big cells (that are bigger
than the displayed table)
2020-02-20 10:56:11 +01:00
Émilie Feral
24d9f37205
[apps/calculation] Clean how cell subtype is selected/
...
This fixes crashes: indeed, in the way it was done before, we called
scrollToSubviewOfTypeOfCellAtLocation after setting the new selected subtype
and before reloading the data. However, selecting a new subtype might expand
the selected cell which can temper with the cell repartition. If so, we need to
reload the data to be able to call 'selectedCell' for instance.
2020-02-20 10:56:11 +01:00
Léa Saviot
cf37e5c45a
[apps/code] Fix input(), that did not return the input
2020-02-20 10:52:19 +01:00
Léa Saviot
f7c38979a1
[apps/var_box] Create dummy layout when the real layout makes pool error
2020-02-20 10:44:19 +01:00
Léa Saviot
52ae25a04c
[apps] Use willExitApp parameter in dismissModalViewController
...
This prevents relayouting and thus accessing to expressions/ayotus
possibly deleted by a pool exception
2020-02-20 10:44:19 +01:00
Quentin Guidée
73736c9b15
Fix conflicts
2020-02-20 00:42:47 +01:00
Léa Saviot
84a66d3b31
[apps/code] Fix input(), that did not return the input
2020-02-20 00:20:41 +01:00
Léa Saviot
73bec71db3
[apps/code] Allow interruption of infinite print loops
...
while (True):
print("hello")
is now interruptible when the user presses Back
2020-02-20 00:08:42 +01:00
Quentin Guidée
eb2e0ddd3a
Merge branch 'omega-dev-e13' of https://github.com/Gegenter/Omega into Gegenter-omega-dev-e13
2020-02-19 23:53:24 +01:00
Émilie Feral
2a03583fe0
[apps/calculation] Reset history cell memoization when reloading the
...
table. Otherwise, the Poincare pool store useless layouts for cells that
aren't displayed.
This fixes the following issue: input "(transpose([1 2 3 4 5 6][1 2 3 4 5
6])^8", the computation works, clear the history, input the same
calculation again, it fails with a memory error.
2020-02-19 10:34:28 +01:00
Émilie Feral
013f817b35
[apps] Fix i18n to be able to build without settings app in offical
...
software
2020-02-18 10:11:06 +01:00
Léa Saviot
42125a1f56
[apps/settings] Fix i18n to be able to build without settings app
2020-02-18 10:11:06 +01:00
Léa Saviot
baba9a4ff0
[apps/code] Regroup the "list.*" methods in the toolbox
2020-02-18 10:07:33 +01:00