Ruben Dashyan
7a633b1e75
[apps/sequence/sequence] SequenceModel's name method need not be virtual
2020-03-10 10:33:30 +01:00
Ruben Dashyan
fccd72b757
[apps/sequence/sequence] Do not memoize nameLayout
...
Fixes the following bug:
In the graph tab of the Sequence app, compute the sum of the terms of
a sequence from 1 to 9 and then from 1 to 10. The Layout is memoized
after the first time and mispositioned the second time since it is
not recomputed.
2020-03-10 10:33:30 +01:00
Léa Saviot
a3a1f86f8d
[apps] Add context parameter to fix tests
2020-02-12 15:13:21 +01:00
Ruben Dashyan
9480bcacd5
[apps/*/expression_model] Make expressionAddress private
2020-02-12 15:13:15 +01:00
Ruben Dashyan
278a247c34
[apps/sequence] Rename SequenceRecordDataBuffer to RecordDataBuffer
2019-09-20 17:11:42 +02:00
Ruben Dashyan
fd2961018c
[apps] In Shared::Function, rename FunctionRecordDataBuffer to RecordDataBuffer
2019-09-20 17:11:42 +02:00
Émilie Feral
f38c6ed3d1
[apps/shared] Move sumBetweenBounds from controller (SumGraphController)
...
to the models (Sequence or CartesianFunction) and
CartesianFunction::sumBetweenBounds takes into account the function
domain
2019-09-09 11:42:16 +02:00
Ruben Dashyan
9417a52167
[apps/*/function] Sequence implements parameterMessageName
2019-09-05 11:58:51 +02:00
Émilie Feral
f388fe7252
[apps] Use attribute "packed" on member variable directly instead of
...
using "pragma pack" to allow compiler optimization on one-byte object
accesses
2019-09-04 15:20:52 +02:00
Léa Saviot
c71ef7ff79
[apps/graph] Evaluation methods renaming
2019-08-29 11:07:22 +02:00
Léa Saviot
28a721e96e
[apps] Start fixing apps as cursor has new member variable
2019-08-29 11:07:22 +02:00
Ruben Dashyan
43d72e082f
[apps] Move sumBetweenBounds from Shared::Function to Shared::SumGraphController
2019-08-29 11:07:22 +02:00
Ruben Dashyan
4fef87ddb5
[apps/sequence/sequence] Replace sumBetweenBounds explicit definition by Poincare machinery
2019-08-29 11:07:22 +02:00
Ruben Dashyan
e03e7717e9
[apps/shared/expression_model] Mark updateNewDataWithExpression's Expression parameter as const
2019-08-29 11:07:22 +02:00
Ruben Dashyan
d20d0becc4
[apps/*/expression_model(_handle)] Remove unknownSymbol()
2019-08-29 11:07:21 +02:00
Ruben Dashyan
a8810ef066
Use UCodePointUnknownX instead of UCodePointUnknownN
2019-08-29 11:07:21 +02:00
Ruben Dashyan
ae21a592a1
[apps/*/expression_model_handle] Remove Symbol static method
2019-08-29 11:07:21 +02:00
Ruben Dashyan
7859308053
[apps/*/expression_model_handle] setContent uses virtual symbol() and unknownSymbol()
...
ExpressionModelHandle::setContent() does not need to be virtual anymore.
2019-08-29 11:07:21 +02:00
Ruben Dashyan
8b96901c06
[apps/*/expression_model_handle] Define virtual symbol and unknownSymbol methods
2019-08-29 11:07:21 +02:00
Émilie Feral
fb80cd3271
[apps] Object contained in the Storage might be unaligned. Make sure to
...
use emscripten unaligned type to avoid producing an alignment error on
emscripten platform.
2019-06-19 09:54:57 +02:00
Émilie Feral
cd688ab9cf
[apps] Force packing classes of objects contained in the Storage
...
If these classes are padded, we lose space in the Storage and the
Storage::checksum is computed on uninitialized values (corresponding to
the padding memory spaces)
2019-06-19 09:54:57 +02:00
Léa Saviot
1d26e6da73
[ion/unicode] Clean special code points
2019-05-03 15:53:21 +02:00
Émilie Feral
96ba100e16
[sequence] Sequence: factorize InitialConditionModels
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
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
be76784bb4
[sequence] Add Poincare::Symbol::SpecialSymbols::UnknownN used in
...
Sequence
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
2bc2506b60
[apps/sequence] Make controllers inherit from StorageFunction controllers when required
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
Léa Saviot
3595a8e628
[apps/sequence] Align sequence title and expression baselines
2019-01-10 11:42:02 +01:00
Léa Saviot
0a9edf8a43
[apps/sequence] Add cheat margin between sequence title and equal
2019-01-10 11:42:02 +01:00
Léa Saviot
11db7d5257
[apps/sequence] Remove equal char in sequence parameters
2019-01-10 11:42:02 +01:00
Émilie Feral
1fff98f1c4
[poincare] Change Expression methods' signature to work with const char
...
* symbol instead of char symbol
2018-11-23 12:03:58 +01:00
Émilie Feral
365b145cf3
[poincare] Change names: LayoutReference-->Layout
2018-09-18 16:29:44 +02:00
Émilie Feral
eaf6105438
[sequence] Fix Sequence with new Poincare API
2018-09-06 17:04:09 +02:00
Émilie Feral
e05709f097
[shared] Factorize FunctionStore in ModelStore<T> (for future
...
implementation of equation store)
2018-06-07 13:46:17 +02:00
Émilie Feral
cdfbc02499
[apps] Add a function "sumBetweenBounds()" on Function (sum of terms on
...
Sequence, Integral on CartesianFunction)
2018-01-30 18:19:27 +01:00
Émilie Feral
945d6df444
[apps] Fix typo: Explicite->Explicit
2017-12-20 17:41:03 +01:00
Émilie Feral
25a5748f85
[apps] Sequence: add a customizable initial rank in sequence
2017-12-20 17:41:03 +01:00
Émilie Feral
cb754ab6d5
[apps] Sequence: invalidate the context cache when the sequences are
...
redefined
2017-12-20 17:41:03 +01:00
Émilie Feral
032cafdb04
[apps] Sequence: enable to defined dependent sequences
2017-12-20 17:41:03 +01:00
Émilie Feral
2c06727f36
[apps] Simplify expressions in sequence and function applications
...
Change-Id: I2708934d3b5c90e8692e50d939b3a13028b8615e
2017-11-24 14:39:06 +01:00
Émilie Feral
fda382cc0d
[poincare] Change name: evaluate->approximate
...
Change-Id: I649a7c640190713dcf063a4148decd6038e62796
2017-11-24 13:31:44 +01:00
Émilie Feral
82e212e771
[poincare] Template for double
...
Change-Id: I7404bd5cefc9ef78a5dbd572c3874a557cded28e
2017-08-16 09:55:29 +02:00
Émilie Feral
832af9f9f4
[apps/sequence][apps/graph] Checksum takes into account whether the
...
function is active and its name
Change-Id: I790d9a793c512a686f21f1db4fc0848a16baea5c
2017-05-29 11:41:39 +02:00
Émilie Feral
1966b4648c
[escher] Increase textfield size to 100
...
Change-Id: I93400001a829e2ce313658e08bd5e97965b715fe
2017-05-29 10:49:56 +02:00
Émilie Feral
ba7d740a10
[apps/sequence][apps/graph] CRC should be called on sizes multiple of 4
...
Change-Id: I4a55c14e1418f730051252cabef324833279747f
2017-05-24 14:38:32 +02:00
Émilie Feral
69036ffe4d
[apps/sequence][apps/graph] Reimplement checksum to avoid risking
...
overflowing the stack
Change-Id: Ia2b70ceb174d70c20b0e7d635183a890629e4b24
2017-05-22 16:35:27 +02:00