Commit Graph

1101 Commits

Author SHA1 Message Date
Ruben Dashyan
d20d0becc4 [apps/*/expression_model(_handle)] Remove unknownSymbol() 2019-08-29 11:07:21 +02:00
Ruben Dashyan
e98a474f2b [apps/shared/expression_model(_handle)] Do not create layout from unknown symbol 2019-08-29 11:07:21 +02:00
Ruben Dashyan
e385205992 [apps] VariableBoxController gets layouts through GlobalContext::LayoutForRecord 2019-08-29 11:07:21 +02:00
Ruben Dashyan
c2b8781983 [apps/*/function] Move implementation of evaluateAtAbscissa to CartesianFunction 2019-08-29 11:07:21 +02:00
Ruben Dashyan
5e365104ae [apps/shared/function] Factor templatedApproximateAtAbscissa 2019-08-29 11:07:21 +02:00
Ruben Dashyan
ae21a592a1 [apps/*/expression_model_handle] Remove Symbol static method 2019-08-29 11:07:21 +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
b1b309c0c4 [apps/*expression_model*] unknownSymbol is replaced in ExpressionModel 2019-08-29 11:07:21 +02:00
Ruben Dashyan
7859308053 [apps/*/expression_model_handle] setContent uses virtual symbol() and unknownSymbol()
ExpressionModelHandle::setContent() does not need to be virtual anymore.
2019-08-29 11:07:21 +02:00
Ruben Dashyan
8b96901c06 [apps/*/expression_model_handle] Define virtual symbol and unknownSymbol methods 2019-08-29 11:07:21 +02:00
Ruben Dashyan
86a3ea51e8 [apps/shared/expression_model] setContent does not need to be virtual 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
dcb5a061e9 [apps/poincare] Clearer method names 2019-08-27 17:24:57 +02:00
Léa Saviot
0840ca7a1e [apps/poincare] Move NormalDistribution to Poincare 2019-08-23 13:47:52 +02:00
Émilie Feral
af31ba6137 [apps/shared] CurveView::computeLabels: fix confusion between size and
length
2019-08-19 17:13:50 +02:00
Émilie Feral
05972099fe [apps/shared] Fix char array initialization 2019-08-16 17:24:04 +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
8b41e8af73 [apps/shared] SimpleInteractiveCurveViewController does not need to
reload the text from models in textFieldDidAbortEditing. This is handled once for all in
textfield handleEvent
2019-08-13 09:44:00 +02:00
Émilie Feral
a2059432bd [apps/shared] SumGraphController keeps 2 text buffers for its editable
zone (to be able to abort editing and find back the previous text)
2019-08-13 09:44:00 +02:00
Émilie Feral
fc84b15214 [apps/shared] XYBannerView: enable a large draft text buffer to edit
long abscissa ("1+2+3+...") even if the non-edited text buffer is short
(it keeps a float that size is capped)
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
7b8f827f5a [poincare/print_float] No float truncation over numberOfSignDigits 2019-08-09 18:05:57 +02:00
Léa Saviot
03ef031782 [apps/calc] Fix subview color
Scenario: Enter 0.1, go up twice, the result "0.1" stays grey
2019-08-09 14:34:35 +02:00
Émilie Feral
a2739e08cc [apps/shared] FunctionGoToParameterController update the range version
of the graph controller to avoid reinitializing the cursor position when
graph controller view appears. Otherwise, goto controller would set the
cursor position, update the range consequently and then the graph
controller would reinitialize the cursor position.
2019-08-09 10:27:31 +02:00
Léa Saviot
c2b4d2b760 [strlcpy] Assertions on len parameter 2019-08-08 17:22:06 +02:00
Léa Saviot
b0b10f184e [poincare/print_float] convertFloatToText -> ConvertFloatToText 2019-08-08 17:22:06 +02:00
Émilie Feral
79d7e58ec8 [apps/shared] EditableCellTableViewController: function and sequence
values table cells were to narrow to display
LargeNumberOfSignificantDigits (~16 digits). We adjust the number of
digits authorized before switching to scientific mode to the cell width
2019-08-08 17:22:05 +02:00
Ruben Dashyan
d4afcfd9fd [apps/*_curve_view_range] Mark accessors const 2019-08-08 17:22:04 +02:00
Ruben Dashyan
ed98d8fc93 [apps/shared/memoized_curve_view_range] Inline accessors in header file 2019-08-08 17:22:04 +02:00
Ruben Dashyan
771e0f7c0f [apps] Simplify Shared::CurveViewRange::x|yGridUnit() 2019-08-08 17:22:04 +02:00
Léa Saviot
05678b48f6 [apps/calc] Remove whole calculation memoization in HistoryViewCell
It is no longer compatible with the new calculations as they no longer
have a constant size.
2019-08-08 17:22:03 +02:00
Léa Saviot
63f20a9844 [apps/function_store] Comment coding style 2019-08-08 17:22:02 +02:00
Léa Saviot
e15df6d60d [apps] Removed unneeded paramater in ExpiringPointer 2019-08-08 17:22:02 +02:00
Émilie Feral
869ab35c54 Makefile: build only necessary files for test target 2019-08-08 17:22:01 +02:00
Émilie Feral
059c596a80 Makefiles: avoid building all sources for each target; introduce more
modularity
2019-08-08 17:22:01 +02:00
Émilie Feral
2861a35840 Clean some warnings 2019-08-08 16:29:38 +02:00
Léa Saviot
61cf762eef [poincare] Expression::ReductionContext 2019-08-08 16:29:37 +02:00
Léa Saviot
989e3427b6 [apps/post_and_hardware_tests] Comment display tests 2019-08-07 11:15:28 +02:00
Léa Saviot
f5a7a44546 [apps/ion] Factorize code and TODO 2019-08-07 11:15:28 +02:00
Léa Saviot
5a68c52120 [apps/post_and_hardware_tests] Remove unnecessary initPanel 2019-08-07 11:15:28 +02:00
Léa Saviot
a450ce3855 Merge branch 'master' into f7 2019-08-06 17:40:14 +02:00
Ruben Dashyan
d171c2a2be [apps/shared/function_graph_controller] Comment about the sampling step in computeYRange 2019-07-30 14:15:08 +02:00
Ruben Dashyan
bc750ef2da [apps/shared/curve_view] Clean clipping of the line segment for straightJoinDots 2019-07-30 14:15:08 +02:00
Ruben Dashyan
79dbdaa98c [apps/shared/curve_view] stampAtLocation: clarify stampRect and shiftedMask 2019-07-30 14:15:08 +02:00
Ruben Dashyan
75a273be2a [apps/shared/curve_view] Gather calls to stampAtLocation in jointDots 2019-07-30 14:15:08 +02:00
Ruben Dashyan
6f5b551104 [apps/shared/curve_view] Gather NAN detections in jointDots 2019-07-30 14:15:08 +02:00
Ruben Dashyan
0d82e40b1c [apps/shared/curve_view] Clean straightJoinDots 2019-07-30 14:15:08 +02:00