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
Léa Saviot
ee505fe02d
[apps/graph] Factorize some code
2019-08-08 17:22:03 +02:00
Émilie Feral
059c596a80
Makefiles: avoid building all sources for each target; introduce more
...
modularity
2019-08-08 17:22:01 +02:00
Léa Saviot
61cf762eef
[poincare] Expression::ReductionContext
2019-08-08 16:29:37 +02:00
Émilie Feral
7a4ee746b2
[escher] TextField: call reinitDraftBuffer after edition is complete to
...
avoid erasing text that is required later.
Fix bug: OK handling on function list in linear mode did not copy the
function expression into the textfield before editing
2019-07-30 11:47:42 +02:00
Ruben Dashyan
eb6d697927
[apps] Make app accessors static members of App classes
2019-07-19 15:06:25 +02:00
Ruben Dashyan
44809f4b3f
Substitute Escher app() by Container::activeApp()
2019-07-19 15:06:25 +02:00
Ruben Dashyan
3e992a3560
[apps] Replace app() by textFieldDelegateApp() in TextFieldDelegates
2019-07-19 15:06:25 +02:00
Ruben Dashyan
ff887ec4a0
[apps/shared] Define static app() accessor in FunctionApp class
2019-07-19 15:06:25 +02:00
Ruben Dashyan
2c9489966d
[apps/graph/graph] GraphController accesses the app directly
2019-07-19 15:06:25 +02:00
Ruben Dashyan
055d601854
[apps] Define TextFieldDelegate::textFieldDelegateApp() directly from ::app()
2019-07-19 15:06:25 +02:00
Ruben Dashyan
4111927bae
[apps] Access *DelegateApp() through app()
2019-07-19 15:06:25 +02:00
Romain Goyet
21907fb89a
[apps] Get rid of App casts
2019-07-19 15:06:25 +02:00
Ruben Dashyan
1f06819974
[apps] Remove Container * parameter from all App constructors
2019-07-19 15:06:25 +02:00