Commit Graph

66 Commits

Author SHA1 Message Date
É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
Émilie Feral
150d66b00b [solver] Fix and add tests 2018-06-07 14:46:13 +02:00
Émilie Feral
963a48efad [solver] Decrease the step to solve non-linear monovariable equation 2018-06-07 13:46:19 +02:00
Émilie Feral
9a7f7f7fe3 [solver] Add the right equal symbol (equal/approximate) in solutions
controller
2018-06-07 13:46:19 +02:00
Émilie Feral
f78615db40 [solver] Force the searched interval to have Xmin < Xmax 2018-06-07 13:46:19 +02:00
Émilie Feral
fc38fd73f0 [solver] Add a message when they are more then 10 solutions 2018-06-07 13:46:19 +02:00
Émilie Feral
a40f0dcd9c [solver] SolutionsController: change font size of approximate values 2018-06-07 13:46:19 +02:00
Émilie Feral
dcdd2a9b9a [solver] Improve messages for edge cases (No equation, no solution...) 2018-06-07 13:46:19 +02:00
Émilie Feral
28a4777c58 [solver] ApproximateSolver 2018-06-07 13:46:19 +02:00
Émilie Feral
56d23c213d [solver] Delete equation at first backspace event (instead of clearing
the expression as in Graph/Sequence)
2018-06-07 13:46:19 +02:00
Émilie Feral
1f16ccb661 [solver] Change stack for approximate solutions 2018-06-07 13:46:19 +02:00
Émilie Feral
a2469c458f [solver] Add a interval parameter controller for approximate solutions 2018-06-07 13:46:19 +02:00
Émilie Feral
e4dd197af5 [solver] Add comment to EquationStore 2018-06-07 13:46:19 +02:00
Émilie Feral
8b7813868a [solver] In SolutionsController: make the delta cell an expression cell
for a better layout
2018-06-07 13:46:19 +02:00
Émilie Feral
6e43cca75d [solver] Clean warning 2018-06-07 13:46:19 +02:00
Émilie Feral
7988f83657 [solver] Improve cell layouts in solutions controller 2018-06-07 13:46:18 +02:00
Émilie Feral
24766c8ede [poincare] getPolynomialCoefficients return reduced polynomial coefficients 2018-06-07 13:46:18 +02:00
Émilie Feral
a78fb2397f [solver] EquationStore: implement resolveLinearSystem 2018-06-07 13:46:18 +02:00