Commit Graph

7312 Commits

Author SHA1 Message Date
Léa Saviot
03bb073ba3 [poincare] Add metadata (color, isActive, displayDerivative) to Function 2018-11-23 12:04:00 +01:00
Émilie Feral
293bc61b49 [apps] VariableBoxController: add "(x)" to function symbols 2018-11-23 12:04:00 +01:00
Émilie Feral
429c797a27 [apps] VariableBoxController: fix viewWillAppear to reset m_stateStack 2018-11-23 12:04:00 +01:00
Léa Saviot
907eedd4bc [poincare] Use SymbolAbstract in setExpressionForSymbol 2018-11-23 12:04:00 +01:00
Émilie Feral
61d85f3e4a [apps] VariableBoxController: fix expressionForIndex 2018-11-23 12:04:00 +01:00
Émilie Feral
cfa3a0c0a6 [apps] Variables Box Controller: i18n 2018-11-23 12:04:00 +01:00
Émilie Feral
991004ed6e [apps] VariableBoxController: truncate extension before displaying
symbols
2018-11-23 12:04:00 +01:00
Émilie Feral
da2d6de0c1 [poincare] SymbolAbstract: add a static method TruncateExtension 2018-11-23 12:04:00 +01:00
Léa Saviot
23f62b8dbe [poincare] Factorize approximate<T> in Function 2018-11-23 12:04:00 +01:00
Léa Saviot
6197ebd4c5 [poincare] SymbolAbstract is parent of Symbol and Function 2018-11-23 12:04:00 +01:00
Émilie Feral
c3043f47d4 [apps] Remove unused class 2018-11-23 12:04:00 +01:00
Émilie Feral
286530f78f [apps] First version of VariableBoxController 2018-11-23 12:04:00 +01:00
Émilie Feral
5411fa5279 [poincare] GlobalContext: make the '.func' extension public 2018-11-23 12:04:00 +01:00
Léa Saviot
de592ee5fd [apps/graph] Generate default function names 2018-11-23 12:04:00 +01:00
Léa Saviot
54f9ea08d6 [apps/graph] Adapt Title column width when removing functions 2018-11-23 12:04:00 +01:00
Léa Saviot
7c441de5f5 [apps] Rename Name as Title in StorageFunctionListController 2018-11-23 12:04:00 +01:00
Léa Saviot
eb5c8da0aa [apps] Rename maxNumberOfRows as maxNumberOfDisplayableRows 2018-11-23 12:04:00 +01:00
Léa Saviot
91251b157a [apps/graph] Recompute ntitle comuns width when adding a function 2018-11-23 12:04:00 +01:00
Léa Saviot
2f70ed9136 [apps] The function names column adapts its size to ALL functions
Not just to DISPLAYED functions. This way, there is no width changing
when scrolling, and it is also faster.
2018-11-23 12:04:00 +01:00
Émilie Feral
7035ad01ae [escher] Toolbox: title is a message instead of a const char 2018-11-23 12:04:00 +01:00
Émilie Feral
d8ffb73e69 [escher] Create class ExpressionTableCellWithExpression 2018-11-23 12:04:00 +01:00
Émilie Feral
08439b5c54 [escher] Create nested_menu_controller to factorize toolbox and future
variable_box_controller
2018-11-23 12:04:00 +01:00
Léa Saviot
2e4af43fe3 [apps/graph] Fix computation of function names column
There was a bug for more than 5 rows.
2018-11-23 12:04:00 +01:00
Léa Saviot
96b594b875 [apps/graph] Adapt function name column width to names 2018-11-23 12:04:00 +01:00
Léa Saviot
f62bc3c717 [apps/graph] Fix display of "(x)" after a function name 2018-11-23 12:04:00 +01:00
Léa Saviot
d1d2ea91ef [poincare] Add test on user defined functions and variables 2018-11-23 12:04:00 +01:00
Léa Saviot
ac1e79f907 [apps/graph] Display the function's whole name 2018-11-23 12:04:00 +01:00
Léa Saviot
a1a0d0f599 [apps] Fix ExpressionModel::isEmpty() 2018-11-23 12:04:00 +01:00
Léa Saviot
8479b9547e [apps/graph] Do not keep at list one function 2018-11-23 12:04:00 +01:00
Léa Saviot
eb427f701e [poincare] Init SymbolNode so it can give its size as soon as created 2018-11-23 12:04:00 +01:00
Léa Saviot
aebeeda171 [poincare] Fix Function::size() 2018-11-23 12:04:00 +01:00
Léa Saviot
30e92a87c7 [apps] Fix StorageExpressionModel::setContent for uninitialized content 2018-11-23 12:04:00 +01:00
Léa Saviot
ccea0579d1 [apps/graph] Remove unneeded namespace 2018-11-23 12:04:00 +01:00
Léa Saviot
63e5960ae1 [poincare] Handle empty record when creating its expression 2018-11-23 12:04:00 +01:00
Léa Saviot
dfe573c66e [ion/storage] Handle nullptr name when looking for a record 2018-11-23 12:04:00 +01:00
Léa Saviot
5e860bc0f5 [apps] Handle uninitialized expression and layout in ExpressionModel 2018-11-23 12:04:00 +01:00
Léa Saviot
77f4a92787 [apps] An expression model names contains the extension 2018-11-23 12:04:00 +01:00
Léa Saviot
dd01a57ba4 [apps] StorageExpressionModel stores both name and record 2018-11-23 12:04:00 +01:00
Léa Saviot
1aa1ee3001 [poincare] Initialize StorageCartesianFunctions with empty records 2018-11-23 12:04:00 +01:00
Léa Saviot
8f5603090e [apps/graph] Remove TODOs 2018-11-23 12:04:00 +01:00
Léa Saviot
3781898508 [apps/graph] Fix cursor navigation 2018-11-23 12:04:00 +01:00
Léa Saviot
f449e0bf15 [apps/graph] Fix display of non constant functions 2018-11-23 12:04:00 +01:00
Léa Saviot
a988558b82 [apps/graph] Draw curves 2018-11-23 12:04:00 +01:00
Léa Saviot
0a62e86afc [apps/graph] Use Storage classes 2018-11-23 12:04:00 +01:00
Léa Saviot
37b0dd5ec9 [apps/graph] Display the Graph Tab 2018-11-23 12:04:00 +01:00
Léa Saviot
f67b33cd9e [apps] ExpressionModelListController keeps the edited model 2018-11-23 12:04:00 +01:00
Léa Saviot
77a732459f [poincare] ExpressionModel::setContent stores an expression, not text 2018-11-23 12:04:00 +01:00
Léa Saviot
e7ca205d33 [apps] The storage keeps a function's reduced expression, not a text 2018-11-23 12:04:00 +01:00
Léa Saviot
4af3d27431 [poincare] ExpressionFromRecord is in Expression, not in GlobalContext 2018-11-23 12:04:00 +01:00
Léa Saviot
912e7f8acf [apps] Graph app displays first letter of storage functions 2018-11-23 12:04:00 +01:00