Commit Graph

39 Commits

Author SHA1 Message Date
Ruben Dashyan
b05202f2ec [poincare] Remove stdio.h inclusions 2020-06-04 14:50:01 +02:00
Léa Saviot
60706835e7 [poincare/tree_node] Assertions on parent id that should not be this id 2020-02-12 15:13:22 +01:00
Léa Saviot
ed211f185a [poincare/tree_pool] Use uint16_t for node identifiers, not int 2020-02-12 15:13:16 +01:00
Émilie Feral
79f0834f4e [poincare] Add method 'hasNode' on TreeHandle 2019-02-05 16:42:36 +01:00
Léa Saviot
f5418e077e [poincare] Fix TreeNode log 2018-09-20 16:46:34 +02:00
Léa Saviot
941607209c [poincare] Remove TODO comment 2018-09-20 13:24:37 +02:00
Émilie Feral
e0495de6af [poincare] Change name: TreeByReference --> TreeHandle 2018-09-14 17:22:36 +02:00
Léa Saviot
67606d41f5 [poincare] Remove code that handled Static nodes 2018-09-14 15:15:07 +02:00
Émilie Feral
bd5af83d96 [poincare] Fix TreeNode::log 2018-09-07 15:54:23 +02:00
Léa Saviot
2e36ae0dd6 [poincare] Clean inlining in TreeNode 2018-09-06 14:01:40 +02:00
Léa Saviot
ea948117a4 [poincare] Remove ExceptionNodes and UninitializedNodes 2018-09-05 17:54:08 +02:00
Léa Saviot
6b9db23942 [poincare] A TreeNode keeps the identifier of its parent 2018-09-04 10:43:34 +02:00
Léa Saviot
f095c9de4d [poincare] Detach a child always replaces it with a ghost 2018-09-03 11:24:25 +02:00
Léa Saviot
fb3d34cf2b [poincare] Automatically detach a tree before adding it 2018-08-31 10:23:52 +02:00
Léa Saviot
062b647070 [poincare] Un-virtualize TreeNode::next and nextSibling 2018-08-30 13:25:52 +02:00
Léa Saviot
2d9fcc0a89 [poincare] Inline TreeNode::isStatic 2018-08-30 10:28:19 +02:00
Léa Saviot
c5a85edf8e [poincare] Remove invalid nullptr return values 2018-08-14 17:57:59 +02:00
Léa Saviot
942e1a8f25 [poincare] TreeNode::parent() should never return nullptr 2018-08-14 17:53:32 +02:00
Léa Saviot
cd43d84b1e [poincare] Fix TreeRef deletion: releaseNode shouldn't create a TreeRef 2018-08-14 17:31:47 +02:00
Romain Goyet
29f5763c7d [poincare] TreeNode have a zero refcount by default 2018-08-10 15:39:07 +02:00
Émilie Feral
ecc71f84b8 [poincare] Change methods names of TreeByReference: add 'InPlace' 2018-08-07 14:19:30 +02:00
Émilie Feral
fd3b9580f0 [poincare] TreeReference-->TreeByReference 2018-08-07 11:54:45 +02:00
Léa Saviot
5de11b122b [poincare] Detach and remove methods on TreeReference 2018-08-03 11:20:30 +02:00
Léa Saviot
48c6e5e6b7 [poincare] currentNumberOfChildren parameter when needed 2018-07-31 14:47:50 +02:00
Léa Saviot
4b190093e7 [poincare] Check if the node is static before some TreeNode operations 2018-07-30 16:16:11 +02:00
Léa Saviot
53e15b0fb7 [poincare] Do not retain or release static nodes 2018-07-30 15:13:09 +02:00
Léa Saviot
524809efa7 Coding style 2018-07-30 10:51:03 +02:00
Léa Saviot
08e60f61e6 [poincare] Fix TreeNode::releaseChildren 2018-07-30 10:50:43 +02:00
Léa Saviot
2ab29ea141 [poincare] Handle tree with missing children removal 2018-07-27 17:19:01 +02:00
Léa Saviot
ed443b46b8 [poincare] When renaming treenode, unregister identifier only if asked 2018-07-27 15:15:08 +02:00
Émilie Feral
67e9405b8c [poincare] TreeNode: clean names (childTree->child, parentTree->parent
...)
2018-07-27 11:00:50 +02:00
Léa Saviot
e07f33dc27 [poincare] Unregister the identifier before renaming a node 2018-07-27 10:45:30 +02:00
Léa Saviot
ddddafe626 [tree] Put pool modification methods in references, not nodes 2018-07-11 17:25:26 +02:00
Léa Saviot
40c8271af8 [poincare] TreeNode::addChild->addChildTree 2018-07-05 18:02:20 +02:00
Léa Saviot
a82d72fff8 [poincare] LayoutNode::replaceChild 2018-07-05 17:43:49 +02:00
Léa Saviot
07e7c3279d [poincare] Put back integer layout creation 2018-07-05 10:25:53 +02:00
Léa Saviot
2eba0825d2 [poincare] Translate methods to new tree structure 2018-07-04 11:53:46 +02:00
Léa Saviot
d53abf5bf1 [poincare] Remove warning on unused variable 2018-07-02 17:37:15 +02:00
Léa Saviot
c955292105 [poincare] Coninue tree migration 2018-07-02 17:20:30 +02:00