Commit Graph

11243 Commits

Author SHA1 Message Date
Émilie Feral
157aa206c6 [calculation] Calculation: add a parameter to height to compute the
height of the calculation cell with all expressions inlined
2020-02-12 15:13:19 +01:00
Émilie Feral
52ac7b1a94 [calculation] IllustratedListController: fix first responder when
IllustratedListController becomes first responder
2020-02-12 15:13:19 +01:00
Émilie Feral
24873ef730 [calculation] IllustratedListController: forbid selection of the
illustration cell
2020-02-12 15:13:19 +01:00
Émilie Feral
79a84d1044 [calculation] Add an equal sign in
ScrollableInputExactApproximateExpressionsCell
2020-02-12 15:13:19 +01:00
Émilie Feral
f850226341 [calculation] Fix ScrollableInputExactApproximateExpressionsView margins 2020-02-12 15:13:19 +01:00
Émilie Feral
dcdc5ac879 [calculation] ScrollableInputExactApproximateExpressionsCell inherits
from TableCell to draw borders
2020-02-12 15:13:18 +01:00
Émilie Feral
d1439c2453 [calculation] ScrollableInputExactApproximateExpressionsCell is a
responder
2020-02-12 15:13:18 +01:00
Émilie Feral
90033a54c0 [shared] Avoid extra function call 2020-02-12 15:13:18 +01:00
Émilie Feral
c7ae89fcba [calculation] Additional outputs: display left and center subviews of
InputExactApproximateExpressionsView in the additional output pop-up
2020-02-12 15:13:18 +01:00
Émilie Feral
eac83fce0b [calculation] Improve margins of additional results pop-up 2020-02-12 15:13:18 +01:00
Émilie Feral
2ebbe5ae25 [calculation] WIP: first version of ComplexListController 2020-02-12 15:13:18 +01:00
Émilie Feral
47e4abee81 [apps/calculation] Reload display output when HistoryController appears
(to avoid displaying 2 = 2 when leaving and reentering Calculation app)
2020-02-12 15:13:18 +01:00
Émilie Feral
ec0c7c0384 [apps/calculation] Create ScrollableInputExactApproximateExpressionsView
inheriting from Shared::ScrollableExactApproximateExpressionsView
2020-02-12 15:13:18 +01:00
Émilie Feral
6ed9e11de3 [apps/shared] ScrollableExactApproximateExpressionsView: split
ScrollableExactApproximateExpressionsView into
AbstractScrollableExactApproximateExpressionsView and
ScrollableExactApproximateExpressionsView to factorize code with future
ScrollableInputExactApproximateExpressionsView
2020-02-12 15:13:18 +01:00
Émilie Feral
a21689d72c [apps/calculation][poincare] Move additionalInformationType method from
Calculation to Poincare module
2020-02-12 15:13:18 +01:00
Émilie Feral
66b88de4b4 [apps/calculation] WIP: Improve Calculation::additionalOuput 2020-02-12 15:13:18 +01:00
Émilie Feral
e932e8f895 [apps/calculation] Fix HistoryController: update the OutputView when
reloading the table data
2020-02-12 15:13:18 +01:00
Émilie Feral
904995f841 [apps/shared] ScrollableExactApproximateExpressionsView: remove useless
reload
2020-02-12 15:13:18 +01:00
Émilie Feral
400819d87d [apps/calculation] HistoryViewCell: remove useless m_expandedCalculation 2020-02-12 15:13:18 +01:00
Émilie Feral
6c9832c9e1 [apps/calculation] Avoid blinking in Calculation 2020-02-12 15:13:18 +01:00
Émilie Feral
8e57c00ff8 [apps/calculation] Additional outputs: clean complex model (handle
undefined values)
2020-02-12 15:13:18 +01:00
Émilie Feral
b33a778ccb [ion] N0110 linker script: fix symbol name of section
internal_to_external
2020-02-12 15:13:18 +01:00
Émilie Feral
f0ec2136b7 [apps/calculation] WIP: display the complex graph when clicking on the
burger menu
2020-02-12 15:13:18 +01:00
Émilie Feral
b566846c49 [apps/calculation] SelectableView: force relayouting subviews in
scrollToCell
2020-02-12 15:13:18 +01:00
Émilie Feral
efe66a1218 [apps/calculation] HistoryViewCell: memoize the calculation additional
output and display burger when required
2020-02-12 15:13:18 +01:00
Émilie Feral
fa5902dcd2 [apps/calculation] Calculation: add a methods additionalOuput 2020-02-12 15:13:18 +01:00
Émilie Feral
29c50702ae [apps/shared] ScrollableExactApproximateExpressionsView: add a burger
view
2020-02-12 15:13:18 +01:00
Émilie Feral
8915148e72 [escher] Add a class BurgerMenuView 2020-02-12 15:13:18 +01:00
Émilie Feral
bb8bf9862c [apps/calculation] ComplexGraphView: add the angle value on the graph 2020-02-12 15:13:18 +01:00
Émilie Feral
27618e20d1 [apps/calculation] ComplexModel: use inheritance instead of composition
with std::complex<float> class
2020-02-12 15:13:18 +01:00
Émilie Feral
6af92c6d14 [apps/calculation] ComplexModel: change methods names 2020-02-12 15:13:18 +01:00
Émilie Feral
94ae9be992 [apps/calculation] ComplexGraphView: draw the angle and a segment from
the origin to the complex dot
2020-02-12 15:13:18 +01:00
Émilie Feral
f7942207f5 [apps/shared][apps/calculation] Create a methods
Shared::CurveView::drawAxisLabel and use it in ComplexGraphView
2020-02-12 15:13:18 +01:00
Émilie Feral
9c3dd84c42 [apps/shared] CurveView: factorize code of drawLabels and drawLabel 2020-02-12 15:13:18 +01:00
Émilie Feral
0beceede5f [apps/shared][apps/calculation] Create CurveView::drawLabel and use it
in complex_graph_view
2020-02-12 15:13:18 +01:00
Émilie Feral
3fb59d9f37 [apps/calculation/additional_outputs] ComplexGraphView draw dots from
model
2020-02-12 15:13:18 +01:00
Émilie Feral
1ceaeb935c [apps/calculation] First draft of complex additional result MVC 2020-02-12 15:13:18 +01:00
Léa Saviot
140c9c9660 [poincare/layout_node] Forward forSelection param in moveCursorVertically
1
Fixes the scenario: ------
                        133
                    12|+--- then Right then Shift Up -> the whole
                        820 fraction should be selected
2020-02-12 15:13:18 +01:00
Léa Saviot
ef7fb400c9 [escher/test] Fix and add layout_field select up down tests 2020-02-12 15:13:18 +01:00
Léa Saviot
e10bd18f8e [escher/text_area] insertTextAtLocation removes system parentheses 2020-02-12 15:13:18 +01:00
Léa Saviot
c192d2c920 [poincare/serialization_helper] Better ReplaceSysPrthesesByUsrPrtheses 2020-02-12 15:13:18 +01:00
Léa Saviot
a42b52d10e [escher/text_area/field] When pasting, force cursor right of text 2020-02-12 15:13:18 +01:00
Léa Saviot
c03c9086b8 [ion/utf8_helper] Add FIXME comment 2020-02-12 15:13:18 +01:00
Léa Saviot
408a33f8a6 [escher/layout_field] Allow copy-paste of ^2 2020-02-12 15:13:18 +01:00
Léa Saviot
8f86769cd1 [escher/layout_field] When pasting, force cursor right of pasted text
Even if the text is inserted code point per code point
2020-02-12 15:13:18 +01:00
Léa Saviot
d446d1cb61 [escher/text_input] Fix ShiftDown in text field with extension
The extension should not be selected
2020-02-12 15:13:18 +01:00
Léa Saviot
8cf13adaf0 [apps/editor_controller] Handle deleted scripts in cleanStorageEmptySpace 2020-02-12 15:13:18 +01:00
Léa Saviot
d9b284c1ec [escher/text_input] ShiftUp/Down selects whole textfield on left/right 2020-02-12 15:13:18 +01:00
Léa Saviot
cef4466ca8 [apps/expression_model] Smaller member variable size 2020-02-12 15:13:18 +01:00
Léa Saviot
f402f514a7 [apps/expression_model] Fix memoization of circularity
Scenario f(x)=cf(f(0)) in graph
2020-02-12 15:13:18 +01:00