Commit Graph

6258 Commits

Author SHA1 Message Date
Émilie Feral
4e8cd02d3f [calculation] Fix memoization: hold the calculation and not its address
which is likely to have changed
2018-09-21 18:16:21 +02:00
Émilie Feral
0701381897 [ion] Clean warning due to unused variable 2018-09-21 18:02:31 +02:00
Émilie Feral
eadc493f48 [ion] Storage: fix regex describing compliant names 2018-09-21 17:13:12 +02:00
Émilie Feral
0bcf3ec65c [ion] Storage: increase size and indicates it in the header 2018-09-21 17:04:42 +02:00
Léa Saviot
83042408b4 [poincare] Add missing test file 2018-09-21 16:26:28 +02:00
Léa Saviot
5ee4d1dd95 [poincare] Add poincare/test/tree/helpers.o in Makefile 2018-09-21 16:14:12 +02:00
Léa Saviot
59c8c801c5 [poincare] Clean compilation warnings in poincare/test 2018-09-21 16:00:21 +02:00
Léa Saviot
d93ed2a1ce [poincare/tests] Use quiz_assert instead of assert in tests 2018-09-21 15:06:13 +02:00
Léa Saviot
732a8713e4 [poincare] Remove included header 2018-09-21 15:03:10 +02:00
Léa Saviot
2d914c7771 [poincare] Fix type conversion 2018-09-21 14:55:17 +02:00
Léa Saviot
c16d9e7ffe [apps/code] Load Python in the viewWillAppear of the controllers 2018-09-21 12:26:57 +02:00
Léa Saviot
2661032993 [apps/code] Fix Python loading when going in the VarBoxController
The Var box controller deinited python on exit, and the console
controller did not reload python + it made the console controller lose
all its context, such as imported scripts
2018-09-21 11:55:12 +02:00
Émilie Feral
47e78a79fa [poincare] Special cases of Logarithm: log(0,0), log(1,0), log(0,x),
log(x,0) ...
2018-09-21 11:07:54 +02:00
Léa Saviot
36388c9d4d [sequence] Inline some getters in sSequence::App 2018-09-21 10:46:46 +02:00
Léa Saviot
9d23fe3e22 [sequence] Do not set YAuto when resetting App::Sequence::Snapshot 2018-09-21 10:46:41 +02:00
É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