Léa Saviot
267d27f114
[poincare] Remove symbolic computation
2019-05-03 15:53:21 +02:00
Léa Saviot
b7b1710566
[apps] Clean apps/shared/expression_model_handle.cpp
2019-05-03 15:53:21 +02:00
Léa Saviot
a337bd260d
[unicode] Use Poincare::SerializationHelper::CodePoint
2019-05-03 15:53:21 +02:00
Léa Saviot
1c62550649
[apps] Removed unused static inline method
2019-05-03 15:53:21 +02:00
Léa Saviot
1d26e6da73
[ion/unicode] Clean special code points
2019-05-03 15:53:21 +02:00
Émilie Feral
cc842d5ee7
[shared] Clean unused method maxInt in ExpressionModelHandle
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
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
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
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
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
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
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
Léa Saviot
40c057f0ee
[apps] Fix SumGraphController array size
2019-05-03 15:53:20 +02:00
Léa Saviot
4c5251f04f
[unicode] Use unicode when dealing with chars - Part 2
2019-05-03 15:53:19 +02:00
Léa Saviot
47e9be2574
[apps] Fix SumGraphController use of CodePointString
2019-05-03 15:53:19 +02:00
Léa Saviot
bd2ea41fbe
[apps/escher] Rename cursorTextLocation as cursorLocation
2019-05-03 15:53:19 +02:00
Léa Saviot
496d346049
Remove max/min inline from KDCoordinate header
2019-05-03 15:53:19 +02:00
Léa Saviot
bbb10f1993
[ion/kandinsky] Move unicode to ion
2019-05-03 15:53:19 +02:00
Léa Saviot
5c39cab73e
[escher] Fix text inputs so they use UTF8
2019-05-03 15:53:19 +02:00
Léa Saviot
7a1fd68626
[poincare/utf8_decoder] nextCodePointPointer is now stringPosition
2019-05-03 15:53:19 +02:00
Léa Saviot
41afa92f10
[unicode] Use the UTF8Decoder to scan const char *
2019-05-03 15:53:19 +02:00
Léa Saviot
65e5adafac
Remove Ion::Charset
2019-05-03 15:53:19 +02:00
Émilie Feral
9eb672bb5f
[apps/shared] Fix
...
ExpressionFieldDelegateApp::layoutFieldDidReceiveEvent
Layouts have two potential serializations. For example,
HorizontalLayout(CharLayout(2), CharLayout(a)) can be serialized as:
"2a" and "2*a". In layoutFieldDidReceiveEvent, we want to check that the
longest serialisation is bounded by maxBufferSize. (We could have used
Layout::serializeParsedExpression but we don't to avoid parsing the
expression twice)
2019-03-11 13:20:08 +01:00
Romain Goyet
4f2c7a3763
[build] Update the i18n processing to fit the out-of-tree build
2019-03-06 15:00:59 +01: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
3d254b9ef1
[apps/shared/scrollable_exact_approximate_expressions_cell] Fix background
2019-02-18 16:49:58 +01:00
Ruben Dashyan
0943406263
Fix HistoryViewCell and ScrollableExactApproximateExxpressionsCell margins issue
...
Remove all margins from those cells.
Rather add margins to their respective subviews:
- ScrollableExpressionView
- ScrollableExactApproximateExpressionsView.
As a notable consequence, the distance in HistoryViewCell between its
subviews becomes 10 instead of 5.
In passing, replace
- Metric::HistoryHorizontalMargin = 10
- ScrollableExactApproximateExpressionsView::k_digitHorizontalMargin = 10
- HistoryViewCell::k_digitVerticalMargin = 5
- ScrollableExactApproximateExpressionsCell::k_margin = 5
by
- Metric::CommonSmallMargin = 5
- Metric::CommonLargeMargin = 10.
2019-02-18 16:49:58 +01:00
Ruben Dashyan
571967088e
[escher/scroll_view] Uniformize scroll bars frame across Epsilon
2019-02-18 16:49:58 +01:00