Commit Graph

3741 Commits

Author SHA1 Message Date
Émilie Feral
80078137d5 [calculation] Display exact and approximate outputs in the
calculation history when the output is selected for calculations
involving decimal numbers (1.2)
2019-05-03 15:54:20 +02:00
Émilie Feral
6fd5cb360b [calculation] Improve Calculation model: new display mode
ExactAndApproximateToggle
2019-05-03 15:54:20 +02:00
Ruben Dashyan
1081127c97 [apps/calculation] Simplify HistoryViewCell::handleEvent 2019-05-03 15:54:20 +02:00
Ruben Dashyan
2d7c87d461 [apps/calculation] HistoryViewCell does not need to hold layouts 2019-05-03 15:54:20 +02:00
Émilie Feral
a839c88883 [sequence] Fix isDefined 2019-05-03 15:54:20 +02:00
Émilie Feral
20cd002e3e [graph] Fix build 2019-05-03 15:54:20 +02:00
Émilie Feral
34001fc094 [apps] BatteryView: avoid redrawing when battery picto switch from 'low'
to 'empty' (the pictograms for low and empty are identical)
2019-05-03 15:54:20 +02:00
Ruben Dashyan
04675f1a5b [apps/graph/graph] Add Preimage controllers to CalculationParameterController 2019-05-03 15:54:20 +02:00
Ruben Dashyan
682fa3f294 [apps/graph/graph] CalculationParameterController inherits from ListViewDataSource
instead of SimpleListViewDataSource
2019-05-03 15:54:20 +02:00
Ruben Dashyan
938c7a1a45 [apps/graph/graph] Define PreimageParameterController class 2019-05-03 15:54:20 +02:00
Ruben Dashyan
439474b23b [apps/graph/graph] Define PreimageGraphController class 2019-05-03 15:54:20 +02:00
Ruben Dashyan
2019000601 [apps/graph] Add preimage to i18n 2019-05-03 15:54:20 +02:00
Émilie Feral
b8522f1ef0 [apps] AppsContainer: 'shutdownDueToLowBattery' can be call when the
battery is actually LOW (due to some oscillations between LOW and
EMPTY). Handle that case
2019-05-03 15:54:20 +02:00
Émilie Feral
7b7cc0bb2f [apps] BatteryView: when the battery is EMPTY and the device hasn't
shut down yet, avoid drawing full battery (and breaking assertion)
2019-05-03 15:54:20 +02:00
Léa Saviot
1ecfb4af83 [poincare/tests] randint's simplification gives its approximation 2019-05-03 15:54:20 +02:00
Léa Saviot
8ea5f1b642 [apps/calc] If result contains random/round, display approximation only 2019-05-03 15:54:20 +02:00
Léa Saviot
a8e7208a30 [apps/calculation/tests] Tests on displayExactApprox for random/round 2019-05-03 15:54:20 +02:00
Léa Saviot
b360639e4e [apps/text_field_delegate_app] Fix XNT in a sum layout
It was broken by a blunder while swithching to UTF8
2019-05-03 15:54:20 +02:00
Émilie Feral
32f4140637 [sequence] Cache context does not need to be a variable context
Fix crash: u(n) = n(n-1) would crash at evaluation
2019-05-03 15:54:20 +02:00
Émilie Feral
f453508321 [calculation] Fix tests with no symbolic computation 2019-05-03 15:54:20 +02:00
Émilie Feral
ce94b3d67a [apps] Redraw battery pictogram after a reset 2019-05-03 15:54:20 +02:00
Émilie Feral
920f95997a [ion] Dim Brightness before shutting down when the battery low 2019-05-03 15:53:21 +02:00
Léa Saviot
b007286581 [apps/calc] displayExactOuputOnly only if the input is store in function
This prevents 1+x->f(x) from displaying 1+x = undef
[[1,2]] + [[1][2]] displays undef
2019-05-03 15:53:21 +02:00
Léa Saviot
6f7fe5089a [apps/calculation] Calculation::DisplayOutput can be Exact/Approx/Both 2019-05-03 15:53:21 +02:00
Léa Saviot
bcfe9469e8 [apps/tests/solver] Test equations + symbolic computation 2019-05-03 15:53:21 +02:00
Léa Saviot
9e64655f5a [poincare/tests] Parametered expressions + symbolic computation 2019-05-03 15:53:21 +02:00
Léa Saviot
6839c9f8a2 [apps/calculation] Add tests about no symbolic computation 2019-05-03 15:53:21 +02:00
Léa Saviot
f14c56badf [calculation/test] Rename some test method arguments 2019-05-03 15:53:21 +02:00
Léa Saviot
a9e4737dea [apps/solver] Test: conj(x)*x+1 should not be considered as polynom 2019-05-03 15:53:21 +02:00
Léa Saviot
9f776b2f6f [test] Fix tests for no symbolic computation 2019-05-03 15:53:21 +02:00
Léa Saviot
267d27f114 [poincare] Remove symbolic computation 2019-05-03 15:53:21 +02:00
Léa Saviot
b7b1710566 [apps] Clean apps/shared/expression_model_handle.cpp 2019-05-03 15:53:21 +02:00
Léa Saviot
a337bd260d [unicode] Use Poincare::SerializationHelper::CodePoint 2019-05-03 15:53:21 +02:00
Léa Saviot
3ab8a18d7f [apps/toolbox] Matrix > Identity command 2019-05-03 15:53:21 +02:00
Léa Saviot
1c62550649 [apps] Removed unused static inline method 2019-05-03 15:53:21 +02:00
Léa Saviot
1d26e6da73 [ion/unicode] Clean special code points 2019-05-03 15:53:21 +02:00
Léa Saviot
379f098858 [apps/settings] Coding style 2019-05-03 15:53:21 +02:00
Léa Saviot
d9c96c3cf7 [apps/settings] Clean unicode layout creations 2019-05-03 15:53:21 +02:00
Léa Saviot
67e460eada [apps/settings] Factorize layout font sizes 2019-05-03 15:53:21 +02:00
Léa Saviot
7329b450dc [apps/reg] Factorize the model layouts fonts 2019-05-03 15:53:21 +02:00
Léa Saviot
c9d548ec8a [apps/reg] Clean regression models layout creation 2019-05-03 15:53:21 +02:00
Léa Saviot
699cd19bd6 [unicode] Use 3BC symbol instead of B5 for the glyph Mu.
NFKD normalization transforms uniB5 into uni3BC.
2019-05-03 15:53:21 +02:00
Léa Saviot
cf1fc05e9b [apps/probability] Fix UTF8 problem when copying law parameter
In probability, when displaying the exponential law for instance, the
lambda did not appear correctly.
2019-05-03 15:53:21 +02:00
Léa Saviot
193e678fb5 [apps/probability] Rename k_maxNumOfTitleChars -> k_titleBufferSize 2019-05-03 15:53:21 +02:00
Émilie Feral
2af3efaba0 [probability] ExponentialLaw: fix
cumulativeDistributiveFunctionAtAbscissa for value < 0
2019-05-03 15:53:20 +02:00
Émilie Feral
cc842d5ee7 [shared] Clean unused method maxInt in ExpressionModelHandle 2019-05-03 15:53:20 +02:00
Émilie Feral
238d0ca63d [sequence] Fix Sequence::isDefined 2019-05-03 15:53:20 +02:00
Émilie Feral
2651e911d5 [sequence] Fix bug: number of curves in graph is the number of active
functions
2019-05-03 15:53:20 +02:00
Émilie Feral
96ba100e16 [sequence] Sequence: factorize InitialConditionModels 2019-05-03 15:53:20 +02:00
Émilie Feral
f713551d46 [code] Get rid of unused member variable in VariableBoxController 2019-05-03 15:53:20 +02:00