Émilie Feral
4bca330f0d
[python] Coding style
2020-04-30 14:12:32 +02:00
Émilie Feral
0811221943
[python] Clean port ColorParser
2020-04-30 14:12:32 +02:00
Émilie Feral
7c24f2fc28
[python] Coding style
2020-04-30 14:12:32 +02:00
Émilie Feral
ba15415847
[python] modturtle: avoid unexpected cast
2020-04-30 14:12:32 +02:00
Émilie Feral
4f99aa709a
[apps/code] Add colormode to Toolbox: in Catalog and Turtle module
2020-04-30 14:12:32 +02:00
Émilie Feral
686a1493e5
[python] Coding style
2020-04-30 14:12:32 +02:00
Émilie Feral
e7df25d558
[python] Kandinsky module: color accepts "#FF0000", "red" kinds of
...
arguments
2020-04-30 14:12:32 +02:00
Émilie Feral
af0cdbcc1b
Coding style
2020-04-30 14:12:32 +02:00
Émilie Feral
1b0b9e48f5
[python] ColorParser: add a TODO
2020-04-30 14:12:32 +02:00
Émilie Feral
8f5fa50f22
[python] Color: avoid magic number 255, clean code of ColorParser and
...
Turtle::colormode
2020-04-30 14:12:32 +02:00
Émilie Feral
c920df1f76
[python] Change enum class name: ColorModes --> ColorMode
2020-04-30 14:12:32 +02:00
Émilie Feral
995cc04533
[python] Use of mp_obj_is_str instead of MP_OBJ_IS_STR for more
...
consistency
2020-04-30 14:12:32 +02:00
Émilie Feral
a564efcaa5
[python] Fix bug in ParseColor
2020-04-30 14:12:32 +02:00
Émilie Feral
3d1b3f9a0b
[python] Factorize implementation of pencode (Turtle module)
2020-04-30 14:12:32 +02:00
Émilie Feral
f5e8d4d9bb
[python] Avoid modifying micropython external source, use parsenum.h methods directly
2020-04-30 14:12:32 +02:00
Joachim LF
e76abcf67e
[Python] universal colors
2020-04-30 14:12:32 +02:00
Léa Saviot
061fe05b40
[poincare/normal_distribution] Fix StandardNormalCumulDistFuncAtAbs
2020-04-28 02:52:17 -07:00
TheTrueBrot
2768c143c8
Fix a mistake in German translation
2020-04-28 02:17:54 -07:00
Émilie Feral
2d0d4a3a8d
[apps] Fix misc errors in German translation
2020-04-27 15:29:05 +02:00
maximilianwalter
0b488bc548
Update toolbox.de.i18n
2020-04-21 06:45:17 -07:00
maximilianwalter
b87674ab73
Update toolbox.de.i18n
2020-04-21 06:45:17 -07:00
maximilianwalter
de7aaeb188
Update base.de.i18n
2020-04-21 06:45:17 -07:00
maximilianwalter
37b876a941
added equivalents
2020-04-21 06:45:17 -07:00
maximilianwalter
7b40f55973
added equivalents
2020-04-21 06:45:17 -07:00
Émilie Feral
61399d07eb
[python] Turtle: use std::fabs std::copysign when possible
2020-04-16 09:44:37 +02:00
Émilie Feral
675a0d3f4c
Add missing definition of static member variables
2020-04-15 10:34:00 -04:00
Léa Saviot
c2bd19d9a1
[apps/solver] Fix polar tests
2020-04-15 09:16:32 -04:00
Léa Saviot
9988447b9a
[poincare] Expression::isIdenticalToWithoutParentheses
2020-04-15 09:16:32 -04:00
Romain Goyet
56f3204a17
[apps/solver] Fix the polar tests
2020-04-15 09:16:32 -04:00
Romain Goyet
240e60cb68
[liba] Include strlcat in the bridge too
2020-04-15 09:16:32 -04:00
Romain Goyet
870d704e7f
[apps/solver] Rewrite the tests to they can be read by a human being
2020-04-15 09:16:32 -04:00
Romain Goyet
2e6dec5f1d
[libaxx] initializer_list use size_t
2020-04-15 09:16:32 -04:00
Romain Goyet
5faa251c1f
[apps/solver] Quiz assertion are supposed to run in release mode too
2020-04-15 09:16:32 -04:00
Émilie Feral
42d643aa7e
[apps/settings] improve German locale
2020-04-15 09:15:37 -04:00
Joachim LF
c15bb3d893
Negative diameter circle turtle support
2020-04-15 06:15:28 -07:00
Émilie Feral
dcfabf754d
[ion] Init random seed with time in simulator main
2020-04-15 09:11:52 -04:00
Émilie Feral
870dd868e9
[ion] Tidy files:
...
- move from shared to simulator/shared
- delete files used only be deprecated blackbox
2020-04-15 09:11:52 -04:00
Romain Goyet
4d981fbfb6
[poincare] Define a member variable even if it's kind of useless
...
https://stackoverflow.com/questions/8016780/undefined-reference-to-static-constexpr-char
2020-04-14 09:31:02 -04:00
Romain Goyet
84768472bd
Explicit std::min/max template usage
...
This is unfortunately required in several cases:
- Sometimes when we use either float and double (this should be changed)
- Because KDCoordinate is not an int, so any arithmemtic promotes it to
an int
- Because we mix pointer differences and ints
2020-04-14 09:31:02 -04:00
Romain Goyet
c71dcca691
[apps/code] Consistently use size_t
2020-04-14 09:31:02 -04:00
Romain Goyet
644c44e069
Misc cleanups
2020-04-14 09:31:02 -04:00
Romain Goyet
950862f8d0
Use std::min and std::max
2020-04-14 09:31:02 -04:00
Romain Goyet
77ee5126e1
[libaxx] Add algorithm
...
Only contains a super simple min and max implementation
2020-04-14 09:31:02 -04:00
Aleks ANDRÉ
1839a91982
Terminologie lycée FR
...
Références :
* [Seconde](https://cache.media.education.gouv.fr/file/SP1-MEN-22-1-2019/95/7/spe631_annexe_1062957.pdf )
* [Première](https://cache.media.education.gouv.fr/file/SP1-MEN-22-1-2019/16/8/spe632_annexe_1063168.pdf )
* [Terminale (spécialité)](https://cache.media.education.gouv.fr/file/SPE8_MENJ_25_7_2019/90/7/spe246_annexe_1158907.pdf )
* [Terminale (complémentaire)](https://cache.media.education.gouv.fr/file/SPE8_MENJ_25_7_2019/13/4/spe265_annexe_1159134.pdf )
* [Terminale (experte)](https://cache.media.education.gouv.fr/file/SPE8_MENJ_25_7_2019/82/5/spe264_annexe_1158825.pdf )
2020-04-14 03:36:05 -07:00
Romain Goyet
196a94e199
[ci] Report .text, .rodata, .bss and .data sections
...
Note that .text and .rodata are cumulative (internal+external)
2020-04-14 01:44:35 -07:00
Romain Goyet
56f4b275a5
[python] Turn a warning into a error when appropriate
2020-04-14 01:17:25 -07:00
Romain Goyet
cbb0110c2f
[liba] Define UINT8_MAX
...
This will be needed in python to check that some QSTRs aren't too big.
And it doesn't cost anything to add it straight away.
2020-04-14 01:17:25 -07:00
Romain Goyet
8a43b17df9
[python] Reorder QSTRs to match an implicit assertion in uPy
...
In py/scope.c, an assertion is made that some qstrs should be "low".
Let's make sure it is indeed the case.
Note: https://github.com/micropython/micropython/pull/5903
2020-04-14 01:17:25 -07:00
Romain Goyet
807dd73e7b
[poincare] Use a Tuple instead of an ArrayBuilder for expression
...
The Tuple is simply an initializer_list along with a convenience method
to cast between a list of TreeHandle and a list of Expression
2020-04-10 13:35:14 -04:00
Romain Goyet
1bd6105a0a
[libaxx] Add initializer_list
2020-04-10 13:35:14 -04:00