Commit Graph

24 Commits

Author SHA1 Message Date
Arthur Camouseigt
1d71a14d2c [Context] Modifying context method signature for sequences
This allows sequences to be used in functions by calling u(x)

Change-Id: I336e84a19bf9b3dd0f2e435d1aaebda3c9e71ec8
2020-11-04 15:32:58 +01:00
Arthur Camouseigt
3dca515441 [VariableBox] Added sequences to the variable box
It is now possible to call the value of a defined sequence anywhere.

Change-Id: I1990e93c50f9add175b7ea274e07004ba63289e5
2020-11-04 15:32:58 +01:00
Arthur Camouseigt
c006ed7b10 [Sequence & Shared] Changed the location of various files
Moved sequences files to shared in order to allow the system to compile
without the app sequence.

Change-Id: Ia8349814a72776244acc41af964059f24e58cff0
2020-11-04 15:32:58 +01:00
Léa Saviot
9d6bab092f [poincare/parser] Identifier is not already function -> symbol
We check the context: if an identifier is already a function, we
interpret it as such, otherwise it is a symbol.
This way, in the Equation app, x(x+1) is interpreted as x*(x+1)
2020-02-12 15:13:21 +01:00
Ruben Dashyan
c7f15385a6 [apps/shared/global_context] Remove ExpressionFromSymbolRecord and ExpressionFromFunctionRecord 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
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
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
e80512f362 [poincare] Context::expressionForSymbol takes a boolean notifying that
we want a copy or not
2018-11-23 12:04:08 +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
91d6955ddf [apps] The apps displays a warning when storage is full 2018-11-23 12:04:04 +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
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
c95136c9b5 [apps] Fix Globalcontext::setExpressionForSymbol 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