Commit Graph

5946 Commits

Author SHA1 Message Date
Émilie Feral
51da9a00cc [statistics] Fix StoreController with new Poincare API 2018-09-06 14:23:57 +02:00
Léa Saviot
0b61b2a338 [poincare] Clean inlines in LayoutCursor and LayoutReference 2018-09-06 14:21:51 +02:00
Léa Saviot
54f8c5d0d0 [poincare] Clean inlining of Expression ad LayoutNode 2018-09-06 14:14:44 +02:00
Émilie Feral
94b26a8001 [graph] Fix CartesianFunction with new Poincare API 2018-09-06 14:07:41 +02:00
Émilie Feral
f326f16ffb [solver] Fix Equation with new Poincare APi 2018-09-06 14:07:41 +02:00
Émilie Feral
eeaea93468 [shared] Fix SumGraphController 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
758b41cea5 [sequence] Fix cache_context and sequence_context with new Poincare API 2018-09-06 14:07:41 +02:00
Émilie Feral
367f628b5c [calculation] Free the pool of expressions when tidying the application 2018-09-06 14:07:41 +02:00
Émilie Feral
9f4429159a [shared] StoreContext does not hold a Float<double> anymore, it is built
when calling expressionForSymbol
2018-09-06 14:07:41 +02:00
Émilie Feral
845d5225d8 [poincare] GlobalContext: no need to keep Float<double> for Pi and e 2018-09-06 14:07:41 +02:00
Léa Saviot
106357bce7 [poincare] Clean TreeByReference 2018-09-06 14:06:18 +02:00
Léa Saviot
2e36ae0dd6 [poincare] Clean inlining in TreeNode 2018-09-06 14:01:40 +02:00
Léa Saviot
a6ff0d35a1 [poincare] Fix inlining in TreePool 2018-09-06 13:48:10 +02:00
Léa Saviot
21829a58bb [poincare] Disable Static nodes in the pool 2018-09-06 13:31:25 +02:00
Léa Saviot
970554f9b8 [poincare] Allow construction of a TreeRef from nullptr node 2018-09-06 10:10:54 +02:00
Léa Saviot
2c164aecc7 [poincare] Fix typo 2018-09-06 10:02:45 +02:00
Léa Saviot
c65ab9ef67 [poincare] Fix use of isUninitialized 2018-09-06 09:59:59 +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
Léa Saviot
ea948117a4 [poincare] Remove ExceptionNodes and UninitializedNodes 2018-09-05 17:54:08 +02:00
Léa Saviot
6adc2f3699 [poincarE] Small fixes to remove compiler warnings 2018-09-05 16:34:11 +02:00
Léa Saviot
b4962f1093 [poincare] Remove wrong assertions 2018-09-05 16:23:32 +02:00
Léa Saviot
e3a09286ac [poincare] Remove AllocationFailures 2018-09-05 16:19:11 +02:00
Émilie Feral
b1128ba011 [poincare] Fix Multiplication::addMissingFactors 2018-09-05 14:50:50 +02:00
Léa Saviot
9478200eda [poincare] Add missing "#if POINCARE_TREE_LOG" 2018-09-05 14:49:36 +02:00
Léa Saviot
e8227d5f0f [poincare] Fix setjmp in Poincare::parse 2018-09-05 14:49:15 +02:00
Léa Saviot
ea1fe18b17 [poincare] Clean some methods in Expression 2018-09-05 14:48:54 +02:00
Léa Saviot
1aa12eef6b [poincare] Fix missing const in static_cast 2018-09-05 14:47:59 +02:00
Léa Saviot
679f9815c1 [poincare] Put setjmp in apps_container and in Expression::parse 2018-09-05 14:37:52 +02:00
Émilie Feral
c762b31bc2 [poincare] Replace the overriding of operator T() by an inline function
to cast Expression in Derived Expression
2018-09-05 13:46:39 +02:00
Léa Saviot
c6237ab448 [poincare] First attempt at setjump/longjump exceptions 2018-09-04 17:37:22 +02:00
Émilie Feral
da57433fef [poincare] Fix bug in Multiplication constructor 2018-09-04 17:32:45 +02:00
Émilie Feral
a57350e1d7 [poincare] Fix typo 2018-09-04 16:59:05 +02:00
Émilie Feral
f749efaba0 [poincare] TreeByReference: parent is reset at cloning 2018-09-04 16:46:30 +02:00
Émilie Feral
dafeae1fa0 [poincare] Forbid using addChildAtIndexInPlace or removeChildInPlace in
Expression other than Matrix, Multiplication, Addition
2018-09-04 16:45:50 +02:00
Émilie Feral
d3150b696c [poincare] Fix TreeByReference::mergeChildrenAtIndexInPlace: to access
childAtIndex, the number of children of each node should be correct
2018-09-04 15:19:25 +02:00
Émilie Feral
e360c1f0d2 [poincare] Add addition test 2018-09-04 14:52:31 +02:00
Émilie Feral
3302bdf282 [poincare] Missing template declaration 2018-09-04 14:52:31 +02:00
Émilie Feral
69f0a833f4 [poincare] Fix Decimal::convertToText 2018-09-04 14:52:30 +02:00
Émilie Feral
b482ba3403 [poincare] Fix several bugs: clone forgotten etc 2018-09-04 14:52:30 +02:00
Émilie Feral
abc9b96380 [poincare] squashUnaryHierarchy is done in-place 2018-09-04 14:52:24 +02:00
Léa Saviot
f56eb31197 [poincare] Fix problem in TreeNode keeps parent ID 2018-09-04 11:17:20 +02:00
Léa Saviot
6b9db23942 [poincare] A TreeNode keeps the identifier of its parent 2018-09-04 10:43:34 +02:00
Émilie Feral
90f337f6a0 [poincare] Add forgotten replaceWith 2018-09-03 17:13:34 +02:00
Émilie Feral
81089b7b9c [poincare] Fix bug in Addition::shallowBeautify: stealing child will
replace them by Ghost
2018-09-03 16:33:11 +02:00
Émilie Feral
5f65c59916 [apps] VariableBoxController cannot access private methods of Expression 2018-09-03 15:56:37 +02:00
Émilie Feral
3eb3568e60 [calculation] Fix replacement of ANS symbol 2018-09-03 15:56:37 +02:00
Émilie Feral
859cdb317f [calculation] Build tests for Calculation Store 2018-09-03 15:56:37 +02:00
Émilie Feral
6521c9ef67 [poincare] Fix Integer tests 2018-09-03 15:56:37 +02:00
Émilie Feral
f9530168f4 [poincare] Fix Integer::serialize 2018-09-03 15:56:36 +02:00