Commit Graph

101 Commits

Author SHA1 Message Date
Émilie Feral
0544aca649 [solver] Fix Solver with variable-length symbols 2018-11-23 12:03:58 +01:00
Émilie Feral
6113f97027 [solver] Display warning when one of the variable name exceeds 10
characters
2018-11-23 12:03:58 +01:00
Émilie Feral
c7bc22b5e2 [solver] Add message 'VariableNameTooLong' 2018-11-23 12:03:58 +01:00
Émilie Feral
a4756c1945 [poincare] Cast matrix of char before calling getVariables 2018-11-23 12:03:58 +01:00
Émilie Feral
75a1de32ed [solver] Fix EquationStore with variable-sized variables 2018-11-23 12:03:58 +01:00
Émilie Feral
5beafd2bf3 [poincare] Change Expression::getVariables to get symbols with variable
sizes
2018-11-23 12:03:58 +01:00
Émilie Feral
bc2ce86825 [poincare] Change signature: polynomialDegree,
getPolynomialCoefficients, getPolynomialReducedCoefficients
2018-11-23 12:03:58 +01:00
Léa Saviot
3bbb8b39d1 [poincare] Add context argument to some ExpressionNode methods 2018-11-23 12:03:58 +01:00
Lionel Debroux
70a8d06cfe [apps, poincare] Optimize the preferences singletons' usage by removing superfluous checks in the setters, and performing manual CSE in the callers.
Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
2018-10-23 11:49:09 +02:00
Lionel Debroux
1a8c6b6ae9 [poincare, escher, ion, apps] Split the huge umbrella header poincare.h, to reduce build time.
This should be a NFC, but surprisingly, it also reduces size... so what does it change ?
2018-10-23 11:49:09 +02:00
Romain Goyet
f8beae3b86 [kandinsky] Move to KDFont 2018-10-11 16:44:02 +02:00
Émilie Feral
7394c56afd [solver] Avoid resolving equation involving Matrix 2018-10-08 16:37:57 +02:00
Émilie Feral
2297d1a7aa [solver] Escape undefined equations 2018-10-05 11:46:59 +02:00
vardai
fab726e514 Corrected German translation without Umlaut 2018-09-25 10:01:17 +02:00
vardai
4892b87dde Corrected German translation 2018-09-25 10:01:17 +02:00
Émilie Feral
365b145cf3 [poincare] Change names: LayoutReference-->Layout 2018-09-18 16:29:44 +02:00
Émilie Feral
d17b0f1afb [poincare] Get rid of char table of variable size 2018-09-17 17:14:43 +02:00
Émilie Feral
616e4c0bcc [poincare] Change name: LayoutRef --> LayoutReference 2018-09-14 16:57:12 +02:00
É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