Commit Graph

534 Commits

Author SHA1 Message Date
Léa Saviot
e803ada15f [apps/Makefiles] Automatize i18n adding for different locales 2020-06-04 14:50:02 +02:00
Roberta Rabotti
549f537ff6 [it] Add i18n files to Makefiles 2020-06-04 14:50:02 +02:00
Roberta Rabotti
3ef28ec155 [it] new translation files 2020-06-04 14:50:02 +02:00
Serenela Moreira
4802299f3c [pt] corrected regression and sequences 2020-06-04 14:50:02 +02:00
Jorick Alberga
b1e737879d [nl] Translation Epsilon 2020-06-04 14:50:02 +02:00
Jorick Alberga
07f924bed6 [nl] Translation Functions app And other translation
In file: epsilon/apps/graph/base.nl.i18n some text would look better if placed slightly to the left. I'm talking about lines 23 and 24: SelectLowerBound and SelectUpperBound
2020-06-04 14:50:01 +02:00
Jorick Alberga
8a37096680 [nl] Start translation 2020-06-04 14:50:01 +02:00
Romain Goyet
84768472bd Explicit std::min/max template usage
This is unfortunately required in several cases:
 - Sometimes when we use either float and double (this should be changed)
 - Because KDCoordinate is not an int, so any arithmemtic promotes it to
an int
 - Because we mix pointer differences and ints
2020-04-14 09:31:02 -04:00
Romain Goyet
950862f8d0 Use std::min and std::max 2020-04-14 09:31:02 -04:00
Romain Goyet
ada205b1a7 [build] Use variants
- Move helpers functions into build/helpers.mak
- Move official warning into official targets only
2020-04-03 22:26:55 -04:00
Émilie Feral
886fc98350 [escher] Palette: factorize data color iteration 2020-04-01 10:18:08 +02:00
Émilie Feral
aaf71328ba [apps/shared] CurveView: resolve name conflict -
drawHorizontalOrVerticalSegment & drawSegment -
2020-04-01 10:18:08 +02:00
Léa Saviot
aab8974934 [apps] Memoize five model checksums 2020-03-11 11:43:36 +01:00
Ruben Dashyan
7a633b1e75 [apps/sequence/sequence] SequenceModel's name method need not be virtual 2020-03-10 10:33:30 +01:00
Ruben Dashyan
fccd72b757 [apps/sequence/sequence] Do not memoize nameLayout
Fixes the following bug:
In the graph tab of the Sequence app, compute the sum of the terms of
a sequence from 1 to 9 and then from 1 to 10. The Layout is memoized
after the first time and mispositioned the second time since it is
not recomputed.
2020-03-10 10:33:30 +01:00
Romain Goyet
5dee4a8166 [apps] Add screen telemetry identification 2020-02-17 10:31:24 -05:00
Émilie Feral
60048cb9a9 [poincare] Create a ContextWithParent that implements expressionTypeForIdentifier 2020-02-12 15:13:22 +01:00
Léa Saviot
a3a1f86f8d [apps] Add context parameter to fix tests 2020-02-12 15:13:21 +01:00
Léa Saviot
756eeeb2d8 [poincare/parser] Add context 2020-02-12 15:13:21 +01:00
Léa Saviot
8b250e0ca0 [apps/i18n] Fix portuguese from Portugal, not Brazil 2020-02-12 15:13:21 +01:00
Léa Saviot
97b495a4dc [apps/interactive_curve_view_range] Orthonormal keep max grid unit
When setting the axes then putting on the orthnormalization, 2 * (max of
the two axes units) is put to 1 cm instead of doing 2 units = 1cm. This
roughly keeps the configuration of the window.
2020-02-12 15:13:21 +01:00
Émilie Feral
4bd3dfd542 [escher] TableCell: the subviews are layoutted horizontally or
vertically. We add an option to decide which subviews should overlap on
top of the other if there is not enough space
2020-02-12 15:13:20 +01:00
Émilie Feral
9312d2bd65 [escher] ExpressionTableCell is composed of a ScrollableExpressionView
instead of an ExpressionView
2020-02-12 15:13:19 +01:00
Léa Saviot
1434158bee [apps/graph] Faster curve navigation after some time
If the user presses the LEft/Right keys for a long time, the cursor will
move faster.
2020-02-12 15:13:15 +01:00
Léa Saviot
9f018eb9d9 [escher/view] setFrame and layoutSubviews can be forced 2020-02-12 15:13:15 +01:00
Ruben Dashyan
c3cf5c1ef4 Rename UCodePointUnknownX to UCodePointUnknown 2020-02-12 15:13:15 +01:00
Ruben Dashyan
9480bcacd5 [apps/*/expression_model] Make expressionAddress private 2020-02-12 15:13:15 +01:00
Léa Saviot
967dc0ea15 [apps/sequence] Set the Nstart/Nend messages at construction
This fixes the scenario:
Add a sequence, go to the Table then click on setTheInterval -> it
displayed Xstart Xend instead of Nstart Nend
2019-11-25 17:34:17 +01:00
Émilie Feral
84c6c02192 [sequence] Sequence::sumBetweenBounds: avoid repetitive evaluations of std::round 2019-11-18 14:20:47 +01:00
Émilie Feral
269f479c29 [sequence] Fix Sequence::sumBetweenBounds 2019-11-18 14:20:47 +01:00
Émilie Feral
b40c89cae8 [apps/graph][graph/sequence][graph/shared] Change constant names: add
"displayable" when adequate
2019-10-07 15:02:34 +02:00
Émilie Feral
a19edb4460 [apps/graph][apps/sequence] Add comments 2019-10-07 15:02:34 +02:00
Émilie Feral
60ad096956 [apps/graph][apps/sequence] ValuesController memoization buffer does not
require the same size for Sequence and Graph
2019-10-07 15:02:34 +02:00
Émilie Feral
dc3c67a2d2 [apps/shared][apps/graph][apps/sequence] Clean ValuesController 2019-10-07 15:02:34 +02:00
Émilie Feral
164572ca1e [apps/shared][apps/sequence][apps/graph] Speed-up values table scrolling
by memoizing values cell buffers
2019-10-07 15:02:34 +02:00
Émilie Feral
ff6eb7525f [apps/graph] Copy/Cut events on the values controller turn the "(1;3)"
notation into "[[1][3]]" in order to create a matrix layout when paste
into a layout field
2019-09-26 11:26:48 +02:00
Émilie Feral
4d593a6149 [poincare] PrintFloat: take into account the distinction between char
and glyph length in ConvertFloatToText
2019-09-26 11:26:48 +02:00
Émilie Feral
d6ad694b76 [apps/shared] EditableCellTableViewController: adjust column width to be
able to display float like "-1.234567E-123"
2019-09-26 11:26:48 +02:00
Émilie Feral
00bb1b7ac1 [apps/graph] ValuesController: column width are different for parametric
functions
2019-09-26 11:26:48 +02:00
Émilie Feral
bf23e0f8da [apps/graph] ValuesController: change display of the parametric column -
display only one column for (x;y) values
2019-09-26 11:26:48 +02:00
Ruben Dashyan
ec9bf9b59b Remove unused parameter of Poincare::Context::setExpressionForSymbolAbstract 2019-09-23 11:04:29 +02:00
Ruben Dashyan
652616d9e3 [apps/sequence/sequence] Assert that sum bounds are integrers 2019-09-20 17:11:42 +02:00
Ruben Dashyan
d02ecf93a5 [apps] Avoid static casts 2019-09-20 17:11:42 +02:00
Ruben Dashyan
1d966ce23c [apps/*/expression_model_list_controller] editExpression sets text instead of InputViewController::edit 2019-09-20 17:11:42 +02:00
Ruben Dashyan
413397652c [apps/*/expression_model_list_controller] Refactor modelStore()
Its return type is covariant. Get the ExpressionModelStore from the App.
2019-09-20 17:11:42 +02:00
Ruben Dashyan
91e3078234 [apps/*/expression_model_list_controller] Factor isAddEmptyRow 2019-09-20 17:11:42 +02:00
Ruben Dashyan
a5bff416d1 [apps/*/expression_model_list_controller] Use isAddEmptyRow 2019-09-20 17:11:42 +02:00
Ruben Dashyan
d8ec5ab2b3 [apps/sequence/values_controller] Sequence instead of Shared::Function 2019-09-20 17:11:42 +02:00
Ruben Dashyan
94f89f37d7 [apps/sequence/sequence] Simplify isEmpty 2019-09-20 17:11:42 +02:00
Ruben Dashyan
278a247c34 [apps/sequence] Rename SequenceRecordDataBuffer to RecordDataBuffer 2019-09-20 17:11:42 +02:00