Commit Graph

609 Commits

Author SHA1 Message Date
Émilie Feral
916493a4d2 [apps] Reset (exam mode) delete all records at once 2018-11-23 12:04:10 +01:00
Léa Saviot
ab83086fc5 [apps/graph] Remove old file 2018-11-23 12:04:09 +01:00
Léa Saviot
97d7955d15 [poincare] Alpha lock when renaming function 2018-11-23 12:04:08 +01:00
Émilie Feral
90befab6ce [shared] Change name: StorageExpressionModel::expression --> expressionReduced 2018-11-23 12:04:08 +01:00
Léa Saviot
2f98a14de2 [apps] Some deutch translation 2018-11-23 12:04:07 +01:00
Léa Saviot
ef4fae251e [apps/graph] Specific error pop ups when renaming function 2018-11-23 12:04:07 +01:00
Léa Saviot
0670057f90 [apps/graph] Destroy variable record with same name when renaming func 2018-11-23 12:04:06 +01:00
Léa Saviot
be195ce70e [apps/graph] Fix storage pointers that expired 2018-11-23 12:04:04 +01:00
Léa Saviot
9bfaed583d [apps/escher/ion] Remove Graph memoized models on storage change 2018-11-23 12:04:03 +01:00
Émilie Feral
fc9b65e2b0 [graph] Fix IntersectionGraphController banner 2018-11-23 12:04:03 +01:00
Émilie Feral
e8b58a2b5b [shared] Create ExpiringPointer: in DEBUG, check that pointers to
memoized functions are not used when invalid
2018-11-23 12:04:03 +01:00
Émilie Feral
344351f5c2 [shared] StorageCartesianFunction: fix nextIntersection to avoid taking
2 function pointers (indeed, 2 functions pointers can not live at the
same time. They are soon to be ExpiringPointer)
2018-11-23 12:04:03 +01:00
Émilie Feral
c551bd89ab [graph] Fix assert in CalculationGraphController 2018-11-23 12:04:03 +01:00
Émilie Feral
a063b00fb7 [graph] StorageDerivativeParameterController &
StorageValuesFunctionParameterController titles cannot be computed
before being in the responder chain (they need to access
app()->functionStore())
2018-11-23 12:04:03 +01:00
Émilie Feral
4b44dd701d [graph] Unable to delete functions from function app 2018-11-23 12:04:03 +01:00
É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