Commit Graph

196 Commits

Author SHA1 Message Date
Ruben Dashyan
998a80fbcc [apps/graph/list] Add TypeParameterController to ListParameterController 2019-08-29 11:07:22 +02:00
Ruben Dashyan
9b52d0d1f9 [apps/graph/list] Define TypeParameterController class 2019-08-29 11:07:22 +02:00
Ruben Dashyan
5a79139fb7 [apps/graph/list] Define PlotTypeHelper 2019-08-29 11:07:22 +02:00
Ruben Dashyan
56c6bb9e19 [apps/graph] ListController: simplify
ListController::textFieldDidFinishEditing
2019-08-29 11:07:22 +02:00
Ruben Dashyan
b665e841ad [apps] Remove arg parameter in Shared::Function::nameWithArgument and Shared::CartesianFunction::derivativeNameWithArgument 2019-08-29 11:07:21 +02:00
Émilie Feral
12060e2ae7 [escher] TextField: all text fields use the same draft text buffer 2019-08-13 09:44:00 +02:00
Léa Saviot
c2b4d2b760 [strlcpy] Assertions on len parameter 2019-08-08 17:22:06 +02:00
Émilie Feral
7a4ee746b2 [escher] TextField: call reinitDraftBuffer after edition is complete to
avoid erasing text that is required later.

Fix bug: OK handling on function list in linear mode did not copy the
function expression into the textfield before editing
2019-07-30 11:47:42 +02:00
Ruben Dashyan
44809f4b3f Substitute Escher app() by Container::activeApp() 2019-07-19 15:06:25 +02:00
Ruben Dashyan
055d601854 [apps] Define TextFieldDelegate::textFieldDelegateApp() directly from ::app() 2019-07-19 15:06:25 +02:00
Romain Goyet
21907fb89a [apps] Get rid of App casts 2019-07-19 15:06:25 +02:00
Ruben Dashyan
eb3da7f395 [apps] Substitute "app()->container()" by "AppsContainer::sharedAppsContainer()" 2019-07-19 15:06:25 +02:00
Émilie Feral
336c1c8d73 [apps/graph][apps/sequence] ListParameterController is a
ListViewDataSource instead of a SimpleListViewDataSource (indeed, each
cell has a specific type)
2019-05-03 15:53:20 +02:00
Émilie Feral
578c65d5dd [shared] Clean class names containing storage 2019-05-03 15:53:20 +02:00
Émilie Feral
57da4ea618 [shared] Rename classes:
ExpressionModelHandle --> ExpressionModel
SingleExpressionModelHandle --> ExpressionModelHandle
StorageFunction --> Function
StorageCartesianFunction --> CartesianFunction
StorageFunctionApp --> FunctionApp
2019-05-03 15:53:20 +02:00
Émilie Feral
15a4072fdc [ion] Move Storage extensions declaration in Storage class 2019-05-03 15:53:20 +02:00
Émilie Feral
44a5d02ddf [shared][graph] Factorize ListController baseline computation in
StorageFunctionListController
2019-05-03 15:53:20 +02:00
Léa Saviot
496d346049 Remove max/min inline from KDCoordinate header 2019-05-03 15:53:19 +02:00
Romain Goyet
4f2c7a3763 [build] Update the i18n processing to fit the out-of-tree build 2019-03-06 15:00:59 +01:00
Léa Saviot
ab4b4da069 [apps/graph] Add assertions 2019-01-10 11:42:04 +01:00
Léa Saviot
f962e92316 [apps/graph] Fix wrong assertion 2019-01-10 11:42:04 +01:00
Léa Saviot
3595a8e628 [apps/sequence] Align sequence title and expression baselines 2019-01-10 11:42:02 +01:00
Léa Saviot
0a43cdda7e [apps/graph] Horizontal alignment is 1.0f when editing function name 2019-01-10 11:42:02 +01:00
Léa Saviot
964703bb03 [apps/graph] Increase name column width to max when editing function name 2019-01-10 11:42:02 +01:00
Léa Saviot
37401a5e59 [apps/graph] Add margin between function name and equal 2019-01-10 11:42:02 +01:00
Léa Saviot
6e77bb4123 [apps] Revert Equal after function name 2019-01-10 11:42:02 +01:00
Léa Saviot
ff33ad3ad1 [apps] In FunctionTitleCell, draw the equal separately
This way, we can better manage the margins around the equal
2019-01-10 11:42:02 +01:00
Léa Saviot
738d21cc2b [apps/graph] Align function name and expresion baselines 2019-01-10 11:42:02 +01:00
Léa Saviot
569e0e884e [apps/graph] Memoize baselines in functions list 2019-01-10 11:42:02 +01:00
Léa Saviot
9f6ca489ce [apps/graph] Align the function name right 2019-01-10 11:42:02 +01:00
Léa Saviot
c7e04195c3 [apps/graph] Don't draw a separator between function name and value 2019-01-10 11:42:02 +01:00
Léa Saviot
348c5c0dae [apps/graph] Add equal after function name 2019-01-10 11:42:02 +01:00
Léa Saviot
97d7955d15 [poincare] Alpha lock when renaming function 2018-11-23 12:04:08 +01:00
Léa Saviot
ef4fae251e [apps/graph] Specific error pop ups when renaming function 2018-11-23 12:04:07 +01:00
Léa Saviot
0670057f90 [apps/graph] Destroy variable record with same name when renaming func 2018-11-23 12:04:06 +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
Émilie Feral
698332c355 [escher] InputTextDelegate and LayoutFieldDelegate don't inherit from
InputTextDelegate to avoid diamond inheritance
2018-11-23 12:04:03 +01:00
Léa Saviot
71d8358722 [apps/escher/poincare] Change KDText::FontSize to KDFont 2018-11-23 12:04:02 +01:00
Léa Saviot
64881439bc [apps/graph] When pressing Up while renaming first function, select tab 2018-11-23 12:04:02 +01:00
Léa Saviot
59cdbda0ae [apps/graph] Fix selection after editing a function successfully 2018-11-23 12:04:02 +01:00
Léa Saviot
7b98467fa9 [apps/graph] Fix first responder when popup after renaming function 2018-11-23 12:04:02 +01:00
Léa Saviot
9e332b0c2b [apps] Create and use StorageFunction::BaseNameCompliant 2018-11-23 12:04:02 +01:00
Léa Saviot
6aab93f3fe [apps/graph] Limit the textfield size when renaming a function 2018-11-23 12:04:02 +01:00
Léa Saviot
65ec434449 [apps/graph] Change cell selection after renaming if event is up or down 2018-11-23 12:04:02 +01:00
Léa Saviot
63d6f11b8d [apps/graph] Fix rebase: don't use old methods 2018-11-23 12:04:02 +01:00
Léa Saviot
bdb5856f7a [apps/graph]Handle user escaping the function renaming with "Back" 2018-11-23 12:04:02 +01:00
Émilie Feral
c70278941a [graph] Do not keep a function pointer as member variable but a record.
Indeed, function pointers can become invalid at any point...
2018-11-23 12:04:02 +01:00
Léa Saviot
6facfbbf7a [apps/graph] Use TextFieldWithExtension in the list controller 2018-11-23 12:04:02 +01:00
Léa Saviot
df542f2f84 [apps/graph] Update column width after renaming function 2018-11-23 12:04:02 +01:00
Léa Saviot
801d7ddeeb [apps] "(x)" is a static char[] of Shared::StorageFunction 2018-11-23 12:04:02 +01:00