Commit Graph

594 Commits

Author SHA1 Message Date
Émilie Feral
698332c355 [escher] InputTextDelegate and LayoutFieldDelegate don't inherit from
InputTextDelegate to avoid diamond inheritance
2018-11-23 12:04:03 +01:00
Léa Saviot
71d8358722 [apps/escher/poincare] Change KDText::FontSize to KDFont 2018-11-23 12:04:02 +01:00
Léa Saviot
64881439bc [apps/graph] When pressing Up while renaming first function, select tab 2018-11-23 12:04:02 +01:00
Léa Saviot
59cdbda0ae [apps/graph] Fix selection after editing a function successfully 2018-11-23 12:04:02 +01:00
Léa Saviot
7b98467fa9 [apps/graph] Fix first responder when popup after renaming function 2018-11-23 12:04:02 +01:00
Léa Saviot
9e332b0c2b [apps] Create and use StorageFunction::BaseNameCompliant 2018-11-23 12:04:02 +01:00
Émilie Feral
8e2a30ab8e [graph] Create a static method StorageCartesianFunctionStore::Symbol() 2018-11-23 12:04:02 +01:00
Léa Saviot
6aab93f3fe [apps/graph] Limit the textfield size when renaming a function 2018-11-23 12:04:02 +01:00
Léa Saviot
65ec434449 [apps/graph] Change cell selection after renaming if event is up or down 2018-11-23 12:04:02 +01:00
Léa Saviot
63d6f11b8d [apps/graph] Fix rebase: don't use old methods 2018-11-23 12:04:02 +01:00
Léa Saviot
bdb5856f7a [apps/graph]Handle user escaping the function renaming with "Back" 2018-11-23 12:04:02 +01:00
Émilie Feral
c70278941a [graph] Do not keep a function pointer as member variable but a record.
Indeed, function pointers can become invalid at any point...
2018-11-23 12:04:02 +01:00
Léa Saviot
6facfbbf7a [apps/graph] Use TextFieldWithExtension in the list controller 2018-11-23 12:04:02 +01:00
Léa Saviot
df542f2f84 [apps/graph] Update column width after renaming function 2018-11-23 12:04:02 +01:00
Léa Saviot
801d7ddeeb [apps] "(x)" is a static char[] of Shared::StorageFunction 2018-11-23 12:04:02 +01:00
Léa Saviot
933838ff5e [apps/graph] Rename functions 2018-11-23 12:04:02 +01:00
Léa Saviot
b7770d087c [apps/graph] Add "Rename" entry in the function parameters 2018-11-23 12:04:02 +01:00
Léa Saviot
bd65063b67 [graph] TextFieldFunctionTitleCell 2018-11-23 12:04:02 +01:00
Léa Saviot
a4ea8d19f7 [apps/graph] In Values, x parameters menu's title is "x" 2018-11-23 12:04:02 +01:00
Émilie Feral
7ee5cdde82 [shared] StorageCartesianFunctionStore: fix moveMemoizedModel (confusion
between arguments)
2018-11-23 12:04:02 +01:00
Léa Saviot
8bffbf6ae7 [apps/graph] Display all data in banner view 2018-11-23 12:04:02 +01:00
Émilie Feral
2180588484 [graph] StorageCartesianFunctionStore: enable to remove all Functions 2018-11-23 12:04:01 +01:00
Léa Saviot
7cfe3b904e [apps/graph] Commit missing files 2018-11-23 12:04:01 +01:00
Léa Saviot
f388099cbc [apps/graph] Display function name in hide/show derivative controllers 2018-11-23 12:04:01 +01:00
Léa Saviot
c0e4eaa56b [apps/graph] Use storage controllers in Values 2018-11-23 12:04:01 +01:00
Léa Saviot
ca3f88185f [apps/graph] Remove old files 2018-11-23 12:04:01 +01:00
Léa Saviot
86d90e7e56 [apps/graph] Remove initial empty function 2018-11-23 12:04:01 +01:00
Émilie Feral
3412463e84 [graph] Fix Graph controllers to take a StorageCartesianFunction instead
of a CartesianFunction
2018-11-23 12:04:01 +01:00
Émilie Feral
e290c928e0 [shared] StorageFunction: add a method to write the name of the function
with an argument (f(x))
2018-11-23 12:04:01 +01:00
Émilie Feral
b16c1e569e [shared] StorageExpressionModelStore: fix memoization invalidation
Stored models need to be invalidate every time the storage changes
2018-11-23 12:04:01 +01:00
Émilie Feral
4137475561 [graph] Fix StorageListController 2018-11-23 12:04:01 +01:00
Émilie Feral
5158957d48 [shared] StorageExpressionModel: add method 'addEmptyModel' 2018-11-23 12:04:01 +01:00
Émilie Feral
3e4b2a20a1 [graph] Revert GraphController 2018-11-23 12:04:01 +01:00
Émilie Feral
d3e66d5530 [shared][graph] Delete all storage controller 2018-11-23 12:04:01 +01:00
Émilie Feral
8aff120bf3 [graph] Fix StorageCartesianFunction 2018-11-23 12:04:01 +01:00
Émilie Feral
c5f86e136b [apps] Delete unused ListController 2018-11-23 12:04:01 +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
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
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
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
ac1e79f907 [apps/graph] Display the function's whole name 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
ccea0579d1 [apps/graph] Remove unneeded namespace 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