Émilie Feral
cdfbc02499
[apps] Add a function "sumBetweenBounds()" on Function (sum of terms on
...
Sequence, Integral on CartesianFunction)
2018-01-30 18:19:27 +01:00
Émilie Feral
7ea0dbeb56
[apps] Shared: Move part of the implementation of TermSumController to
...
shared (Integral Graph Controller) and improve bound edition in
TermSumController.
2018-01-30 18:19:27 +01:00
Émilie Feral
31afd260a4
[apps] Graph: Change tangent color
2018-01-30 18:19:27 +01:00
Émilie Feral
fe509f6488
[apps] Graph: avoid banner blinking when displaying Tangent
2018-01-30 18:19:27 +01:00
Émilie Feral
5c64f76735
[apps] Graph: redesign TangentGraphController implementation: use
...
different controller with common parent class
2018-01-30 18:19:27 +01:00
Émilie Feral
7ce68d0a11
[apps] Graph: break GraphController into GraphControllerHelper and
...
GraphController
2018-01-30 18:19:27 +01:00
Émilie Feral
85abdbcafb
[apps] Shared: Break function_graph_controller into 2 classes: function_banner_delegate and function_graph_controller
2018-01-30 18:19:27 +01:00
Émilie Feral
3a1d652a07
[apps] Sequence: Term Sum Controller inherits from
...
SimpleInteractiveCurveViewController (enable Zoom in/out)
2018-01-30 18:19:27 +01:00
Émilie Feral
323ecc72c5
[apps] Shared: break InteractiveCurveViewController into 2 classes (to
...
shared the implementation of Zoom in/out and MoveCursorHorizontally)
2018-01-30 18:19:27 +01:00
Émilie Feral
e1b09b639d
[apps] Graph: setType of the graph controller before updating the stack
...
(to reload the right banner view)
2018-01-30 18:19:27 +01:00
Émilie Feral
d1808ae26f
[apps] Graph: change banner view when displaying Tangent in graph view
2018-01-30 18:19:27 +01:00
Émilie Feral
f19e31f4cd
[apps] Specialize GraphView in Type (Tangent, Default ...) instead of
...
GraphController
2018-01-30 18:19:27 +01:00
Émilie Feral
a6050fda55
[apps] Shared: Factorize code: all FunctionGraphView have a member
...
indicating the selected function
2018-01-30 18:19:27 +01:00
Émilie Feral
0dec52a708
[apps] Graph: enable to specialize GraphController in different types
...
(Default, Tangent ...)
2018-01-30 18:19:27 +01:00
Émilie Feral
6d7d957c8f
[apps] Graph: add a submenu calculation parameter controller in the
...
curve parameter controller
2018-01-30 18:19:27 +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
541d0809f3
[apps] Calculation: avoid replacing 'ans' with a store expression (to
...
avoid bug like '(2->A)->B')
2018-01-30 16:17:03 +01:00
Émilie Feral
e4cb6d9aad
[apps] Calculation: when checking the length of the input calculation,
...
first replace "ans" symbol
2018-01-30 16:17:03 +01:00
Émilie Feral
36a3108309
[apps] Calculation: move implementation of ansExpression() from
...
Calculation to CalculationStore
2018-01-30 16:17:03 +01:00
Émilie Feral
59fdcde548
[poincare] Avoid returning partial simplification when the
...
simplification process has been interrupted
2018-01-30 16:17:03 +01:00
Léa Saviot
d5a24bd71c
[To remove]
...
Change-Id: Ifbd887c0ddbdec71c8495eca10354352ffa1418e
2018-01-26 18:14:06 +01:00
Léa Saviot
95f859ce80
[apps/sequence] Set sender for sequence toolbox.
...
Change-Id: I3fe78127273083fb4f8f680ea3e6394f99913a12
2018-01-26 11:55:04 +01:00
Léa Saviot
093131302c
[expression_editor] Delete this app.
...
Change-Id: I4c010ce1948f4c04dff526218d6d85a6d34d109e
2018-01-26 11:07:44 +01:00
Émilie Feral
9443fcb043
[apps] Sequence: in the toolbox, update the extra-cells when updating
...
the hold layout to avoid unvalid read
2018-01-25 15:48:35 +01:00
Émilie Feral
479d86a38e
[apps] Sequence: when setting a next first term index, forbid negative
...
index
2018-01-25 15:48:23 +01:00
Léa Saviot
b9a7973961
[escher/poincare] Move the cursor when inserting a layout (if wanted).
...
The new pointed layout can be specified. If not, the cursor will be on
the right of the new layout.
Change-Id: I5e0c37cf6365447f8eaf354dc5e86a24c6981034
2018-01-24 10:18:12 +01:00
Léa Saviot
a2c0eaa20b
[apps/escher] Remove textFieldDidAbortEditing const char * argument.
...
Also removed the same argument in scrollableExpressionViewWithCursorDidAbortEditing.
Change-Id: Iadc6b708cfc0fab44b9fd4edb980cb759d41e8d0
2018-01-23 10:28:02 +01:00
Léa Saviot
4d778b5d9f
[apps/escher/poincare] Use 2D Edition in Sequence and Graph apps.
...
EditableExpressionView is renamed ScrollableViewWithCursor.
EditableExpressionView is now a View that displays either a TextField or
a ScrollableViewWithCursor, depending on Poincare::Preferences.
Change-Id: Id44ddcd9a83f5fd17d65753ca4c94c5c7cda9b8a
2018-01-23 10:28:02 +01:00
Léa Saviot
17cbcd0ab5
[apps/Makefile] Put all the apps back.
...
Change-Id: Ic88eee0e64c4b17364a08a4d4e5bb99fd0481914
2018-01-23 10:27:56 +01:00
Émilie Feral
696e89c7ef
[apps] Toolbox: add factor decomposition
2018-01-23 10:24:52 +01:00
Émilie Feral
b9dce68f04
[poincare] Create class Factor
2018-01-23 10:24:52 +01:00
Émilie Feral
856a7b3eb0
[apps] Add random menu in toolbox
2018-01-23 10:24:52 +01:00
Émilie Feral
6401ce19ae
[i18n] Add messages for random menu in toolbox
2018-01-23 10:24:52 +01:00
Léa Saviot
e29691e1f1
[apps/sequence] Fix the insertion of sequence terms in text fields.
...
For instance, the serialization of the V_n layout is "v_{n}", which is
what we want to insert in an EditableExpressionView, but not in a Text
Field for which we want "v(n)".
Change-Id: Iab38058d982322891b530b3afd2d303a266643f9
2018-01-19 17:31:37 +01:00
Léa Saviot
64efb45c24
[apps/math_toolbox] Cleaner matrix layout insertion.
...
Change-Id: I5c51eb353ac848334626e6ffcaf71f3b94534b2e
2018-01-19 17:30:47 +01:00
Léa Saviot
251c4d01af
[apps/sequence] Fix math_toolbox wrong functions calls.
...
Change-Id: I0b7871e87ea64ef9fbd008d9fb3e6d4cce2e97ca
2018-01-19 17:04:50 +01:00
Léa Saviot
f3e6b10410
[apps/math_toolbox] Handle const char * when selecting a leaf.
...
Else, there would be a problem with sequence_toolbox, where not all
toolbox leaves are message trees.
Change-Id: Ib4968aad37f6a835b1ea4d77efac2ae1bd19c7ce
2018-01-19 17:04:41 +01:00
Léa Saviot
2cb8956665
[apps/math_toolbox] Remove the pointedPath from ToolboxMessageTree.
...
Change-Id: I2deb6564321da13ea27975216aa949b68298533c
2018-01-19 16:18:55 +01:00
Léa Saviot
169913b800
[apps/calculation] Fix background redraw bug.
...
The margins around the textfield did not redraw themselves properly
after dismissing a toolbox for instance. The textfield now takes the
full height of edition zone.
Change-Id: I0794b8273a880a2dc921c5f492eb0f41aef7fe97
2018-01-17 14:26:58 +01:00
Léa Saviot
3154decf8b
[apps] Fixed bug in MathToolbox.
...
When returning a MathToolbox, the textfield delegate did not set the
toolbox action for textfields.
Change-Id: I51f78ff5601f784be8e283cf3fb6d3462b776d9a
2018-01-17 14:26:58 +01:00
Léa Saviot
d8803c610c
[apps] "New Matrix" item in math toolbox.
...
Change-Id: Iec01ffa96ec64f42d2cbc4b15b14eea7cfe4eaa4
2018-01-17 14:26:50 +01:00
Émilie Feral
9e9949ef78
[apps] Fix message: "Indice premier terme"
2018-01-17 12:07:24 +01:00
Léa Saviot
05de98ea04
[apps/calculation] Fetch the edition mode in the preferences.
...
Change-Id: Iec7cfc5695907b8c410077a48749fd43efb6cc65
2018-01-17 10:39:20 +01:00
Léa Saviot
8ab8ef4c5f
[apps/settings] Add a setting for the edition mode (1D or 2D).
...
Change-Id: Ia6783d3443a8b059e67a293a517bc652950aab55
2018-01-17 10:38:43 +01:00
Léa Saviot
51e33b6903
[apps/calculation] Fix margins.
...
Change-Id: If799563af90c9de4ea02d3177a0ee2375d8ddbb4
2018-01-16 17:33:58 +01:00
Léa Saviot
24a22fb374
[apps/calculation] Delete layout when unloading view.
...
Change-Id: I7c7afc4882051266c04f28cf2823d58c803f05c0
2018-01-16 16:54:10 +01:00
Léa Saviot
fc2788cc79
[apps/Makefile] Remove the ExpressionEditor app.
...
Change-Id: I5bcb5064bf1335abda8d6e032eb00f1798463797
2018-01-16 16:43:40 +01:00