Commit Graph

563 Commits

Author SHA1 Message Date
Émilie Feral
1fc2fad123 [shared] Delete storage_function_banner_delegate 2018-11-23 12:04:01 +01:00
Émilie Feral
dd74812779 [shared] Fix StorageCartesianFunction 2018-11-23 12:04:01 +01:00
Léa Saviot
88fa555f4f [apps] Start de-templating StorageExpressionModelStore 2018-11-23 12:04:01 +01:00
Léa Saviot
5a9c0b1b84 [apps] GlobalCtxt::SetExpForFunctionRecord used in StorageCartesianFunction 2018-11-23 12:04:01 +01:00
Émilie Feral
1cd5145d3f [shared] Fix StorageFunction 2018-11-23 12:04:01 +01:00
Émilie Feral
072e52ae85 [shared] Re-design StorageCartesianFunction 2018-11-23 12:04:01 +01:00
Léa Saviot
97cba08b23 [apps] Clean GLobalContext 2018-11-23 12:04:01 +01:00
Léa Saviot
d869be7782 [apps/ion] Escapes cases when records/ strings are null 2018-11-23 12:04:01 +01:00
Léa Saviot
c95136c9b5 [apps] Fix Globalcontext::setExpressionForSymbol 2018-11-23 12:04:01 +01:00
Léa Saviot
c40ed0c2c0 [apps] Fix missing return statement 2018-11-23 12:04:01 +01:00
Émilie Feral
4dda66e58d [escher] AlternateEmptyViewController: give the delegate the opportunity
to choose the view to display when empty
2018-11-23 12:04:01 +01:00
Léa Saviot
1adefc3bc4 [typo] "Desactivate" -> "Deactivate" 2018-11-23 12:04:01 +01:00
Léa Saviot
3d86e0744a [apps] StorageListParameterController keeps a function object, not a pointer
This fixes the activate/deactivate function switch in graph.
2018-11-23 12:04:01 +01:00
Léa Saviot
9a05ab6109 [apps/graph] Fix new model row height 2018-11-23 12:04:00 +01:00
Léa Saviot
f9ce06cc91 [apps] Function metadata are stored in Storage 2018-11-23 12:04:00 +01:00
Léa Saviot
2793a622e2 [apps] Store function metadata in record 2018-11-23 12:04:00 +01:00
Léa Saviot
20e440a216 [apps] Move StorageCartesianFunction from graph to shared 2018-11-23 12:04:00 +01:00
Léa Saviot
79e962f459 [poncare/apps] Move GlobalContext from Poincare to Apps::Shared 2018-11-23 12:04:00 +01:00
Léa Saviot
2442627e3c [apps] Remove attributes from StorageExpressionModel and derivates 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
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
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
a1a0d0f599 [apps] Fix ExpressionModel::isEmpty() 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
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
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
912e7f8acf [apps] Graph app displays first letter of storage functions 2018-11-23 12:04:00 +01:00
Léa Saviot
354b6e9c72 [apps] First attempt at bridging Funciton app with the shared storage 2018-11-23 12:04:00 +01:00
Léa Saviot
a7a719df4a [poincare] Handle functions in replaceSymbolWithExp and similar methods 2018-11-23 12:03:59 +01:00
Léa Saviot
4b37163653 [poincare] Fix more "char * []" type problems 2018-11-23 12:03:59 +01:00
Émilie Feral
3a3a17b3ce [shared] Factorize ExpressionFieldDelegateApp and TextFieldDelegateApp 2018-11-23 12:03:59 +01:00
Émilie Feral
cf68a9ed18 [shared] Change TextFieldDelegateApp::XNT() signature 2018-11-23 12:03:59 +01:00
Émilie Feral
a93e9566ad [escher] Create a parent class Field of TextField and
LayoutField
2018-11-23 12:03:59 +01:00
Émilie Feral
cb900d9560 [shared] Factorize code between ExpressionFieldDelegateApp and
TextFieldDelegateApp
2018-11-23 12:03:59 +01:00
Émilie Feral
a4756c1945 [poincare] Cast matrix of char before calling getVariables 2018-11-23 12:03:58 +01:00
Léa Saviot
31d3a04678 [poincare] setExpressionForSymbolName takes a symbol name 2018-11-23 12:03:58 +01:00
Émilie Feral
1fff98f1c4 [poincare] Change Expression methods' signature to work with const char
* symbol instead of char symbol
2018-11-23 12:03:58 +01:00