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
Romain Goyet
6fac2120fe
[i18n] Encode strings as NFKD-normalized UTF-8 strings
2019-04-12 15:16:50 +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
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
24c9617a89
[poincare] Templatize TreeHandle Builders
2019-02-21 11:29:35 +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
Ruben Dashyan
98e00404b8
[apps/calculation] Enable arrow scrolling indicators and add horizontal margin
2019-02-18 16:49:58 +01:00
Ruben Dashyan
da0d42ca3b
[apps/calculation/history_view_cell] Fix background colors
...
Set m_inputView's m_expressionView's background color
2019-02-18 16:49:58 +01:00
Ruben Dashyan
7a977f5689
[apps/calculation] Remove redundancy
...
In HistoryController::willDisplayCellForIndex, both setCalculation and
reloadCell end up calling ScrollableExpressionView::layoutSubviews.
Indeed, setCalculation calls setLayout over m_inputView, which in turn
calls layoutSubviews. It is logical to remove the first occurence.
2019-02-18 16:49:58 +01:00