Commit Graph

83 Commits

Author SHA1 Message Date
Émilie Feral
bb9583d6dd [solver] When resolving linear system, we count on the side effect of
rank which has thus to be done in-place
2018-09-11 17:50:20 +02:00
Émilie Feral
86b3d366ca [apps] All apps are allocated in the same union 2018-09-11 11:32:29 +02:00
Émilie Feral
6d9f0c0f0b [apps] Get rid of DynamicViewController in FloatParameterController 2018-09-11 11:32:29 +02:00
Léa Saviot
aaf5cee967 [poincare] make tests compile 2018-09-10 09:54:37 +02:00
Émilie Feral
0fbab2f35c [apps] Get rid of DynamicViewController 2018-09-07 17:55:42 +02:00
Émilie Feral
8e992c58ed [solver] Fix SolutionsController with new Poincare API 2018-09-07 10:03:22 +02:00
Émilie Feral
66eba3cfb3 [solver] Fix ListController with new Poincare API 2018-09-07 09:47:56 +02:00
Émilie Feral
de3174d77f [solver] Fix EquationStore with new Poincare API 2018-09-06 18:05:31 +02:00
Émilie Feral
d583105d1d [solver] Fix EquationModelsParameterController with new Poincare API 2018-09-06 17:06:32 +02:00
Émilie Feral
0c38a17dab [solver] Fix Equation with Poincare API 2018-09-06 17:05:44 +02:00
Émilie Feral
f70f72da1a Change new Layout -> LayoutRef 2018-09-06 16:04:17 +02:00
Émilie Feral
30f83cde2c [apps] Change names: ExpressionLayout -> Layout 2018-09-06 14:23:57 +02:00
Émilie Feral
f326f16ffb [solver] Fix Equation with new Poincare APi 2018-09-06 14:07:41 +02:00
Émilie Feral
5cc3930a44 [apps] Fix header inclusion: name of expression_layout_field_delegate
changed to layout_field_delegate
2018-09-06 14:07:41 +02:00
Émilie Feral
9182d66fcc [apps] Apps are not allocated on the heap anymore but in a union hold by
the AppsContainerStorage
2018-09-06 09:49:38 +02:00
Émilie Feral
a1bcbe28e6 [quiz] Turn all assert in quiz_assert 2018-08-28 10:40:52 +02:00
Émilie Feral
556ea6b269 [poincare] Expression::Type --> ExpressionNode::Type 2018-08-24 13:13:37 +02:00
Émilie Feral
aaa20a58fa [poincare] Implement SerializationHelper and
SerializationHelperInterface. WriteTextInBuffer->serialize
2018-08-08 15:31:40 +02:00
Émilie Feral
cb4bb4f8f0 [poincare] Engine-->Helper and break LayoutHelper into LayoutHelper and
SerializationHelper
2018-08-08 14:00:52 +02:00
Émilie Feral
54f9ea2d46 [poincare] Redesign of Expression: first attempt 2018-08-02 15:46:31 +02:00
Émilie Feral
48f890ef93 [poincare] AngleUnit, FormatComplex and PrintFloatMode are now
enumeration of Preferences class
2018-07-30 13:48:04 +02:00
Émilie Feral
e61a408a0a [poincare] Get rid of AngleUnit::Default 2018-07-18 17:09:07 +02:00
Émilie Feral
2e7c08241a [poincare] Change writeTextInBuffer signature (parameters are float
display mode and number of significant digits)
2018-07-18 16:32:50 +02:00
Émilie Feral
b8af15f1ab [poincare] change createLayout signature
- CreateLayout depends on the float display mode and the number of
significant digits
- Float display mode does not have a default value anymore
2018-07-18 16:32:50 +02:00
Émilie Feral
537cae5839 [solver] Memory issue: setEven on cells can lead to relayouting cells.
The cell expression layouts have to be updated before calling any
relaod.
2018-07-18 10:32:46 +02:00
Émilie Feral
34198945f2 [solver] Prevent adding an expression which is not an equation by
displaying a pop-up (if the input is too long, the automatically
added "=0" will fail)
2018-07-06 10:31:51 +02:00
Léa Saviot
acc49412f1 [apps/escher] EvenOddExpressionCell has left and right margins 2018-06-12 15:50:50 +02:00
Émilie Feral
4b40099a9e [solver] Clean equation store 2018-06-12 15:05:16 +02:00
Émilie Feral
11ba9a462d [solver] Clean equation 2018-06-12 15:04:51 +02:00
Émilie Feral
67cddf554d Merge branch 'lea-statistics' into upgrade-1.6.0 2018-06-12 10:25:54 +02:00
Émilie Feral
b75bd957fb [solver] Fix memory leak: the static hierarchy and dynamic hierarchy
used to clone the operands given as parameters.
2018-06-11 18:08:01 +02:00
Émilie Feral
031ca760c0 [solver] Fix brace: when there are the 'add equation' is not displayed
anymore, brace embrace all equations
2018-06-11 16:39:15 +02:00
Émilie Feral
4a6724115c [solver] Fix bug: when adding '=0' to an equation, force the cursor the
be at the end of the expression before adding '=0'
2018-06-11 13:58:42 +02:00
Émilie Feral
f8039fac32 [solver] Fix update of the button message between: 'Solve the equation'
and 'Solve the system'
2018-06-11 13:58:42 +02:00
Émilie Feral
2002cc0ff5 [solver] I18n 2018-06-11 13:58:37 +02:00
Émilie Feral
e3bfec9aa2 [solver] If the user adds an equation which is not an equality,
automatically add =0
2018-06-08 15:46:38 +02:00
Émilie Feral
f4b87f8680 [solver] Increase the 'Solve equation' button size 2018-06-08 15:15:25 +02:00
Émilie Feral
aec1ca1baa [solver] Improve solver icon 2018-06-08 15:15:25 +02:00
Émilie Feral
d176f140b0 [solver] Improve brace rendering 2018-06-08 15:15:25 +02:00
Émilie Feral
2d1c31a54b [solver] Align the 'Add Equation' button with the equation list 2018-06-08 15:15:25 +02:00
Émilie Feral
6ca93a5f35 [solver] Equation List: Hide brace margin when it is not displayed 2018-06-08 15:15:23 +02:00
Émilie Feral
ed74c4e6e2 [solver] Reload the brace view when adding or removing row in the list
controller
2018-06-08 15:13:50 +02:00
Émilie Feral
ad6c985111 [solver] ExpressionCell are EvenOddExpressionCell rather than former
ModelExpressionCell
2018-06-08 15:13:50 +02:00
Émilie Feral
a120c1c7e0 [solver] Add a brace view on the list controller 2018-06-08 15:13:41 +02:00
Émilie Feral
0a27cc1584 [solver] The 'resolve' button evolves from 'Resolve equation' to
'Resolve system'
2018-06-07 16:21:39 +02:00
Émilie Feral
bc8dbd85c1 [solver] If one equation is undefined, display a warning 2018-06-07 16:21:39 +02:00
Émilie Feral
f6bdf56c15 [escher] TableViewDataSource: implement default cumulatedWidthFromIndex,
cumulatedWidthFromIndex, indexFromCumulatedWidth,
indexFromCumulatedHeight
2018-06-07 16:21:31 +02:00
Émilie Feral
2d580faf51 [solver] Ignore empty equation when resolving systems 2018-06-07 14:46:14 +02:00
Émilie Feral
354c9d1ccd [solver] Change b^2-4ac formula to D=b^2-4ac 2018-06-07 14:46:14 +02:00
Émilie Feral
d33372eae0 [solver] Avoid displaying 17 = 17 in solutions controller: test for
layout equality
2018-06-07 14:46:13 +02:00