Commit Graph

7312 Commits

Author SHA1 Message Date
Émilie Feral
3e98d783e1 [toolbox] Add a default value to diff for consistency with int, sum &
product
2018-11-23 12:04:04 +01:00
Émilie Feral
b0ebaf15d9 [toolbox] Add a default value to sum and product 2018-11-23 12:04:04 +01:00
Léa Saviot
fd533834ef [apps/code] Default script name is in class Script, not menu controller 2018-11-23 12:04:04 +01:00
Émilie Feral
51b09193ea [poincare] SequenceLayout: implement moving cursor up from the left of the sequence 2018-11-23 12:04:04 +01:00
Émilie Feral
937831295b [poincare] Fix tests with sum and product layout 2018-11-23 12:04:04 +01:00
Émilie Feral
31a5caff60 [poincare] Sum and Product can specify their variable name 2018-11-23 12:04:04 +01:00
Léa Saviot
94721f08df [apps] Full pool/storage memory warning messages 2018-11-23 12:04:04 +01:00
Léa Saviot
6fa7816789 [escher] Warning pop-ups may have two lines 2018-11-23 12:04:04 +01:00
Léa Saviot
2f77fb88bb [apps/i18n] Default message ("") has index 0 2018-11-23 12:04:04 +01:00
Léa Saviot
ecb58dea71 [apps] Renamen MemoryFull i18N messages 2018-11-23 12:04:04 +01:00
Léa Saviot
5647f0577f [poincare] Fix logarithm parsing 2018-11-23 12:04:04 +01:00
Émilie Feral
03d0679d6f [poincare] Symbol: rename shouldBeReplacedWhileReducing in !isConstant 2018-11-23 12:04:04 +01:00
Léa Saviot
00586b03d9 [escher] Fix pop up clash when memory is full while editing a function
There was a selection problem when editing a function failed because of
a full storage (k_storageSize = 1000)
2018-11-23 12:04:04 +01:00
Léa Saviot
bea78aa3b1 [apps/escher] Invocation::Action returns a bool 2018-11-23 12:04:04 +01:00
Léa Saviot
91d6955ddf [apps] The apps displays a warning when storage is full 2018-11-23 12:04:04 +01:00
Émilie Feral
9a18f5dbf9 [poincare] Symbol Pi, i, e aren't approximate 2018-11-23 12:04:04 +01:00
Émilie Feral
74ae669c81 [poincare] Fix layout test 2018-11-23 12:04:04 +01:00
Émilie Feral
5e57a850f9 Test build: add dependencies due to global_context 2018-11-23 12:04:04 +01:00
Léa Saviot
c428a4e94b [apps] Cell heights memoized in ExprModelListCtrler, not FunctionLC 2018-11-23 12:04:04 +01:00
Léa Saviot
f259b84874 [apps/graph] Make the function list navigation faster 2018-11-23 12:04:04 +01:00
Léa Saviot
7bfae0c034 [apps] Increase the number of memoized expression models 2018-11-23 12:04:03 +01:00
Léa Saviot
597d2c46a4 [apps] Fix missing index incrementation 2018-11-23 12:04:03 +01:00
Émilie Feral
04096dd654 [expression] Parser: ANS is a final symbol and thereby will never appear
in sto rule
2018-11-23 12:04:03 +01:00
Émilie Feral
a40aeb0355 [escher] NestedMenuController: Fix bug, select leaf or sub menu only if
there is a selected row
2018-11-23 12:04:03 +01:00
Émilie Feral
162df78d69 [apps] VariableBoxController: fix highlighted cell bug 2018-11-23 12:04:03 +01:00
Émilie Feral
932782bec4 [code] Load Variable box content only once in the ConsoleController (to
avoid memory exhaustion later)
2018-11-23 12:04:03 +01:00
Émilie Feral
ea59e651ee [code] EditorController: save script before displaying the variable box 2018-11-23 12:04:03 +01:00
Émilie Feral
a4f7d83805 [code] Load Variable box content before compiling any other python code
to avoid memory exhaustion when displaying variable box
2018-11-23 12:04:03 +01:00
Émilie Feral
c7e001a01d [code] ConsoleController: TextField handle any move event so escaping by going up needs to be handled in textFieldDidReceiveEvent 2018-11-23 12:04:03 +01:00
Émilie Feral
99054df77b [code] Remove useless code: force edition on Var event is already
handled by TextField
2018-11-23 12:04:03 +01:00
Émilie Feral
67970298c6 [poincare] Default integral has 'dx' and cursor skips dx when moving
towards right
2018-11-23 12:04:03 +01:00
Émilie Feral
244baec90f [poincare] Integral takes 4 arguments (integrand, differential variable,
lower bound, upper bound)
2018-11-23 12:04:03 +01:00
Léa Saviot
b3269a2dc0 [escher] Remove duplicate call in TableView 2018-11-23 12:04:03 +01:00
Léa Saviot
b657cfb924 [apps] Reduce number of calls to value() in StorageExpressionModel 2018-11-23 12:04:03 +01:00
Léa Saviot
9bfaed583d [apps/escher/ion] Remove Graph memoized models on storage change 2018-11-23 12:04:03 +01:00
Léa Saviot
1517b57cc8 [apps] AppsContainer is a Ion::StorageDelegate 2018-11-23 12:04:03 +01:00
Léa Saviot
38f3c5b16d [ion] Storage delegate gets notified of storage changes 2018-11-23 12:04:03 +01:00
Léa Saviot
34f5f0262b [ion] Return just after destroying the record, do not finish the scan 2018-11-23 12:04:03 +01:00
Émilie Feral
7e7c77a0e8 [escher] TextField and LayoutField handle move events while in editing
mode to avoid leaving unexpectedly edition mode
2018-11-23 12:04:03 +01:00
Émilie Feral
01ad885045 [shared] StorageExpressionModel: in storage, expression stored are
simplified (instead of only reduced) with unreplaced symbols
2018-11-23 12:04:03 +01:00
Émilie Feral
95d6c99a91 [shared] CLean warnings due to ExpiringPointer 2018-11-23 12:04:03 +01:00
Émilie Feral
51208f0edc [shared] Remove useless method wrongly implemented 2018-11-23 12:04:03 +01:00
Léa Saviot
1f890c7852 [apps] Remove unused variable 2018-11-23 12:04:03 +01:00
Léa Saviot
99c23d5deb [escher] Fix AlternateEmptyViewController header guardians 2018-11-23 12:04:03 +01:00
Émilie Feral
4f2985e6fb [calculation] Replace symbols when simplifying 2018-11-23 12:04:03 +01:00
Léa Saviot
4d71a3a4c6 [apps/poincare] Do not replace symbols in result of 3+c->f(x) 2018-11-23 12:04:03 +01:00
Émilie Feral
fc9b65e2b0 [graph] Fix IntersectionGraphController banner 2018-11-23 12:04:03 +01:00
Émilie Feral
e8b58a2b5b [shared] Create ExpiringPointer: in DEBUG, check that pointers to
memoized functions are not used when invalid
2018-11-23 12:04:03 +01:00
Léa Saviot
8e6cff9572 [apps] Remove faulty assertion 2018-11-23 12:04:03 +01:00
Léa Saviot
196e74297e [apps] Rename exact/approx as left/right in scrollable_exact_approx_exp_view 2018-11-23 12:04:03 +01:00