Commit Graph

7732 Commits

Author SHA1 Message Date
Émilie Feral
d94838a4c8 [apps/shared] Make StorageExpressionModelListController
SelectableTableViewDelegate instead of StorageFunctionListController
2019-05-03 15:53:20 +02:00
Émilie Feral
f8e9fdef65 [solver] EquationListView: clean setBraceStyle to always re-layout 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
Émilie Feral
067577ea02 [escher] Avoid unnecessary relayouts 2019-05-03 15:53:20 +02:00
Léa Saviot
69aad40c89 [poincare] Make GridLayout rendering faster 2019-05-03 15:53:20 +02:00
Léa Saviot
8466d5b124 [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-05-03 15:53:20 +02:00
Léa Saviot
210ec62cab [poincare] Do not simplify random nor randint
For instance, random()+random() is simplified into random()+random(),
not 2*random()
2019-05-03 15:53:20 +02:00
Léa Saviot
df57d6330d [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-05-03 15:53:20 +02:00
Léa Saviot
eea6e702eb [kandinsky] Fix font test 2019-05-03 15:53:20 +02:00
Léa Saviot
928aaa2575 [poincare] Add tests on random 2019-05-03 15:53:20 +02:00
Léa Saviot
b3d0de564a [coding style] Small inlining 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
3f0bdc6630 [escher] Fix TextArea::handleEventWithText
It did not handle properly a new line (placed the cursor wrongly).
2019-05-03 15:53:20 +02:00
Léa Saviot
d4feebc2c6 [escher] Fix null termination for drawString in ScrollViewIndicator 2019-05-03 15:53:20 +02:00
Léa Saviot
a2451aa104 [poincare/parser] Syntax error on combining code points 2019-05-03 15:53:20 +02:00
Léa Saviot
07b22f44d2 [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-05-03 15:53:20 +02:00
Léa Saviot
5494cea1c7 [unicode] Comment about avoiding accents in literals 2019-05-03 15:53:20 +02:00
Léa Saviot
b243fd1a99 [unicode] Prevent upper case letters with accents 2019-05-03 15:53:20 +02:00
Léa Saviot
d2b9bdd616 [unicode] Clean typography (accents, non present glyphs...) 2019-05-03 15:53:20 +02:00
Léa Saviot
bf3e4b0f4b [i18n] Remove duplicate entry 2019-05-03 15:53:20 +02:00
Léa Saviot
35f65ae255 [unicode] Handle not properly written UTF8 in nextCodePoint 2019-05-03 15:53:20 +02:00
Léa Saviot
cbb1055218 [escher] Fix TextField::ContentView::setEditing 2019-05-03 15:53:20 +02:00
Léa Saviot
b2a97cfc7a [escher] Fix buffer choice in TextField::glyphFrameAtPosition 2019-05-03 15:53:20 +02:00
Léa Saviot
4f63b16e0a [unicode] Fix portuguese literals 2019-05-03 15:53:20 +02:00
Léa Saviot
e338577793 [unicode] Clean decoder use 2019-05-03 15:53:20 +02:00
Léo Solé
0f52a4293c [toolbox] Translate toolbox title in all languages 2019-05-03 15:53:20 +02:00
Léo Solé
e74c5f8039 [unicode] Fix Spanish literals 2019-05-03 15:53:19 +02:00
Léo Solé
3038073d3b [unicode] Add accents in french litterals 2019-05-03 15:53:19 +02:00
Léa Saviot
699f6e218d [poincare] Fix printFloat buffer legnths.
Some code points are not 1 byte long.
2019-05-03 15:53:19 +02:00
Léa Saviot
a7e7319e4e [ion/storage] fix use of unicode method 2019-05-03 15:53:19 +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
ac5311d257 [escher/text_area] Fix rect dirtying after Clear event 2019-05-03 15:53:19 +02:00
Léa Saviot
d91fdeb12b [unicode] Fix stop condition in TextArea::Text::removeRemainingLine 2019-05-03 15:53:19 +02:00
Léa Saviot
12e1f6be58 [unicode] Fix stop condition of CopyAndRemoveCodePoint 2019-05-03 15:53:19 +02:00
Léa Saviot
9dd6b41b39 [unicode] Fix code point serialization 2019-05-03 15:53:19 +02:00
Léa Saviot
87d7d58832 [poincare] Fix Decimal serialization 2019-05-03 15:53:19 +02:00
Léa Saviot
2e65bd3e51 [poincare] Clearer CodePointLayout log 2019-05-03 15:53:19 +02:00
Léa Saviot
5df9e0af71 Use correct unicode symbols 2019-05-03 15:53:19 +02:00
Léa Saviot
4e93a564b6 [escher/ion] Fix wrong assertions 2019-05-03 15:53:19 +02:00
Léa Saviot
37d05a237f [apps] In consexpr char *, empty layouts should be inserted using /x11 2019-05-03 15:53:19 +02:00
Léa Saviot
7f4ef39d0c [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-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
c476ea5380 [escher/text_field] Fix removeCodePoint rect dirtying 2019-05-03 15:53:19 +02:00