Émilie Feral
3f6647f3ae
[ion][python] Implement an architecture-dependant collect_registers.
...
setjmp is not guaranteed to collect all registers without modification
on all platforms.
This fixes the following bug: when the pointer of a newly allocated
object on the Python heap is stored in rpb registers on x86_64 arch, it
was not collected by the garbarge collector.
2020-05-18 14:39:46 +02:00
Émilie Feral
5a32006dcd
[python] Revert: collectRoots does not need to look for unaligned
...
pointers as they should not exist
2020-05-18 14:39:46 +02:00
Émilie Feral
3f5487ca90
[python] Forbid inlining on gc_collect to avoid missing some roots
2020-05-18 14:39:46 +02:00
TheTrueBrot
055f8bf1bd
Fixed a small mistake in the german Translation
2020-05-15 02:54:34 -07:00
Léa Saviot
e7988b9fa2
[apps/round_cursor_view] Add comment about flaw in algorithm
2020-05-15 02:52:54 -07:00
Léa Saviot
a0c5a1fe1c
[apps] InteractCurveVwCtlr::addMargin adds more than the required margin
2020-05-15 02:52:54 -07:00
Léa Saviot
ee78948cf8
[apps/interactive_curve_view_range] Clean panToMakePointVisible
2020-05-15 02:52:54 -07:00
Léa Saviot
456cd3c73a
Revert "[apps] Add FLT_EPSILON in float comparisons in interactive_curve_vw_rge"
...
This reverts commit 18381fd334 .
2020-05-15 02:52:54 -07:00
Léa Saviot
016f87c266
[escher/layout_field] Reset the scroll when clearing the layout
...
Scenario: Go to the graph app, create f(x) = 1 then create g(x) -> there
is a weird big margin in the edition field
2020-05-15 02:39:11 -07:00
Léa Saviot
73c55f0437
[apps/regression] Add test for proportional_regression
2020-05-13 15:25:33 +02:00
Léa Saviot
21a4139c19
[apps/regression] Clean partialDerivate of the models
2020-05-13 15:25:33 +02:00
Léa Saviot
980a62da6c
[apps/regression] Clean proportional_model.cpp
2020-05-13 15:25:33 +02:00
Léa Saviot
588533fadf
[apps/regression] Remove r and r2 for Proportional regression
2020-05-13 15:25:33 +02:00
Léa Saviot
2e5e2a3258
[apps/regression] Rename Affine -> Linear and Linear -> Proportional
2020-05-13 15:25:33 +02:00
Joachim LF
740e9e9d12
[Regression] Fixed affine and linear name errors
2020-05-13 15:25:33 +02:00
Joachim LF
5297f28ffa
[Regression] Switched affine and linear
2020-05-13 15:25:33 +02:00
Joachim LF
833f6ec778
[Regression] Add affine regression
2020-05-13 15:25:33 +02:00
Émilie Feral
c955f45457
[escher] View: remove useless virtual destructor
2020-05-12 13:19:28 +02:00
Romain Goyet
a07ab8015e
[apps/calculation] Correct insert in fractions
2020-05-11 10:34:28 +02:00
Romain Goyet
884e53f75d
[escher/layout_field] Add a comment
2020-05-11 10:34:28 +02:00
Romain Goyet
213d80002c
[escher/layout_field] Insertion event can be customized
2020-05-11 10:34:28 +02:00
Romain Goyet
fc4b0a8d35
[escher] Add an insertionField in LayoutField
2020-05-11 10:34:28 +02:00
Léa Saviot
efe5b4d6f8
[ion/storage] Private constructor and cleaner sharedStorage()
2020-05-07 06:22:42 -07:00
Léa Saviot
bbb8308a6d
[poincare/normal_distribution] More values are computed
...
We limited the precision too much before.
2020-05-06 01:01:58 -07:00
Joachim Le Fournis
480459ab19
Changed setRecompute() to forceRecompute()
...
See https://github.com/numworks/epsilon/pull/1538#discussion_r419255425
2020-05-04 01:16:04 -07:00
Joachim Le Fournis
9e8229e767
[Interval] Removed useless getter
...
See https://github.com/numworks/epsilon/pull/1538#discussion_r419252679
2020-05-04 01:16:04 -07:00
Joachim LF
43bceac2c9
[Interval] Coding style on compute
2020-05-04 01:16:04 -07:00
Joachim LF
f250311856
[Interval] Patch the need recomputing
2020-05-04 01:16:04 -07:00
sagessylu
a52202fa90
put accents in toolbox French translation
2020-05-04 01:15:46 -07:00
Émilie Feral
9b419acf40
[python] kandinsky port: rename TupleForRGB to TupleForKDColor
2020-04-30 14:12:32 +02:00
Émilie Feral
25b2ff31c2
[apps/code] Simplify colormode entry in toolbox
2020-04-30 14:12:32 +02:00
É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