Commit Graph

7625 Commits

Author SHA1 Message Date
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
b784e7933a Makefile: Version 1.7.0 2018-09-05 14:55:20 +02:00
EmilieNumworks
610fdd4162 Merge pull request #642 from LeaNumworks/FixDataNotSuitableMessage
[poincare] Fix DataNotSuitable message (was too long)
2018-09-05 14:53:55 +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
Léa Saviot
a233df7619 [poincare] Fix DataNotSuitable message (was too long) 2018-09-05 14:31:54 +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
Émilie Feral
0b71e92625 [apps] Add missing min/max redefinition 2018-09-04 12:19:49 +02:00
Émilie Feral
b2b0f4fab0 [apps] Clean buffer size declaration 2018-09-04 12:19:49 +02:00
Émilie Feral
9ddfdf9b81 [poincare] The third parameter of strlcpy is a size_t: fix error when
converting a signed int to size_t
2018-09-04 12:19:49 +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
Léa Saviot
c8ba9c9d49 [poincare] Fix TreeByReference::setTo when this has ID -1 2018-09-03 15:45:34 +02:00
Léa Saviot
7cb1c6a43d [poincare] Do not choose static nodes identifiers 2018-09-03 15:45:34 +02:00
Émilie Feral
a0fb5b0f6f [poincare] Fix Trigonometry: shallowReduceDirectFunction,
shallowReduceInverseFunction are in place
2018-09-03 15:33:14 +02:00
Léa Saviot
392fa7a43d [poincare] UninitializedGhost node
Needed to look for its parent in replaceWithGhost
2018-09-03 15:30:12 +02:00
Léa Saviot
257052f424 [poincare] Init poincare (the shared pool) before running tests 2018-09-03 15:07:56 +02:00
Léa Saviot
3ab83388dd [poincare] Make tests compile 2018-09-03 15:05:19 +02:00
Léa Saviot
6668dda48c [poincare] Symbol 2018-09-03 14:48:04 +02:00
Émilie Feral
9b216eff59 [poincare] Fix Subtraction::shallowReduce 2018-09-03 14:45:35 +02:00