Commit Graph

6031 Commits

Author SHA1 Message Date
É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
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
Émilie Feral
e8c4e467ee [poincare] Trigonometry: missing clone 2018-09-07 15:54:23 +02:00
Émilie Feral
bd5af83d96 [poincare] Fix TreeNode::log 2018-09-07 15:54:23 +02:00
Émilie Feral
7feef8f266 [poincare] Expression: approximateToEvaluation does not handle
Uninitialized Expression but approximate does
2018-09-07 15:54:23 +02:00
Léa Saviot
bcf299c241 [poincare] Un-inline Expression::parent() (inline later if possible !) 2018-09-07 15:23:49 +02:00
Léa Saviot
5e42aa31f9 [poincare] un-inline setSign and approximateToEvaluation 2018-09-07 15:18:37 +02:00
Émilie Feral
5d281aacc4 [apps] Fix VariableBox for Matrix 2018-09-07 15:15:14 +02:00
Léa Saviot
676d78aa0c [poincarE] Remove virtual Expression destructor 2018-09-07 15:13:40 +02:00
Émilie Feral
bc57c64298 [poincare] Logarithm: check if the parent is defined before asking for
its type
2018-09-07 14:05:42 +02:00
Émilie Feral
03d3c1f9f2 [shared] SumGraphController: fix the condensed sum layout 2018-09-07 14:05:42 +02:00
Léa Saviot
45808bcbaa [poincare] Expression un-inline to reduce binary size 2018-09-07 13:54:54 +02:00
Émilie Feral
2605c6323a [poincare] Expression: createLayout and approximateToEvaluation return a
default value with uninitialized Expression
2018-09-07 13:40:19 +02:00
Émilie Feral
cbddbe3875 [poincare] Expression hierarchy method does not re-construct an
Expression from a node but cast the TreeByReference in Expression
2018-09-07 13:39:54 +02:00
Léa Saviot
39a7b8df86 [poincare] Un-iniline more methods 2018-09-07 13:31:35 +02:00
Léa Saviot
72703f3731 [poincare] Un-inline more TreeByReference methods 2018-09-07 13:31:35 +02:00
Émilie Feral
970ac6dbe7 Makefile: build all applications by default 2018-09-07 12:02:25 +02:00
Émilie Feral
ce69702134 [regression] Fix Regression 2018-09-07 12:02:25 +02:00
Émilie Feral
3a58ff7728 [regression] Fix Model 2018-09-07 12:02:25 +02:00
Émilie Feral
d50db1a478 [poincare] Multiplication: move computeOnArrays on Multiplication
instead of MultiplicationNode
2018-09-07 12:02:25 +02:00
Léa Saviot
9e65df20be [poincare] Replace a switch by a if 2018-09-07 11:53:48 +02:00