Hugo Saint-Vignes
ada369bf08
[apps/shared] Add comment for selectNonHiddenCellAtClippedLocation
...
Change-Id: I0e0f7963274688facb467caa934f410e66c9f859
2020-11-04 14:45:34 +01:00
Hugo Saint-Vignes
af32f33141
[ion] Remove unused function and rename longRepetitionScrollSpeed
...
Change-Id: I11268eb34060c74eb8770ba0eb999f84737c76d8
2020-11-04 14:45:34 +01:00
Hugo Saint-Vignes
70830e0b74
[escher] Scroll speed increase for long repetition in selectable table
...
Change-Id: Idfc3edcedff5a933b6f2168b475e22ea56ea0ab0
2020-11-04 14:45:34 +01:00
Hugo Saint-Vignes
b60c67ff88
[apps] Factorize scrolling speed for long repetition
...
Change-Id: I5fcfaf04e418942664641c4b1cd044cda7f5aebb
2020-11-04 14:45:34 +01:00
Hugo Saint-Vignes
241a217f58
[apps/graph] Add fast scroll for regression and sequence graph views
...
Change-Id: I6b36e929234ec5dc161b0eefb20eb84aa360fe3b
2020-11-04 14:45:34 +01:00
Hugo Saint-Vignes
0a2ededfcf
[apps/shared] Remove packed data members for RecordDataBuffer
...
Change-Id: I04ea5ccb4c15bda975bf5af178f07092c0387312
2020-11-04 14:45:34 +01:00
Hugo Saint-Vignes
eed1648363
[apps/statistics] Improve variance accuracy for statistics
...
Change-Id: Ie8f6f93c8e95940662e72a23619b53ac4ab0d6b6
2020-11-04 14:45:34 +01:00
Hugo Saint-Vignes
29b0e86225
[quiz] Improve test possibilities for regression and statistics
...
Change-Id: I4414fad24e10dcbd56cd9aff1e35e00ba66dda2c
2020-11-04 14:45:34 +01:00
Hugo Saint-Vignes
d16e49fc5f
[apps/regression] Improve Variance precision
...
Change-Id: Ia9e406b14c0baec76835e226a7801ba73ff9174e
2020-11-04 14:45:34 +01:00
Hugo Saint-Vignes
db69f6a6f5
[regression] Implement R2 computation using evaluated values
...
Change-Id: Iecf8cb84f092c2ec8a9bc17bc0265d7dddaac36c
2020-11-04 14:45:34 +01:00
Hugo Saint-Vignes
5c95cbd1d3
[regression] Add r2 to any regression stats
...
Change-Id: I3088dd66b1c3f48973b8a9277de687bdd24e094b
2020-11-04 14:45:34 +01:00
Hugo Saint-Vignes
d3727dde97
[regression] Add unit tests for regression metrics
...
Change-Id: I25d7fd89053a1bd5fb369c8c145dba92d188f550
2020-11-04 14:45:34 +01:00
Arthur
d77e924014
[Apps/Calculation] Modified the calculationStore of additional results
...
-Additional results are now stored in smaller calculationStores
Change-Id: I7d09bfb09e57cbb80e9385668adeb29a31398bc0
2020-11-04 14:45:34 +01:00
Arthur
d7a0914d13
[Apps/CalculationStore] Changed the way to store calculations
...
-No more limit to the number of calculations
-All calculations are memoized
-Added tests to test/calculation_store.cpp
Change-Id: Ia10e2b009576eaf4496ba44a0c88f6e7e76f6cef
2020-11-04 14:45:34 +01:00
Gabriel Ozouf
c71b2dee99
[curve_view] Factor bounding box code for joinDots
...
Change-Id: Iae974aa2bee12e6c56bad84fd3b45093fb2a856f
2020-10-23 08:56:56 +02:00
Gabriel Ozouf
26fdfcd25c
[curve_view] Fixed variable names
...
Change-Id: I8aad13c6bce719ba8f3a30cd86f06f7c89ec041e
2020-10-23 08:56:56 +02:00
Gabriel Ozouf
fe8e490ac0
[curve_view] Filter unwanted vertical asymptotes
...
Change-Id: Ia603a2fb1553b6dfc038d2a28472ce48e41936db
2020-10-23 08:56:56 +02:00
Gabriel Ozouf
106916e7bf
[curve_view] Add double evaluation
...
Add the possibility to use a double-typed evaluator when tracing a
curve, useful when errors caused by float approximation mess with the
drawing.
Change-Id: I3ab410deec4823149239b0a26b1885fd2a493226
2020-10-23 08:56:56 +02:00
Émilie Feral
c91c2a6e3f
[app/shared] CurveView: Avoid dashSize overflow in
...
drawHorizontalOrVerticalSegment
2020-10-12 09:48:55 +02:00
Émilie Feral
8e025b0823
[apps/shared] CurveView: avoid overflowing KDCoordinate
...
This fixes the following bug: add the sequence, u(n)=2^n. On the graph,
go to "sum of terms" and try to sum terms from 0 to 18 by moving the
cursor. It hangs.
2020-10-12 09:48:55 +02:00
Gabriel Ozouf
b7c7695707
[apps/code] Remove interruption check
...
A check for interruption in ConsoleController::printText caused script
to immediately stop when launched after an interrupted script.
This check was used to break out of infinite print loop, but now
becomes redundant with how micropython_port_vm_hook_loop was changed.
Change-Id: Ifa8d415e1b2c2406ad67300eb14ce46889af296f
2020-08-31 15:32:02 +02:00
Hugo Saint-Vignes
0b683b6994
[apps/shared] Handle identical layout in MinimalSizeForOptimalDisplay
...
Change-Id: I99a523e9e88ea9c3064e4367d96b01edb0020df9
2020-08-11 17:06:07 +02:00
Léa Saviot
b885098963
[apps/calculation] Fix additionalInformationType
...
If an expression hasUnits and is then reduced, it might not have units
anymore for instance if it was replaced with undefined).
Scenario: Enter "[5000000000000000]^20 _s" in the calculation app
2020-07-29 10:13:19 +02:00
Hugo Saint-Vignes
5c75cc55d3
[apps/shared] Apply changes on confirm with GoTo functions
...
Change-Id: I6ebec412b4b6612710476274a8665375d21f9ef8
2020-07-29 10:07:07 +02:00
Hugo Saint-Vignes
61792058d3
[apps/shared] Fix typos for Interval and curve view temporary params
...
Change-Id: I610726ed5966d353397be923b76dd003297940a7
2020-07-29 10:07:07 +02:00
Joachim LF
d37bf9e344
[Apps/Shared] Fixed interval and curve view exit
2020-07-29 10:07:07 +02:00
Émilie Feral
b4a3dd10e1
[apps/shared] ToolBoxHelpers: don't overflow buffer
...
If the commandLength is > than the buffer size, we have to escape at
some point to avoid overflowing the buffer.
2020-07-29 09:43:51 +02:00
Émilie Feral
22549d4d50
[apps/calculation] CalculationStore: change name CalculationHeight -->
...
HeightComputer
2020-07-16 14:37:38 +02:00
Émilie Feral
83ecefda00
[apps/calculation] Fix tests
2020-07-16 14:37:38 +02:00
Émilie Feral
1fb8c09714
[apps/calculation] Remove old TODOs
2020-07-16 14:37:38 +02:00
Émilie Feral
df74c2c551
[apps/calculation] The heights (common and expanded) of calculation cells are
...
computed when the calculation is added to the store and don't change afterwards.
Otherwise, if their heights change when scrolling (due to a modification of the
display output type - ExactOnly, ApproximateOnly...), it generates crashes.
2020-07-16 14:37:38 +02:00
Émilie Feral
c2db00cc88
[apps/calculation] When leaving calculation app, do not invalid
...
calculation height memoization. They're computed from the layouts which
don't depend on the complex format (or any other settings parameters
which could have changed).
2020-07-16 14:37:38 +02:00
Léa Saviot
708477dece
[apps/i18n] Fix missing upper case
2020-07-16 11:53:12 +02:00
Léa Saviot
b4dd4b5e7e
[apps/code/i18n] Make italian wording fit
2020-07-16 11:53:12 +02:00
Émilie Feral
c92b3d49e9
[apps/calculation] HistoryController: reload the subview selection when
...
deleting row
This fixes the following bug: input 1, OK, 1.2 OK, delete the row whose
input is '1' with the selection on the output view. The output of 1.2
does not toggle and it should.
2020-07-16 09:48:22 +02:00
Joachim Le Fournis
46ede2eb59
Resolved the wrong gender of font in fr
2020-07-15 10:41:37 +02:00
Charlotte THOMAS
b5f9deb169
Update calculation.cpp
...
removed white
2020-07-15 10:28:15 +02:00
Charlotte THOMAS
f1dab081e1
Fix: CI test
2020-07-15 10:28:15 +02:00
Charlotte THOMAS
9d8b62894f
Fix: Changed "IS" to "SI" because even in english the short for "International System of Units" is "SI"
2020-07-15 10:28:15 +02:00
Léa Saviot
d8f17da04e
[apps/calculation] Add TODO comments about factorization
2020-07-07 09:55:20 +02:00
Léa Saviot
cc4ff3d40d
[apps/calculation] Apply fix about Height computation
...
There was a problem with the way of computing Height, see
Calculation::HistoryViewCell. We did not encounter a problemeatic
scenario here, but there is no reason it would have been safe before.
2020-07-07 09:55:20 +02:00
Léa Saviot
982b467268
[apps/calculation] Fix scrolling
...
If the last cell is too big to fit entirely, we would scroll to the top
of the calculation, instead of the bottom
2020-07-07 09:46:26 +02:00
Léa Saviot
1128134c37
[apps/calculation] Raise exception if row height miscomputed
...
Scenario:
Put the complex mode to exponential, then go back to Calculation and:
Toolbox, Down, Down, Down, Down, OK, OK, Two, Plus, Imaginary,
Toolbox, Down, Down, Down, Down, OK, Down, OK, Two, Plus,
Imaginary, OK, Toolbox, Down, Down, Down, Down, Down, OK,
Down, OK, Up, OK, Right, Zero, OK, OK, Toolbox, Down,
Down, OK, Toolbox, Back, Up, Zero, Up, OK, Zero, Up, Up, Up
2020-07-07 09:46:26 +02:00
Léa Saviot
924e235ba8
[apps/calculation] Factorize some code
2020-07-06 17:16:22 +02:00
Léa Saviot
35f20c4312
[apps/calculation] Comment possible failed height computation
2020-07-06 16:35:35 +02:00
Léa Saviot
6b60fc561f
[apps/regression] Fix wrong proportional model fit
2020-07-02 17:09:38 +02:00
Léa Saviot
3cf80b86d6
[apps/i18n] Fix italian translation typo
2020-07-02 10:23:27 +02:00
Léa Saviot
a4c0903f53
[i18n/pt] Fix typo
2020-06-30 17:24:50 +02:00
Gabriel Ozouf
e78c5c02d3
[apps/calculation] Fixed history scroll
...
Fixed a bug involving mishandled negative offsets in
CalculationSelectableTableView::scrollToSubviewOfTypeOfCellAtLocation
and cleaned up the function.
Change-Id: I4394ca9dc9748e8b761e7f722e41014d71d3373f
2020-06-30 15:41:56 +02:00
Émilie Feral
96c7d84633
[apps/calculation] Factorize code to avoid selecting ellipsis on cell
...
where ellipsis is not displayed
2020-06-26 17:48:31 +02:00