Commit Graph

6089 Commits

Author SHA1 Message Date
Émilie Feral
08077cb141 [ion] Storage: make Storage::nameCompliant less restrictive (accepts
.*\.[a-z]+). But Script::nameCompliant is stricted: [a-z_0-9.]*
2018-09-13 11:33:15 +02:00
Léa Saviot
51341f4abe [poincare] Remove implementation of TreePool::numberOfNodes from flags 2018-09-13 11:16:55 +02:00
Léa Saviot
7592c34954 [poincare] Remove superfluous clones 2018-09-13 09:53:57 +02:00
Léa Saviot
a7f6669025 [poincare] Add some tests on acos (presicision reduced to pass the test) 2018-09-12 17:31:06 +02:00
Léa Saviot
8f7dee722c [poincare] Add FractionLayout tests 2018-09-12 17:12:38 +02:00
Léa Saviot
c2accd5b4a [poincare] Implement LayoutCursor::middleLeftPoint() 2018-09-12 17:12:21 +02:00
Léa Saviot
52e3994634 [poincare] HorizontalLayoutRef missing whitespace 2018-09-12 17:11:58 +02:00
Léa Saviot
db8278ad92 [poincare] Do not addChild in HorizontalLayout if it is empty 2018-09-12 17:11:33 +02:00
Léa Saviot
101a1752b1 [coding style] Remove whitespace 2018-09-12 16:54:50 +02:00
Léa Saviot
f9d9dc5849 [poincare] Handle removal of empty layouts in HorLay::mergChildren 2018-09-12 16:54:16 +02:00
Léa Saviot
76fbea6a83 [poincare] Remove virtuality on LayoutReference 2018-09-12 16:54:16 +02:00
Émilie Feral
b55100812d [poincare] Add tests on Trigo 2018-09-12 16:08:16 +02:00
Émilie Feral
7520bdbb3c [poincare] Add test on VerticalOffsetLayout 2018-09-12 15:57:25 +02:00
Émilie Feral
2e29fccfe6 [poincare] Add simplification test 2018-09-12 15:56:05 +02:00
Émilie Feral
2e8bb3d67c [poincare] Add property tests 2018-09-12 15:55:06 +02:00
Émilie Feral
c462e387cb [poincare] Add tests on Power 2018-09-12 15:41:46 +02:00
Émilie Feral
978053e01f [poincare] Fix: always attach to parent before shallow reducing an
expression
2018-09-12 15:41:46 +02:00
Émilie Feral
4712aaa872 [poincare] Improve Decimal and Rational log 2018-09-12 15:41:46 +02:00
Émilie Feral
b06e345945 [poincare] Add Parser test 2018-09-12 15:41:46 +02:00
Émilie Feral
122a8b6824 [poincare] Add Parenthesis Layout tests 2018-09-12 15:41:46 +02:00
Léa Saviot
e4c11a993d [quiz] Assert pool size is 0 between quiz cases 2018-09-12 15:40:33 +02:00
Léa Saviot
cb471d83d5 [escher] After packing an app, assert the TreePool size is 0 2018-09-12 15:37:03 +02:00
Léa Saviot
77a66fd314 [poincare] TreeByReference::size() and addressInPool() 2018-09-12 15:26:07 +02:00
Léa Saviot
42cc6c0670 [poincare] Add method TreePool::copyTreeFromAddress 2018-09-12 15:25:36 +02:00
Léa Saviot
e5d9b7d485 [poincare] remove static node in Global Context 2018-09-12 15:25:09 +02:00
Léa Saviot
fd361cbf60 [apps/calculation] Remove static Expression 2018-09-12 15:17:58 +02:00
Romain Goyet
844751181d Revert "[rt0] Enable SUPPORT_CPP_GLOBAL_CONSTRUCTORS"
This reverts commit 4eb1df81f6.
2018-09-12 14:11:20 +02:00
Romain Goyet
47fe5d829a [poincare] Use a re-entrant parser
This removes all global variables
2018-09-12 14:11:20 +02:00
Romain Goyet
9b177e8501 [poincare] use Poincare::ExceptionCheckpoint to handle exceptions 2018-09-12 14:11:20 +02:00
Romain Goyet
1f69558787 [poincare] Deal with Bison's global variable by using a static var
We will eventually clean the buffer on the next run if we got
interrupted
2018-09-12 14:11:20 +02:00
Romain Goyet
790793f145 [poincare] Add memory exhaustion tests 2018-09-12 14:11:20 +02:00
Romain Goyet
f1d3a39790 [poincare] Add move tests for TreeByReference 2018-09-12 14:11:20 +02:00
Romain Goyet
fba12dac72 [poincare] Fix freePoolFromNode 2018-09-12 14:11:20 +02:00
Romain Goyet
1728803ab9 [poincare] Actually use move semantics for TreeByReference 2018-09-12 14:11:20 +02:00
Émilie Feral
dd09e23262 [poincare] Fix Multiplication tests 2018-09-12 13:08:55 +02:00
Émilie Feral
974769714e [poincare] Clean Function tests 2018-09-12 12:02:32 +02:00
Émilie Feral
18f51b5429 [poincare] Add tests on Logarithm & fix Logarithm shallowReduce 2018-09-12 11:38:21 +02:00
Émilie Feral
50989c946c [poincare] Fix build of test/fraction_layout 2018-09-12 11:26:13 +02:00
Émilie Feral
9d19a2d8e5 [poincare] Test: assert()-->quiz_assert() 2018-09-12 11:25:33 +02:00
Émilie Feral
c7f19babee [poincare] Addition: add tests 2018-09-12 11:25:16 +02:00
Émilie Feral
276c086471 [poincare] Evaluation: forbid implicit conversion from MatrixComplex to
Complex
2018-09-12 11:09:09 +02:00
Émilie Feral
0c4a5594a0 [poincare] Clean warnings 2018-09-12 11:04:23 +02:00
Émilie Feral
29d0eb8009 [poincare] Power: fix getPolynomialCoefficients infinite loop 2018-09-12 10:51:17 +02:00
Émilie Feral
9dc210c9d8 [poincare] FractionLayout add parenthesis to all children when
serializing
2018-09-12 10:47:14 +02:00
Émilie Feral
81b62ae25e [poincare] SerializationHelperInterface: change
needsParenthesesWithParent for childNeedsParenthesis
2018-09-12 10:47:07 +02:00
Émilie Feral
e15437a5a5 [poincare] LayoutHelper: fix potential mistake 2018-09-12 09:49:34 +02:00
Émilie Feral
bb9583d6dd [solver] When resolving linear system, we count on the side effect of
rank which has thus to be done in-place
2018-09-11 17:50:20 +02:00
Émilie Feral
d2ed06e2dc [code] Add comment on how --code-script option is parsed 2018-09-11 17:03:04 +02:00
Émilie Feral
032db99754 [code] EditorController: avoid dynamic allocation 2018-09-11 17:03:04 +02:00
Émilie Feral
79740e72b0 [code] Avoid dynamic allocation and useless string copy by keeping the
importation status flag in the areaBuffer
2018-09-11 17:03:04 +02:00