Ruben Dashyan
be6760bf48
[apps/math_toolbox] Shortcut Ampere menu
2020-02-12 15:13:26 +01:00
Ruben Dashyan
70b46e3275
[apps/math_toolbox] Remove Weber unit
2020-02-12 15:13:26 +01:00
Ruben Dashyan
010173515a
[apps/math_toolbox] Remove Katal unit
2020-02-12 15:13:26 +01:00
Ruben Dashyan
912d777e92
[apps/math_toolbox] Remove Dalton unit
2020-02-12 15:13:26 +01:00
Ruben Dashyan
42358e0df2
[apps/shared.universal.i18n] Fix typo
2020-02-12 15:13:26 +01:00
Ruben Dashyan
79c161e49a
[apps/toolbox.i18n] Fix typo
2020-02-12 15:13:26 +01:00
Léa Saviot
6f4a51a56d
[apps/poincare] Use IEEE754::exponentBase10 instead of floor(log10)
2020-02-12 15:13:26 +01:00
Léa Saviot
c9f83f6e7e
[apps/statistics] Fix bar width computation
...
There was a float -> double conversion lack of precision, which resulted
in akward results
Scenario:
Data
V N Then display the histogram: the second bar is [1.9;2[ but
1 1 contains the 2 value
2 1
2020-02-12 15:13:26 +01:00
Émilie Feral
922d3cc0c6
[build] Fix targets
2020-02-12 15:13:26 +01:00
Émilie Feral
72ef9d5fd7
[apps/probability] Clean Makefile
2020-02-12 15:13:26 +01:00
Émilie Feral
f69bc6c8e4
[apps] Makefile: fix tests build
2020-02-12 15:13:26 +01:00
Émilie Feral
63d2aab416
[apps/settings] Improve messages of cautious in non-official softwares
2020-02-12 15:13:26 +01:00
Émilie Feral
5432a97bd2
[apps] Change license of exam_mode_configuration_official to
...
CC-BY-NC-ND-4.0
2020-02-12 15:13:26 +01:00
Émilie Feral
e17ae9024e
[apps] Gather all code regarding exam mode in ExamModeCOnfiguration file
2020-02-12 15:13:26 +01:00
Émilie Feral
541acb6a7c
[apps/settings] Factorize SettingsMessageTree model definition between
...
different targets (none/beta/update)
2020-02-12 15:13:26 +01:00
Émilie Feral
672a1a3967
[apps/settings] Change non-official-version warning messages
2020-02-12 15:13:26 +01:00
Ruben Dashyan
51698ee8c5
[apps/graph/graph/graph_controller] Fix initial cursor color
2020-02-12 15:13:26 +01:00
Ruben Dashyan
b54d5a31ba
[apps/shared/function] BaseNameCompliant returns a NameNotCompliantError
...
instead of a boolean
2020-02-12 15:13:26 +01:00
Émilie Feral
ce5f8236a9
[apps] Add comment around warning regarding non-official releases
2020-02-12 15:13:26 +01:00
Émilie Feral
f079660d69
[apps] i18n routine: enable to add comment in *.i18n files
2020-02-12 15:13:26 +01:00
Émilie Feral
6d2d5c6837
[build] Add confirmation before building official softwares
2020-02-12 15:13:26 +01:00
Émilie Feral
3612d25539
[apps/settings] AboutController::m_view should live inside the Settings
...
app
This fixes the following bug: AboutController::view was built at first
call of "AboutController::view()" but the Settings can be rebuilt later
and the pointers might have moved (hence the ones used in
AboutController::view constructor which is not rebuilt then)
2020-02-12 15:13:26 +01:00
Léa Saviot
4d8099e273
[poincare/matrix] shallowReduce checks there are no unit children
2020-02-12 15:13:26 +01:00
Ruben Dashyan
473d12f165
[apps/shared/function] Fix typo
...
introduced in
[ion/unicode/codepoint] Rename is[(Lower|Upper)Case]Letter to isLatin[(Small|Capital)]Letter
2020-02-12 15:13:26 +01:00
Ruben Dashyan
9526d1d591
[poincare/unit] Lighten Dimension constructor
2020-02-12 15:13:26 +01:00
Ruben Dashyan
1e3b8581e5
[poincare/unit] Lighten Representative constructor
2020-02-12 15:13:26 +01:00
Ruben Dashyan
9fc1182733
[escher/message_tree] Inline in header file
2020-02-12 15:13:26 +01:00
Ruben Dashyan
7d72d5abd7
[poincare/tree_handle] Assert B is not an ancestor of A in replaceWithInPlace(A, B)
2020-02-12 15:13:26 +01:00
Émilie Feral
fffcadf384
[apps/settings] Display a caution message in the 'about' page in non-official
...
software versions
2020-02-12 15:13:26 +01:00
Émilie Feral
b28f426d36
[apps/settings] Add warning message about software liability
2020-02-12 15:13:25 +01:00
Émilie Feral
f57fb84429
[apps/settings] Create a class SelectableViewWithMessages used in
...
ExamModeController for future factorization
2020-02-12 15:13:25 +01:00
Émilie Feral
7ccb10e33b
[apps/settings] Display exam mode caution message in non-official
...
version only
2020-02-12 15:13:25 +01:00
Émilie Feral
10de2c00ac
[apps/settings] Add a warning message in Exam mode page
2020-02-12 15:13:25 +01:00
Émilie Feral
485684e8db
[apps/settings] Add messages for exam mode compliance warning
2020-02-12 15:13:25 +01:00
Émilie Feral
9ed55e97a9
[apps/settings] Non-official builds don't feature Dutch exam mode
2020-02-12 15:13:25 +01:00
Émilie Feral
1ebf56ef4a
[build] Duplicate targets: official/non-official
2020-02-12 15:13:25 +01:00
Émilie Feral
a211b6efb6
[poincare] Change unit name: hour -> h
2020-02-12 15:13:25 +01:00
Ruben Dashyan
ca50e764a5
[poincare/test] Test the presence of units as Expression children
2020-02-12 15:13:25 +01:00
Ruben Dashyan
e39ad9d923
[poincare/expression_node] Fix ExpresssionNode::Type ordering
...
A Multiplication whose children are all real or ComplexCartesian are
multiplied to form a single ComplexCartesian. That step of shallowReduce
assumed that the last child is a ComplexCartesian. Since a Unit is now
considered as real, the previous assumption can be maintained be
reordering the ExpresssionNode::Type.
2020-02-12 15:13:25 +01:00
Ruben Dashyan
4a6b633c74
[poincare] Fix commit "Reducing an Expression which hasUnit in its children returns Undefined in general"
2020-02-12 15:13:25 +01:00
Léa Saviot
c124447837
[poincare/test] Add test on UnitConvert simplification
2020-02-12 15:13:25 +01:00
Léa Saviot
b2a37cfd3e
[poincare] Fix tests
2020-02-12 15:13:25 +01:00
Léa Saviot
94d71634b6
[poincare/unit_convert] In shallowReduce, fix units testing on the right
...
First reduce the right member by replacing the units to make sure there
is a unit, then reduce without replacing to keep "complex units" such as
L, N, ...
2020-02-12 15:13:25 +01:00
Léa Saviot
1e3294139d
[poincare/parser] 0→0→c should not be parsable
2020-02-12 15:13:25 +01:00
Ruben Dashyan
681ab5429a
[poincare/test/simplification] Fix typos
2020-02-12 15:13:25 +01:00
Ruben Dashyan
81d755927c
[apps/calculation/calculation] Fix array length computation
2020-02-12 15:13:25 +01:00
Ruben Dashyan
b5233845ba
[poincare/expression] Fix Unit approximation in beautifyAndApproximateScalar
...
A Unit is considered as real, which was not the case before.
2020-02-12 15:13:25 +01:00
Léa Saviot
2e5df5196f
[poincare/expression] hasUnits makes less computations
2020-02-12 15:13:25 +01:00
Léa Saviot
23e8033a3e
[poincare/test] Add tests on unit convert simplification
2020-02-12 15:13:25 +01:00
Léa Saviot
1588f81bea
[poincare/power] Fix shallowReduce with units
...
(3_m^2)^3 should be reduced to 3_m^6
2020-02-12 15:13:25 +01:00