Léa Saviot
a3a1f86f8d
[apps] Add context parameter to fix tests
2020-02-12 15:13:21 +01:00
Léa Saviot
9d6bab092f
[poincare/parser] Identifier is not already function -> symbol
...
We check the context: if an identifier is already a function, we
interpret it as such, otherwise it is a symbol.
This way, in the Equation app, x(x+1) is interpreted as x*(x+1)
2020-02-12 15:13:21 +01:00
Léa Saviot
756eeeb2d8
[poincare/parser] Add context
2020-02-12 15:13:21 +01:00
Émilie Feral
158a45e94d
[apps/shared] AbstractScrollableExactApproximateExpressionsView: let the
...
child class decides which subview to select
2020-02-12 15:13:21 +01:00
Émilie Feral
d61336936e
[apps/shared] Create a class Dots to share dots masks between CurveView
...
and RoundCursorView. Use the same dot for illustrations of additional
results in Calculation app and Function app
2020-02-12 15:13:21 +01:00
Émilie Feral
ba159de21d
[apps/calculation] Trigonometry additional results are displayed if the
...
input OR the output is a cosine/sine
2020-02-12 15:13:21 +01:00
Émilie Feral
f5523fe01c
[apps] Slightly change the message of Empty variable box to avoid text
...
cropping
2020-02-12 15:13:21 +01:00
Émilie Feral
60cac1f928
[apps] Add borders to VariableBoxEmptyController
2020-02-12 15:13:21 +01:00
Émilie Feral
3fa4e0838a
[escher] Create a class Bordered instead of BorderedCell: this enable
...
non-cell view to use it as well
2020-02-12 15:13:21 +01:00
Émilie Feral
398b529811
[apps/calculation][poincare] AdditionalInformationType is determined
...
from both input and output expressions of a Calculation
2020-02-12 15:13:21 +01:00
Émilie Feral
be6f11208f
[apps/calculation] additional_outputs: make a parent class to
...
TrigonometryGraphCell and ComplexGraphCell inheriting from
BorderedCell
2020-02-12 15:13:21 +01:00
Émilie Feral
404c0945f9
[apps/calculation] additional_outputs: ComplexGraphView: simplify
...
computation of ellipsis equation (avoid computational errors for real =
-6 and imaginary = 1E-8 for instance)
2020-02-12 15:13:21 +01:00
Émilie Feral
06fa3bba5b
[apps/shared][apps/calculation] CurveView: enable to personalize the
...
maximal glyph length of graduation labels. Shorten them in
ComplexGraphView
2020-02-12 15:13:21 +01:00
Léa Saviot
8b250e0ca0
[apps/i18n] Fix portuguese from Portugal, not Brazil
2020-02-12 15:13:21 +01:00
Léa Saviot
22601fd8a3
[apps/settings/exam_mode] "How to deactivate" messages
2020-02-12 15:13:21 +01:00
Léa Saviot
a51d434a78
[apps/settings] Inline method
2020-02-12 15:13:21 +01:00
Léa Saviot
155d2a4758
[apps/probability] Remove unneeded parameter
2020-02-12 15:13:21 +01:00
Léa Saviot
f6c15198bc
[apps/regression] Power regression uses logarithm of series
...
This matches other apps results and we directly compute the values from
the data instead of doing a gradient descent.
2020-02-12 15:13:21 +01:00
Léa Saviot
97b495a4dc
[apps/interactive_curve_view_range] Orthonormal keep max grid unit
...
When setting the axes then putting on the orthnormalization, 2 * (max of
the two axes units) is put to 1 cm instead of doing 2 units = 1cm. This
roughly keeps the configuration of the window.
2020-02-12 15:13:21 +01:00
Léa Saviot
97c5ef79af
[apps/calc] Display ApproximateOnly if approximate layout cannot be created
2020-02-12 15:13:21 +01:00
Léa Saviot
1af28d4310
[apps/calc] Display ApproximateOnly if exact layout cannot be created
2020-02-12 15:13:21 +01:00
Émilie Feral
8e407bd01e
[apps/calculation] additional_outputs: fix assertion which checks that
...
both real and imaginary are well defined in ComplexGraphView
2020-02-12 15:13:21 +01:00
Émilie Feral
71a968ec05
[apps/calculation] Clean Unicode character treated as a whitespace
2020-02-12 15:13:21 +01:00
Émilie Feral
2b18f585d0
[poincare] additionalInformationType returns "Complex" only when both
...
real and imaginary parts are defined (not NAN or INFINITY)
2020-02-12 15:13:21 +01:00
Léa Saviot
0260e2ffb4
[apps/proba] Fisher distribution authorized parameter values
2020-02-12 15:13:21 +01:00
Léa Saviot
8c801392a5
[apps/proba] Fisher distribution zoom values
2020-02-12 15:13:21 +01:00
Léa Saviot
09a2d554d1
[apps/probability] Fisher tests
2020-02-12 15:13:21 +01:00
Léa Saviot
55a4e3d94c
[apps/proba] Implement Fisher formulae
2020-02-12 15:13:21 +01:00
Léa Saviot
93c96186c4
[apps/probability] Initial Fisher distribution
2020-02-12 15:13:21 +01:00
Léa Saviot
08cdf5a8d2
[apps/probability/i18n] Put some definitions in universal
2020-02-12 15:13:21 +01:00
Émilie Feral
a4d630ace0
[apps/calculation] additional_outputs: IllustratedListController:
...
textAtIndex depends on the selected subview
2020-02-12 15:13:21 +01:00
Émilie Feral
9d540ca16c
[apps/calculation] additional_outputs: In RationalListController,
...
special case for textAtIndex of the Euclidean division: copy only the
right part of the equality
2020-02-12 15:13:21 +01:00
Émilie Feral
21f3cd629d
[apps/shared] CurveView: fix drawLabelsAndGraduations
...
Fix following bug: when handling label = "0", not shifted,
the label position should be computed as for the other labels.
2020-02-12 15:13:21 +01:00
Émilie Feral
685f030f83
[apps/calculation] Fix ScrollableInputExactApproximateExpressionCell and
...
ScrollableExactAppromiateExpressionsCell layout (layout of cells can be
asked at any moment - when handling copy/cut events)
2020-02-12 15:13:21 +01:00
Émilie Feral
a4e8d24a23
[apps/calculation] Improve text inserted in EditExpressionController
...
when handling OK events on additional outputs pop-ups
2020-02-12 15:13:20 +01:00
Émilie Feral
fef0538941
[apps/calculation] Handle OK events on additional outputs pop-up - WIP
2020-02-12 15:13:20 +01:00
Léa Saviot
3d4d46c489
[apps/code/menu_controller] Fix Clear handling in text field
...
The menu controller handled Clear but it clashed with any ongoing
selection.
In fact, eveything handled in textFieldDidReceiveEvent was already
handled in TextFieldWithExtension
2020-02-12 15:13:20 +01:00
Léa Saviot
5a7c03d485
[apps/editor_controller] Fix backspace handling in text area
...
The editor controller handles backspace if it is at the beginning of a
line, to remove multiple spaces to match the indentation, but it should
not do so if there is an ongoing selection
2020-02-12 15:13:20 +01:00
Émilie Feral
c441611190
[apps/calculation] Do no display the factor expression if it is
...
undefined in Integer additional outputs
2020-02-12 15:13:20 +01:00
Émilie Feral
90957d137a
[apps/calculation] HistoryViewCell: avoid blinking
2020-02-12 15:13:20 +01:00
Émilie Feral
272d405eb7
[apps/calculation] additional_outputs: Always force selection on the
...
left subviews of cells when IllustratedListController pop-up is displayed
2020-02-12 15:13:20 +01:00
Émilie Feral
dd61468056
[apps/calculation] ScrollableInputExactApproximateExpressionsCell:
...
relayoutSubviews after changing member variables that affect the
subviews frames
2020-02-12 15:13:20 +01:00
Émilie Feral
a655d60d0f
[apps/calculation] additional_outputs: fix rowHeight of
...
illustrated_list_controller (calculation are all expanded)
2020-02-12 15:13:20 +01:00
Émilie Feral
2c55e0d6d9
[apps/calculation] additional_outputs: factorize flat ellipsis handling
2020-02-12 15:13:20 +01:00
Émilie Feral
2dbd840c00
[apps/calculation] additional_outputs: fix flat ellipsis for pure
...
imaginary in ComplexGraphView
2020-02-12 15:13:20 +01:00
Émilie Feral
e382d8f15e
[apps/calculation] additional_outputs: improve labels layout in
...
ComplexGraphView
2020-02-12 15:13:20 +01:00
Émilie Feral
340bbb5644
[apps/calculation] additional_outputs: fix ellipsis equation in
...
ComplexGraphView
2020-02-12 15:13:20 +01:00
Émilie Feral
c2364d27cd
[apps/calculation] additional_outputs: clean and improve ComplexModel
...
range
2020-02-12 15:13:20 +01:00
Émilie Feral
e13cba5a90
[apps/calculation] additional_outputs: flat ellipsis to reprensent the
...
angle in ComplexGraphView
2020-02-12 15:13:20 +01:00
Émilie Feral
88c3f609e8
[apps/calculation] additional_outputs: improve comments of
...
ComplexGraphView
2020-02-12 15:13:20 +01:00