Commit Graph

1406 Commits

Author SHA1 Message Date
Romain Goyet
9cb00aa279 Move NumberReference to Number 2018-08-07 16:39:30 +02:00
Léa Saviot
c0154fc9ce [poincare] Fix parameters order typo 2018-08-07 16:35:17 +02:00
Émilie Feral
9c57b3f7e7 [poincare] Fix ExpressionNode/Expression headers 2018-08-07 16:26:37 +02:00
Léa Saviot
267b16a768 [poincare] Fix layout constructors 2018-08-07 16:25:48 +02:00
Émilie Feral
cbbcd957a1 [poincare] Correct various headers 2018-08-07 16:09:32 +02:00
Émilie Feral
fa0ed41ea4 [poincare] Fix evaluation 2018-08-07 15:45:21 +02:00
Émilie Feral
aab97ffcd4 [poincare] Fix Context header 2018-08-07 15:43:35 +02:00
Émilie Feral
7661d735f3 [poincare] Fix expression node header 2018-08-07 15:05:56 +02:00
Émilie Feral
3f6ac7ecfb [poincare] Fix layout reference header 2018-08-07 15:03:59 +02:00
Émilie Feral
e9f9260b54 [poincare] Fix SerializableReference header 2018-08-07 15:03:10 +02:00
Émilie Feral
5454e7f8cd [poincare] Fix Evaluation header 2018-08-07 15:02:20 +02:00
Émilie Feral
f7bd9ffe10 [poincare] Create TreeByValue 2018-08-07 14:20:13 +02:00
Émilie Feral
ecc71f84b8 [poincare] Change methods names of TreeByReference: add 'InPlace' 2018-08-07 14:19:30 +02:00
Émilie Feral
a8dbe44b05 [poincare] TreeNode: delete useless method isChildRemovalTolerant 2018-08-07 12:01:55 +02:00
Émilie Feral
fd3b9580f0 [poincare] TreeReference-->TreeByReference 2018-08-07 11:54:45 +02:00
Émilie Feral
e769af8979 [poincare] One only ghost node for all tree types 2018-08-07 11:53:57 +02:00
Émilie Feral
f0188e9a2b [poincare] Matrix: first attempt 2018-08-06 16:01:42 +02:00
Émilie Feral
bb48505547 [poincare] Integer: make the typedNode private 2018-08-06 15:59:01 +02:00
Léa Saviot
84124453fa [poincare] Use the new References constructors
Also use replaceChild instead of addChild in the constructors of
References that are not childRemovalTolerant
2018-08-03 17:14:28 +02:00
Émilie Feral
152ef8a8df [poincare] Create a method Number::Decimal which build a Decimal or a
Infinite when overflowing
2018-08-03 16:43:21 +02:00
Émilie Feral
2c5c14f0ab [poincare] Create DecimalNode, DecimalReference 2018-08-03 16:42:09 +02:00
Émilie Feral
5a1c75b43c [poincare] Fix MatrixComplexReference::typedNode 2018-08-03 16:41:07 +02:00
Émilie Feral
5cb179520f [poincare] Clean Integer 2018-08-03 16:39:57 +02:00
Léa Saviot
51363aaeac [poincare] Revert wrong renaming 2018-08-03 16:30:39 +02:00
Léa Saviot
7931d9ebfa Revert "[poincare] Rename addChildTreeAtIndex -> addChildAtIndex"
This reverts commit afd01f34e1.
2018-08-03 16:02:56 +02:00
Léa Saviot
afd01f34e1 [poincare] Rename addChildTreeAtIndex -> addChildAtIndex 2018-08-03 15:01:10 +02:00
Léa Saviot
5e6dea559f [poincare] Make add/remove methos protected on TreeRef
And public in NAryExpressionRef, HorizontalLayoutRef, ...
Also fix matrix addition of children
2018-08-03 14:54:34 +02:00
Léa Saviot
4e96c16c58 [poincare] TreePool is friend with TreeReference to access discardTNode 2018-08-03 14:39:10 +02:00
Émilie Feral
6d08ce356c [poincare] MatrixComplex: change node() for typedNode() 2018-08-03 12:04:53 +02:00
Émilie Feral
9ddf1d2c33 [poincare] Increase the limit of Integer to 1E308 2018-08-03 11:36:38 +02:00
Léa Saviot
5de11b122b [poincare] Detach and remove methods on TreeReference 2018-08-03 11:20:30 +02:00
Léa Saviot
caa12ec49e [poincare] Ghost nodes 2018-08-03 11:20:30 +02:00
Émilie Feral
748291d6b8 [poincare] Typo 2018-08-02 18:15:46 +02:00
Émilie Feral
31319ae80a [poincare] Clean 2018-08-02 18:15:46 +02:00
Léa Saviot
0a90560b3c [poincare] Remove old file 2018-08-02 17:48:13 +02:00
Émilie Feral
77d506028d [poicnare] Clean 2018-08-02 16:29:04 +02:00
Émilie Feral
06a3974f26 [poincare] description methods are compiled only when flag TREE_NODE is
set
2018-08-02 16:29:04 +02:00
Léa Saviot
4c301a736e [poincare] Rename numberOfOperands in numberOfChildren 2018-08-02 16:02:14 +02:00
Émilie Feral
54f9ea2d46 [poincare] Redesign of Expression: first attempt 2018-08-02 15:46:31 +02:00
Léa Saviot
b07d20f8ee [poincare] Clean computeSize and computeBaseline 2018-08-02 15:35:14 +02:00
Léa Saviot
f7a9d67d76 [poincare] Revert removing TreeNode::size() overrides 2018-08-02 15:08:50 +02:00
Léa Saviot
075c2c766b [poincare] Code cleaning 2018-08-02 15:08:49 +02:00
Léa Saviot
7d0496dba0 [poincare] Fix MatrixLayoutnavigation bug 2018-08-02 11:43:26 +02:00
Léa Saviot
d89e078e0e [poincare] NthRootLayoutNode shouldn't in/decrement m_numbOfChildren 2018-08-01 16:49:47 +02:00
Léa Saviot
a2a444ad4a [poincare] Use == and != operators from TreeReference 2018-08-01 15:53:11 +02:00
Émilie Feral
0fd7b33405 [poincare] Modify TreeReference(TreeNode *) constructor to avoid
multiple const_cast
2018-08-01 14:57:34 +02:00
Léa Saviot
9a8ea25dab [poincare] LayoutNode::changeGreySquaresOfAllMatrixAncestors uses Refs 2018-07-31 18:02:54 +02:00
Léa Saviot
7c6e7b7daa [poincare] Fix typo 2018-07-31 17:51:13 +02:00
Émilie Feral
5f8f20c5e5 [poincare] Make layout hierarchical methods (root, parent, childAtIndex)
override tree node methods
2018-07-31 15:17:46 +02:00
Léa Saviot
07c0d10a5a [poincare] Swap removeTreeChild and replaceTreeChildAtIndex 2018-07-31 14:51:28 +02:00