Laury
6dc31401fe
[bootloader] Compatibility with Omega 2.0
2022-03-17 20:05:20 +01:00
ArtichautCosmique
0b54bf13f4
[storage][apps/code] Change sizes ( #28 )
2021-09-25 19:49:26 +02:00
Joachim LF
33ad74e1be
[code/tests] Fix issue with toolboxIonKeys
2021-05-12 19:56:34 +02:00
Maxime FRIESS
b795834c63
Merge branch 'omega-dev' into IonToolboxEpsilon
2021-03-15 21:23:35 +01:00
Joachim LF
b2e2f3c5a6
[Code] Added ion keys submenu
2021-03-15 20:10:54 +01:00
Joachim LF
9b17d1b882
[Update] Epsilon 15.3.1
2021-01-21 19:56:06 +01:00
Arthur Camouseigt
3dca515441
[VariableBox] Added sequences to the variable box
...
It is now possible to call the value of a defined sequence anywhere.
Change-Id: I1990e93c50f9add175b7ea274e07004ba63289e5
2020-11-04 15:32:58 +01:00
Joachim Le Fournis
befcfd10b7
[Python] Change heap
2020-09-05 11:16:25 +02:00
M4x1m3
587ea39aaf
[app/code] Wipe scripts when adding one with opt
2020-07-23 11:12:31 +02:00
Quentin Guidée
c2df1c33d1
[Fix] Examination level
2020-07-18 10:31:14 +02:00
Joachim LF
d7ac7e19bb
[Update] Epsilon 14
2020-07-13 10:36:47 +02:00
Léa Saviot
b9693f1f26
[apps/code] Load variable box with script index argument
2020-06-04 14:50:03 +02:00
Émilie Feral
642a7c7f61
[apps/code] Increase python heap to 32k
2020-04-01 10:18:09 +02:00
Quentin Guidée
5b2f33c80a
Fix conflicts
2020-02-17 17:10:32 +01:00
Romain Goyet
5dee4a8166
[apps] Add screen telemetry identification
2020-02-17 10:31:24 -05:00
Quentin Guidée
5e60f261d9
Fix ram from 16 to 32K for python heap
2020-02-16 00:21:35 +01:00
Quentin Guidée
ab8f731515
Fixed some conflicts
2020-02-12 17:42:58 +01:00
Léa Saviot
6dced2d157
[python/test] Do not use such a big python heap
2020-02-12 15:13:27 +01:00
Léa Saviot
344ea5a67a
[apps/code] Handle Home event when in the toolbox
...
If editing a script, the empty space at the end of the script should be
moved to the end of the storage.
2020-02-12 15:13:18 +01:00
citorva
c94affa7cd
Remove External app for unsupported devices (web/n0100) and adds a basic examination checking system
2020-01-19 23:45:35 +01:00
Quentin
ca889ae59e
[1.10.2] Merge PR1064 from epsilon
2019-10-30 22:58:56 +01:00
Quentin
ed204d5db2
Merge commit 'refs/pull/1064/head' of https://github.com/numworks/epsilon into omega-master
2019-10-30 22:56:26 +01:00
Romain Goyet
758c217120
[ion] ion_main takes const arguments
2019-10-16 10:01:00 +02:00
Lionel Debroux
74304f6102
[apps/code] Use a 32 KB Python heap instead of a 16 KB one, it doesn't add to the RAM consumption and it allows dealing with larger (more accurately, "less small"...) scripts.
2019-09-07 22:46:51 +02:00
Ruben Dashyan
eb6d697927
[apps] Make app accessors static members of App classes
2019-07-19 15:06:25 +02:00
Ruben Dashyan
44809f4b3f
Substitute Escher app() by Container::activeApp()
2019-07-19 15:06:25 +02:00
Romain Goyet
21907fb89a
[apps] Get rid of App casts
2019-07-19 15:06:25 +02:00
Ruben Dashyan
1f06819974
[apps] Remove Container * parameter from all App constructors
2019-07-19 15:06:25 +02:00
Léa Saviot
58f94f5e5f
[apps/code] Check that app can be exited before switching to DFU
...
This fixes the following crash: create a script which contains only
"input()". Execute it, then while in the input, plug in the calculator.
When un-plugging it, the device crashes.
2019-01-07 13:36:01 +01:00
Émilie Feral
916493a4d2
[apps] Reset (exam mode) delete all records at once
2018-11-23 12:04:10 +01:00
Émilie Feral
a4f7d83805
[code] Load Variable box content before compiling any other python code
...
to avoid memory exhaustion when displaying variable box
2018-11-23 12:04:03 +01:00
Émilie Feral
0a823da78c
[escher] Variable box pop-up is handle as Toolbox pop-up by asking
...
InputEventHandlerDelegate
2018-11-23 12:04:03 +01:00
Émilie Feral
698332c355
[escher] InputTextDelegate and LayoutFieldDelegate don't inherit from
...
InputTextDelegate to avoid diamond inheritance
2018-11-23 12:04:03 +01:00
Émilie Feral
01e433a9f2
[escher] Clean Field and Input class hierarchy:
...
Class hierarchy:
- InputEventHandler
- TextInput
- EditableField derives from InputEventHandler
- LayoutField, TextField and ExpressioField derives from EditableField
- TextArea and TextField derives from TextInput
2018-11-23 12:04:02 +01:00
Léa Saviot
2661032993
[apps/code] Fix Python loading when going in the VarBoxController
...
The Var box controller deinited python on exit, and the console
controller did not reload python + it made the console controller lose
all its context, such as imported scripts
2018-09-21 11:55:12 +02:00
Émilie Feral
afce751eb7
[code] Get rid of malloc: keep a buffer in Code::App to be used as python heap
2018-09-19 18:20:30 +02:00
Émilie Feral
da8286d3f7
[code] Escaping the input loop on a 'home' event should be handled by
...
the code app instead of the console controller to ensure to escape the
input loop even when the toolbox (or any modal) is displayed
2018-05-23 10:01:15 +02:00
Émilie Feral
5cfe20ad15
[code] Move ConsoleController from MenuController to App
2018-05-23 10:01:15 +02:00
Léa Saviot
3059f27c00
[apps/code] Remove un-necessary dependency.
...
Change-Id: I65a7b81b44aa1be6ff064e8fde0af23760fb5d7d
2018-04-06 14:31:49 +02:00
Émilie Feral
3db86a8111
[apps] Code: merge actions for text input in ConsoleController and
...
EditorController
2018-03-22 13:12:12 +01:00
Émilie Feral
c5e525ddb7
Enable to give options at run-time
2018-03-22 11:58:56 +01:00
Léa Saviot
53d2ae2c46
[code] Rename Code::Toolbox in Code::PythonToolbox for more clarity.
...
Change-Id: I3729fedd8a26531edcd17105ed5fc177c06a8fcb
2017-12-01 13:19:30 +01:00
Léa Saviot
e6b4d07cb6
[code] Dynamic toolbox that displays script functions and variables.
...
Change-Id: Id1494580b3832540633d3aefaf04710d21e0a44c
2017-12-01 12:06:05 +01:00
Léa Saviot
13bf8c2d62
[code] Python toolbox.
...
Change-Id: I4028b05c662cae04a5ac3af5021f3438bb22dcd0
2017-11-17 11:59:50 +01:00
Léa Saviot
b7baec4a40
[code] Keyboard events translation, for script or command edition.
...
For instance, the "power" event should insert "**" in the text, not "^".
Added a universal i18n file in apps/code.
Change-Id: I5d067b0c5b86590af95aa98856522d54e42acba6
2017-11-17 11:59:50 +01:00
Léa Saviot
745eddfa05
[code] Added default Fibonacci script.
...
Change-Id: I2766fa542ee64722018486a874e9855a5976a788
2017-11-17 11:59:50 +01:00
Léa Saviot
5de4b5cd67
[code] Each script has a name, stored in the accordeon buffer.
...
A script can now be imported in the console.
Moved all the MicroPython functions to python/port files.
Change-Id: I0a23e8cb20005719b800e81470e1c574c702c3b7
2017-11-17 11:59:50 +01:00
Léa Saviot
f3200fe2e9
[code] Program store that uses an accordeon buffer to store the
...
programs. The user can now add scripts.
A contextual menu displays various options when clicking on a script,
such as editing.
Change-Id: I124a17f7584b0beedb897e8499ca0a1bb6c13cbe
2017-11-17 11:59:50 +01:00
Léa Saviot
adabf95b59
[code] The interface is a list with a button at the bottom to
...
start the console.
Change-Id: I4a4a432db2d4cdc72e9a0ad7aa5904c1ded3c0e1
2017-11-17 11:59:50 +01:00
Léa Saviot
493cef0d4d
[code] Python console that stores and displays commands that are
...
entered.
Change-Id: I0343c38b60f4bbea6dfab173e2b5f46f66b83251
2017-11-17 11:59:50 +01:00