É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
6a920391b9
[shared] ExpiringPointer: add constructor to enable pointer casting
2019-04-12 15:16:52 +02:00
Émilie Feral
226aaef448
[shared][graph] Factorize ListController baseline computation in
...
StorageFunctionListController
2019-04-12 15:16:52 +02:00
Émilie Feral
a8499a055e
[shared] Factorize 'storageDidChangeForRecord' in StorageFunctionApp
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
Émilie Feral
a7192df59c
[apps/shared] Split ExpressionModelHandle into ExpressionModelHandle and
...
SingleExpressionModelHandle (in perspective of Sequence model who will
be composed of 3 ExpressionModelHandle)
2019-04-12 15:16:52 +02:00
Émilie Feral
d4565442d9
[solver] Fix tests with new Equation API
2019-04-12 15:16:52 +02:00
Émilie Feral
0d8d561f5c
[poincare] Test: correctly clean the storage after tests
2019-04-12 15:16:52 +02:00
Émilie Feral
adc30a8dcd
[ion] Add Macro to log the storage content
2019-04-12 15:16:52 +02:00
Émilie Feral
2ba077af28
[solver] Make Solver::ListController inherits from
...
StorageExpressionModelListController instead of
ExpressionModelListController
2019-04-12 15:16:52 +02:00
Émilie Feral
d6f5f1bbea
[apps/shared] Make StorageExpressionModelListController
...
SelectableTableViewDelegate instead of StorageFunctionListController
2019-04-12 15:16:52 +02:00
Émilie Feral
83153dd511
[solver] EquationListView: clean setBraceStyle to always re-layout
2019-04-12 15:16:52 +02:00
Émilie Feral
d9eb8163bb
[apps/shared] StorageExpressionModelListController: avoid useless
...
invalidation of memoization
2019-04-12 15:16:52 +02:00
Émilie Feral
0af6132016
[apps/shared] StorageExpressionModelListController: change name
...
reinitExpression--> reinitSelectedExpression
2019-04-12 15:16:52 +02:00
Émilie Feral
06b364d9f4
[apps/shared] StorageExpressionModelListController: switching from
...
no-selected-cell to first-cell-selected should not make the memoization
shift
2019-04-12 15:16:52 +02:00
Émilie Feral
64978202b4
[apps/shared] ExpressionModelHandle: specify the symbol that is turned
...
into Unknown X in Derived classes
2019-04-12 15:16:52 +02:00
Émilie Feral
0f37ee25f7
[solver] Make EquationStore inherits from StorageExpressionModelStore
2019-04-12 15:16:52 +02:00
Émilie Feral
53ee0607a1
[solver] Make Equation inherits from ExpressionModelHandle instead of
...
ExpressionModel
2019-04-12 15:16:52 +02:00
Émilie Feral
4be902be93
[apps/shared] Change name StorageExpressionModel -->
...
ExpressionModelHandle
2019-04-12 15:16:52 +02:00
Émilie Feral
cef106b23d
[escher] Avoid unnecessary relayouts
2019-04-12 15:16:52 +02:00
Léa Saviot
80e2879cb7
[poincare] Make GridLayout rendering faster
2019-04-12 15:16:52 +02:00
Léa Saviot
fbfbf5c845
[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-04-12 15:16:52 +02:00
Léa Saviot
1da8a5af52
[poincare] Do not simplify random nor randint
...
For instance, random()+random() is simplified into random()+random(),
not 2*random()
2019-04-12 15:16:52 +02:00
Léa Saviot
02f6a577ce
[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-04-12 15:16:52 +02:00
Léa Saviot
f638809ca5
[kandinsky] Fix font test
2019-04-12 15:16:52 +02:00
Léa Saviot
11b26bfa16
[poincare] Add tests on random
2019-04-12 15:16:52 +02:00
Léa Saviot
92574ab0a3
[coding style] Small inlining
2019-04-12 15:16:52 +02:00
Léa Saviot
8ac2c80625
[apps/settings] Reload the title bar when changing language
...
Before, the "Settings" title would not be immediately translated into
the new language.
2019-04-12 15:16:52 +02:00
Léa Saviot
c5f555b8f1
[apps] Fix SumGraphController array size
2019-04-12 15:16:52 +02:00
Léa Saviot
2d83c2994c
[escher] Fix TextArea::handleEventWithText
...
It did not handle properly a new line (placed the cursor wrongly).
2019-04-12 15:16:52 +02:00
Léa Saviot
d98e1f44cd
[escher] Fix null termination for drawString in ScrollViewIndicator
2019-04-12 15:16:52 +02:00
Léa Saviot
1b6b94c4bc
[poincare/parser] Syntax error on combining code points
2019-04-12 15:16:52 +02:00
Léa Saviot
f39358423b
[escher/text_field] Fix rect dirtying in setText
...
The content of the buffers might no be initialized before the setText,
so we cannot use reloadRectFromPosition, as it requires to perform
stringSize, which needs valid content.
2019-04-12 15:16:52 +02:00
Léa Saviot
e6d8820c08
[unicode] Comment about avoiding accents in literals
2019-04-12 15:16:52 +02:00
Léa Saviot
d1d93fc3d6
[unicode] Prevent upper case letters with accents
2019-04-12 15:16:52 +02:00
Léa Saviot
693d7e0976
[unicode] Clean typography (accents, non present glyphs...)
2019-04-12 15:16:52 +02:00
Léa Saviot
2034103f54
[i18n] Remove duplicate entry
2019-04-12 15:16:52 +02:00
Léa Saviot
ab0af58d31
[unicode] Handle not properly written UTF8 in nextCodePoint
2019-04-12 15:16:52 +02:00
Léa Saviot
86f6e6e72b
[escher] Fix TextField::ContentView::setEditing
2019-04-12 15:16:52 +02:00
Léa Saviot
b1d18416e8
[escher] Fix buffer choice in TextField::glyphFrameAtPosition
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éa Saviot
7b5636f298
[unicode] Clean decoder use
2019-04-12 15:16:52 +02:00
Léo Solé
fd407ce3d9
[toolbox] Translate toolbox title in all languages
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
e5afda96c2
[poincare] Fix printFloat buffer legnths.
...
Some code points are not 1 byte long.
2019-04-12 15:16:51 +02:00