Commit Graph

5078 Commits

Author SHA1 Message Date
Léa Saviot
f4ffa06add [poincare] Add LayoutCursor::cursorHeight() 2018-07-03 18:39:06 +02:00
Léa Saviot
880c3e59de [poincare] Continue removing layouts 2018-07-03 18:29:08 +02:00
Léa Saviot
f579e95815 [poincare] Start removing ExpressionLayout 2018-07-03 17:33:06 +02:00
Léa Saviot
a5ebab4bc1 [poincare] Continue adapting LayoutField 2018-07-03 14:56:15 +02:00
Léa Saviot
d0304d4a83 LayoutField 2018-07-03 13:52:33 +02:00
Léa Saviot
049cf772e2 [poincare] Adapt CharLayoutNode and HorizontalLayoutNode 2018-07-03 10:02:29 +02:00
Léa Saviot
d53abf5bf1 [poincare] Remove warning on unused variable 2018-07-02 17:37:15 +02:00
Léa Saviot
52a49f6bf7 [apps] Remove tree tests 2018-07-02 17:31:43 +02:00
Léa Saviot
c955292105 [poincare] Coninue tree migration 2018-07-02 17:20:30 +02:00
Léa Saviot
f3baee9dd0 [tree] Move tree files to Poincare 2018-07-02 17:20:30 +02:00
Léa Saviot
02c1790768 [tree] Finish the merge 2018-07-02 16:22:12 +02:00
Léa Saviot
714a5c9644 Merge Tree branch 2018-07-02 15:48:50 +02:00
Léa Saviot
77334bc36f Remove SimplificationRoot.
Simplify now returns a reference to the result.
2018-07-02 14:48:02 +02:00
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