Commit Graph

468 Commits

Author SHA1 Message Date
Quentin
aea963dac0 [Fix] Fix conflicts ._. 2020-04-07 14:53:19 +02:00
Joachim LF
7e02a90b2a Don't scan not loaded script in toolbox 2020-04-06 18:31:32 +02:00
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
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
Quentin
15ecd45a76 [Fix] Compilation error 2020-04-01 12:14:06 +02:00
Quentin
0d56576f9c [Git] Fix conflicts 2020-04-01 11:36:16 +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
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
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
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
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
Quentin Guidée
bd6f30fda5 Merge remote-tracking branch 'upstream/master' into omega-hotfix 2020-03-06 16:06:39 +01:00
Léa Saviot
4f76e4418f [apps/console_edit_cell] Fix input result copying 2020-03-02 17:24:54 +01:00
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
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
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
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
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
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
Léa Saviot
cf37e5c45a [apps/code] Fix input(), that did not return the input 2020-02-20 10:52: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
Léa Saviot
baba9a4ff0 [apps/code] Regroup the "list.*" methods in the toolbox 2020-02-18 10:07:33 +01:00
U-DESKTOP-L7NJ45P\Gegenter
1a81c4b8bb Fixed most of the translations(probably all of them) 2020-02-17 21:20:23 +01:00
Quentin Guidée
fed07bc94b Font size fix code app 2020-02-17 19:49:53 +01:00
Quentin Guidée
a2b8b603c5 Merge branch 'omega-dev-e13' of github.com:Omega-Numworks/Omega into omega-dev-e13 2020-02-17 17:10:42 +01:00