Commit Graph

75 Commits

Author SHA1 Message Date
Léa Saviot
8bf0923ce6 Add pool log test method 2018-07-02 14:47:15 +02:00
Léa Saviot
253db1ac2c castedNode() -> typedNode() 2018-07-02 14:12:45 +02:00
Léa Saviot
882e81e4db Remove Nodes' init method: assert node is not allocationFailure instead 2018-07-02 13:12:04 +02:00
Léa Saviot
38cd5332f8 Remove old code 2018-07-02 11:56:53 +02:00
Léa Saviot
9fc488f22f Continue addition simplification 2018-07-02 11:53:15 +02:00
Léa Saviot
2590133040 Layout allocation fail test 2018-07-02 11:51:41 +02:00
Léa Saviot
958baee216 Continuing simplification 2018-07-02 11:51:41 +02:00
Léa Saviot
3135fff759 Expression simplification 2018-07-02 11:51:41 +02:00
Léa Saviot
370a10710c SimplificationRootNode 2018-07-02 11:51:41 +02:00
Léa Saviot
a971b0a6ba Fix AllocationFailedExpressionRef constructor 2018-07-02 11:51:41 +02:00
Léa Saviot
f0e2bd0e5c Start expression simplification 2018-07-02 11:51:26 +02:00
Léa Saviot
53bacec72f Remove duplicate method 2018-06-29 17:21:03 +02:00
Léa Saviot
38139a6fe7 Remove unneeded method 2018-06-29 16:49:00 +02:00
Léa Saviot
fbce93b1fc Clean tests 2018-06-29 16:46:42 +02:00
Léa Saviot
8822617f3c Steal operand test 2018-06-29 16:46:42 +02:00
Léa Saviot
6721c25f42 Detach node before adding it 2018-06-29 15:53:12 +02:00
Léa Saviot
a4471e1570 StaticAllocationFailureNodes are not stored in the pool 2018-06-29 15:30:40 +02:00
Léa Saviot
8117e73561 Remove unnecessary method renaming 2018-06-29 14:33:25 +02:00
Léa Saviot
3e0552da91 Clearer comment 2018-06-29 14:27:07 +02:00
Léa Saviot
fb9244df98 Clean old Allocation failure code 2018-06-29 14:22:46 +02:00
Léa Saviot
2684b2f09f Replace nodes with AllocationFailures inside the tree when needed 2018-06-29 14:21:10 +02:00
Léa Saviot
cb77fbe2ff Fix AllocationFailure when multiple instances 2018-06-28 17:59:06 +02:00
Léa Saviot
bd61298374 Make tests more independent 2018-06-28 17:34:47 +02:00
Léa Saviot
069ed145a3 Replace node() with castedNode() 2018-06-28 17:07:24 +02:00
Léa Saviot
c8acf7dbda Add second test case for allcoation fail 2018-06-28 15:56:02 +02:00
Léa Saviot
46d56ade21 Allocation failure fix and test 2018-06-28 15:04:56 +02:00
Léa Saviot
c208da2f90 Increment node numberOfChildren when adding child 2018-06-27 17:36:55 +02:00
Léa Saviot
170ce95041 AllocationFail 2018-06-27 16:17:20 +02:00
Léa Saviot
2248a257c8 Cleaning 2018-06-27 16:17:20 +02:00
Léa Saviot
08f16bca23 Add assertions on pool emptiness 2018-06-27 16:17:20 +02:00
Léa Saviot
3d5e8dc4c4 Fix retain count when changing cursor pointed node 2018-06-27 16:17:20 +02:00
Léa Saviot
d3db6827ae Modify tests 2018-06-27 16:17:20 +02:00
Léa Saviot
adc422235b Rule of 5 for TreeReference 2018-06-27 16:17:20 +02:00
Léa Saviot
1e4f65e414 Cleaning 2018-06-27 16:17:20 +02:00
Léa Saviot
6f41816500 Clean TreePool 2018-06-27 16:17:20 +02:00
Léa Saviot
920d815b67 Remove dangerous casts 2018-06-27 16:17:20 +02:00
Léa Saviot
2bc5290ff1 Clean unary tests 2018-06-27 16:17:20 +02:00
Léa Saviot
8c536abd80 Remove Cursor class 2018-06-27 16:17:20 +02:00
Léa Saviot
f67eb9c0a8 TreeReferences do not deepcopy unless asked 2018-06-27 16:17:20 +02:00
Léa Saviot
2906d72aee MoveLeft is working 2018-06-27 16:17:20 +02:00
Léa Saviot
9a7441d045 Define a cursor on layout children 2018-06-27 16:17:13 +02:00
Léa Saviot
0ef7077bd3 Fix CharLayoutNode::Description 2018-06-26 15:24:01 +02:00
Léa Saviot
b58ab0a8ca LayoutCursor 2018-06-26 15:11:04 +02:00
Léa Saviot
f8d08f8599 Make numberOfChildren virtual pure 2018-06-26 14:30:42 +02:00
Léa Saviot
c60bc61d32 Add class cursor on for all TreeReferences 2018-06-26 14:30:04 +02:00
Léa Saviot
7587b05c8b Some layout navigation 2018-06-25 13:50:38 +02:00
Léa Saviot
0af06b5f3a Add Layouts 2018-06-25 13:37:28 +02:00
Léa Saviot
517b2892bb TreeNode::swap 2018-06-22 15:42:28 +02:00
Léa Saviot
fbaaa96ab1 Fix TreePool::move 2018-06-22 15:40:51 +02:00
Léa Saviot
d7ea9f3bf7 Remove debug printing 2018-06-22 15:16:48 +02:00