Commit Graph

341 Commits

Author SHA1 Message Date
Romain Goyet
4f2c7a3763 [build] Update the i18n processing to fit the out-of-tree build 2019-03-06 15:00:59 +01:00
Romain Goyet
4f1d74f44b [build] Use an out-of-tree build 2019-03-06 15:00:59 +01:00
Émilie Feral
7b5f3c570d [poincare] Change the way Expression are built 2019-02-21 11:29:35 +01:00
Léa Saviot
335264e944 [apps] Typo: drawAxes is now drawAxis 2019-01-10 11:42:05 +01:00
Léa Saviot
8c6ffa6d42 [apps] Fix graph X axis labels that read the same
Scenario: just zoom in in a graph
Fix:
- Do not truncate labels.
- Label size is computed depending on available size and number of
 labels.
- If labels cannot be displayed properly, just display the minimal
and maximal labels!
2019-01-10 11:42:02 +01:00
Léa Saviot
f2310a8814 [apps] Change CurveViewRange::computeGridUnit parameters 2019-01-10 11:42:02 +01:00
Léa Saviot
a65bdb1dfc [apps] Increase the Y axis label buffer sizes in curve views 2019-01-10 11:42:02 +01:00
Léa Saviot
56504525c9 [Makfile] Remove superfluous test_objs
We now build all objects even for test, so we do not need most of the
previous test_objs
2018-12-19 09:44:58 +01:00
Émilie Feral
e56cfa3f94 [shared] Fix the buffer size of curve view labels 2018-11-30 09:40:15 +01:00
Émilie Feral
3f88d631af [statistics] HistogramController: scroll to the selected bar when moving
selection vertically
2018-11-23 12:04:09 +01:00
Émilie Feral
fb1625e9f4 [statistics][regression] CalculationController: fix column width to
display all digits
2018-11-23 12:04:09 +01:00
Émilie Feral
e80512f362 [poincare] Context::expressionForSymbol takes a boolean notifying that
we want a copy or not
2018-11-23 12:04:08 +01:00
Émilie Feral
698332c355 [escher] InputTextDelegate and LayoutFieldDelegate don't inherit from
InputTextDelegate to avoid diamond inheritance
2018-11-23 12:04:03 +01:00
Léa Saviot
21b214e60f [apps] Build all apps 2018-11-23 12:04:01 +01:00
Émilie Feral
4dda66e58d [escher] AlternateEmptyViewController: give the delegate the opportunity
to choose the view to display when empty
2018-11-23 12:04:01 +01:00
Léa Saviot
6197ebd4c5 [poincare] SymbolAbstract is parent of Symbol and Function 2018-11-23 12:04:00 +01:00
Léa Saviot
594bc6395e [apps/statistics] Use new Symbol API 2018-11-23 12:03:58 +01:00
Émilie Feral
737393072e [statistics] Fix histogram_controller and multiple_data_view_controller
life cycle (viewWillAppear, didEnterResponderChain)

This fixes the histogram labels when a serie is added
2018-11-15 12:02:21 +01:00
Émilie Feral
fe3b9ad5ba [statistics] MultipleDataView: setDisplayBanner forces to re-layout the
banner view
2018-11-15 12:02:21 +01:00
Émilie Feral
592ae15499 [statistics] MultipleDataViewController: always select the right subview
(the controlled view might have been destroyed -returing to home for
instance)
2018-11-15 12:02:21 +01:00
Léa Saviot
0eae57da09 [apps/stats] Fix pixel row not drawn when there are 3 histograms 2018-11-14 10:35:57 +01:00
Léa Saviot
851ad1ea74 [apps/stats] Clean test 2018-11-08 11:44:57 +01:00
Léa Saviot
e101f85d65 [apps/stast] Add test on median with null frequencies 2018-11-08 11:44:57 +01:00
Léa Saviot
bbd5cff042 [apps/stats] Do not fetch numberOfPairsOfSeries too often 2018-11-08 11:44:57 +01:00
Léa Saviot
6c1cdb21ef [apps/stats] Median does not use null-frequency values
This fixes the median for (1,0), (2,1), (3,0), (4, 1). It should be 3
(the mean between 2 and 4), not 2.5 (the mean between 2 and 3).
2018-11-08 11:44:57 +01:00
Lionel Debroux
1a8c6b6ae9 [poincare, escher, ion, apps] Split the huge umbrella header poincare.h, to reduce build time.
This should be a NFC, but surprisingly, it also reduces size... so what does it change ?
2018-10-23 11:49:09 +02:00
Léa Saviot
5d92f13c26 Clean strlcpy arguments 2018-10-17 11:22:37 +02:00
Romain Goyet
f8beae3b86 [kandinsky] Move to KDFont 2018-10-11 16:44:02 +02:00
vardai
fab726e514 Corrected German translation without Umlaut 2018-09-25 10:01:17 +02:00
vardai
4892b87dde Corrected German translation 2018-09-25 10:01:17 +02:00
Émilie Feral
c95c3145bc Merge remote-tracking branch 'github/master' into Tree 2018-09-13 17:03:31 +02:00
Léa Saviot
5821388b98 [statistics/test] Clearer assertion 2018-09-12 13:40:10 +02:00
Léa Saviot
0038cb537a [statistics] For median and quartiles, compare absolute frequencies
Instead of relative frequencies
2018-09-12 13:40:10 +02:00
Léa Saviot
8d95f408be [poincare] Tests on statistics 2018-09-12 13:40:10 +02:00
Léa Saviot
02899b863b [poincare] Median computation (and quartile...) tackles imprecision 2018-09-12 13:40:10 +02:00
Émilie Feral
86b3d366ca [apps] All apps are allocated in the same union 2018-09-11 11:32:29 +02:00
Émilie Feral
6d9f0c0f0b [apps] Get rid of DynamicViewController in FloatParameterController 2018-09-11 11:32:29 +02:00
Émilie Feral
579da3033a [apps] Get rid of DynamicViewController (part 2) 2018-09-07 17:55:42 +02:00
Émilie Feral
51da9a00cc [statistics] Fix StoreController with new Poincare API 2018-09-06 14:23:57 +02:00
Émilie Feral
9f4429159a [shared] StoreContext does not hold a Float<double> anymore, it is built
when calling expressionForSymbol
2018-09-06 14:07:41 +02:00
Émilie Feral
9182d66fcc [apps] Apps are not allocated on the heap anymore but in a union hold by
the AppsContainerStorage
2018-09-06 09:49:38 +02:00
É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