Léa Saviot
ff33ad3ad1
[apps] In FunctionTitleCell, draw the equal separately
...
This way, we can better manage the margins around the equal
2019-01-10 11:42:02 +01:00
Léa Saviot
738d21cc2b
[apps/graph] Align function name and expresion baselines
2019-01-10 11:42:02 +01:00
Léa Saviot
569e0e884e
[apps/graph] Memoize baselines in functions list
2019-01-10 11:42:02 +01:00
Léa Saviot
9b9a0aa009
[apps/graph] Add scroll indicators in funcitons list
2019-01-10 11:42:02 +01:00
Léa Saviot
8e8d99e8e9
[apps/graph] Do not draw the vertical separator in functions list
2019-01-10 11:42:02 +01:00
Léa Saviot
9f6ca489ce
[apps/graph] Align the function name right
2019-01-10 11:42:02 +01:00
Léa Saviot
c7e04195c3
[apps/graph] Don't draw a separator between function name and value
2019-01-10 11:42:02 +01:00
Léa Saviot
348c5c0dae
[apps/graph] Add equal after function name
2019-01-10 11:42:02 +01:00
Léa Saviot
ff1c137fe1
[apps/sequence] Add scroll indicators in sequence list
2019-01-10 11:42:02 +01:00
Léa Saviot
d87c0669cb
[apps/sequence] Fix title cell alignments
...
Add margin right of "un="
Align the text vertically so that the equal is vertically centered in
the cell. This makes the left and right cell baselines be approximately
at the same level for basic sequences definition (un = 1, un=1/2, ...)
2019-01-10 11:42:02 +01:00
Léa Saviot
0a9edf8a43
[apps/sequence] Add cheat margin between sequence title and equal
2019-01-10 11:42:02 +01:00
Léa Saviot
11db7d5257
[apps/sequence] Remove equal char in sequence parameters
2019-01-10 11:42:02 +01:00
Léa Saviot
d3cae9d1aa
[apps/sequence] Harmonize row height in sequence list
2019-01-10 11:42:02 +01:00
Léa Saviot
17da615a54
[apps/sequence] Don't draw a separator between sequence name and value
2019-01-10 11:42:02 +01:00
Léa Saviot
3b2eaa5dea
[apps/sequence] Sequence title cells are aligned to the right
2019-01-10 11:42:02 +01:00
Léa Saviot
55de9ab111
[apps/sequence] Add '=' after sequence titles
2019-01-10 11:42:02 +01:00
Léa Saviot
17e7d36009
[apps/code] If EPSILON_GETOPT, auto import scripts
2019-01-09 16:13:46 +01:00
Léa Saviot
1c306658ce
[apps/code] Fix Python environment loading order
2019-01-09 16:13:46 +01:00
Léa Saviot
4f4ae4e0f7
Merge branch 'master' into python_turtle
2019-01-08 14:32:43 +01: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
Léa Saviot
1782326ed8
[apps/code] Clean ConsoleController code
2019-01-07 13:36:01 +01:00
Léa Saviot
33072eb9b1
[apps/code] Add some comments
2019-01-07 13:36:01 +01:00
Léa Saviot
8830821d0e
[apps/code/python] Inline and indent some code
2019-01-07 13:36:01 +01:00
Léa Saviot
9b07f1936e
[apps/code] Squares script template: start by resetting the turtle
2019-01-03 15:28:55 +01:00
Léa Saviot
384fa04798
[apps/code] Change the default scripts: squares instead of factorial
2018-12-27 17:21:10 +01:00
Léa Saviot
03f300a754
[python/turtle] Add showturtle and hideturtle to the toolbox
2018-12-27 17:09:45 +01:00
Léa Saviot
df2b9c4d81
[escher/apps] Get children count via template in ToolboxMessageTree::Node
2018-12-21 13:29:32 +01:00
Léa Saviot
216b16fc11
[apps/shared] Increase memoized heights count in StorageExpModelListCtrl
2018-12-20 14:51:51 +01:00
Léa Saviot
13419f434f
[apps/shared] Memoize in StorageFuncListCtrl::indexFromCumulatedHeight
2018-12-20 14:51:51 +01:00
Léa Saviot
6740198e06
[apps/shared] Constexpr reset value in storage_expr_model_list_ctrlr
2018-12-20 14:51:51 +01:00
Léa Saviot
56504525c9
[Makfile] Remove superfluous test_objs
...
We now build all objects even for test, so we do not need most of the
previous test_objs
2018-12-19 09:44:58 +01:00
Léa Saviot
5498c84ed7
[apps/regression] Add tests about regression navigation
2018-12-19 09:44:58 +01:00
Léa Saviot
f6a5759a16
[poincare] Fix the replacement of unknowns in the storage
...
In the Graph app, define f(x) = cos(x) and g(x)=diff(f(x),x,x).
The graph and table are perfectly computed, but in the Calculation apps,
g(5) fails.
2018-12-19 09:40:37 +01:00
Léa Saviot
4b306791c0
[python/turtle] Turtle::m_drawn is false if sandbox not displayed
...
This way, Turtle::draw() and erase() are more symetrical and no not
perform themselves if the turtle is already drawn / erased.
2018-12-18 12:05:46 +01:00
Émilie Feral
ec08f027c0
[poincare] Revert: Use Simplify instead of Reduce II
...
To approximate an expression, it is more precise to
approximate its simplified form than its reduced form. Indeed, we want
to minimize the number of nodes in the expression before approximating.
For instance, a/b has fewer nodes than a*b^-1.
2018-12-18 10:46:20 +01:00
Émilie Feral
78e4c9066f
[shared] Revert: Use Simplify instead of Reduce
...
To approximate an expression, it is more precise to
approximate its simplified form than its reduced form. Indeed, we want
to minimize the number of nodes in the expression before approximating.
For instance, a/b has fewer nodes than a*b^-1.
2018-12-18 09:39:43 +01:00
Léa Saviot
ed19d19070
Merge branch 'master' into python_turtle
2018-12-17 15:49:46 +01:00
Léa Saviot
101370c507
[escher] Change ToolboxMessageTree constructors
...
To simplify ToolboxMessageTree cosntruction
2018-12-17 15:27:38 +01:00
Léa Saviot
62de89ceba
[apps/code] Fix 'blue', 'red', ... python command insertion
...
The 'blue' command would be stripped and become ''.
2018-12-17 14:25:31 +01:00
Léa Saviot
b3c11f2425
[apps/code] Put turtle module higher in Python toolbox
2018-12-17 13:58:13 +01:00
Léa Saviot
b058b023db
[apps/code] Add turtle functions in the toolbox catalog
2018-12-17 13:58:13 +01:00
Léa Saviot
8a3aa1ab08
[apps/code] Add turtle functions in th python toolbox
2018-12-17 11:57:40 +01:00
Léa Saviot
609740b0bd
[apps/code] Order catalog.universal.i18n
2018-12-17 10:31:20 +01:00
Émilie Feral
aa0b785f3d
[shared] In models Equation, Sequence: the recorded expression does not
...
need to be beautified. Use Reduce instead of simplify
2018-12-17 09:41:14 +01:00
Émilie Feral
c3e7a0667a
[shared] Fix StorageExpressionModel::expressionReduced: take into
...
account the prefered angle unit!
2018-12-17 09:41:14 +01:00
Léa Saviot
af1066f16e
Fix typo
2018-12-13 15:56:33 +01:00
Léa Saviot
42cdf95e9f
[apps/regression] Improve vertical navigation
...
Data set:
X1 2 3 2 1
Y1 0 1 0.5 5
X2 1 10 2
Y2 0 25 0.5
There was circular navigation on series 2 mean point
2018-12-13 15:56:33 +01:00
Léa Saviot
99d97ecb45
[apps] Do not recompute stop condition in for loop
2018-12-13 12:20:22 +01:00
Léa Saviot
11c0b02b7b
[apps/regression] Add index assertions
2018-12-13 12:20:22 +01:00
Léa Saviot
ebeb8e2022
[apps/regression] Change var names in GoToParamCtrl::setParamAtIndex
2018-12-13 12:20:22 +01:00