Commit Graph

7312 Commits

Author SHA1 Message Date
Léa Saviot
adf895daee [apps] Fix DoublePairStore::storeChecksum computation
We used to compute the crc32 of the whole data array, putting empty data
pairs to (0,0), but this hides (0,0) data points additions or removals.
2018-08-30 17:39:44 +02:00
Léa Saviot
2f946e7987 [apps/regression] Add private method globalContext on GraphController 2018-08-30 17:39:10 +02:00
Émilie Feral
ccda5c3831 [poincare] Redesign Expression and ExpressionNode to work with Reference 2018-08-30 16:08:09 +02:00
Émilie Feral
9fd3276563 [poincare] API Expression node v2 2018-08-30 15:06:38 +02:00
Émilie Feral
96c6c825e4 [poincare] New API Expression node (Reference instead of copy) 2018-08-30 14:46:25 +02:00
Léa Saviot
1765430acc [poincare] Remove TreeByValue 2018-08-30 14:29:50 +02:00
Léa Saviot
a66c420a72 [poincare] Add missing return 2018-08-30 14:27:32 +02:00
Léa Saviot
373e0d4e40 [poincare] remove virtualitu on TreeByReference methods 2018-08-30 14:26:35 +02:00
Léa Saviot
062b647070 [poincare] Un-virtualize TreeNode::next and nextSibling 2018-08-30 13:25:52 +02:00
Léa Saviot
3a51b82717 [poincare] Register UninitializedExpressionNode at Poincare init 2018-08-30 12:03:15 +02:00
Léa Saviot
76fcdb86d8 [poicnare] Fix Poincare init files 2018-08-30 11:34:46 +02:00
Léa Saviot
f59646ad6b [poincare] init files 2018-08-30 11:17:56 +02:00
Léa Saviot
e9be5c6dbf [poincare] Init Poincare by creating a shared TreePool 2018-08-30 10:53:06 +02:00
Émilie Feral
4caf17258d [poincare] Delete additional #endif 2018-08-30 10:31:52 +02:00
Léa Saviot
2d9fcc0a89 [poincare] Inline TreeNode::isStatic 2018-08-30 10:28:19 +02:00
Léa Saviot
ddbabd0e3c [poincare] Do not use assert with PLATFORM=blackbox and DEBUG=0 2018-08-30 10:24:22 +02:00
Léa Saviot
b7695af9ac [poincare] Simplify TreeNode::retain 2018-08-30 10:22:37 +02:00
Léa Saviot
2872815ee7 [poincare] Inline TreePool::node(identifier) 2018-08-30 10:20:20 +02:00
Léa Saviot
75f575c7d9 [poincare] Inline TreeByReference::~TreeByReference 2018-08-30 10:18:30 +02:00
Léa Saviot
4eb1df81f6 [rt0] Enable SUPPORT_CPP_GLOBAL_CONSTRUCTORS 2018-08-30 10:17:46 +02:00
Léa Saviot
03fd17b97d [poincare] TreeByReference::node is not virtual anymore 2018-08-30 10:16:21 +02:00
Émilie Feral
969966f24e [poincare] Delete useless header 2018-08-29 17:27:22 +02:00
Émilie Feral
34a2fa3221 [poincare] Clean poincare header 2018-08-29 17:27:05 +02:00
Émilie Feral
99c0d25e7d [poincare] Add tests: nth_root_layout, simplify_mix, subtraction,
symbol
2018-08-29 17:06:35 +02:00
Émilie Feral
6f97f5babc [poincare] Fix tests convert_expression_to_text 2018-08-29 16:52:31 +02:00
Émilie Feral
c720bb7c36 [poincare] Makefile: add a compile FLAG POINCARE_TREE_LOG 2018-08-29 16:23:40 +02:00
Émilie Feral
a9ea1900d9 [poincare] Fix tests: complex_to_expression 2018-08-29 16:19:24 +02:00
Émilie Feral
b922041fbe [poincare] Fix Infinity::approximate 2018-08-29 16:19:08 +02:00
Émilie Feral
c9aa35fe82 [poincare] Fix binomial_coefficient_layout test 2018-08-29 15:41:02 +02:00
Émilie Feral
ac596c9a71 [poincare] Use reference in replaceSymbolWithExpression 2018-08-29 15:37:49 +02:00
Émilie Feral
efcccb282a [poincare] Fix Arithmetic tests 2018-08-29 15:22:37 +02:00
Émilie Feral
23e67c2264 [poincare] When operating on Rational, check if we overflow 2018-08-29 15:10:47 +02:00
Émilie Feral
5870804250 [poincare] When operating on Integers, check if the result might have
overflowed
2018-08-29 15:10:47 +02:00
Léa Saviot
7ff02375ba [poincare] Remove FLAG in code 2018-08-29 13:29:56 +02:00
Léa Saviot
48f71f0304 [poincare] Remove Matrix from parser 2018-08-29 13:24:10 +02:00
Émilie Feral
5fcd6e6718 [poincare] Work with references when possible 2018-08-29 11:53:36 +02:00
Émilie Feral
349337d00d [poincare] Trigonometry: delete useless clone 2018-08-29 11:53:36 +02:00
Émilie Feral
10f84ece32 [poincare] Expression: make clone() const 2018-08-29 11:53:36 +02:00
Léa Saviot
d32a846f7b [poincare] Add missing template declaration 2018-08-29 11:46:20 +02:00
Léa Saviot
ebc4f8c0ce [poincare] Remove assert(false) 2018-08-29 09:39:46 +02:00
Émilie Feral
03431f1b9b [poincare] Addition: move methods from Node to Addition 2018-08-29 09:37:32 +02:00
Émilie Feral
ff1a8dc4d1 [poincare] Fix PermuteCoefficient 2018-08-28 16:50:19 +02:00
Émilie Feral
13076dfd02 [poincare] Fix PredictionInterval 2018-08-28 16:50:19 +02:00
Léa Saviot
6452d496b0 [poincarE] Fix typo in LayoutReference 2018-08-28 16:24:42 +02:00
Léa Saviot
0ccc5d8fda [poincarE] Use ParenthesisLayouts in LayoutCursor 2018-08-28 16:24:17 +02:00
Léa Saviot
1c55431041 [poincare] Fix typo in BracketLayoutNode 2018-08-28 16:23:52 +02:00
Léa Saviot
c9242f730b [poincare] Fix some Ghost Layout assertions and isUninitialized problems 2018-08-28 16:22:59 +02:00
Léa Saviot
34583ecf4e [poincare] Remove nullptr layout tests, check instead if isUninitialized 2018-08-28 16:22:04 +02:00
Léa Saviot
a119c255cb [poincare] Add simple test on layout creation 2018-08-28 16:16:11 +02:00
Émilie Feral
2273951fcc [poincare] Fix Randint 2018-08-28 16:14:21 +02:00