Commit Graph

300 Commits

Author SHA1 Message Date
Émilie Feral
b8af15f1ab [poincare] change createLayout signature
- CreateLayout depends on the float display mode and the number of
significant digits
- Float display mode does not have a default value anymore
2018-07-18 16:32:50 +02:00
Émilie Feral
d94ed82ab8 [poincare] Create class Approximation<T> to avoid useless conversion
between Decimal and float/double
2018-07-18 16:32:50 +02:00
Émilie Feral
dd0bc491f6 [poincare] Replace Poincare::Complex by std::complex 2018-07-18 16:32:49 +02:00
Léa Saviot
2b43b6984e [apps] Shared::StoreController does not own the StoreParameterController 2018-07-18 10:32:45 +02:00
Léa Saviot
5e7888f417 [apps/stats] Better double comparison 2018-07-10 15:41:12 +02:00
Léa Saviot
20ab57d922 [apps/stats] Fix median computation 2018-07-10 15:41:12 +02:00
Léa Saviot
ce752eb553 [apps/stats] Fix color problem when unselecting the box views
Problem:
In Statistics, select a box view then press back to select a tab: the
previously seleted box stays colored even though it is unselected.
2018-07-04 14:21:19 +02:00
Léa Saviot
4e81684b08 [apps/stats] No need for special handling of the subview banner views
Just put them to nullptr.
2018-06-12 15:50:50 +02:00
Léa Saviot
a83ef756b3 [apps/stats/reg] Share Store methods 2018-06-12 15:50:42 +02:00
Léa Saviot
3e06764bb9 [apps/statistics] Fix histogram/box selection save in snapshot 2018-06-12 15:09:06 +02:00
Léa Saviot
afd81ebd10 [apps/stat/reg] Fix memory leak in Store Context 2018-06-12 10:54:26 +02:00
Émilie Feral
67cddf554d Merge branch 'lea-statistics' into upgrade-1.6.0 2018-06-12 10:25:54 +02:00
Léa Saviot
3a3522faef [apps/statistics] Store selected series in snapshot 2018-06-11 13:58:26 +02:00
Léa Saviot
13a4057786 [apps/stats/reg] Do not fill with formula if undefined values 2018-06-11 13:58:26 +02:00
Léa Saviot
d44459bba2 [apps/reg/stats] Share StoreContext 2018-06-11 13:58:26 +02:00
Léa Saviot
3c536523c5 [app/stats] Fix wrong assert
When a series has two elements only and they are the same, the median is
this element and there is no element after that.
2018-06-11 13:58:26 +02:00
Léa Saviot
30448ec144 [apps/stats] Fix series notation (V1/N1 instead of VO/NO) 2018-06-11 13:58:26 +02:00
Léa Saviot
4fec4f0b9e [apps/statistics] SeriesContext -> StatisticsContext 2018-06-11 13:58:25 +02:00
Léa Saviot
70ad21232d [apps/shared] FloatPairStore -> DoublePairStore 2018-06-11 13:58:25 +02:00
Léa Saviot
185d77fcb7 [apps/statistics] Set the formula input view label 2018-06-11 13:58:25 +02:00
Léa Saviot
79435ff3fb [apps/stats] Compute the number of values to fill in with the formula 2018-06-11 13:58:25 +02:00
Léa Saviot
5da90b5160 [apps/stats] Fill with formula in statistics 2018-06-11 13:58:25 +02:00
Léa Saviot
5f3ea724f4 [apps/stats] Prevent negative values in "Size" columns 2018-06-11 13:58:25 +02:00
Léa Saviot
a49c1b6154 [apps/stats] Series context 2018-06-11 13:58:25 +02:00
Léa Saviot
7491277713 [apps/poincare] Add V1, N1, V2, N2, ... symbols to lexer 2018-06-11 13:58:25 +02:00
Léa Saviot
b2c84b3f45 [apps] Fix compilation 2018-06-11 13:58:25 +02:00
Léa Saviot
6f71ff8a2c [apps/reg] Add separators in Stats 2018-06-11 13:58:24 +02:00
Léa Saviot
4ac8b0ce93 [apps/statistics] Clean StoreController::willDisplayCellAtLocation 2018-06-11 13:58:24 +02:00
Léa Saviot
5c8f9c60ef [apps/shared] Simplify StoreTitleCell constructor 2018-06-11 13:58:24 +02:00
Léa Saviot
2f9de351d3 [apps/i18n] Share statistics messages also used by regression 2018-06-11 13:58:24 +02:00
Léa Saviot
9f866febea [apps/stats] Make spanish title fit in cell 2018-06-11 13:58:24 +02:00
Léa Saviot
73dd1cf335 [shared] Make FloatPairStore::m_numberOfPairs private 2018-06-11 13:58:24 +02:00
Léa Saviot
1e7069f00e [apps/stats] Fix margins and column widths 2018-06-11 13:58:24 +02:00
Léa Saviot
cf03d7e7ac [apps/stats] Memoize number of non empty series 2018-06-11 13:58:24 +02:00
Léa Saviot
b503213037 [apps/stats] Memoize emptiness of series 2018-06-11 13:58:24 +02:00
Léa Saviot
e295dd678e [apps/stats] Fix drawin and reloading 2018-06-11 13:58:24 +02:00
Léa Saviot
e1b39b6f3a [apps/stats] Fix box drawing and dirtying 2018-06-11 13:58:24 +02:00
Léa Saviot
2c1d2b402b [app/stats] Prevent histogram blinking 2018-06-11 13:58:23 +02:00
Léa Saviot
e025cb30d5 [apps/stats] Clean code 2018-06-11 13:58:23 +02:00
Léa Saviot
c31527c54e [apps/stats] Fix histogram horizontal scrolling 2018-06-11 13:58:23 +02:00
Léa Saviot
ed7a29084c [apps/stats] Remove histogram blinkng 2018-06-11 13:58:23 +02:00
Léa Saviot
e0518ecaf9 [apps/stats] Remove histogram blinking 2018-06-11 13:58:23 +02:00
Léa Saviot
02c81e76fb [apps/stats] Remove compilation warning about non used value 2018-06-11 13:58:23 +02:00
Léa Saviot
357d3fbad0 [apps/shared/stats] Make store functions const 2018-06-11 13:58:23 +02:00
Léa Saviot
47fa6f4a41 [apps/escher] Share color selection for data (Red, blue, Green, Yellow) 2018-06-11 13:58:23 +02:00
Léa Saviot
df9be81ce7 [apps/stats] Dirty the whole box view when reloading it
This is needed because we now change the main box color on selection
2018-06-11 13:58:23 +02:00
Léa Saviot
3e547bb44c [apps/stats] Fix banner size computation 2018-06-11 13:58:23 +02:00
Léa Saviot
2997e991c4 [apps/stats] Fix display ok OK view for histogram parameters 2018-06-11 13:58:23 +02:00
Léa Saviot
c9407d6bdb [apps/stats] Color the box of the selected box view 2018-06-11 13:58:23 +02:00
Léa Saviot
4e9767b3c9 [apps/stats] Handle the upperleft cell navigation in calculation 2018-06-11 13:58:23 +02:00