Quentin
27a0935311
[Fix] Patched colors
2020-06-20 19:46:47 +02:00
Quentin
2c99f38a93
[Revert] Compact display
2020-06-18 19:38:22 +02:00
Quentin
db10723e76
[Update] Upstream
2020-06-18 19:25:17 +02:00
Léa Saviot
93d687abc2
[apps/calculation] Fix height computation in additional results
2020-06-04 05:47:55 -07:00
Léa Saviot
b034f8e054
[apps/calculation] Fix history navigation
...
When calculations span on two lines, better selection
2020-05-28 04:44:27 -07:00
Léa Saviot
a56a73b0ba
[apps/calculation] Fix calculation height computation
...
It was done in two places before, which created inconsistencies
2020-05-28 04:44:27 -07:00
Léa Saviot
0379327b06
[apps/calculation] Geographic navigation in the history
2020-05-28 04:44:27 -07:00
Léa Saviot
e2f4b30b84
[apps/calculation] Remove unused variable
2020-05-28 04:44:27 -07:00
Léa Saviot
c4908c2bd9
[apps/calculation] Fix bottom calculation margin
...
Scenario: enter a calculation that uses two lines, the margin on the
bottom is too big
2020-05-28 04:44:27 -07:00
Léa Saviot
5535145b51
[apps/calculation] Calculation on 2 lines if does not fit when expanded
...
Scenario: 1+1+1+1+1+1+1+10.5 fits on one line when not expanded, but
when the exact result is displayed not -> we thus always display it on
two lines
2020-05-28 04:44:27 -07:00
Léa Saviot
feee0a673c
[apps/calculation] HistoryViewCell cleaning
2020-05-28 04:44:27 -07:00
Léa Saviot
6948011ae0
[apps/calculation] Handle navigation in single lined output
2020-05-28 04:44:27 -07:00
Léa Saviot
579485c8c0
[apps/calculation] CanBeSingleLine differs if args are view/layout sizes
...
If the sizes are for layouts, we need to add the margins added by the
views.
2020-05-28 04:44:27 -07:00
Léa Saviot
4f50a72abf
[apps/calculation] Clean Calculation::height
2020-05-28 04:44:27 -07:00
Léa Saviot
11c39b6206
[apps/calculation] Calculation::height has two types of margin arguments
...
One for the margin between layouts and on top / at the bottom of the
cell, the other for the margin surrounding each layout.
2020-05-28 04:44:27 -07:00
Léa Saviot
78cac6ddae
[apps/calculation] Calculation::height has CanBeSingleLine argument
2020-05-28 04:44:27 -07:00
Léa Saviot
1c2801907f
[apps/calculation] Factorize and clean code
2020-05-28 04:44:27 -07:00
Léa Saviot
525290427a
[apps/calculation] Calculation::height takes verticalMargin argument
2020-05-28 04:44:27 -07:00
Léa Saviot
7ccaf3fc50
[apps/calculation] Rename allExpressionsInline to forceSingleLine
2020-05-28 04:44:27 -07:00
Léa Saviot
5a68b44aa1
[apps/calc] Merge SingleLine and allExpressionsInline behaviours
2020-05-28 04:44:27 -07:00
Léa Saviot
c3d8520e73
[apps/calculation] Remove unnecessary bool
2020-05-28 04:44:27 -07:00
0b101
b48d3d6e4a
Added a new compact result display mode
2020-05-28 04:44:27 -07:00
Romain Goyet
a07ab8015e
[apps/calculation] Correct insert in fractions
2020-05-11 10:34:28 +02:00
maximilianwalter
7b40f55973
added equivalents
2020-04-21 06:45:17 -07:00
Quentin
13874cd2e0
Merge branch 'omega-hotfix' into omega-dev
2020-04-16 14:24:47 +02:00
Quentin
3013dda9d6
[Fix] Conflicts
2020-04-16 14:12:38 +02:00
Quentin
f37040dc8a
[Fix] Conflicts
2020-04-16 14:04:56 +02:00
Romain Goyet
950862f8d0
Use std::min and std::max
2020-04-14 09:31:02 -04:00
Neven Sajko
dd6a729f65
Better usage of some floating point constants
2020-04-09 13:58:56 +02:00
Neven Sajko
c92b770112
Performance fixes relating to floating point constants
...
This replaces unnecessary double-precision soft-float operations with
single-precision floating-point operations, mainly by casting.
In a couple places I also replace a function call with a constant.
2020-04-09 13:58:56 +02:00
Émilie Feral
068325d151
Coding style: remove unecessary 'virtual' keyword when 'override' is
...
present 2/2
2020-04-09 11:36:51 +02:00
Quentin
e383c3429f
[Fix] Conflicts
2020-04-08 15:05:17 +02:00
Quentin
aea963dac0
[Fix] Fix conflicts ._.
2020-04-07 14:53:19 +02: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
300de8fb15
[apps/calculation] HistoryViewCell: when changing SubviewType, set the
...
right subcell as first responder!
This fixes the following bug: when selecting a cell whose content is too
long to be displayed, the scrolling is broken
2020-04-03 10:42:42 +02:00
Émilie Feral
90222c3f45
[apps/calculation] SelectableTableView: scrollToCell once the margin
...
have been updated
This fixes the following bug: input the vertical matrix [1,2,3], the
scroll failed
2020-04-03 10:42:42 +02:00
Émilie Feral
e6516ae0e7
[apps/calculation] Fix typo
2020-04-03 10:39:05 +02:00
Quentin
b854ec903a
Merge branch 'omega-hotfix' into omega-dev
2020-04-01 12:14:37 +02:00
Quentin
0d56576f9c
[Git] Fix conflicts
2020-04-01 11:36:16 +02:00
Émilie Feral
bc8dc0c59c
[apps] Use drawSegment when drawing lines instead of drawCurve or
...
drawCartesianCurve
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
Quentin Guidée
742e7a165d
[Feature] Hide undef with symbolic calculation
2020-03-21 11:10:14 +01:00
David
dab8880fbd
Merge branch 'omega-hotfix' into fixedCompactCutoffBug2
2020-03-18 11:59:10 -05:00
David
c5b21cff71
[Fix] Compact cutoff bug
2020-03-18 11:56:48 -05:00
Quentin Guidée
d50511f1be
[Fix] Fix conflicts
2020-03-11 19:12:20 +01:00
Romain Goyet
2bf83c43a8
[apps/shared] Factorize CurveView::label
...
There was a lot of code duplication.
I removed the initialization of xLabel{} and yLabels{} because those are
scratch buffers that shouldn't be accessed before being written to
anyway.
2020-03-11 09:51:33 +01:00
David
ad672f9111
[Fix] Display bug where "x=a(x)" got cutoff
2020-03-09 21:44:22 +01:00
David
d1c8d6f11c
Fixed display bug where "x=a(x)" got cutoff
2020-03-09 15:38:24 -05:00
Quentin Guidée
9b6d68e932
Fixed conflicts
2020-02-29 12:31:16 +01:00
David
2913bcb8b5
[Fix] Bug with the default display mode
2020-02-26 17:44:52 +01:00