The banner used to display u(n+1)/u(n+2) if the sequences were not
explicit. This was incorrect and fixed
Change-Id: I59100942b51f4170d9662a6fd7b82d0f7e50ae6f
Forced the top cell of the country table to be cropped in the middle,
cutting the text, to avoid the cell looking squashed.
Change-Id: I4d126ed19249f47652bd7f2001384b2491cfe6f8
This fixes the following bug :
(Anywhere with a movable cursor, like a table, a text field or a curve)
- press Alpha (once, or twice to activate the lock)
- keep pressing a direction
--> The cursor would only move once.
Change-Id: I46115d1a31ced244615bfdfe08f37dfe7e918d6e
- Create a first-order recursive sequence
- Select u_n -> Sequence type
--> The second line will be selected, as expected.
Change-Id: I2025ebaa9a7b49ee33ff5e63a4c767a858b46850
'Metric' is used to label the toolbox sub-menus containing metric units
when the selected country uses the imperial system.
Change-Id: I6f40bcd3151be614a5a02cdd17c70ea4a91bfc00
The layout of the unit toolbox changes depending on the unit system in
the selected country.
All units have been rearranged by increasing order of magnitude.
Change-Id: Ib51759cca88fd6b6122dd5a3a25b8ed04024aaf3
Some nodes of the ToolboxMessageTree can be marked as "forks",
dispatching one branch or the other depending on preferences.
They are used in the Unit menu to provide a different toolbox depending
on the unit system.
Change-Id: I591f7abc3d24e682e827a540a9defac1877871b5
The children of a ToolboxMessageTree object can be stored as a simple
pointer, representing an array of all the children stored consecutively,
or as a double pointer, representing an array storing the addresses of
all children.
Change-Id: I10134684963aaafc635aaf9a2374d0f3c32d3d0c
Aligned the top of the degree symbol ° with the top of capital C and F,
and reduced its right margin.
Change-Id: I63f50654afd965186400e451d71be41add9556c8
In Calculation, keeping the BACK key pressed can lead to iffy
simplifications and uninitialized expressions beign passed to
ShouldDisplayAdditionalOutputs and SetAdditionalExpressions methods.
Change-Id: If248ab193c471ff433828fc841e01a391e0c052d
Additional results are proposed for all units combinations that include
a non-base unit, in addition to units with special results.
Change-Id: I91f2a1a43c72bad0327132396534a223e87b06a2
When tuning the representative without tuning the prefix, the prefix
would not be reset to its default value, causing a problem for masses,
whose base prefix depend on the representative (k for grams, none for
the rest).
Fixes a crash when typing sqrt(_N) with country set to US.
Change-Id: Iade900de5fb31e06fdfafef34ae27da3f36983fa
In metric, sqrt(N) would be simplified to _N_kg^-0.5_m^-0.5_s instead of
_kg^0.5_m^0.5_s^-1.
We solve this issue by preventing simplification using derived units
in presence of rational exponents.
Change-Id: I97118bb32c963809c8d176b7b297d1682965e9af
When launching a firmware without onboarding, starts with International
selected by default instead of Canada.
Change-Id: Ice5cde4210c4c2934c909d97296460707343773f
In Trigonometry::shallowReduceInverseFunction, the reduction of
atan(1/x) used the hard value of pi instead of its equivalent in the
selected angle unit.
This fixes a bug causing atan(1/tan(40°)) to be equal to π/2-40 instead
of 50.
Change-Id: Ifd7df5cd168fadf3146eee168c0bc2136ea15a7b
Units with the same name in all available languages have been moved to
the new file toolbox.universal.i18n.
Change-Id: I82ef362ca335dc61da5f3bca67714a9ae409793d
After parsing the .i18n files, compare the messages and raise an error
if some of them could be factored into a universal file.
Change-Id: I0dcfe309dc4c310555a0ea16b6d1680e51a8e87d
When choosing a language and then pressing back from the country menu to
get back to the language menu, the previously selected language remains
selected.
Change-Id: I018c51cce09d47b15bb4864c135d381a94b2a72f
Do not display the regular view when the main view takes up all the
frame.
This fixes a bug causing the language menu to be briefly visible before
the logo on start-up.
Change-Id: Ia2de44de52ac6f852e0eca05101587042f02913b