Commit Graph

7312 Commits

Author SHA1 Message Date
Léa Saviot
3135fff759 Expression simplification 2018-07-02 11:51:41 +02:00
Léa Saviot
370a10710c SimplificationRootNode 2018-07-02 11:51:41 +02:00
Léa Saviot
a971b0a6ba Fix AllocationFailedExpressionRef constructor 2018-07-02 11:51:41 +02:00
Léa Saviot
f0e2bd0e5c Start expression simplification 2018-07-02 11:51:26 +02:00
Léa Saviot
53bacec72f Remove duplicate method 2018-06-29 17:21:03 +02:00
Léa Saviot
38139a6fe7 Remove unneeded method 2018-06-29 16:49:00 +02:00
Léa Saviot
fbce93b1fc Clean tests 2018-06-29 16:46:42 +02:00
Léa Saviot
8822617f3c Steal operand test 2018-06-29 16:46:42 +02:00
Léa Saviot
6721c25f42 Detach node before adding it 2018-06-29 15:53:12 +02:00
Léa Saviot
a4471e1570 StaticAllocationFailureNodes are not stored in the pool 2018-06-29 15:30:40 +02:00
Léa Saviot
8117e73561 Remove unnecessary method renaming 2018-06-29 14:33:25 +02:00
Léa Saviot
3e0552da91 Clearer comment 2018-06-29 14:27:07 +02:00
Léa Saviot
fb9244df98 Clean old Allocation failure code 2018-06-29 14:22:46 +02:00
Léa Saviot
2684b2f09f Replace nodes with AllocationFailures inside the tree when needed 2018-06-29 14:21:10 +02:00
Léa Saviot
cb77fbe2ff Fix AllocationFailure when multiple instances 2018-06-28 17:59:06 +02:00
Léa Saviot
bd61298374 Make tests more independent 2018-06-28 17:34:47 +02:00
Léa Saviot
069ed145a3 Replace node() with castedNode() 2018-06-28 17:07:24 +02:00
Léa Saviot
c8acf7dbda Add second test case for allcoation fail 2018-06-28 15:56:02 +02:00
Léa Saviot
46d56ade21 Allocation failure fix and test 2018-06-28 15:04:56 +02:00
Léa Saviot
c208da2f90 Increment node numberOfChildren when adding child 2018-06-27 17:36:55 +02:00
Léa Saviot
170ce95041 AllocationFail 2018-06-27 16:17:20 +02:00
Léa Saviot
2248a257c8 Cleaning 2018-06-27 16:17:20 +02:00
Léa Saviot
08f16bca23 Add assertions on pool emptiness 2018-06-27 16:17:20 +02:00
Léa Saviot
3d5e8dc4c4 Fix retain count when changing cursor pointed node 2018-06-27 16:17:20 +02:00
Léa Saviot
d3db6827ae Modify tests 2018-06-27 16:17:20 +02:00
Léa Saviot
adc422235b Rule of 5 for TreeReference 2018-06-27 16:17:20 +02:00
Léa Saviot
1e4f65e414 Cleaning 2018-06-27 16:17:20 +02:00
Léa Saviot
6f41816500 Clean TreePool 2018-06-27 16:17:20 +02:00
Léa Saviot
920d815b67 Remove dangerous casts 2018-06-27 16:17:20 +02:00
Léa Saviot
2bc5290ff1 Clean unary tests 2018-06-27 16:17:20 +02:00
Léa Saviot
8c536abd80 Remove Cursor class 2018-06-27 16:17:20 +02:00
Léa Saviot
f67eb9c0a8 TreeReferences do not deepcopy unless asked 2018-06-27 16:17:20 +02:00
Léa Saviot
2906d72aee MoveLeft is working 2018-06-27 16:17:20 +02:00
Léa Saviot
9a7441d045 Define a cursor on layout children 2018-06-27 16:17:13 +02:00
Léa Saviot
0ef7077bd3 Fix CharLayoutNode::Description 2018-06-26 15:24:01 +02:00
Léa Saviot
b58ab0a8ca LayoutCursor 2018-06-26 15:11:04 +02:00
Léa Saviot
f8d08f8599 Make numberOfChildren virtual pure 2018-06-26 14:30:42 +02:00
Léa Saviot
c60bc61d32 Add class cursor on for all TreeReferences 2018-06-26 14:30:04 +02:00
Romain Goyet
b3b29c214c [python] Don's sort QSTRs before processing them
The order matters because of the codepoint2name routine
2018-06-26 14:18:55 +02:00
Romain Goyet
53fbd2367f [python] Switch MICROPY_QSTR_BYTES_IN_HASH to 2 (default) 2018-06-26 14:18:55 +02:00
Romain Goyet
5b77c84903 [emscripten] Add an update script 2018-06-26 14:13:31 +02:00
Romain Goyet
e6a8e0e198 [emscripten] Use the navigator's language 2018-06-26 14:13:31 +02:00
Romain Goyet
0634e9ea7d [emscripten] Expose IonSoftwareVersion and IonPatchLevel 2018-06-26 14:13:31 +02:00
Romain Goyet
5eb4d9ccf6 [emscripten] Fix key handling 2018-06-26 14:13:31 +02:00
Romain Goyet
89ede25b17 [emscripten] Update the simulator background 2018-06-26 14:13:31 +02:00
Romain Goyet
fc1d887695 [emscripten] Update the HTML page 2018-06-26 14:13:31 +02:00
Léa Saviot
eb4ee24a41 [apps/shared] Use activeFunctionStoreIndex in activeFunctionAtIndex 2018-06-26 13:46:00 +02:00
Léa Saviot
a166903659 [apps/graph] Fix graph selection when a function is undef
For instance, input f(x)=1/0 and g(x)=1, the graph tab now selects g
correctly
2018-06-26 13:46:00 +02:00
Léa Saviot
8c0aae9778 [poincare/test] Add integral tests 2018-06-26 13:44:56 +02:00
Léa Saviot
297f9cc2e8 [poincare/integral] Fix typo 2018-06-26 13:44:56 +02:00