Commit Graph

270 Commits

Author SHA1 Message Date
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
48bccac8de [apps/probability] Clean class NormalLaw 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
01e67dbdc0 [apps/probability] Fix law parameters display in calculation step 2018-11-23 12:04:09 +01:00
Léa Saviot
a0e716c1ad [apps/eschr] Rename textFieldDidHandleEvent parameter textSizeDidChange 2018-11-23 12:04:06 +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
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
Émilie Feral
1917ee8588 [i18n] german translation
- Wahrscheinlichkeit is too long to be displayed
- XPrediction describes the prediction of Y given X
2018-10-16 09:36:20 +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
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
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
a1bcbe28e6 [quiz] Turn all assert in quiz_assert 2018-08-28 10:40:52 +02:00
Émilie Feral
48f890ef93 [poincare] AngleUnit, FormatComplex and PrintFloatMode are now
enumeration of Preferences class
2018-07-30 13:48:04 +02:00
Émilie Feral
e61a408a0a [poincare] Get rid of AngleUnit::Default 2018-07-18 17:09:07 +02:00
Émilie Feral
e9c4485eeb Merge branch 'solver' into upgrade-1.6.0 2018-06-12 09:47:41 +02:00
Émilie Feral
1f452130f6 [probability] Change 'mu: moyenne' to 'mu: Espérance ou moyenne' 2018-06-08 17:22:35 +02:00
Émilie Feral
f6bdf56c15 [escher] TableViewDataSource: implement default cumulatedWidthFromIndex,
cumulatedWidthFromIndex, indexFromCumulatedWidth,
indexFromCumulatedHeight
2018-06-07 16:21:31 +02:00
Émilie Feral
24c9549866 [escher] Handle copy/cut event on selectable table view 2018-06-07 14:46:14 +02:00
Émilie Feral
4cbf0b86e9 [probability] Increase binomial n cap to 99999 2018-06-04 15:42:13 +02:00
Émilie Feral
84a78c8a9b [probability] Add comment for future improvement in Binomial law
computation
2018-05-23 10:14:21 +02:00
Émilie Feral
f2887e895d [probability] Increase the cap of parameters on binomial law 2018-05-23 10:14:21 +02:00
Émilie Feral
7f6d1f0e31 [probability] Fix evalution of the binomial density: some computation
were done in float instead of in double
2018-05-23 10:14:21 +02:00
Romain Goyet
84561a929f [escher] Clean the ScrollView, TableView and SelectableTableView constructors 2018-04-18 18:08:07 +02:00
Émilie Feral
576caa039f [apps][escher] Add methods 'handleEventWithText' in TextField and
TextArea to fix bug in probability (adding a toolbox text from the
calculations controller)
2018-03-22 13:12:12 +01:00
Émilie Feral
963d2a57e3 [apps] Probability: special cases when inversing discrete law 2018-03-22 10:57:40 +01:00
Émilie Feral
6de71ae145 [poincare] Clean: convertFloatToText should be in PrintFloat instead of
Complex
2018-03-21 15:57:19 +01:00
Émilie Feral
ef8f5e07c2 [apps] In CurveView, replace the virtual method evaluateModelWithParameter by a function given as parameter (to be able to call Curve view methods with different implementation of evaluateModelWithParameter) 2018-01-30 18:19:27 +01:00
Émilie Feral
ea28475432 [apps] Probability: fix bug in the calculationcontroller due to the wrong implementation of columnWidth
The column width implementation required that a cell view was used only
to display a cell of the table which was not the case.
2018-01-30 18:09:59 +01:00
Émilie Feral
2a207e59ac [apps] Probability: fix scrolling in calculation cells 2018-01-30 18:09:59 +01:00
Émilie Feral
5d8256435e [apps] Probability: fix bug; in calculation controller, when reloading cells after editing textfield, do not reload selection (it corrupts the responder chain if the first reponder was a modal view for ex) 2018-01-30 18:09:59 +01:00
Émilie Feral
cd93f827c1 [apps] Probability: improve precision of inverse normal probability
using erfInv
2018-01-04 15:48:06 +01:00
Émilie Feral
9506f22576 [apps] Probability: add erfInv function and tests 2018-01-04 15:48:06 +01:00
Émilie Feral
faac0d7a58 [escher] Change TableView::size() to
TableView::minimalSizeForOptimalDisplay()
2018-01-04 15:48:06 +01:00
Émilie Feral
da319723a3 [apps] Probability: improve precision of normal law density 2018-01-04 15:48:06 +01:00
Émilie Feral
e0b9db43ab [apps] Probability: order subviews to draw the law curve at last
(avoiding visible noise)
2018-01-04 15:48:06 +01:00
Émilie Feral
fa127ced4e [apps] Probability: clean table margins (replace weird cell margins by
table margins)
2018-01-04 15:48:06 +01:00
Émilie Feral
30e6d0b3f0 [apps] Probability: enable to copy content of non-editable calculations 2018-01-04 15:48:06 +01:00
Émilie Feral
26bbfa85ec [apps] Probability: fix bug in layout (the textfield was moving when
adding characters)
2018-01-04 15:48:06 +01:00
Émilie Feral
fd06d428e5 [apps] Redesign Probability Calculation page 2018-01-04 15:48:06 +01:00
Émilie Feral
e8793c429c [escher] In textfield: when calling textFieldDidHandleEvent, precise if
there was any modification in the text
2018-01-04 15:48:06 +01:00
Émilie Feral
c7b9b21074 [apps] Probability: optimize view reloading in calculation page 2018-01-04 15:48:06 +01:00
Émilie Feral
8f4e9b9656 [apps] Probability: redesigning the calculation controller (for future
scrolling purpose)
2018-01-04 15:48:06 +01:00
Émilie Feral
6ccabe2d3b [apps] Probability: fix bug: for discrete laws, when inversing
probability, round to the closest existing probability (instead of the
closest smaller)
2018-01-04 15:48:06 +01:00