Commit Graph

7764 Commits

Author SHA1 Message Date
Émilie Feral
2af3efaba0 [probability] ExponentialLaw: fix
cumulativeDistributiveFunctionAtAbscissa for value < 0
2019-05-03 15:53:20 +02:00
Ruben Dashyan
f3c365a0df [ion/shared/events] Correct text for Ion::Event::EE 2019-05-03 15:53:20 +02:00
Émilie Feral
cc842d5ee7 [shared] Clean unused method maxInt in ExpressionModelHandle 2019-05-03 15:53:20 +02:00
Émilie Feral
238d0ca63d [sequence] Fix Sequence::isDefined 2019-05-03 15:53:20 +02:00
Émilie Feral
2651e911d5 [sequence] Fix bug: number of curves in graph is the number of active
functions
2019-05-03 15:53:20 +02:00
Émilie Feral
96ba100e16 [sequence] Sequence: factorize InitialConditionModels 2019-05-03 15:53:20 +02:00
Émilie Feral
f713551d46 [code] Get rid of unused member variable in VariableBoxController 2019-05-03 15:53:20 +02:00
Émilie Feral
e1450676e0 [shared] ListParameterController: reinit hold record when removing it
from the storage
2019-05-03 15:53:20 +02:00
Émilie Feral
4e823e67b6 [sequence] Fix Toolbox: sequence fullName is for example "u.seq" which
cannot be compare to "u"
2019-05-03 15:53:20 +02:00
Émilie Feral
336c1c8d73 [apps/graph][apps/sequence] ListParameterController is a
ListViewDataSource instead of a SimpleListViewDataSource (indeed, each
cell has a specific type)
2019-05-03 15:53:20 +02:00
Émilie Feral
a891fff930 [shared] Change name of classes:
FunctionRecordData --> FunctionRecordDataBuffer
CartesianFunctionRecordData --> CartesianFunctionRecordDataBuffer
SequenceRecordData --> SequenceRecordDataBuffer
2019-05-03 15:53:20 +02:00
Émilie Feral
578c65d5dd [shared] Clean class names containing storage 2019-05-03 15:53:20 +02:00
Émilie Feral
5a5a181086 [apps/shared] Change names:
Sequence::DefinitionHandle --> Sequence::DefinitionModel
Sequence::FirstInitialConditionHandle -->
Sequence::FirstInitialConditionModel
Equation::Handle--> Equation::Model
2019-05-03 15:53:20 +02:00
É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
ad8fea46c3 [shared] Clean unused classes 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
be76784bb4 [sequence] Add Poincare::Symbol::SpecialSymbols::UnknownN used in
Sequence
2019-05-03 15:53:20 +02:00
Émilie Feral
dad5fc7f95 [sequence] Make tests build 2019-05-03 15:53:20 +02:00
Émilie Feral
4c1e4cd8f4 [sequence] Optimize size of Sequence meta data 2019-05-03 15:53:20 +02:00
Émilie Feral
c085ab5f1e [sequence] Implement specific setExpressionContent for Sequence model 2019-05-03 15:53:20 +02:00
Émilie Feral
cff3d56f22 [sequence] SequenceStore returns Sequence * instead of
ExpiringPointer<Sequence>

SequenceStore keep all its Sequences in an array which fix Sequence
addresses
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
184d2f0802 [shared] ExpiringPointer: add constructor to enable pointer casting 2019-05-03 15:53:20 +02:00
Émilie Feral
44a5d02ddf [shared][graph] Factorize ListController baseline computation in
StorageFunctionListController
2019-05-03 15:53:20 +02:00
Émilie Feral
7fdc8a7c1b [shared] Factorize 'storageDidChangeForRecord' in StorageFunctionApp 2019-05-03 15:53:20 +02:00
Émilie Feral
4a56e8c127 [sequence] Make SequenceStore inherit from StorageFunctionStore 2019-05-03 15:53:20 +02:00
Émilie Feral
3c3ddec0db [sequence] Make Sequence inherit from StorageFunction 2019-05-03 15:53:20 +02:00
Émilie Feral
3088a4ee23 [apps/shared] Split ExpressionModelHandle into ExpressionModelHandle and
SingleExpressionModelHandle (in perspective of Sequence model who will
be composed of 3 ExpressionModelHandle)
2019-05-03 15:53:20 +02:00
Émilie Feral
6566b08400 [solver] Fix tests with new Equation API 2019-05-03 15:53:20 +02:00
Émilie Feral
064083485d [poincare] Test: correctly clean the storage after tests 2019-05-03 15:53:20 +02:00
Émilie Feral
09bc4f27e9 [ion] Add Macro to log the storage content 2019-05-03 15:53:20 +02:00
Émilie Feral
2e6e7f93f7 [solver] Make Solver::ListController inherits from
StorageExpressionModelListController instead of
ExpressionModelListController
2019-05-03 15:53:20 +02:00
Émilie Feral
d94838a4c8 [apps/shared] Make StorageExpressionModelListController
SelectableTableViewDelegate instead of StorageFunctionListController
2019-05-03 15:53:20 +02:00
Émilie Feral
f8e9fdef65 [solver] EquationListView: clean setBraceStyle to always re-layout 2019-05-03 15:53:20 +02:00
Émilie Feral
be76742bc3 [apps/shared] StorageExpressionModelListController: avoid useless
invalidation of memoization
2019-05-03 15:53:20 +02:00
Émilie Feral
fdad9334c3 [apps/shared] StorageExpressionModelListController: change name
reinitExpression--> reinitSelectedExpression
2019-05-03 15:53:20 +02:00
Émilie Feral
a950cb9998 [apps/shared] StorageExpressionModelListController: switching from
no-selected-cell to first-cell-selected should not make the memoization
shift
2019-05-03 15:53:20 +02:00
Émilie Feral
178a064c29 [apps/shared] ExpressionModelHandle: specify the symbol that is turned
into Unknown X in Derived classes
2019-05-03 15:53:20 +02:00
Émilie Feral
b4c8c53982 [solver] Make EquationStore inherits from StorageExpressionModelStore 2019-05-03 15:53:20 +02:00
Émilie Feral
39709e53da [solver] Make Equation inherits from ExpressionModelHandle instead of
ExpressionModel
2019-05-03 15:53:20 +02:00
Émilie Feral
cc0ae5559b [apps/shared] Change name StorageExpressionModel -->
ExpressionModelHandle
2019-05-03 15:53:20 +02:00
Émilie Feral
067577ea02 [escher] Avoid unnecessary relayouts 2019-05-03 15:53:20 +02:00
Léa Saviot
69aad40c89 [poincare] Make GridLayout rendering faster 2019-05-03 15:53:20 +02:00
Léa Saviot
8466d5b124 [poincare] Rational::createLyt gives single CodePointLyt if possible
This reduces the size of created layouts, thus allowing more layouts to
be created, as there is a limit on the number of layout in a lyout field
2019-05-03 15:53:20 +02:00
Léa Saviot
210ec62cab [poincare] Do not simplify random nor randint
For instance, random()+random() is simplified into random()+random(),
not 2*random()
2019-05-03 15:53:20 +02:00
Léa Saviot
df57d6330d [poincare/test] Fix test due to bigger printable decimals
The max size of printed float is calculated to make 1.121212..ᴇ-308 fit
with 15 significant digits, but ᴇ now uses more than one char, which
makes more floats printable.
2019-05-03 15:53:20 +02:00
Léa Saviot
eea6e702eb [kandinsky] Fix font test 2019-05-03 15:53:20 +02:00
Léa Saviot
928aaa2575 [poincare] Add tests on random 2019-05-03 15:53:20 +02:00
Léa Saviot
b3d0de564a [coding style] Small inlining 2019-05-03 15:53:20 +02:00
Léa Saviot
d0300c0e7f [apps/settings] Reload the title bar when changing language
Before, the "Settings" title would not be immediately translated into
the new language.
2019-05-03 15:53:20 +02:00