Commit Graph

6234 Commits

Author SHA1 Message Date
Émilie Feral
0e1fd1bad7 [poincare] Arithmetic::PrimeFactorization return the number of prime
factors found
2018-09-20 15:55:22 +02:00
Léa Saviot
9ae6a3a9d2 [poincare] Remove TODO comments 2018-09-20 13:32:47 +02:00
Léa Saviot
941607209c [poincare] Remove TODO comment 2018-09-20 13:24:37 +02:00
Léa Saviot
4aac21a49a [poincare] Add assertion in TreeHandle::clone 2018-09-20 13:24:11 +02:00
Léa Saviot
6f68ebcacb [poincare] Remove nullptr cases in CondensedSumLayoutNode 2018-09-20 13:22:09 +02:00
Léa Saviot
dca209305d [poincare] Remove code not used 2018-09-20 13:22:09 +02:00
Émilie Feral
58ad8bd87e [code] Fix handling of python heap by ConsoleController,
EditorController and VariableBoxController
2018-09-20 11:54:56 +02:00
Léa Saviot
a5fba93ea1 [poincare] Re-order Expression friends 2018-09-20 11:24:31 +02:00
Léa Saviot
d586797ecb [poincare] Remove TODOs and superfluous method 2018-09-20 11:20:14 +02:00
Léa Saviot
116ef9ee39 [poincare] Fix typo 2018-09-20 11:19:52 +02:00
Léa Saviot
369b333692 [poincare] LayoutCursor methods that take/return nodes are private 2018-09-20 11:18:11 +02:00
Émilie Feral
fd56d936c7 [apps] Memoize matrix layouts in VariableBoxController 2018-09-20 11:07:07 +02:00
Léa Saviot
95a9651f65 [poincare] Comment about TreeHandle iterator 2018-09-20 10:47:05 +02:00
Léa Saviot
0e5fb79212 [poincare] Use children() iterator instead of for(int i=0;i++) loop 2018-09-20 10:26:30 +02:00
Émilie Feral
8b82445570 [poincare] Fix bug in BinomialCoefficient: confusion between denominator
and numerator of Rational
2018-09-20 10:00:13 +02:00
Émilie Feral
b4a6fdd2eb [shared] Fix the maximal number of cells in StoreController (thereby,
decrease the size of the union of apps)
2018-09-20 09:49:44 +02:00
Léa Saviot
6cb7904650 [poincarE] Fix Matrix Division test 2018-09-20 09:43:29 +02:00
Léa Saviot
c81df319fe [poincare] Remove comment 2018-09-20 09:43:14 +02:00
Émilie Feral
afce751eb7 [code] Get rid of malloc: keep a buffer in Code::App to be used as python heap 2018-09-19 18:20:30 +02:00
Émilie Feral
ac9b889a67 [poincare] PrintFloat: fix convertFloatToText to display the correct
number of significant digits (instead of the number of decimal digits)
2018-09-19 16:12:12 +02:00
Léa Saviot
f5682a4f30 [apps] Exception should reset active snapshot only if active app exists 2018-09-19 15:50:48 +02:00
Léa Saviot
f785cfc2c8 [poincare] Fix cursor position when replacing a layout 2018-09-19 15:12:12 +02:00
Léa Saviot
4a19208403 [poincare] Comment about making trigonometric computations faster 2018-09-19 14:56:22 +02:00
Émilie Feral
ba5bdcccc4 [poincare] Fix tests with new Rational constructor 2018-09-19 11:46:54 +02:00
Émilie Feral
be348d8539 [poincare] Rational constructor: avoid useless copy 2018-09-19 11:23:11 +02:00
Émilie Feral
94d79e9eb3 [poincare] Fix Integer copy constructor, copy assignement 2018-09-19 11:23:11 +02:00
Léa Saviot
9ad66442e7 [poincare] Coding style and superfluous constructor 2018-09-19 11:05:17 +02:00
Léa Saviot
3d583f83ac [poincare] Fix removal of empty layout not wanted 2018-09-18 18:27:42 +02:00
Émilie Feral
c02691a84b [poincare] Float can be serialize 2018-09-18 18:22:02 +02:00
Émilie Feral
cf8378434d [regression] When creating SimplifiedExpression, use
Number::DecimalNumber constructor to enable to get Infinity or Undefined
2018-09-18 17:50:10 +02:00
Léa Saviot
843e53fdd0 [poincare] Use TreeNode::size() instead of sizeof 2018-09-18 17:43:12 +02:00
Émilie Feral
2c62c30287 [escher] Fix LayoutField: reload was broken because the previous layout
size could not be computed anymore
2018-09-18 17:36:58 +02:00
Léa Saviot
1ec9fd789e [poincare] Use non pilfering Integer constructor in Rational and Decimal 2018-09-18 17:16:18 +02:00
Émilie Feral
365b145cf3 [poincare] Change names: LayoutReference-->Layout 2018-09-18 16:29:44 +02:00
Émilie Feral
f5298650a7 [poincare] Typo 2018-09-18 16:12:04 +02:00
Émilie Feral
52b81c0f98 [ion] Add code to active MPU and forbid memory access to the last 128
bytes of the stack
2018-09-18 16:10:17 +02:00
Émilie Feral
fe1eed8079 [ions] Add MPU registers 2018-09-18 16:10:17 +02:00
Émilie Feral
95c1e2a41f [build] Gdb script: hardware watch point on the end of the stack 2018-09-18 16:10:17 +02:00
Émilie Feral
04e688cf16 [ion] Register: fix potential bug in Register 2018-09-18 16:10:17 +02:00
Romain Goyet
7190b41a2a [ion/blackbox] Use setrlimit to crash if stack usage is too high 2018-09-18 15:45:09 +02:00
Léa Saviot
bfc2f49de0 [apps/code] Fix assertion 2018-09-18 15:32:11 +02:00
Léa Saviot
d2c84bea30 [poincare] Add tests on Helpers::Rotate 2018-09-18 15:26:29 +02:00
Léa Saviot
1852a71f95 [poincare] Remove TreePool::insert method, use Helper::Rotate instead
This removes the use of an enormous buffer on the stack and uses instead
a linear algorithm with one temporary data.
2018-09-18 15:26:29 +02:00
Émilie Feral
7722077e69 [poincare] Avoid useless copy in Rational constructor 2018-09-18 10:05:46 +02:00
Émilie Feral
c4e03d4e4f [quiz] Fix quiz_assert 2018-09-17 17:14:43 +02:00
Émilie Feral
d668eccb4f [poincare] Tests: no variable-size tables 2018-09-17 17:14:43 +02:00
Émilie Feral
f8f0813485 [escher] TextInput: get rid of variable-size tables 2018-09-17 17:14:43 +02:00
Émilie Feral
dae91f1540 [apps] VariableBoxController: get rid of variable-size table 2018-09-17 17:14:43 +02:00
Émilie Feral
ba0f866dc6 [apps] Toolbox: get rid of variable-size tables 2018-09-17 17:14:43 +02:00
Émilie Feral
d17b0f1afb [poincare] Get rid of char table of variable size 2018-09-17 17:14:43 +02:00