Commit Graph

330 Commits

Author SHA1 Message Date
Émilie Feral
d6215d4cc1 [apps] Shared: resize cross cursor 2018-01-30 18:53:28 +01:00
Émilie Feral
66401fc697 [apps] Shared: Correct CurveView to avoid 1-pixel errors 2018-01-30 18:53:28 +01:00
Émilie Feral
e6a33772fe [apps] Regression: alternate between round and cross cursor views 2018-01-30 18:53:28 +01:00
Émilie Feral
9cd50d8d9a [apps] Graph/Sequence: set different cursors for Sequence and Graph 2018-01-30 18:53:28 +01:00
Émilie Feral
b38fda1a1e [apps] Shared: create a round cursor view 2018-01-30 18:53:28 +01:00
Émilie Feral
95f0efaf9f [apps] Graph/Sequence: the function selected by the cursor has to be
save in the Snapshot to avoid weird selection when rebulding the app
2018-01-30 18:53:28 +01:00
Émilie Feral
c9b86d0c86 [apps] Shared: the cursor view own its size instead of the curve view 2018-01-30 18:53:28 +01:00
Émilie Feral
8891914716 [apps] Change the thickness of curves in graph views 2018-01-30 18:53:28 +01:00
Émilie Feral
72f3d1a88a [apps] Shared: Change the thickness of grid in Graph views 2018-01-30 18:53:28 +01:00
Émilie Feral
539ea44bd7 [apps] Fix unitialized read 2018-01-30 18:19:27 +01:00
Émilie Feral
89c201a7f7 [apps] Graph: create an IntersectionGraphController 2018-01-30 18:19:27 +01:00
Émilie Feral
87bbade127 [apps] class Extremum Graph Controller 2018-01-30 18:19:27 +01:00
Émilie Feral
1c49dab2b7 [apps] Graph: Handle enter on tangent graph controller 2018-01-30 18:19:27 +01:00
Émilie Feral
9eae976e78 [apps] Shared: increase the number of significative digits in the result
displayed by the sum graph controller
2018-01-30 18:19:27 +01:00
Émilie Feral
eb0686e2b2 [apps] Clean 2018-01-30 18:19:27 +01:00
Émilie Feral
7077cb4f58 [apps] Graph/Sequence: correct the layout of the banner views 2018-01-30 18:19:27 +01:00
Émilie Feral
9ab4486aa0 [apps] Correct the number of significant digits in sum graph controller 2018-01-30 18:19:27 +01:00
Émilie Feral
b387769eb4 [apps] Shared: In curve view, correct the dirty tracking when changing
the banner, the cursor or the OK views
2018-01-30 18:19:27 +01:00
Émilie Feral
7cd05e520a [apps] Graph: avoid reloading when highlighting the area under curve
(which does change in the Graph app)
2018-01-30 18:19:27 +01:00
Émilie Feral
a0704898b1 [apps] Shared: in SumGraphController, correct margin to avoid weird blinking in Integral 2018-01-30 18:19:27 +01:00
Émilie Feral
e8a844d2e4 [apps] Shared: In CurveView::drawCurve: compare pixels coordinate
instead of float to avoid white pixels between the area under the curve
and the cursor
2018-01-30 18:19:27 +01:00
Émilie Feral
e13960fd20 [apps] Shared: optimize function graph reloading 2018-01-30 18:19:27 +01:00
Émilie Feral
ac6c8379ed [apps] Enable to specialize the sum layout in Sum Graph Controller 2018-01-30 18:19:27 +01:00
Émilie Feral
e5032b8c30 [apps] Graph: create the integral graph controller and add it to the
calculation menu
2018-01-30 18:19:27 +01:00
Émilie Feral
f4300aef40 [apps] Change Sum GraphController banner color 2018-01-30 18:19:27 +01:00
É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
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
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
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
59fdcde548 [poincare] Avoid returning partial simplification when the
simplification process has been interrupted
2018-01-30 16:17:03 +01:00
Émilie Feral
bf9d9728e8 [apps] Sequence: do not change selection when becoming first responder
but when appearing
2018-01-03 10:36:59 +01:00
Émilie Feral
509ee874b4 [apps] In sequence: enable to change initial sequence index 2017-12-20 17:41:03 +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
d36cfcca51 [apps] In Editable cell table view controller, do not reload all table
data if the table dimensions did not evolve
2017-12-20 17:41:03 +01:00
Émilie Feral
cb754ab6d5 [apps] Sequence: invalidate the context cache when the sequences are
redefined
2017-12-20 17:41:03 +01:00
Émilie Feral
077a95197e [escher] SelectableTableView handles setting the ccell as first
responder if needed
2017-12-20 17:17:41 +01:00
Émilie Feral
afddb87cd4 [apps] In toolbox helpers, add double single quotes in text from command and
insert cursor in the middle of both
2017-12-18 16:53:12 +01:00
Émilie Feral
15610064fa Coverity: fix unitialized pointer fields, out of bounds reads ...
Change-Id: Iae0656ffe667692dfb3bebf9bb7913b5872175c6
2017-12-06 14:50:26 +01:00
Émilie Feral
db35fc1d72 Merge branch 'cas_with_python' into python_console
Change-Id: I06e3e07b9fd8d52818d90110ed7517777b35b9f1
2017-12-01 17:29:55 +01:00
Léa Saviot
e43bbd38f2 [escher] Fixed TextField bug.
The Statistics apps crashed when navigating the Data table.
 -> Check that the textfield is editing before calling
textFieldShouldFinishEditing.
 -> Changed textLength() to draftTextLength().

Change-Id: Id373a7cd50438303f470abc5bcee7a795c33926a
2017-12-01 13:19:30 +01:00
Léa Saviot
e6b4d07cb6 [code] Dynamic toolbox that displays script functions and variables.
Change-Id: Id1494580b3832540633d3aefaf04710d21e0a44c
2017-12-01 12:06:05 +01:00
Émilie Feral
bf2a26d90e [apps] In calculation, do not accept expression whose corresponding
texts is too long

Change-Id: Ic96e5ed42e249d43e21241f8e1a7b1e873f3cad3
2017-11-27 12:07:35 +01:00
Émilie Feral
2c06727f36 [apps] Simplify expressions in sequence and function applications
Change-Id: I2708934d3b5c90e8692e50d939b3a13028b8615e
2017-11-24 14:39:06 +01:00