Léa Saviot
|
f37ef1303d
|
[poincare] Fix TreeReference::replaceTreeChild
|
2018-08-01 16:52:42 +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
|
222fd396ac
|
Code cleaning
|
2018-08-01 15:53:11 +02:00 |
|
Léa Saviot
|
a2a444ad4a
|
[poincare] Use == and != operators from TreeReference
|
2018-08-01 15:53:11 +02:00 |
|
Léa Saviot
|
1a50d88a79
|
[poincare] Fix missing LayoutRef construction in BracketPairLayoutNode::moveCursorRight
|
2018-08-01 15:53:11 +02:00 |
|
Léa Saviot
|
31e7288894
|
[poincare] Fix TreeReference::replaceTreeChild
|
2018-08-01 15:42:25 +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
|
17a8cde6d6
|
[poincare] Caution with AFail when adding rows/columns to matrix layout
|
2018-08-01 10:57:00 +02:00 |
|
Léa Saviot
|
ee2ebdcdc0
|
[poincare] addLayoutAndMoveCursor collapses only if layout is not AFail
|
2018-08-01 10:46:45 +02:00 |
|
Léa Saviot
|
d84a081e7e
|
[poincare] Clean EmptyLayoutNode::willAddSibling
|
2018-08-01 10:46:45 +02:00 |
|
Léa Saviot
|
b9b3feffa3
|
[poincare] Fix use of "this" after allocation failure + wrong cast
|
2018-08-01 10:46:45 +02:00 |
|
Léa Saviot
|
9a8ea25dab
|
[poincare] LayoutNode::changeGreySquaresOfAllMatrixAncestors uses Refs
|
2018-07-31 18:02:54 +02:00 |
|
Léa Saviot
|
5410755cee
|
[poincare] Enable LayoutNode::changeGreySquaresOfAllMatrixAncestors
|
2018-07-31 17:53:02 +02:00 |
|
Léa Saviot
|
64901f6ef6
|
[poincare] Fix use of node after pool meddling
|
2018-07-31 17:52:27 +02:00 |
|
Léa Saviot
|
7c6e7b7daa
|
[poincare] Fix typo
|
2018-07-31 17:51:13 +02:00 |
|
Léa Saviot
|
c9cc4a40d8
|
[poincare] If root is AFail after handlingEvent, point the cursor to it
|
2018-07-31 17:49:41 +02:00 |
|
Léa Saviot
|
3e4a67bee1
|
[poincare] Check if layout is not AllocFail when adding row after column
|
2018-07-31 17:09:42 +02:00 |
|
Léa Saviot
|
448336551f
|
[poincare] Fix index computation in MatrixLyt::didReplaceChildAtIndex
|
2018-07-31 17:02:12 +02:00 |
|
Léa Saviot
|
75e34847fe
|
[poincare] Wrong memoization of index in parent
|
2018-07-31 16:23:20 +02:00 |
|
Léa Saviot
|
f587aab4bb
|
[poincare] LayoutField::handleEventWithText only if layout is not AFail
|
2018-07-31 16:09:26 +02:00 |
|
Léa Saviot
|
de347f9be4
|
[poicnare] Fix TreeReference::replaceWithAllocationFailure
|
2018-07-31 15:50:36 +02:00 |
|
Léa Saviot
|
4190db882c
|
[poincare] Edge case in LayoutCursor::baseForNewPowerLayout
|
2018-07-31 15:39:33 +02:00 |
|
Léa Saviot
|
793bc37da8
|
[poincare] Fix HorizontalLayoutRef::addOrMergeChildAtIndex
|
2018-07-31 15:39:04 +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 |
|
Léa Saviot
|
48c6e5e6b7
|
[poincare] currentNumberOfChildren parameter when needed
|
2018-07-31 14:47:50 +02:00 |
|
Léa Saviot
|
c12c268807
|
[poincare] LayoutReference::addChildAtIndex needs current childrenCount
|
2018-07-31 11:53:51 +02:00 |
|
Léa Saviot
|
e4596e9ecb
|
[apps] Remove dead development code
|
2018-07-31 11:38:28 +02:00 |
|
Léa Saviot
|
5767e4ffc2
|
[poincare] Remove dead ExpressionLayout classes
|
2018-07-31 11:26:46 +02:00 |
|
Émilie Feral
|
bb9b86516a
|
[poincare] MatrixComplex: rule of 5
|
2018-07-31 11:23:59 +02:00 |
|
Léa Saviot
|
1147e0ad73
|
[poincare] Handle some TODOs
|
2018-07-31 11:19:18 +02:00 |
|
Léa Saviot
|
bd5afdf01a
|
[poincare] Keep track of numOfChildren in replaceWithAllocationFailure
|
2018-07-31 11:15:13 +02:00 |
|
Léa Saviot
|
978d3de571
|
[poincare] EmptyLayout handles color change when adding sibling
Not LayoutCursor::baseForNewPowerLayout
|
2018-07-31 11:14:05 +02:00 |
|
Émilie Feral
|
8107d63a6b
|
[poincare] Evaluation: implement destructor of MatrixComplex
|
2018-07-31 10:40:17 +02:00 |
|
Léa Saviot
|
6d86170774
|
[poincare] Handling of alloc fail when adding square power layout
|
2018-07-30 17:42:22 +02:00 |
|
Léa Saviot
|
3e0bc00109
|
[poincare] Do not copy/cut allocation failure references
|
2018-07-30 17:42:17 +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
|
9a0602719e
|
[poincare] Check if HorizontalLayoutRef is not alloc fail in its methods
|
2018-07-30 16:15:44 +02:00 |
|
Léa Saviot
|
5a5f2403da
|
[poincare] Fix calculation height allocation failure handling
|
2018-07-30 15:36:45 +02:00 |
|
Léa Saviot
|
d5c76108bf
|
[poincare] When collapsing layouts, stop if the root becomes alloc fail
|
2018-07-30 15:13:15 +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
|
702966a86a
|
Remove outdated comment
|
2018-07-30 14:58:27 +02:00 |
|
Léa Saviot
|
2d4e36b98c
|
[apps/calc] Handle alloc failure when computing calculation height
|
2018-07-30 14:47:41 +02:00 |
|
Léa Saviot
|
8e2abb8751
|
[poincare] Division::createLayout
|
2018-07-30 14:42:47 +02:00 |
|
Émilie Feral
|
48f890ef93
|
[poincare] AngleUnit, FormatComplex and PrintFloatMode are now
enumeration of Preferences class
|
2018-07-30 13:48:04 +02:00 |
|
Léa Saviot
|
0788735bcc
|
[poincare] Fix HorizontalLayoutNode::willAddChildAtIndex
|
2018-07-30 11:43:22 +02:00 |
|
Léa Saviot
|
091043f958
|
[poincare] Use ParenthesisLayouts in LayoutEngine
|
2018-07-30 11:18:49 +02:00 |
|
Léa Saviot
|
43aa59e017
|
[poincare] Use addOrMergeChildAtIndex in LayoutEngine
|
2018-07-30 11:18:49 +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 |
|