Commit Graph

10071 Commits

Author SHA1 Message Date
É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
Léa Saviot
2eaf84cc73 [escher/app/modal_view] If will exit app, do not relayout
App::willBecomeInactive calls dismissModalViewController, which puts
back the previous repsonder and calls layoutSubviews on the
modalViewController. We do not want to do all these operations when the
app will be exited anyways.
2020-02-12 15:13:18 +01:00
Léa Saviot
1d954db19d [poincare/layout_cursor] Better empty layout handling in selectLeftRight 2020-02-12 15:13:18 +01:00
Léa Saviot
8a8d4677a8 [escher/layout_field] Fix addSelection
Better handling of adding an horizontal to the selection of all its
children / or the contrary
2020-02-12 15:13:18 +01:00
Léa Saviot
94cd3ecde7 [poincare/layout_cursor] Fix selectUpDown if pointed layout detached
Scenario: 23/[[1 |empty] [empty empty]] then select up
2020-02-12 15:13:18 +01:00
Léa Saviot
344ea5a67a [apps/code] Handle Home event when in the toolbox
If editing a script, the empty space at the end of the script should be
moved to the end of the storage.
2020-02-12 15:13:18 +01:00
Léa Saviot
67f10d0abd [poincare/layout_node] Fix changeGreySquaresOfAllMatrixRelatives
There was a problem with node adresses that changed during an iterator
use.
Scenario : Matrix, Root, get right of the matrix, 50 zeroes, Divide,
Zero, Zero then shift up
2020-02-12 15:13:18 +01:00
Léa Saviot
3ff94b8930 [escher/text_input] Fix cursor position when deleting selection 2020-02-12 15:13:18 +01:00
Léa Saviot
cb53038909 [escher] Text input has alignment, not text field 2020-02-12 15:13:18 +01:00
Léa Saviot
aad1636238 [escher/text_input] Methods reordering 2020-02-12 15:13:18 +01:00
Léa Saviot
fb18b7cd69 [escher/text_input] Maxe some member variables protected 2020-02-12 15:13:18 +01:00
Léa Saviot
9b53b182a9 [escher/text_input] Fix deleteSelection 2020-02-12 15:13:18 +01:00
Léa Saviot
367df21288 [escher/text_input] Use move method to select
This fixes the dot that could be selected in the Python app script names
2020-02-12 15:13:18 +01:00
Léa Saviot
e3d06d87fb [escher/text_field] Fix Cut event when selection 2020-02-12 15:13:18 +01:00
Léa Saviot
e161d42839 [escher/text_field] Reset selection after Cut event 2020-02-12 15:13:18 +01:00
Léa Saviot
3d6b0a2d20 [escher/text_field] Fix selection deletion
The draft text length should be modified accordingly
2020-02-12 15:13:18 +01:00
Léa Saviot
0e7809b5d9 [escher/text_field] Rename size -> length 2020-02-12 15:13:18 +01:00
Léa Saviot
2c1cc02a19 [escher/layout_field] Fix selection + matrices
When selecting inside a matrix and then selecting outside, the grey
squares should disappear.
2020-02-12 15:13:18 +01:00
Léa Saviot
5fbc321a85 [apps/calculation] Coding style 2020-02-12 15:13:18 +01:00
Léa Saviot
7d2a24b826 [poincare/tree_pool] Fix node fetching after pool exception 2020-02-12 15:13:18 +01:00
Léa Saviot
5f52c36439 [escher/layout_field] Reset selection when finishing edition 2020-02-12 15:13:18 +01:00
Léa Saviot
bc1c566737 [poincare/fraction_layout] Better selection up/down in fraction 2020-02-12 15:13:17 +01:00
Léa Saviot
b1aeda47e8 [poincare/layout] Add parameter for selection when moving cursor 2020-02-12 15:13:17 +01:00