Commit Graph

5568 Commits

Author SHA1 Message Date
Léa Saviot
6352bbcdd9 [poincare] Fix Rational constructors to prevent malformed Rationals 2018-08-13 12:20:37 +02:00
Émilie Feral
293cce6494 [poincare] Integer: fix typo 2018-08-13 11:49:38 +02:00
Émilie Feral
c06662196f [poincare] TreePool: cannot call a virtual method on a destructed object
(fix blob tests on device)
2018-08-13 11:13:44 +02:00
Léa Saviot
d51844a5a6 [poincare] Fix Complex and Decimal constructors (did not retain nodes) 2018-08-13 10:51:38 +02:00
Romain Goyet
6d5d61cac5 [poincare] Expose "log" on TreeByValue 2018-08-13 09:04:46 +02:00
Romain Goyet
2fa52e2fef [poincare] Add a failing test on Expression 2018-08-13 09:04:03 +02:00
Romain Goyet
3ee18797db [poincare] Fix a small bug in Integer parsing 2018-08-10 21:32:53 +02:00
Romain Goyet
30a4db3e34 [poincare] Allow logging of an Expression (e.g. Integer("123").log()) 2018-08-10 21:32:27 +02:00
Romain Goyet
7998233fea [poincare] Log IntegerNode m_negative 2018-08-10 21:32:06 +02:00
Romain Goyet
dae71c0a4a [poincare] Fix (or silence) clang warnings 2018-08-10 21:04:09 +02:00
Léa Saviot
a6f61f91a9 ’poincare] Clean some layouts 2018-08-10 17:21:53 +02:00
Émilie Feral
3914e9ed9f [poincare] Matrix: avoid infinite loop in node() implementation 2018-08-10 17:13:51 +02:00
Émilie Feral
86399938c1 [poincare] TreeByValue: fix copy assignment 2018-08-10 17:13:51 +02:00
Léa Saviot
5dd043bf75 [poincare] Clean some layouts 2018-08-10 16:27:56 +02:00
Romain Goyet
50d6eee4f4 [poincare] Add some integer tests 2018-08-10 16:27:13 +02:00
Romain Goyet
bc4898afc3 [poincare] Add a simple constructor for Integer 2018-08-10 16:26:54 +02:00
Romain Goyet
22e675937b [poincare] Use references for Integer::Addition Integer::Subtraction etc 2018-08-10 16:26:29 +02:00
Romain Goyet
e1265cc08d [poincare] Unit tests for TreeByValue and TreeByReference are passing 2018-08-10 16:00:46 +02:00
Léa Saviot
b4ff3fbbf7 [poincare] Fix header guardian typo 2018-08-10 15:56:48 +02:00
Romain Goyet
8278008559 [poincare] Add TreeByReference tests 2018-08-10 15:55:35 +02:00
Léa Saviot
4a9526d707 [poincare] Finish the method TreePool::createTreeNode 2018-08-10 15:55:07 +02:00
Émilie Feral
797459794b Makefile: build only Calculation application by default 2018-08-10 15:54:35 +02:00
Émilie Feral
a4b19e5fc7 [apps] Fix VariableBoxController references to Matrix 2018-08-10 15:54:35 +02:00
Émilie Feral
230d6b39ad [poincare] Add matrix in GlobalContext 2018-08-10 15:54:35 +02:00
Romain Goyet
b91744e82b [poincare] Clean TreeNode tests 2018-08-10 15:39:07 +02:00
Romain Goyet
f8785f5e79 [poincare] Register static nodes 2018-08-10 15:39:07 +02:00
Romain Goyet
18bea739d2 [poincare] Proper TreeByValue constructor and copy operators 2018-08-10 15:39:07 +02:00
Romain Goyet
29f5763c7d [poincare] TreeNode have a zero refcount by default 2018-08-10 15:39:07 +02:00
Romain Goyet
5b9950ec0e [poincare] Don't use a Symbol in the YYSTYPE
This prevents storing a Symbol in the pool forever
2018-08-10 15:39:07 +02:00
Émilie Feral
38a7816d10 [poincare] When adding a child to matrix, didAddChildAtIndex should
update the matrix dimensions to make the pool syntaxically correct
2018-08-10 15:18:17 +02:00
Romain Goyet
a4aa27c251 [poincare] Add logging functions (Matrix, Symbol) 2018-08-10 14:46:19 +02:00
Émilie Feral
346beb388a [poincare] TreeByReference: add a method didAddChildAtIndex 2018-08-10 14:41:56 +02:00
Romain Goyet
e35689f2d8 [poincare] Mark logging functions as override 2018-08-10 14:41:48 +02:00
Romain Goyet
c514b3dd3a [poincare] Log pool on failure 2018-08-10 14:41:48 +02:00
Émilie Feral
fe0985dda8 [poincare] Fix Matrix 2018-08-10 14:33:56 +02:00
Romain Goyet
23b82d3356 Merge branch 'Tree' of ssh://git.numworks.com/StackedTreeStructure into tree 2018-08-10 14:29:58 +02:00
Romain Goyet
4e08f196f8 [poincare] Fix TreeNode logging 2018-08-10 14:29:50 +02:00
Léa Saviot
88d865e703 [poincare] Fix typos 2018-08-10 13:44:49 +02:00
Léa Saviot
ddcad1d05e [poincare] Virtualize LayoutNode::hasText 2018-08-10 13:43:49 +02:00
Léa Saviot
0d69d87167 [poincare] remove wrong object file in makefile 2018-08-10 13:31:52 +02:00
Léa Saviot
315a5d8e3b [poincare] Fix LayoutReference 2018-08-10 13:27:26 +02:00
Léa Saviot
6c5e6349e4 [poincare] Fix LayoutNode and LayoutCursor 2018-08-10 13:23:15 +02:00
Émilie Feral
1fac7dc49c [poincare] Implement approximateWithValueForSymbol 2018-08-10 13:18:46 +02:00
Émilie Feral
294fd65e30 [apps] Fix references to Poincare in VariableBoxController 2018-08-10 13:18:46 +02:00
Émilie Feral
17e63a5b07 [shared] Fix references to Poincare 2018-08-10 13:18:46 +02:00
Émilie Feral
b5f66171fc [calculation] Fix all reference to Poincare 2018-08-10 13:18:46 +02:00
Léa Saviot
17daf19e05 [poincare] Fix more specialized layouts 2018-08-10 13:17:50 +02:00
Léa Saviot
c4b5d07ed4 [poincare] Left/Right Parenthesis and SquareBracket, Integral layouts 2018-08-10 12:04:37 +02:00
Léa Saviot
74ca9a73b7 [poincarE] Fraction, Grid and Horizontal layouts 2018-08-10 11:57:18 +02:00
Léa Saviot
7b3ce0f53c [poincare] Matrix, Ceiling, Empty, CondensedSum and Conjugate Layouts 2018-08-10 11:47:41 +02:00