Hugo Saint-Vignes
5bc19af196
[apps/shared] Revert to pack record
...
It appeared that without the packed keyword, the compiler did not handle
access to unaligned record data members, which leads to crashes on the
device.
Change-Id: I401f075e7f62458a4733baa8d81983d4be34b730
2020-11-04 14:45:35 +01:00
Hugo Saint-Vignes
0a2ededfcf
[apps/shared] Remove packed data members for RecordDataBuffer
...
Change-Id: I04ea5ccb4c15bda975bf5af178f07092c0387312
2020-11-04 14:45:34 +01:00
Ruben Dashyan
b54d5a31ba
[apps/shared/function] BaseNameCompliant returns a NameNotCompliantError
...
instead of a boolean
2020-02-12 15:13:26 +01:00
Ruben Dashyan
d476e7944d
[apps] Move assert to where it matters
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
Ruben Dashyan
f73c80daa3
[apps] Gather asserts about the size of function name with argument
2019-09-20 17:11:42 +02:00
Léa Saviot
0d2c20bceb
[apps/graph] Fix function renaming
...
Scenario: Funciton renamed f123456 would be saved as f12345 due to
buffer size problem
2019-09-09 13:30:09 +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
Léa Saviot
8726f1d621
[apps/graph] Display parametric name in the middle of values cell
2019-09-05 15:43:55 +02:00
Ruben Dashyan
9417a52167
[apps/*/function] Sequence implements parameterMessageName
2019-09-05 11:58:51 +02:00
Émilie Feral
aa1d1165e8
[apps/graph] Fix function name edition: the cursor is positioned right
...
after the '(' (bug due to the fact that θ takes 2 bytes)
2019-09-05 09:37:23 +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
Émilie Feral
a6ed400991
[apps/shared] Resolve conflict: function tmin and tmax are float instead
...
of double
2019-09-03 15:36:46 +02:00
Léa Saviot
4436967c57
[apps/go_to_param_cntrlr] Change parameter name according to func
2019-09-03 15:04:01 +02:00
Léa Saviot
c3ee6a71e7
[apps/graph] Fix computeYRange for polar/cartesian functions
...
Was very slow, compute only 1000 values to evaluate the yRange
2019-09-03 14:21:14 +02:00
Léa Saviot
fa413edc61
[apps/graph] fix banner view for polar and parametric
2019-08-30 15:04:27 +02:00
Léa Saviot
850170e33b
[apps/shared] computeYRange clips tMin..tMax to xMin..xMax if possible
2019-08-30 10:18:39 +02:00
Léa Saviot
a945c02edf
[poincare/Coordinate2D] Rename members x1 and x2
2019-08-29 11:07:22 +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
27b9ede90b
[apps/shared/function] nameWithArgument handles 2-char-long argument CodePoints
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
c2b8781983
[apps/*/function] Move implementation of evaluateAtAbscissa to CartesianFunction
2019-08-29 11:07:21 +02:00
Ruben Dashyan
5e365104ae
[apps/shared/function] Factor templatedApproximateAtAbscissa
2019-08-29 11:07:21 +02:00
Ruben Dashyan
b665e841ad
[apps] Remove arg parameter in Shared::Function::nameWithArgument and Shared::CartesianFunction::derivativeNameWithArgument
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
a891fff930
[shared] Change name of classes:
...
FunctionRecordData --> FunctionRecordDataBuffer
CartesianFunctionRecordData --> CartesianFunctionRecordDataBuffer
SequenceRecordData --> SequenceRecordDataBuffer
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
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
b266c4cbd1
[shared] Make a parent class to Function: ExpressionModel (factorize
...
code for furtur model Equation)
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
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
5c47f00ab3
[apps/shared] In Function, make m_expression private
...
Change-Id: I500f8e9ce53a1798fdf92bbc66ecdc867294a0a0
2017-05-31 11:54:54 +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
Émilie Feral
eb476610fc
[apps/sequence][apps/graph] Fix bug
...
Change-Id: I998421900b993099c16d19fa825f8e4d180ed22c
2017-05-19 11:35:27 +02:00
Émilie Feral
71284311bb
[escher] [apps] Implement app snapshot
...
Change-Id: I24d7eed7cef964af8be1c85222e758c297dc0da1
2017-05-18 14:16:41 +02:00
Émilie Feral
32d48fb94b
[apps/sequence][apps/graph] fix behaviour when deleting functions
...
Change-Id: Ieccc85887fa0077446aaf57fee105b7fd2f3bff9
2017-05-10 13:24:47 +02:00
Émilie Feral
e5dd0d8d7f
[apps/sequence] Fix error in copy assignment of sequence
...
Change-Id: If27924c6001a8d7011371336ffbaf012f9d8bbc9
2017-05-10 11:33:25 +02:00
Émilie Feral
0b9abfa869
[apps/sequence] Unable linked sequence (return NAN when evaluate)
...
Change-Id: I0024e3912bb038343413bcfea78fc4cf18a739f7
2017-05-10 11:17:32 +02:00
Émilie Feral
0dfbf3ade3
[apps] Rule of 5 (2)
...
Change-Id: I62eebed201a9f61b3f89233fda4e714f0bab0db7
2017-05-09 14:12:13 +02:00
Émilie Feral
024e55abeb
[apps][escher] Delete magic numbers
...
Change-Id: If7a589d9f02895fc1b2e8b496133ab11381e733c
2017-04-14 18:30:58 +02:00
Émilie Feral
a773228657
[apps/sequence] In model, use float buffers to avoid recomputing all the
...
sequence to find a recurrent sequence value at an abscissa n
Change-Id: Ic476a5065bbf7aa45c06aa3e9b4d3caa79dd18af
2017-04-14 13:46:21 +02:00