Commit Graph

7312 Commits

Author SHA1 Message Date
Émilie Feral
aab97ffcd4 [poincare] Fix Context header 2018-08-07 15:43:35 +02:00
Léa Saviot
cf4327a12d [poincare] Revert wrong replaceChild/InPlace name changes 2018-08-07 15:10:47 +02:00
Émilie Feral
7661d735f3 [poincare] Fix expression node header 2018-08-07 15:05:56 +02:00
Émilie Feral
3f6ac7ecfb [poincare] Fix layout reference header 2018-08-07 15:03:59 +02:00
Émilie Feral
e9f9260b54 [poincare] Fix SerializableReference header 2018-08-07 15:03:10 +02:00
Émilie Feral
5454e7f8cd [poincare] Fix Evaluation header 2018-08-07 15:02:20 +02:00
Émilie Feral
f7bd9ffe10 [poincare] Create TreeByValue 2018-08-07 14:20:13 +02:00
Émilie Feral
ecc71f84b8 [poincare] Change methods names of TreeByReference: add 'InPlace' 2018-08-07 14:19:30 +02:00
Émilie Feral
a8dbe44b05 [poincare] TreeNode: delete useless method isChildRemovalTolerant 2018-08-07 12:01:55 +02:00
Émilie Feral
fd3b9580f0 [poincare] TreeReference-->TreeByReference 2018-08-07 11:54:45 +02:00
Émilie Feral
e769af8979 [poincare] One only ghost node for all tree types 2018-08-07 11:53:57 +02:00
Émilie Feral
f0188e9a2b [poincare] Matrix: first attempt 2018-08-06 16:01:42 +02:00
Émilie Feral
bb48505547 [poincare] Integer: make the typedNode private 2018-08-06 15:59:01 +02:00
Émilie Feral
837da498cf [regression] Add a comment regarding the maximal number of coefficients
of regression
2018-08-06 15:58:20 +02:00
Léa Saviot
60d6ca5f0c [poincare] Handle alloc fails in LayoutRef::replaceWithJuxtapositionOf 2018-08-06 09:54:15 +02:00
Émilie Feral
9fbdc60572 [poincare] Add test to Decimal::convert_expression_to_text 2018-08-03 17:22:44 +02:00
Émilie Feral
4eb450e94b [escher] When handling event on text, display the maximal number of
significant digits
2018-08-03 17:22:44 +02:00
Léa Saviot
84124453fa [poincare] Use the new References constructors
Also use replaceChild instead of addChild in the constructors of
References that are not childRemovalTolerant
2018-08-03 17:14:28 +02:00
Émilie Feral
152ef8a8df [poincare] Create a method Number::Decimal which build a Decimal or a
Infinite when overflowing
2018-08-03 16:43:21 +02:00
Émilie Feral
2c5c14f0ab [poincare] Create DecimalNode, DecimalReference 2018-08-03 16:42:09 +02:00
Émilie Feral
5a1c75b43c [poincare] Fix MatrixComplexReference::typedNode 2018-08-03 16:41:07 +02:00
Émilie Feral
5cb179520f [poincare] Clean Integer 2018-08-03 16:39:57 +02:00
Léa Saviot
51363aaeac [poincare] Revert wrong renaming 2018-08-03 16:30:39 +02:00
Léa Saviot
7931d9ebfa Revert "[poincare] Rename addChildTreeAtIndex -> addChildAtIndex"
This reverts commit afd01f34e1.
2018-08-03 16:02:56 +02:00
Léa Saviot
f28e029bb4 [poincare] Change misleading variable name 2018-08-03 15:18:27 +02:00
Léa Saviot
afd01f34e1 [poincare] Rename addChildTreeAtIndex -> addChildAtIndex 2018-08-03 15:01:10 +02:00
Léa Saviot
5e6dea559f [poincare] Make add/remove methos protected on TreeRef
And public in NAryExpressionRef, HorizontalLayoutRef, ...
Also fix matrix addition of children
2018-08-03 14:54:34 +02:00
Léa Saviot
4e96c16c58 [poincare] TreePool is friend with TreeReference to access discardTNode 2018-08-03 14:39:10 +02:00
Émilie Feral
6d08ce356c [poincare] MatrixComplex: change node() for typedNode() 2018-08-03 12:04:53 +02:00
Émilie Feral
ae1aa5ee14 [poincare] Fix Rational::NaturalOrder 2018-08-03 11:38:21 +02:00
Émilie Feral
9ddf1d2c33 [poincare] Increase the limit of Integer to 1E308 2018-08-03 11:36:38 +02:00
Léa Saviot
5de11b122b [poincare] Detach and remove methods on TreeReference 2018-08-03 11:20:30 +02:00
Léa Saviot
caa12ec49e [poincare] Ghost nodes 2018-08-03 11:20:30 +02:00
Émilie Feral
748291d6b8 [poincare] Typo 2018-08-02 18:15:46 +02:00
Émilie Feral
31319ae80a [poincare] Clean 2018-08-02 18:15:46 +02:00
Émilie Feral
05ba66cd21 [poincare] Correct Expression manipulation 2018-08-02 18:15:46 +02:00
Léa Saviot
0a90560b3c [poincare] Remove old file 2018-08-02 17:48:13 +02:00
Émilie Feral
77d506028d [poicnare] Clean 2018-08-02 16:29:04 +02:00
Émilie Feral
06a3974f26 [poincare] description methods are compiled only when flag TREE_NODE is
set
2018-08-02 16:29:04 +02:00
Léa Saviot
4c301a736e [poincare] Rename numberOfOperands in numberOfChildren 2018-08-02 16:02:14 +02:00
Émilie Feral
54f9ea2d46 [poincare] Redesign of Expression: first attempt 2018-08-02 15:46:31 +02:00
Léa Saviot
b07d20f8ee [poincare] Clean computeSize and computeBaseline 2018-08-02 15:35:14 +02:00
Léa Saviot
f7a9d67d76 [poincare] Revert removing TreeNode::size() overrides 2018-08-02 15:08:50 +02:00
Léa Saviot
075c2c766b [poincare] Code cleaning 2018-08-02 15:08:49 +02:00
Léa Saviot
4d184f73a8 [poincare] Keep track of children count in Matrix::createLayout 2018-08-02 13:07:02 +02:00
Léa Saviot
7d0496dba0 [poincare] Fix MatrixLayoutnavigation bug 2018-08-02 11:43:26 +02:00
Léa Saviot
8e50f45298 [poincare] Remove unneeded code 2018-08-02 10:36:40 +02:00
Léa Saviot
915a27e1d0 [poincare] FractionLyt::deleteBeforeCursor replaces stolen children 2018-08-02 10:36:40 +02:00
Léa Saviot
7a22a27d0f [poincare] Fix AFail in LayoutField::insertLayoutAtCursor 2018-08-02 10:22:45 +02:00
Léa Saviot
9305adc61b [poincare] Fix TreeReference::replaceWithAllocationFailure 2018-08-01 18:00:41 +02:00