Commit Graph

117 Commits

Author SHA1 Message Date
Léa Saviot
63d7155376 Remove Ion::Charset 2019-04-12 15:16:50 +02:00
Léa Saviot
54b8d07ee3 [apps/variable_box_controller] Fix layout memoization 2019-01-10 11:42:05 +01:00
Léa Saviot
35cc26b68a [apps/variable_box_controller] Shift memoization after deleting item 2019-01-10 11:42:05 +01:00
Léa Saviot
95af0cf231 [apps] Fix cursor position when inserting function in Linear Edition 2018-11-23 12:04:08 +01:00
Émilie Feral
2d36f02053 [apps] VariableBoxController: fix bug in right layouts of variable cells.
When the last dislayed page of VariableBoxController was 'Function', the
next time we displayed the symbol page, the expressions on the right of
cells were false the one of functions.
2018-11-23 12:04:08 +01:00
Léa Saviot
e4c3589829 [apps] Fix display glitch in VariableBoxController 2018-11-23 12:04:06 +01:00
Léa Saviot
eea56488e6 [apps] Fix VarBoxController::viewDidDisappear parent method call order
Before, we tidied the memoization before calling the parent's
viewDidDisappear method. As the parent method needed some cell heights,
it used the VarBoxController memoization, thus re-creating layouts that
would stay in the pool after closing the app.

Scenario:
Go in the Graph app, create f(x) = 1, empty g(x) and h(x), create p(x)
and while editing go in the variable box controller, all the way down,
then hit the Home button.
2018-11-23 12:04:06 +01:00
Léa Saviot
13972caa80 [apps] Inline some code in variable_box_controller 2018-11-23 12:04:06 +01:00
Léa Saviot
b3f5bf13de [apps/escher] Code layouting and typo 2018-11-23 12:04:04 +01:00
Léa Saviot
9ee0f94ba4 [apps] Reload VariableBox cells before displaying them 2018-11-23 12:04:04 +01:00
Léa Saviot
549c9ed1fd [apps] Fix variable box layout memoization
Reset the memoization when changing the variable box tab
2018-11-23 12:04:04 +01:00
Émilie Feral
0cc7052d45 [apps] Fix variable box handle event 2018-11-23 12:04:04 +01:00
Émilie Feral
162df78d69 [apps] VariableBoxController: fix highlighted cell bug 2018-11-23 12:04:03 +01:00
Émilie Feral
ebfa8fb3fa [apps] VariableBoxController: enable to lock pages from deletion 2018-11-23 12:04:03 +01:00
Léa Saviot
19d2cb7cc0 [apps] Add parentheses when selecting a function in VarBoxController 2018-11-23 12:04:03 +01:00
Émilie Feral
04a08087a7 [apps] Fix selection on VariableBoxController when removing rows 2018-11-23 12:04:02 +01:00
Émilie Feral
8e2a30ab8e [graph] Create a static method StorageCartesianFunctionStore::Symbol() 2018-11-23 12:04:02 +01:00
Émilie Feral
4dbd7583e0 [apps] VariableBoxController: use StorageFunction::nameWithArgument to
avoid reimplementing it
2018-11-23 12:04:02 +01:00
Léa Saviot
97cba08b23 [apps] Clean GLobalContext 2018-11-23 12:04:01 +01:00
Émilie Feral
5c30b1a73a [apps] VariableBoxController: memoize layouts 2018-11-23 12:04:01 +01:00
Émilie Feral
a5af87eda0 [apps] VariableBoxController: pop the empty controller before
disappearing
2018-11-23 12:04:01 +01:00
Émilie Feral
7e37b09660 [apps] VariableBoxController: tidy layout before disappearing 2018-11-23 12:04:01 +01:00
Émilie Feral
ef05393c9f [apps] VariableBoxController: add assertion: the record corresponding to
a displayed row is not null
2018-11-23 12:04:01 +01:00
Émilie Feral
2b55ec086a [apps] Display the empty controller when the variable box is empty 2018-11-23 12:04:01 +01:00
Léa Saviot
79e962f459 [poncare/apps] Move GlobalContext from Poincare to Apps::Shared 2018-11-23 12:04:00 +01:00
Émilie Feral
293bc61b49 [apps] VariableBoxController: add "(x)" to function symbols 2018-11-23 12:04:00 +01:00
Émilie Feral
429c797a27 [apps] VariableBoxController: fix viewWillAppear to reset m_stateStack 2018-11-23 12:04:00 +01:00
Émilie Feral
61d85f3e4a [apps] VariableBoxController: fix expressionForIndex 2018-11-23 12:04:00 +01:00
Émilie Feral
991004ed6e [apps] VariableBoxController: truncate extension before displaying
symbols
2018-11-23 12:04:00 +01:00
Émilie Feral
286530f78f [apps] First version of VariableBoxController 2018-11-23 12:04:00 +01:00
Léa Saviot
a7a719df4a [poincare] Handle functions in replaceSymbolWithExp and similar methods 2018-11-23 12:03:59 +01:00
Léa Saviot
2a6194bfec [poincare] Dummy fixing of variable box controller 2018-11-23 12:03:59 +01:00
Émilie Feral
042cfca724 [apps] Dummy variable_box_controller 2018-11-23 12:03:58 +01:00
Émilie Feral
1fc27bc204 [apps] Variable box controller 2018-11-23 12:03:58 +01:00
Léa Saviot
31d3a04678 [poincare] setExpressionForSymbolName takes a symbol name 2018-11-23 12:03:58 +01:00
Lionel Debroux
1a8c6b6ae9 [poincare, escher, ion, apps] Split the huge umbrella header poincare.h, to reduce build time.
This should be a NFC, but surprisingly, it also reduces size... so what does it change ?
2018-10-23 11:49:09 +02:00
Émilie Feral
fd56d936c7 [apps] Memoize matrix layouts in VariableBoxController 2018-09-20 11:07:07 +02:00
Émilie Feral
365b145cf3 [poincare] Change names: LayoutReference-->Layout 2018-09-18 16:29:44 +02:00
Émilie Feral
616e4c0bcc [poincare] Change name: LayoutRef --> LayoutReference 2018-09-14 16:57:12 +02:00
Émilie Feral
f394a799ea [apps] VariableBoxController: when disappearing, tidy the layouts from
the TreePool
2018-09-14 11:55:09 +02:00
Émilie Feral
5d281aacc4 [apps] Fix VariableBox for Matrix 2018-09-07 15:15:14 +02:00
Léa Saviot
1aa12eef6b [poincare] Fix missing const in static_cast 2018-09-05 14:47:59 +02:00
Émilie Feral
c762b31bc2 [poincare] Replace the overriding of operator T() by an inline function
to cast Expression in Derived Expression
2018-09-05 13:46:39 +02:00
Émilie Feral
5f65c59916 [apps] VariableBoxController cannot access private methods of Expression 2018-09-03 15:56:37 +02:00
Léa Saviot
71c807b565 [poincare] Node->isDefined becomes !Node->isUninitialized 2018-08-14 16:40:12 +02:00
Léa Saviot
5d9e69dedc [poincare] Remove Tree constructors that use nullptr as parameter 2018-08-14 14:58:47 +02:00
Émilie Feral
a4b19e5fc7 [apps] Fix VariableBoxController references to Matrix 2018-08-10 15:54:35 +02:00
Émilie Feral
294fd65e30 [apps] Fix references to Poincare in VariableBoxController 2018-08-10 13:18:46 +02:00
Émilie Feral
17e63a5b07 [shared] Fix references to Poincare 2018-08-10 13:18:46 +02:00
Émilie Feral
7c1649670a [shared] Fix PoincareHelpers 2018-08-10 10:13:25 +02:00