Commit Graph

3050 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
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
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
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
4c5251f04f [unicode] Use unicode when dealing with chars - Part 2 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
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
4688e9535f [apps] Calling draftTextLength should be done only if text field is editing 2019-05-03 15:53:19 +02:00
Léa Saviot
9e06b23bbb [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-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
6765de4598 [apps/regression] Add X bar and Y bar 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
a7b51f92ee [apps] Remove compilation warning about unused variable 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
6b6d3d7fe2 [tests] Fix unicode for tests 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
Léa Saviot
f576e31ff1 [apps/poincare] Replace CharLayouts with CodePointLayouts 2019-05-03 15:53:19 +02:00
Léa Saviot
e57995712b [kandinsky/font] Fix rebase on master 2019-05-03 15:53:19 +02:00
Romain Goyet
bf0d947939 [i18n] Encode strings as NFKD-normalized UTF-8 strings 2019-05-03 15:53:19 +02:00
Léa Saviot
e7d2c61cec [apps/regression] Increase the iterations limit to compute a regression
The exponential regression on the following data now works:
1 120000
3 130000
6 150000
8 160000
2019-04-29 17:24:53 +02:00
Romain Goyet
8308068b69 [apps/code] Add catalog entry for kandinsky.fill_rect 2019-04-26 17:44:27 +02:00
Léa Saviot
52ae2a2643 [apps/calc] approximateOutput handles unparsable m_approximateOutputText
This fixes a crash when computing:
[[1, 0, -1, 0][0, 1, 1, 0][0, 2, 0, 1][1, 0, 0, 1]]^(-1)
2019-04-12 15:16:05 +02:00
Émilie Feral
e40e626eec [graph] Values tab: select the right cell of the values table when
displaying/undisplaying the derivative column
2019-03-12 16:21:30 +01: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
d7975cfa7f [scripts] Make sure apps have all their prerequisites 2019-03-06 15:00:59 +01:00
Romain Goyet
6e3ce5d295 [scripts] Make sure to build i18n.h 2019-03-06 15:00:59 +01:00
Romain Goyet
219fdcbdc6 [scripts] Correctly build the test runner 2019-03-06 15:00:59 +01:00
Romain Goyet
0c83253d2e [scripts] Use BUILD_DIR instead of build_dir 2019-03-06 15:00:59 +01:00
Romain Goyet
ef3f5b877c [apps] Delete the long-dead PicView app 2019-03-06 15:00:59 +01:00
Romain Goyet
bd6339f9dc [make] Rename OUTPUT_DIRECTORY to build_dir 2019-03-06 15:00:59 +01:00