Émilie Feral
00d86adf3d
[apps/sequence] Add tests on third sequence
2019-08-08 17:22:02 +02:00
Émilie Feral
bcac947b05
[apps/sequence] defaultCursorAbscissa is forced positive
2019-08-08 17:22:01 +02:00
Émilie Feral
869ab35c54
Makefile: build only necessary files for test target
2019-08-08 17:22:01 +02:00
Émilie Feral
4c4d420b1f
[app/sequence] Fix Sequence toolbox with the third sequence
2019-08-08 17:22:01 +02:00
Émilie Feral
2e7fb601c8
[app/sequence] Add a third sequence
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
518903c390
Clean warnings
2019-08-08 17:22:01 +02:00
Léa Saviot
61cf762eef
[poincare] Expression::ReductionContext
2019-08-08 16:29:37 +02:00
Ruben Dashyan
292493ba36
[apps/*curve_view] Substitute resolution by pixelWidth
2019-07-30 14:15:08 +02:00
Ruben Dashyan
c80baae1e9
[apps/*/curve_view] Remove samplingRatio()
...
The resolution() method is useful to get a horizontal step equivalent to
the width of a pixel. A higher sampling ratio (or resolution) had been
introduced in the following commit.
[apps] In curve view, avoid white vertical lines in integral curves due to pixel rounding
2019-07-30 14:15:08 +02:00
Ruben Dashyan
c22754fa63
[apps/shared/curve_view] Make curveViewRange() method const
2019-07-30 14:15:08 +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
055d601854
[apps] Define TextFieldDelegate::textFieldDelegateApp() directly from ::app()
2019-07-19 15:06:25 +02:00
Ruben Dashyan
5058f64163
[apps] Define LayoutFieldDelegate::expressionFieldDelegateApp() directly from ::app()
2019-07-19 15:06:25 +02:00
Ruben Dashyan
0490e3ab81
[apps] Define InputEventHandlerDelegate::inputEventHandlerDelegateApp() 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
62cec10b46
[apps] Clean unnecessary AppsContainer class declarations and header inclusions
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
Émilie Feral
fb80cd3271
[apps] Object contained in the Storage might be unaligned. Make sure to
...
use emscripten unaligned type to avoid producing an alignment error on
emscripten platform.
2019-06-19 09:54:57 +02:00
Émilie Feral
cd688ab9cf
[apps] Force packing classes of objects contained in the Storage
...
If these classes are padded, we lose space in the Storage and the
Storage::checksum is computed on uninitialized values (corresponding to
the padding memory spaces)
2019-06-19 09:54:57 +02:00
critor
ec40cdd347
Fixed german special characters
...
Now that special unicode characters are supported, when appropriate, replaced occurrences of the 'ae', 'oe', 'ue', and 'ss' digrams with the proper character.
2019-05-31 08:00:15 -04:00
Ruben Dashyan
4d4adc5873
[apps/sequence/graph] Replace negative cursor abscissa by 0
2019-05-03 15:54:22 +02:00
Ruben Dashyan
0e1c1a017d
[apps] Implement TextFieldDelegate methods in GraphControllers
2019-05-03 15:54:22 +02:00
Ruben Dashyan
4d640e2916
[apps] XYBannerView: prepare constructor so the class may contain TextField
2019-05-03 15:54:21 +02:00
Ruben Dashyan
f6ceae3b8b
[apps] Factorize SimpleInteractiveCurveView::moveCursorHorizontally
2019-05-03 15:54:21 +02:00
Ruben Dashyan
67f9f79322
[apps] Implement InteractiveCurveViewController::isCursorVisible
...
It was a pure virtual method implemented in derived classes
Shared::FunctionGraphController,
Regression::GraphController.
InteractiveCurveViewRange does not need anymore to hold CurveViewCursor
* m_cursor.
2019-05-03 15:54:21 +02:00
Ruben Dashyan
e7add02912
[apps] Remove FunctionGraphController::cursorView() virtual method
...
It was implemented by the Graph and Sequence GraphController derived
classes and was used
1) in FunctionGraphController::viewWillAppear to set the cursorView
specific to each derived class,
2) in FunctionGraphController::cursor/displayBottomMarginRatio()
methods.
Instead
1) the viewWillAppear method of each derived classes sets its
cursorView itself
2) one may already get the cursorView through curveView().
2019-05-03 15:54:21 +02:00
Ruben Dashyan
82a0f72d42
[apps/shared] Clean FunctionCurveParameterController constructor
2019-05-03 15:54:21 +02:00
Ruben Dashyan
82685cb371
[apps] Factorize portions checking whether text approximates to double
2019-05-03 15:54:21 +02:00
Ruben Dashyan
0d34923dd1
[apps] Graph/Regression/Sequence::BannerView inherit from new Shared::XYBannerView
2019-05-03 15:54:21 +02:00
Ruben Dashyan
236b752f4f
[apps] replace BannerView::textViewAtIndex by subviewAtIndex
2019-05-03 15:54:21 +02:00
Ruben Dashyan
513a4cf852
[apps] BannerView::numberOfSubviews
...
Shared::BannerView::numberOfSubviews made pure virtual.
Define constexpr attributes instead of magic numbers.
Move numberOfSubviews to header file.
2019-05-03 15:54:21 +02:00
Émilie Feral
2217eebaec
[escher] SelectableTableView: when reloading data, we temporary deselect
...
the table. We warn the SelectableTableViewDelegate that the selection
change is 'within a temporary selection change' when notifying it of the
change.
2019-05-03 15:54:21 +02:00
Émilie Feral
da1ee21fd5
[poincare] VerticalOffsetLayout: change name of 'Type' to 'Position'
2019-05-03 15:54:21 +02:00
Émilie Feral
a839c88883
[sequence] Fix isDefined
2019-05-03 15:54:20 +02:00
Émilie Feral
32f4140637
[sequence] Cache context does not need to be a variable context
...
Fix crash: u(n) = n(n-1) would crash at evaluation
2019-05-03 15:54:20 +02:00
Léa Saviot
a337bd260d
[unicode] Use Poincare::SerializationHelper::CodePoint
2019-05-03 15:53:21 +02:00
Léa Saviot
1d26e6da73
[ion/unicode] Clean special code points
2019-05-03 15:53:21 +02:00
Émilie Feral
238d0ca63d
[sequence] Fix Sequence::isDefined
2019-05-03 15:53:20 +02:00
Émilie Feral
2651e911d5
[sequence] Fix bug: number of curves in graph is the number of active
...
functions
2019-05-03 15:53:20 +02:00
Émilie Feral
96ba100e16
[sequence] Sequence: factorize InitialConditionModels
2019-05-03 15:53:20 +02:00
Émilie Feral
4e823e67b6
[sequence] Fix Toolbox: sequence fullName is for example "u.seq" which
...
cannot be compare to "u"
2019-05-03 15:53:20 +02:00
Émilie Feral
336c1c8d73
[apps/graph][apps/sequence] ListParameterController is a
...
ListViewDataSource instead of a SimpleListViewDataSource (indeed, each
cell has a specific type)
2019-05-03 15:53:20 +02:00
Émilie Feral
a891fff930
[shared] Change name of classes:
...
FunctionRecordData --> FunctionRecordDataBuffer
CartesianFunctionRecordData --> CartesianFunctionRecordDataBuffer
SequenceRecordData --> SequenceRecordDataBuffer
2019-05-03 15:53:20 +02:00
Émilie Feral
578c65d5dd
[shared] Clean class names containing storage
2019-05-03 15:53:20 +02:00
Émilie Feral
5a5a181086
[apps/shared] Change names:
...
Sequence::DefinitionHandle --> Sequence::DefinitionModel
Sequence::FirstInitialConditionHandle -->
Sequence::FirstInitialConditionModel
Equation::Handle--> Equation::Model
2019-05-03 15:53:20 +02:00