Commit Graph

105 Commits

Author SHA1 Message Date
É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
Émilie Feral
48f890ef93 [poincare] AngleUnit, FormatComplex and PrintFloatMode are now
enumeration of Preferences class
2018-07-30 13:48:04 +02:00
Léa Saviot
a3032e5ec3 Merge branch Tree into master 2018-07-19 14:01:02 +02:00
Émilie Feral
2e7c08241a [poincare] Change writeTextInBuffer signature (parameters are float
display mode and number of significant digits)
2018-07-18 16:32:50 +02:00
Émilie Feral
b8af15f1ab [poincare] change createLayout signature
- CreateLayout depends on the float display mode and the number of
significant digits
- Float display mode does not have a default value anymore
2018-07-18 16:32:50 +02:00
Léa Saviot
f579e95815 [poincare] Start removing ExpressionLayout 2018-07-03 17:33:06 +02:00
Émilie Feral
c24e2726fa [escher][apps] Get rid of duplicate overriden methods:
cumulatedHeightFromIndex, indexFromCumulatedHeight
2018-06-12 10:27:23 +02:00
Émilie Feral
bb8ab2a42e Merge branch 'saisie-jolie' into master-merge-saisie-jolie 2018-05-16 11:28:07 +02:00
Émilie Feral
f1e574d8bc [apps] Variable Box Controller: improve layouts of variables 2018-05-15 11:33:28 +02:00
Émilie Feral
538bf216be [apps] Fix bug in variable box controller: when displaying a scalar
value, fix the buffer size which was overflowed
2018-05-15 11:33:28 +02:00
Léa Saviot
3b582a2e46 Merge branch 'SaisieJolie30Apr' into SaisieJolie8May
Change-Id: Ia4196119fc56c5bc3423aea752b49f3f7ba39499
2018-05-08 15:17:51 +02:00
Léa Saviot
a27963597b [apps] More generic VariableBoxController methods
Before, the class differentiated between TextField and
ExpressionLayoutField

Change-Id: I1fce8bb650a0bfccb11ddf61d05335e452374abb
2018-04-25 13:58:42 +02:00
Léa Saviot
31face58a2 [apps/escher] ScrollableEVWithCursor renamed ExpressionLayoutField
Change-Id: Id0e4610fb677d8ad36721eef1a85f1c424d1743e
2018-04-23 09:41:20 +02:00