Léa Saviot
239e702d37
[code] Navigation in the console history.
...
The user can copy previous commands or results, into the clipboard or in
the console prompt.
Change-Id: I280fff2d4937f4d17ab6c8907d6e5c359a322372
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
35520fb3d4
[code] Scripts can be automatically imported when the console is opened.
...
Editing, renaming, deleting or changing the auto-importation of a script
triggers the reloading of the console (the history is cleared, Python
restarted and the scripts re-imported).
Change-Id: If8b933cc077ecd36cab09214b5e7a181aa3ae030
2017-11-17 11:59:50 +01:00
Léa Saviot
45aa526cd6
[code] Fixed SelectableTableView selection problem.
...
If adding a script fails, the selectableTableView should select the "Add
script" line.
Change-Id: I373cdfa0afcc334e4bf306b1cee4bfb817417980
2017-11-17 11:59:50 +01:00
Léa Saviot
fbb5c70339
[code] Cleaned Script and ScriptStore classes, created accordion.h
...
A Script object now contains its AutoImport marker, its name and its
content. The ScripStore methods have better names and the optimization
is cleaner.
Change-Id: I1b21af2d23f1c9a34f984309512b0c01b2f1c320
2017-11-17 11:59:50 +01:00
Léa Saviot
a14cfd0aea
[code] Script names are displayed and can be edited.
...
Change-Id: I5acc468920b66673e78da130bf90a74d0c062211
2017-11-17 11:59:50 +01:00
Léa Saviot
68f368fcde
[code] The user can delete scripts.
...
Change-Id: I1b60a4c79a58efe5213add1b1c5d60cdfe85c1e6
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
c57f9cf8b1
[code] The Python console compiles and executes commands entered.
...
It stores and displays the result in the console store.
An empty line returned at the end of the execution is deleted.
Change-Id: Ic90e02e2d91d0a0033413da0588032d9450aefd0
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
Romain Goyet
9fa5ac0acf
[python] Use the extended math functions
2017-11-17 11:59:49 +01:00
Romain Goyet
f265822792
[liba] Add extra math functions (erf erfc log2 logb tgamma rint scalb)
2017-11-17 11:59:49 +01:00
Romain Goyet
440813bdc3
[python] Switch to using doubles
2017-11-17 11:59:49 +01:00
Romain Goyet
0ca52e201f
[liba] Add extra libm symbols (ldexp, fmod, trunc, atan2)
2017-11-17 11:59:49 +01:00
Romain Goyet
3adc5d9fac
Use OpenBSD 4.9's libm
...
This version still has all the double function (and not the long-double
ones). And apart from this, it's virtually identical to the 6.0 code.
2017-11-17 11:59:49 +01:00
Romain Goyet
247ea217fa
[python] Enable the cmath module
2017-11-17 11:59:49 +01:00
Romain Goyet
2283736dfe
[python] Enable the math module
2017-11-17 11:59:49 +01:00
Romain Goyet
b9e83231e6
[liba] Add extra math functions (frexpf, modff, truncf)
2017-11-17 11:59:49 +01:00
Romain Goyet
cca0cad7aa
Use AppVeyor
2017-11-12 02:10:19 +01:00
Romain Goyet
8a21f24309
Default to the mingw toolchain when building the simulator on Windows
2017-11-12 02:10:19 +01:00
Romain Goyet
e46d157fe6
Add a bridge for a missing alloca.h on windows
2017-11-12 02:10:19 +01:00
Romain Goyet
9a41ee8ad9
Add the ability to package the web simulator
2017-11-06 21:54:18 +01:00
Ian Abbott
d0a50c316e
[I18n] Rename ReelPart in class enum Message
...
Reel => Real
2017-11-06 21:52:57 +01:00
Ian Abbott
3c6aa41d59
[poincare] Rename ReelPart in enum class Type
...
Reel => Real
2017-11-06 21:52:57 +01:00
Ian Abbott
91542cedaa
[poincare] Rename class ReelPart and its constructor
...
Reel => Real
2017-11-06 21:52:57 +01:00
Ian Abbott
23e22d34e7
[poincare] Rename reel_part.h and reel_part.cpp
...
reel => real
2017-11-06 21:52:57 +01:00
Émilie Feral
2e6ee2e1f2
[i18n] Fix bug in universal messages
...
Change-Id: I5c228ae1ba782ee66bace56b9f909455585089ec
2017-10-30 09:40:26 +01:00
Romain Goyet
b671a812e1
[liba] Mark abort() as noreturn
...
Fix #213
2017-10-20 19:59:45 +02:00
Romain Goyet
5a2446eff7
[liba] Proper support for function-like macros for math functions
2017-10-19 17:31:40 +02:00
Romain Goyet
f34146be5e
[poincare] Comment-out unused code
2017-10-19 17:31:40 +02:00
Romain Goyet
e5010b1621
Work around a GCC bug
2017-10-19 17:31:40 +02:00
Romain Goyet
1636d45588
Uniformize toolchain usage
2017-10-19 17:31:40 +02:00
Romain Goyet
2287cfc8b4
[Travis] Don't enforce a compiler
2017-10-19 17:31:40 +02:00
Romain Goyet
3d10d3e951
Use zero-initialization for character arrays
...
It makes some not-fully-compliant compilers happy
2017-10-19 17:31:40 +02:00
Romain Goyet
7d6bf1649b
Avoid using clang by default
2017-10-19 17:31:40 +02:00
Damien Nicolet
1bf5386f8a
Corrects wrong RCC QSPIEN register definition
2017-10-16 09:21:10 +02:00
Jacob Young
17ac54cad5
Use cmath in c++ files.
2017-10-13 18:08:15 +02:00
Jacob Young
f2b7f92d71
Merge in upstream openbsd commit yu8HfTXRTrrv8b2W which allows isnanf, isnand, isinff, and isinfd to be deleted.
2017-10-13 18:08:15 +02:00
Jacob Young
da1e66e798
Fix #115 by fixing the math.h and cmath includes.
2017-10-13 18:08:15 +02:00
Émilie Feral
e05033cf6e
Makefile: change version to 1.1.3
...
Change-Id: I684a2bcaf1b28b6ff9730294d64f8bd7a068dd1d
2017-10-04 11:48:43 +02:00
Émilie Feral
eeda01b69d
[poincare] Fix tests on matrix dimensions and fluctuation intervals
...
Change-Id: Ia96caadda4315b317e84bcfe5165612145b997fb
2017-10-04 10:39:29 +02:00
Émilie Feral
490b5caf47
[poincare] Fix dimension and interval fluctuations dimensions
...
Change-Id: I26816c956297c59f8df447be2eec98bd5c0d91d2
2017-10-04 10:39:29 +02:00
Émilie Feral
31ed76d6e7
[poincare] Handle all edge cases in polar layout (inf, nan)
...
Change-Id: I10253bee9b581067301bb12302f7ee58a7cda89d
2017-10-04 10:32:54 +02:00
Émilie Feral
1b032955c1
[poincare] Fix layout of undef in polar
...
Change-Id: Ibe819cb38744ea295e6fabe2885b4a2a51d66497
2017-10-04 10:32:54 +02:00
Adrien Bertrand
e0558551e0
[settings] allow left event to pop out of the lang controller ( fix #180 )
2017-10-02 11:32:56 +02:00
Romain Goyet
9bf4846b06
[apps] Leaner i18n script
2017-09-29 17:08:46 +02:00
Romain Goyet
e6ed6c74a4
[apps] Split the i18n in multiple files
...
A Python script aggregates all i18n files and merges them.
We now can pick a list of locales to build in EPSILON_I18N_LANGUAGES
2017-09-29 17:08:46 +02:00
Romain Goyet
4a0e4af52f
Use container-based Travis env
2017-09-29 17:08:26 +02:00