Commit Graph

36 Commits

Author SHA1 Message Date
Ruben Dashyan
c7f15385a6 [apps/shared/global_context] Remove ExpressionFromSymbolRecord and ExpressionFromFunctionRecord 2019-09-23 11:04:29 +02:00
Ruben Dashyan
abf5169edd [apps/shared/global_context] Remove reduandant record verifications
Expression::ExpressionFromAddress already handles this.
2019-09-23 11:04:29 +02:00
Ruben Dashyan
2a28b16e9b [apps/shared/global_context] Remove unused parameter in ExpressionForActualSymbol 2019-09-23 11:04:29 +02:00
Ruben Dashyan
ec9bf9b59b Remove unused parameter of Poincare::Context::setExpressionForSymbolAbstract 2019-09-23 11:04:29 +02:00
Ruben Dashyan
5f9464a548 [apps] In Shared, move cartesian_function.* to continuous_function.* 2019-09-20 17:11:42 +02:00
Ruben Dashyan
df2897925b Rename Shared::CartesianFunction to Shared::ContinuousFunction 2019-09-20 17:11:42 +02:00
Ruben Dashyan
70f96ee912 [apps/shared/global_context] Remove ExpressionFromRecord 2019-08-29 11:07:22 +02:00
Ruben Dashyan
84130236a8 [apps/shared/global_context] Inline SetExpressionForFunctionRecord 2019-08-29 11:07:22 +02:00
Ruben Dashyan
e385205992 [apps] VariableBoxController gets layouts through GlobalContext::LayoutForRecord 2019-08-29 11:07:21 +02:00
Léa Saviot
dcb5a061e9 [apps/poincare] Clearer method names 2019-08-27 17:24:57 +02:00
Léa Saviot
61cf762eef [poincare] Expression::ReductionContext 2019-08-08 16:29:37 +02:00
Émilie Feral
3c1e35ec04 [shared] Rename classes:
ExpressionModelHandle --> ExpressionModel
SingleExpressionModelHandle --> ExpressionModelHandle
StorageFunction --> Function
StorageCartesianFunction --> CartesianFunction
StorageFunctionApp --> FunctionApp
2019-04-12 15:16:52 +02:00
Émilie Feral
58f9a59d6e [ion] Move Storage extensions declaration in Storage class 2019-04-12 15:16:52 +02:00
Émilie Feral
ce4497fa25 [apps/sequence] Make controllers inherit from StorageFunction controllers when required 2019-04-12 15:16:52 +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