Commit Graph

11243 Commits

Author SHA1 Message Date
Émilie Feral
bd8abaf735 [escher] TableView: resizeToFitContent does not do anything if the frame
is null
2018-09-21 09:29:15 +02:00
Léa Saviot
a3d4e81c9f [poincare] Fix BinomialCoefficientLayoutNode rendering 2018-09-20 17:28:14 +02:00
Léa Saviot
8b75802746 [calculation] Don't recompute HistoryViewCell layout if same calculation 2018-09-20 17:21:34 +02:00
Léa Saviot
4edaac883f [poincare] Remove dead code 2018-09-20 16:46:34 +02:00
Léa Saviot
6b8d8a1e55 [escher] Prevent superfluous layout clearings 2018-09-20 16:46:34 +02:00
Léa Saviot
f5418e077e [poincare] Fix TreeNode log 2018-09-20 16:46:34 +02:00
Léa Saviot
986c04dfd5 [poincare] Make HorizontalLayoutNode::positionOfChild faster and lighter 2018-09-20 16:46:34 +02:00
Émilie Feral
6b95ea42c7 [poincare] Trigo: Add commented tests 2018-09-20 15:55:22 +02:00
Émilie Feral
1577063ad2 [poincare] Logarithm: simplify log_b(r) -> c+log_b(r') with r = b^c*r' 2018-09-20 15:55:22 +02:00
É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