Commit Graph

5129 Commits

Author SHA1 Message Date
Léa Saviot
1aeebaa2f0 [poincare] Fix EmptyLayoutNode::willAddSibling 2018-07-13 10:02:05 +02:00
Léa Saviot
dc18f59688 [poincare] Rename replaceWithAndMoveCursor -> replaceWith 2018-07-13 10:01:10 +02:00
Léa Saviot
285537075d [poincare] By default, Layout::removeChild replaces it with EmptyLayout 2018-07-12 18:02:06 +02:00
Léa Saviot
ea10652831 [poincare] Fix TreeRef methods 2018-07-12 18:01:34 +02:00
Léa Saviot
2255a2ceab [poincare] Remove some debug logging 2018-07-12 17:28:48 +02:00
Léa Saviot
fca5a5c76f [poincare] Fix TreeReference::setTo 2018-07-12 17:26:28 +02:00
Léa Saviot
8318a5cd3a [poincare] Fix LayoutNode::origin typo 2018-07-12 17:10:33 +02:00
Léa Saviot
004e2d5d60 [poincare] Fix HorizontalLayoutRef::mergeChildrenAtIndex 2018-07-12 16:40:18 +02:00
Léa Saviot
0f502e505a [poincare] Fix replaceWithJuxtapositionOf 2018-07-12 16:15:17 +02:00
Léa Saviot
d5d22cd88b [poincare] Fix HorizontalLayoutRef 2018-07-12 16:14:36 +02:00
Léa Saviot
278d44d952 [poincare] nullptr cursor handling 2018-07-12 16:13:31 +02:00
Léa Saviot
7cf3210738 [poincare] Add VerticalOffsetLayoutNode 2018-07-12 14:04:10 +02:00
Léa Saviot
f5f3a548b7 [poincare] Fix LayoutReference::removeChild 2018-07-12 11:14:21 +02:00
Léa Saviot
a6f1a2d08d [poincare] Remove unnecessary return value 2018-07-12 11:12:28 +02:00
Léa Saviot
9951e50a9c [poincare] Use LayoutCursor::layoutNode() 2018-07-12 10:59:53 +02:00
Léa Saviot
4e4c1bb2ad [poincare] Fix TreeReference::replaceTreeChildAtIndex 2018-07-12 10:48:12 +02:00
Léa Saviot
f48c9f53d2 [poincare] Fix TreeReference::swapChildren 2018-07-12 10:48:12 +02:00
Léa Saviot
9d5914a268 [poincare] Change parameters order in TreePool::move methods 2018-07-12 10:48:12 +02:00
Léa Saviot
8848b0df8b [poincare/layouts] Clean + complete Horizontal, Char, Empty, AllocaFail 2018-07-12 10:48:12 +02:00
Léa Saviot
d0b88156cd [poincare/layout] Put collapseSiblings on LayoutRefs 2018-07-12 10:48:12 +02:00
Léa Saviot
b8f555e8fd [tree] Remove dead code 2018-07-11 17:37:37 +02:00
Léa Saviot
b2ea3caefa [tree] Rename collapseSiblingsAndMoveCursor -> collapseSiblings 2018-07-11 17:25:53 +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
18bd8ea21b [tree] SerializableNode and Ref 2018-07-10 17:10:03 +02:00
Léa Saviot
30a2b681fa [tree] Clean some allocationFailureNode methods on TreeNode 2018-07-10 16:19:05 +02:00
Léa Saviot
1e5994b926 [tree] Fix memove32 2018-07-10 16:14:38 +02:00
Émilie Feral
3eabf77ed5 [poincare] Templatize iterators on TreeNode 2018-07-10 14:59:19 +02:00
Léa Saviot
f9a1c8f9f5 [poincare] Empty and Char Layout translation end 2018-07-06 15:25:47 +02:00
Léa Saviot
74e4a83e59 [poincare] Add methods on LayoutCursor 2018-07-06 15:15:42 +02:00
Léa Saviot
9e000c5b45 [poincare] Fix cursor position when adding allocation failure 2018-07-06 15:15:27 +02:00
Léa Saviot
d7ff097826 [poincare] EmptyLayoutNode 2018-07-06 14:03:43 +02:00
Léa Saviot
9f3bf79955 [poincare] Add methods on LayoutCursor 2018-07-06 13:40:36 +02:00
Léa Saviot
be62c3c433 [poincare] Add methods to layouts 2018-07-06 11:36:58 +02:00
Léa Saviot
785df118dc [poincare] Fix layout insertion 2018-07-06 11:35:52 +02:00
Léa Saviot
fa8da9b238 [poincare] Clean LayoutNode 2018-07-05 18:02:47 +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
6518fd3f47 [poincare] LayoutReference::replaceWithJuxtapositionOf 2018-07-05 15:18:15 +02:00
Léa Saviot
279e04bdd9 [poincare] LayoutNode::equivalentCursor 2018-07-05 14:56:01 +02:00
Léa Saviot
8a3be2bac3 [poincare] LayoutReference::deleteBeforeCursor 2018-07-05 14:26:44 +02:00
Léa Saviot
93f07c1fb8 [poincare] HorizontalLayout::moveCursorRight 2018-07-05 12:01:48 +02:00
Léa Saviot
48aac1c908 [poincare] LayoutCursor::insertText 2018-07-05 11:34:49 +02:00
Léa Saviot
401aa39e26 [poincare] Fix LayoutCursor 2018-07-05 11:34:07 +02:00
Léa Saviot
85ca01a7dc [build] Change debug flag from Og to O0
This flag caused lldb problems
2018-07-05 11:08:36 +02:00
Léa Saviot
a0c427076f [apps/claculation] Remove duplicate layout reference 2018-07-05 11:08:36 +02:00
Léa Saviot
9e1b7792f7 [poincare] LayoutNode::hasText 2018-07-05 11:08:34 +02:00
Léa Saviot
d1bdc7e2d5 [poincare] Fix tree retain count 2018-07-05 10:26:10 +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
6a77da86f7 Better handling of TreeRef to nullptr 2018-07-04 09:54:34 +02:00