Commit Graph

739 Commits

Author SHA1 Message Date
Léa Saviot
fa413edc61 [apps/graph] fix banner view for polar and parametric 2019-08-30 15:04:27 +02:00
Léa Saviot
2071a65d43 [apps] Code cleaning 2019-08-30 13:49:49 +02:00
Léa Saviot
66ef85239d [apps/graph] Step for polar and cartesian is definitionDomain/96.0 2019-08-30 11:44:53 +02:00
Léa Saviot
67e5114194 [apps/graph] Clip cursor navigation to definition domain 2019-08-30 11:37:31 +02:00
Léa Saviot
b3ecd16218 [apps/graph] Fix multiple curves drawing 2019-08-30 11:25:06 +02:00
Émilie Feral
99a6451074 [apps/graph/list] DomainParameterController: fix bug (use of out of
scope variable)
2019-08-30 10:40:58 +02:00
Émilie Feral
8c7819306a [apps/graph/list] Add a row to the ListParameterController to set the
function domain
2019-08-29 17:45:30 +02:00
Émilie Feral
c8928adbdb [apps/graph/list] Create a DomainParameterController to choose the
domain range
2019-08-29 17:44:46 +02:00
Émilie Feral
8f8333c7ae [apps/graph] Add I18n messages regarding domain of functions 2019-08-29 17:43:08 +02:00
Émilie Feral
6c06e74dac [apps/graph/list] Add a margin after Curve Type name and change
I18n::Message names to avoid duplicates
2019-08-29 15:54:52 +02:00
Ruben Dashyan
366daa9c88 [apps] Remove dummy checks in graph/graph_controller and shared/function_graph_controller 2019-08-29 15:13:40 +02:00
Ruben Dashyan
5effb5f6b2 [apps/*/values_controller] Inline intervalParameterController getter in header
and make it private
2019-08-29 13:51:49 +02:00
Ruben Dashyan
c0197f3b01 [apps] ValuesParameterController page title may be set dynamically 2019-08-29 13:51:49 +02:00
Ruben Dashyan
35ee467965 [apps/graph/cartesian_function_store] Define activeRecordOfTypeAtIndex 2019-08-29 13:51:49 +02:00
Ruben Dashyan
580f0f79f5 [apps/graph/values_controller] Define numberOfColumnsForRecord 2019-08-29 13:51:49 +02:00
Ruben Dashyan
b0d7344d6b [apps/graph/values_controller] Clean handling of (in)active functions 2019-08-29 13:51:49 +02:00
Ruben Dashyan
fce39adb8b [apps/graph/values_controller] Remove the isDerivativeColumn method
and fill instead a boolean isDerivative through recordAtColumn.
2019-08-29 13:51:49 +02:00
Ruben Dashyan
4a0746fd44 [apps/graph/values_controller] functionParameterController() returns the derivative controller
when a derivative function column is selected.
Remove configureDerivativeFunction and handleEvent.
2019-08-29 13:51:49 +02:00
Ruben Dashyan
6bee336349 [apps/*/values_controller] functionParameterController() returns a ViewController * 2019-08-29 13:51:49 +02:00
Ruben Dashyan
04fcc0eac4 [apps/*/editable_cell_table_view_controller] Use typeAtLocation 2019-08-29 13:51:49 +02:00
Léa Saviot
24d1594255 [apps] Draw curves according to their definition domain 2019-08-29 11:07:22 +02:00
Léa Saviot
a945c02edf [poincare/Coordinate2D] Rename members x1 and x2 2019-08-29 11:07:22 +02:00
Léa Saviot
c71ef7ff79 [apps/graph] Evaluation methods renaming 2019-08-29 11:07:22 +02:00
Léa Saviot
28a721e96e [apps] Start fixing apps as cursor has new member variable 2019-08-29 11:07:22 +02:00
Léa Saviot
7ea7ecd3c2 [poincare/coordinate2D] Rename member values to x and y 2019-08-29 11:07:22 +02:00
Léa Saviot
a15bc53e06 [poincare/Coordinate2D] Template for double or float 2019-08-29 11:07:22 +02:00
Léa Saviot
7d36634303 [apps/graph] Fix CurveParamCtrlr relayouting bug
Scenario:
f(x) = 1, g(theta) = 2, go to Graph.
Press ok on the polar curve, then Back, then OK on the cartesian curve :
the menu is drawn as if the curve was still polar.
2019-08-29 11:07:22 +02:00
Léa Saviot
ced3cc7e0c [apps/graph] Clean curveParamCtrlr reusableCellCount 2019-08-29 11:07:22 +02:00
Ruben Dashyan
66e2119f30 [apps/graph/curve_parameter_controller] Customize menu according to plot type 2019-08-29 11:07:22 +02:00
Ruben Dashyan
acd1d112be [apps/graph/app] XNT depends on plot type when editing a function 2019-08-29 11:07:22 +02:00
Ruben Dashyan
82951b0672 [apps] App::XNT() returns a CodePoint instead of a char 2019-08-29 11:07:22 +02:00
Ruben Dashyan
998a80fbcc [apps/graph/list] Add TypeParameterController to ListParameterController 2019-08-29 11:07:22 +02:00
Ruben Dashyan
9b52d0d1f9 [apps/graph/list] Define TypeParameterController class 2019-08-29 11:07:22 +02:00
Ruben Dashyan
5a79139fb7 [apps/graph/list] Define PlotTypeHelper 2019-08-29 11:07:22 +02:00
Ruben Dashyan
9a803013b6 [apps/graph/graph_view] WIP: drawCurve according to PlotType 2019-08-29 11:07:22 +02:00
Ruben Dashyan
fbee2d81e4 [apps/*/curve_view] Use drawCartesianCurve specifically for drawing Cartesian curves 2019-08-29 11:07:22 +02:00
Ruben Dashyan
7d689e22e4 [apps/graph/graph_view] Simplify drawRect 2019-08-29 11:07:22 +02:00
Ruben Dashyan
56c6bb9e19 [apps/graph] ListController: simplify
ListController::textFieldDidFinishEditing
2019-08-29 11:07:22 +02:00
Ruben Dashyan
31fc217fcd [apps/graph/i18n] Define curve types 2019-08-29 11:07:22 +02:00
Ruben Dashyan
43d72e082f [apps] Move sumBetweenBounds from Shared::Function to Shared::SumGraphController 2019-08-29 11:07:22 +02:00
Ruben Dashyan
1d0668a84c [apps] Move some methods from Shared::CartesianFunction to GraphControllers 2019-08-29 11:07:22 +02:00
Ruben Dashyan
07af06aaad [apps/*/expression_model_store] Remove virtual symbol and unknownSymbol methods 2019-08-29 11:07:21 +02:00
Ruben Dashyan
b665e841ad [apps] Remove arg parameter in Shared::Function::nameWithArgument and Shared::CartesianFunction::derivativeNameWithArgument 2019-08-29 11:07:21 +02:00
Ruben Dashyan
4396a82452 [apps/*/values*function_parameter_controller] Get the symbol from the FunctionStore 2019-08-29 11:07:21 +02:00
Ruben Dashyan
6d7e833a46 [apps/shared/function_banner_delegate] Factor reloadBannerViewForCursorOnFunction 2019-08-29 11:07:21 +02:00
Léa Saviot
0840ca7a1e [apps/poincare] Move NormalDistribution to Poincare 2019-08-23 13:47:52 +02:00
Léa Saviot
1e483d60ce [poincare] Coordinate2D out of the Expression class 2019-08-13 18:00:15 +02:00
Émilie Feral
503e07fe5a [apps/sequence] Fix SequenceStore: sequences are not memoized but all
kept in the store (because we need all of them to evaluate one
sequence). setMemoizedModelAtIndex now store u, v and w sequences in
this order to avoid requiring expiring pointers.
2019-08-13 09:44:00 +02:00
Émilie Feral
12060e2ae7 [escher] TextField: all text fields use the same draft text buffer 2019-08-13 09:44:00 +02:00
Léa Saviot
c2b4d2b760 [strlcpy] Assertions on len parameter 2019-08-08 17:22:06 +02:00