Commit Graph

389 Commits

Author SHA1 Message Date
Léa Saviot
4bbda406de [unicode] Use Poincare::SerializationHelper::CodePoint 2019-04-12 15:16:53 +02:00
Léa Saviot
82d5ff7799 [ion/unicode] Clean special code points 2019-04-12 15:16:53 +02:00
Émilie Feral
596f0c297e [sequence] Fix Sequence::isDefined 2019-04-12 15:16:53 +02:00
Émilie Feral
751361fb0b [sequence] Fix bug: number of curves in graph is the number of active
functions
2019-04-12 15:16:53 +02:00
Émilie Feral
549ed911d4 [sequence] Sequence: factorize InitialConditionModels 2019-04-12 15:16:52 +02:00
Émilie Feral
7c359a03a9 [sequence] Fix Toolbox: sequence fullName is for example "u.seq" which
cannot be compare to "u"
2019-04-12 15:16:52 +02:00
Émilie Feral
c93e021045 [apps/graph][apps/sequence] ListParameterController is a
ListViewDataSource instead of a SimpleListViewDataSource (indeed, each
cell has a specific type)
2019-04-12 15:16:52 +02:00
Émilie Feral
71195240e2 [shared] Change name of classes:
FunctionRecordData --> FunctionRecordDataBuffer
CartesianFunctionRecordData --> CartesianFunctionRecordDataBuffer
SequenceRecordData --> SequenceRecordDataBuffer
2019-04-12 15:16:52 +02:00
Émilie Feral
d0665d8558 [shared] Clean class names containing storage 2019-04-12 15:16:52 +02:00
Émilie Feral
de41064a47 [apps/shared] Change names:
Sequence::DefinitionHandle --> Sequence::DefinitionModel
Sequence::FirstInitialConditionHandle -->
Sequence::FirstInitialConditionModel
Equation::Handle--> Equation::Model
2019-04-12 15:16:52 +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
653bdd6cdb [sequence] Add Poincare::Symbol::SpecialSymbols::UnknownN used in
Sequence
2019-04-12 15:16:52 +02:00
Émilie Feral
3cd28aac6d [sequence] Make tests build 2019-04-12 15:16:52 +02:00
Émilie Feral
9efeab98c4 [sequence] Optimize size of Sequence meta data 2019-04-12 15:16:52 +02:00
Émilie Feral
5b89c1caa9 [sequence] Implement specific setExpressionContent for Sequence model 2019-04-12 15:16:52 +02:00
Émilie Feral
634972a724 [sequence] SequenceStore returns Sequence * instead of
ExpiringPointer<Sequence>

SequenceStore keep all its Sequences in an array which fix Sequence
addresses
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
af5a9aa7b3 [sequence] Make SequenceStore inherit from StorageFunctionStore 2019-04-12 15:16:52 +02:00
Émilie Feral
c5158ea11e [sequence] Make Sequence inherit from StorageFunction 2019-04-12 15:16:52 +02:00
Léa Saviot
06269d5349 [unicode] Fix portuguese literals 2019-04-12 15:16:52 +02:00
Léo Solé
e4526124f9 [unicode] Fix Spanish literals 2019-04-12 15:16:52 +02:00
Léo Solé
387cf996c0 [unicode] Add accents in french litterals 2019-04-12 15:16:52 +02:00
Léa Saviot
43031928c3 Remove max/min inline from KDCoordinate header 2019-04-12 15:16:51 +02:00
Léa Saviot
b6eb663f53 [ion/kandinsky] Move unicode to ion 2019-04-12 15:16:51 +02:00
Léa Saviot
63d7155376 Remove Ion::Charset 2019-04-12 15:16:50 +02:00
Léa Saviot
db54c5bd27 [apps/poincare] Replace CharLayouts with CodePointLayouts 2019-04-12 15:16:50 +02:00
Romain Goyet
4f1d74f44b [build] Use an out-of-tree build 2019-03-06 15:00:59 +01:00
Émilie Feral
7b5f3c570d [poincare] Change the way Expression are built 2019-02-21 11:29:35 +01:00
Émilie Feral
ac6f23684d [poincare] Clean Expression and Layout builders
Before: Opposite(Opposite(Rational(1))) misleadingly created the
expression "-1"; now, Opposite::Builder(Opposite::Builder(Rational(1)))
creates "--1"
2019-02-21 11:29:35 +01:00
Ruben Dashyan
faae55eb51 [escher/scroll_view] Replace setShowsIndicators by setDecoratorType 2019-02-18 16:49:58 +01:00
Léa Saviot
869e534b4b [apps] MAke some InteractiveCurveViewRangeDelegate methods const 2019-01-10 11:42:05 +01:00
Léa Saviot
5d1ef0f3f0 [apps/sequence] Use first ranks when computing graph range
Put two sequences u(n+1)=u(n) and v(n+1) = v(n), u(100) = 50, v(50) = 8.
Basic settings computed the x range as [0,10] before, now it is
[50,110].
2019-01-10 11:42:05 +01:00
Léa Saviot
6720ad7b38 [apps] Rename interestingXRange as interestingXHalfRange 2019-01-10 11:42:05 +01:00
Léa Saviot
17a9388623 [apps/sequence] Clean GraphController 2019-01-10 11:42:05 +01:00
Émilie Feral
ecf3f2ea0f [poincare] Create a a flag on Expression that is set when the
approximation encouters a complex value

All approximation methods take the complex format into account.
2019-01-10 11:42:04 +01:00
Léa Saviot
f2310a8814 [apps] Change CurveViewRange::computeGridUnit parameters 2019-01-10 11:42:02 +01:00
Léa Saviot
cea413e91d [apps] Fix Orthonormal setting in graphs
It was not perfectly orthormal.
2019-01-10 11:42:02 +01:00
Léa Saviot
531b555949 [apps/sequence] Fix method that should be virtual pure
The following scenaro crashed in DEBUG=1 and did not resize the window
correctly in DEBUG=0.
Got to sequence
u(n)=n
Go to sequence/graph
Remove yAuto
Go to sequence/list
v(n) = cos(n)
remove u(n)
Go to sequence/graph
2019-01-10 11:42:02 +01:00
Léa Saviot
e37a4167b9 [apps/sequence] Add margin to sequence name 2019-01-10 11:42:02 +01:00
Léa Saviot
3595a8e628 [apps/sequence] Align sequence title and expression baselines 2019-01-10 11:42:02 +01:00
Léa Saviot
d87c0669cb [apps/sequence] Fix title cell alignments
Add margin right of "un="
Align the text vertically so that the equal is vertically centered in
the cell. This makes the left and right cell baselines be approximately
at the same level for basic sequences definition (un = 1, un=1/2, ...)
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
Léa Saviot
d3cae9d1aa [apps/sequence] Harmonize row height in sequence list 2019-01-10 11:42:02 +01:00
Léa Saviot
17da615a54 [apps/sequence] Don't draw a separator between sequence name and value 2019-01-10 11:42:02 +01:00
Léa Saviot
3b2eaa5dea [apps/sequence] Sequence title cells are aligned to the right 2019-01-10 11:42:02 +01:00
Léa Saviot
55de9ab111 [apps/sequence] Add '=' after sequence titles 2019-01-10 11:42:02 +01:00
Léa Saviot
56504525c9 [Makfile] Remove superfluous test_objs
We now build all objects even for test, so we do not need most of the
previous test_objs
2018-12-19 09:44:58 +01:00
Émilie Feral
78e4c9066f [shared] Revert: Use Simplify instead of Reduce
To approximate an expression, it is more precise to
approximate its simplified form than its reduced form. Indeed, we want
to minimize the number of nodes in the expression before approximating.
For instance, a/b has fewer nodes than a*b^-1.
2018-12-18 09:39:43 +01:00