Commit Graph

613 Commits

Author SHA1 Message Date
Léa Saviot
00dcffbc69 [apps] Return uninitialized exp if record type does not match exp type
In global context. This fixes the computation of a->a(a) in calculation,
which crashed.
2018-11-23 12:04:02 +01:00
Léa Saviot
17f33b8797 [apps] Coding style 2018-11-23 12:04:02 +01:00
Émilie Feral
14fe52023b [shared] StorageFunctionGraphController: function pointer life expires
when another function is called
2018-11-23 12:04:02 +01:00
Léa Saviot
a9f32932eb [apps] If checksum changes, reset StorageExpModelStore memoized models 2018-11-23 12:04:02 +01:00
Léa Saviot
661903f12e [apps]Fix header guardian 2018-11-23 12:04:02 +01:00
Léa Saviot
4582975661 Remove more compilation warnings 2018-11-23 12:04:02 +01:00
Émilie Feral
81e377d8f2 [shared] StorageExpressionModel: Fix memoization routine 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
Émilie Feral
3399ad5411 [shared] StorageExpressionModel: fix isEmpty 2018-11-23 12:04:02 +01:00
Léa Saviot
be2e674b57 [apps] remove compilation warnings 2018-11-23 12:04:02 +01:00
Émilie Feral
e4e19b3b74 [sahred] StorageCartesianFunction: iterate on colors 2018-11-23 12:04:02 +01:00
Émilie Feral
27e0d5b117 [shared] StorageCartesianFunction: fix DefaultName 2018-11-23 12:04:02 +01:00
Léa Saviot
ede20db6b9 [apps] OK icon in graphs is in the top right corner
It doesn't move when the banner height changes
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
Léa Saviot
b3396e6be0 [apps] Fix StorageFunction::nameWithArgument return value 2018-11-23 12:04:02 +01:00
Léa Saviot
03f5ec3ca1 [apps] Fix strlcpy buffer sizes 2018-11-23 12:04:02 +01:00
Émilie Feral
bdef6cc85a [shared] StorageCartesianFunction: make first default names f, g, h, p 2018-11-23 12:04:02 +01:00
Émilie Feral
1808629c30 [shared] StorageCartesianFunction: DefaultName is base name 2018-11-23 12:04:02 +01:00
Émilie Feral
23e9827524 [shared] GlobalContext: change name RecordBaseNameIsFree -->
SymbolAbstractNameIsFree
2018-11-23 12:04:01 +01:00
Émilie Feral
2180588484 [graph] StorageCartesianFunctionStore: enable to remove all Functions 2018-11-23 12:04:01 +01:00
Léa Saviot
93632fce0e [apps/shared] Use StorageFunction::k_maxNameWithArgumentSize 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
aa46899af1 [apps] Fix StorageCartesianFunction::derivativeNameWithArgument 2018-11-23 12:04:01 +01:00
Léa Saviot
a9914c8ca1 [apps] By default, StorageCartesianFunction's displayDerivative is false 2018-11-23 12:04:01 +01:00
Léa Saviot
46d40602e0 [apps/shared] Fix wrong assertions 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
393bc6c233 [apps] Fix Function creation from Calculation 2018-11-23 12:04:01 +01:00
Émilie Feral
41c9e90cce [shared] StorageCartesianFunction: fix DefaultName 2018-11-23 12:04:01 +01:00
Émilie Feral
3cedfb84e9 [shared] StorageCartesianFunction: add a method
derivativeNameWithArgument
2018-11-23 12:04:01 +01:00
Émilie Feral
d30e508bcd [shared] Temporarily duplicate shared controllers to take a
StorageFunction instead of a Function

The original controllers are to be deleted when Sequence uses Storage
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
8c1f0f4cb2 [shared] Fix StorageExpressionModel: inherits from Record 2018-11-23 12:04:01 +01:00
Émilie Feral
e15521c1d7 [shared] Makefile: build storage_expression_model 2018-11-23 12:04:01 +01:00
Émilie Feral
de25fddc88 [shared] StorageFunction: fix 2018-11-23 12:04:01 +01:00
Émilie Feral
2cae9938fd [shared] Fix GlobalContext 2018-11-23 12:04:01 +01:00
Émilie Feral
c51bef1e3d [shared] StorageExpressionModel: add a method to get the Expression
without replacing symbols
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
5a4b224d1e [shared] Fix StorageFunctionListController 2018-11-23 12:04:01 +01:00
Émilie Feral
c6031536ce [shared] Create a StorageListParameterController 2018-11-23 12:04:01 +01:00
Émilie Feral
d4024da330 [shared] Fix StorageExpressionModelListController 2018-11-23 12:04:01 +01:00
Émilie Feral
363eeb7162 [shared] StorageExpressionModel: add the method text() 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
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
8ec6673aee [shared] Fix storage_function_store without template 2018-11-23 12:04:01 +01:00
Léa Saviot
f3c4abe1c2 [apps/poincare] Use char constructor of Symbol instead of string 2018-11-23 12:04:01 +01:00
Émilie Feral
8861de6fe5 [shared] New StorageExpressionModelStore with memoization of 5 models 2018-11-23 12:04:01 +01:00
Émilie Feral
8e13ba32ee [shared] Clean old_storage_expression_model_store 2018-11-23 12:04:01 +01:00