Commit Graph

25 Commits

Author SHA1 Message Date
Émilie Feral
57da4ea618 [shared] Rename classes:
ExpressionModelHandle --> ExpressionModel
SingleExpressionModelHandle --> ExpressionModelHandle
StorageFunction --> Function
StorageCartesianFunction --> CartesianFunction
StorageFunctionApp --> FunctionApp
2019-05-03 15:53:20 +02:00
Émilie Feral
15a4072fdc [ion] Move Storage extensions declaration in Storage class 2019-05-03 15:53:20 +02:00
Émilie Feral
2bc2506b60 [apps/sequence] Make controllers inherit from StorageFunction controllers when required 2019-05-03 15:53:20 +02:00
Émilie Feral
7b5f3c570d [poincare] Change the way Expression are built 2019-02-21 11:29:35 +01:00
Émilie Feral
e80512f362 [poincare] Context::expressionForSymbol takes a boolean notifying that
we want a copy or not
2018-11-23 12:04:08 +01:00
Émilie Feral
b44c5e6d05 [shared] Change name: StorageExpressionModel::expressionWithSymbol -->
expressionClone
2018-11-23 12:04:08 +01:00
Léa Saviot
0511f383d0 [apps] Add comment about variables that cannot overwrite functions 2018-11-23 12:04:06 +01:00
Léa Saviot
8b2c00d8ba [apps/poincare] Forbid variable creation with same name as existing func 2018-11-23 12:04:06 +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
bd52162b10 Fix typo 2018-11-23 12:04:04 +01:00
Émilie Feral
8770c9010a [poincare] Create Constant inheriting from SymbolAbstrac
pi, e and i are not symbols anymore but constant
2018-11-23 12:04:04 +01:00
Léa Saviot
91d6955ddf [apps] The apps displays a warning when storage is full 2018-11-23 12:04:04 +01:00
Léa Saviot
c2adbe28c5 [apps/global_context] Fix Pi evaluation 2018-11-23 12:04:02 +01:00
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
Émilie Feral
23e9827524 [shared] GlobalContext: change name RecordBaseNameIsFree -->
SymbolAbstractNameIsFree
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
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
Léa Saviot
5a9c0b1b84 [apps] GlobalCtxt::SetExpForFunctionRecord used in 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
Léa Saviot
f9ce06cc91 [apps] Function metadata are stored in Storage 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