Commit Graph

264 Commits

Author SHA1 Message Date
É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
Émilie Feral
6f7e1447ed [apps] Probability: display 7 significative numbers in calculation
results
2018-01-04 15:48:06 +01:00
Émilie Feral
0d3d7f3587 [apps] Probability: do not round the calculation results with 3 decimals 2018-01-04 15:48:06 +01:00
Émilie Feral
07054835b4 [apps] Probability: update the size of calculation boxes with their
content
2018-01-04 15:48:06 +01:00
Émilie Feral
83b5798850 [apps] Factorize code: textFieldDidReceiveEvent implementation is
identical for all parameters controller
2017-12-20 17:41:03 +01:00
Émilie Feral
2c85fe88a5 [apps] Probability: textfields should finish editing when the cursor is
on one edge of the field
2017-12-20 17:17:51 +01:00
Jean-Baptiste Boric
59e5750463 [apps] Extract shared translations from apps
This commit can be regenerated with the following shell snippet:

```
for i in UndefinedValue ForbiddenValue Goto ValueNotReachedByFunction Initialization Trigonometric RoundAbscissa Orthonormal DefaultSetting Axis Zoom GraphTab IntervalSet XStart XEnd Step Plot DisplayValues ActivateDesactivate NoFunctionToDelete Language FunctionOptions ClearColumn ColumnOptions DataTab CopyColumnInList FunctionColumn Move Or ValuesTab Goto ToZoom HardwareTestLaunch1 HardwareTestLaunch2 HardwareTestLaunch3 HardwareTestLaunch4 ActiveExamModeMessage1 ActiveExamModeMessage2 ActiveExamModeMessage3 ExitExamMode1 ExitExamMode2 Sci Rad Deg
do
  move=$(grep "^$i = " -r *)

  if [ -n "$move" ]
  then
    echo "$move" | while read -r item
    do
      file=$(echo "$item" | cut -f1 -d:)
      lang=$(echo "$file" | cut -f2 -d.)
      translation=$(echo "$item" | sed -e 's/^[^:]*://')
      label=$(echo "$translation" | sed -e 's/=.*//')
      sed -i "/^$label/d" "$file"
      echo "$translation" >> "apps/shared.$lang.i18n"
    done
  fi
done

for i in apps/shared.*.i18n
do
  sort $i -o $i
done
```
2017-12-07 09:20:31 +01:00