Commit Graph

11243 Commits

Author SHA1 Message Date
Émilie Feral
276c086471 [poincare] Evaluation: forbid implicit conversion from MatrixComplex to
Complex
2018-09-12 11:09:09 +02:00
Émilie Feral
0c4a5594a0 [poincare] Clean warnings 2018-09-12 11:04:23 +02:00
Émilie Feral
29d0eb8009 [poincare] Power: fix getPolynomialCoefficients infinite loop 2018-09-12 10:51:17 +02:00
Émilie Feral
9dc210c9d8 [poincare] FractionLayout add parenthesis to all children when
serializing
2018-09-12 10:47:14 +02:00
Émilie Feral
81b62ae25e [poincare] SerializationHelperInterface: change
needsParenthesesWithParent for childNeedsParenthesis
2018-09-12 10:47:07 +02:00
Émilie Feral
e15437a5a5 [poincare] LayoutHelper: fix potential mistake 2018-09-12 09:49:34 +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
d2ed06e2dc [code] Add comment on how --code-script option is parsed 2018-09-11 17:03:04 +02:00
Émilie Feral
032db99754 [code] EditorController: avoid dynamic allocation 2018-09-11 17:03:04 +02:00
Émilie Feral
79740e72b0 [code] Avoid dynamic allocation and useless string copy by keeping the
importation status flag in the areaBuffer
2018-09-11 17:03:04 +02:00
Émilie Feral
db3cd16128 [ion] Storage: get rid of dynamic allocation 2018-09-11 17:03:04 +02:00
Léa Saviot
8244106dc2 [poincare] Fix missing cloning in Multiplication::factorizeSineAndCosine 2018-09-11 14:44:13 +02:00
Léa Saviot
68a0d26789 [poincare] Clean some code in multiplication 2018-09-11 14:11:09 +02:00
Léa Saviot
2698bfe30a [poincare] Fix use of removed child in Addition::shallowBeautify 2018-09-11 14:07:40 +02:00
Léa Saviot
8becf5610d [poincare] Assert that expression is child in TreeRef::replaceChild 2018-09-11 14:07:40 +02:00
Émilie Feral
33e491d962 [poincare] Tests: get rid of dynamic allocation in
convert_expression_to_text
2018-09-11 13:20:06 +02:00
Émilie Feral
3268a0cb41 [regression] Get rid of dynamic allocation in Store 2018-09-11 13:20:06 +02:00
Émilie Feral
0410e63e5b [poincare] Integer: add comment 2018-09-11 13:20:06 +02:00
Émilie Feral
880904bcbb [escher] Get rid of DynamicViewController 2018-09-11 13:20:06 +02:00
Léa Saviot
5879ccbb35 [poincare] Add Rational tests and fix those on OverflowedInt 2018-09-11 11:49:27 +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
5cb4258af6 [poincare] Fix RationalNode size computation (when overflow) 2018-09-11 10:58:06 +02:00
Léa Saviot
c482c86f72 [poincare] Fix Rational constructors
- Remove wrong parameter
- Compute the RationalNode size in one method only
- Remove wrong assertion on denominator
2018-09-11 10:51:16 +02:00
Émilie Feral
fd30e4d501 [poincare] Add comment on caps of Decimal 2018-09-10 18:06:37 +02:00
Émilie Feral
5100222bc0 [poincare] Comment: how Integers are allocated 2018-09-10 18:04:12 +02:00
Léa Saviot
c85c375464 [poincare] Fix number parsing (typo + change k_maxExponentLength) 2018-09-10 17:55:59 +02:00
Émilie Feral
e77d6e5c40 [poincare] Fix Integer::udiv 2018-09-10 17:38:45 +02:00
Léa Saviot
1c0fb64a32 [poincare] Make tree constructors that take one tree argument explicit
Otherwise, Logarithm l = clone() is equivalent to Logarithm l =
Logarithm(clone());
2018-09-10 17:34:50 +02:00
Émilie Feral
87f233d815 [poincare] Fix Integer::udiv 2018-09-10 16:32:09 +02:00
Léa Saviot
a436cca301 [poincare] Escape when overflows in Integer::multiplication, usum... 2018-09-10 16:19:59 +02:00
Léa Saviot
8aa8179503 [poincare] Fix Multiplication::privateShallowReduce 2018-09-10 14:33:37 +02:00
Émilie Feral
27064d00f7 [calculation] Get rid of DynamicViewController in HistoryController 2018-09-10 12:59:36 +02:00
Émilie Feral
6ff7e02df5 [poincare] ApproximationHelper: use static_cast<&> on Expression 2018-09-10 12:59:36 +02:00
Léa Saviot
8f5e113f38 [quiz] Put quizes in a setjmp-longjump scope 2018-09-10 10:11:06 +02:00
Émilie Feral
7b88770c15 [apps] VariableBoxController: fix the row size to avoid overflowing the
maximal number of displayable rows
2018-09-10 10:07:28 +02:00
Émilie Feral
d4723bf6db [poincare] Clean warnings on size/unsize 2018-09-10 10:06:51 +02:00
Émilie Feral
ff8022c1dc [escher] Un-delete the default move constructor on View (used by member
list initialization)
2018-09-10 10:06:51 +02:00
Léa Saviot
aaf5cee967 [poincare] make tests compile 2018-09-10 09:54:37 +02:00
Léa Saviot
9b5f90d5bc [poincare] Uninline Float constructor 2018-09-10 09:40:57 +02:00
Léa Saviot
730b4a1e26 [poicnare] Uninline Power consructor 2018-09-10 09:40:57 +02:00
Émilie Feral
579da3033a [apps] Get rid of DynamicViewController (part 2) 2018-09-07 17:55:42 +02:00
Émilie Feral
0fbab2f35c [apps] Get rid of DynamicViewController 2018-09-07 17:55:42 +02:00
Léa Saviot
5712e7754c [poincare] Remove unnecessary arguments in some Power methods 2018-09-07 17:54:40 +02:00
Léa Saviot
1e59b67cbe [poincare] un-inline Layout constructors 2018-09-07 17:23:32 +02:00
Léa Saviot
8926ed6f36 [poincare] Un)iline some layotu constructors 2018-09-07 17:08:03 +02:00
Léa Saviot
780ab48d5b [poincare] un-inline some LayoutReference methods 2018-09-07 16:45:51 +02:00
Léa Saviot
b4ea4d9dab [poincare] uninline methods in Evaluation and subclasses 2018-09-07 16:27:22 +02:00
Léa Saviot
9c6e65997f [poincare] Un-inline Complex(std::complex) 2018-09-07 16:14:21 +02:00
Émilie Feral
69db327b6e [shared] Fix boolean confusion in ExpressionModel 2018-09-07 16:06:54 +02:00