Commit Graph

3060 Commits

Author SHA1 Message Date
É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
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
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
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
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
a214bbdc5a [unicode] Use unicode when dealing with chars - Part 2 2019-04-12 15:16:51 +02:00
Léa Saviot
6251a8ac33 Use correct unicode symbols 2019-04-12 15:16:51 +02:00
Léa Saviot
8403eb4704 [apps] In consexpr char *, empty layouts should be inserted using /x11 2019-04-12 15:16:51 +02:00
Léa Saviot
646931b3b5 [text_area] Fix Text::Position use with unicode
A glyph offset is not equivalent to a code point offset since a code
point can be several glyphs long.
2019-04-12 15:16:51 +02:00
Léa Saviot
1f76cd65f3 [apps] Fix SumGraphController use of CodePointString 2019-04-12 15:16:51 +02:00
Léa Saviot
eb80005bde [apps] Calling draftTextLength should be done only if text field is editing 2019-04-12 15:16:51 +02:00
Léa Saviot
aac78ca32a [escher/ion] Standard methods in UTF8Helper used in text_area
String manipulations need to be done using an UTF8 decoder, but some
manipulations can be optimized if the code points we manipulate are only
one char long. These optimizations are done inside UTF8Helper methods.
2019-04-12 15:16:51 +02:00
Léa Saviot
7020ecef57 [apps/escher] Rename cursorTextLocation as cursorLocation 2019-04-12 15:16:51 +02:00
Léa Saviot
ef4725f8b9 [apps/regression] Add X bar and Y bar 2019-04-12 15:16:51 +02:00
Léa Saviot
43031928c3 Remove max/min inline from KDCoordinate header 2019-04-12 15:16:51 +02:00
Léa Saviot
f43170e7cf [apps] Remove compilation warning about unused variable 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
519e12fd26 [tests] Fix unicode for tests 2019-04-12 15:16:51 +02:00
Léa Saviot
5142c071df [escher] Fix text inputs so they use UTF8 2019-04-12 15:16:51 +02:00
Léa Saviot
f90e709201 [poincare/utf8_decoder] nextCodePointPointer is now stringPosition 2019-04-12 15:16:51 +02:00
Léa Saviot
8d759c0b3b [unicode] Use the UTF8Decoder to scan const char * 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
Léa Saviot
3156f92baf [kandinsky/font] Fix rebase on master 2019-04-12 15:16:50 +02:00