Léa Saviot
b3f5bf13de
[apps/escher] Code layouting and typo
2018-11-23 12:04:04 +01:00
Léa Saviot
b9bf5be5f6
[apps/escher] Remove wrong markRectAsDirty, use reloadCell instead
2018-11-23 12:04:04 +01:00
Léa Saviot
f47a6549b8
[escher] Remove duplicate Stack in Toolbox and NestedMenuController
...
This created a bug for instance when going deep down in the Python
toolbox, then going one step up: the user arrived in the highest menu
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
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
f259b84874
[apps/graph] Make the function list navigation faster
2018-11-23 12:04:04 +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
Léa Saviot
b3269a2dc0
[escher] Remove duplicate call in TableView
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
É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
Léa Saviot
99c23d5deb
[escher] Fix AlternateEmptyViewController header guardians
2018-11-23 12:04:03 +01:00
Émilie Feral
0a823da78c
[escher] Variable box pop-up is handle as Toolbox pop-up by asking
...
InputEventHandlerDelegate
2018-11-23 12:04:03 +01:00
Léa Saviot
5ecd733904
[escher] Add comment in TextField::privateHandleEvent
2018-11-23 12:04:03 +01:00
Léa Saviot
96c105620a
[escher] Force re-layout when aborting text field edition
2018-11-23 12:04:03 +01:00
Émilie Feral
d61ee2857b
[escher] TextField: never flush the buffer when textField has only one
...
buffer
2018-11-23 12:04:03 +01:00
Émilie Feral
6dc1250df2
[escher] TextField: fix edition toggling when finishing editing
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
Émilie Feral
0a438b1803
[escher] ExpressionField does not inherit from EditableField
2018-11-23 12:04:02 +01:00
Émilie Feral
42628d7045
[escher] Fix HandleEvent on NestedMenuController
2018-11-23 12:04:02 +01:00
Émilie Feral
7778c694d1
[escher] Create an InputEventHandlerDelegate that gives the toolbox to
...
be used by an InputEventHandler
2018-11-23 12:04:02 +01:00
Léa Saviot
71d8358722
[apps/escher/poincare] Change KDText::FontSize to KDFont
2018-11-23 12:04:02 +01:00
Émilie Feral
01e433a9f2
[escher] Clean Field and Input class hierarchy:
...
Class hierarchy:
- InputEventHandler
- TextInput
- EditableField derives from InputEventHandler
- LayoutField, TextField and ExpressioField derives from EditableField
- TextArea and TextField derives from TextInput
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
É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
974519f61a
[apps/code] Use TextFieldWithExtension in the list controller
2018-11-23 12:04:02 +01:00
Léa Saviot
885f953d52
[apps] TextFieldWithExtension blocks cursor on the rightmost text
2018-11-23 12:04:02 +01:00
Léa Saviot
bd65063b67
[graph] TextFieldFunctionTitleCell
2018-11-23 12:04:02 +01:00
Émilie Feral
e4e19b3b74
[sahred] StorageCartesianFunction: iterate on colors
2018-11-23 12:04:02 +01:00
Léa Saviot
a2a31f7a47
[escher] Fix Layout reload
...
The layout should be reloaded when inserting a non-parsable layout in a
layout field.
This fixes "diff" insertion from the math toolbox in calculation
2018-11-23 12:04:01 +01:00
Émilie Feral
4dda66e58d
[escher] AlternateEmptyViewController: give the delegate the opportunity
...
to choose the view to display when empty
2018-11-23 12:04:01 +01:00
Émilie Feral
7035ad01ae
[escher] Toolbox: title is a message instead of a const char
2018-11-23 12:04:00 +01:00
Émilie Feral
d8ffb73e69
[escher] Create class ExpressionTableCellWithExpression
2018-11-23 12:04:00 +01:00
Émilie Feral
08439b5c54
[escher] Create nested_menu_controller to factorize toolbox and future
...
variable_box_controller
2018-11-23 12:04:00 +01:00
Léa Saviot
96b594b875
[apps/graph] Adapt function name column width to names
2018-11-23 12:04:00 +01:00
Léa Saviot
ac1e79f907
[apps/graph] Display the function's whole name
2018-11-23 12:04:00 +01:00
Émilie Feral
3a3a17b3ce
[shared] Factorize ExpressionFieldDelegateApp and TextFieldDelegateApp
2018-11-23 12:03:59 +01:00
Émilie Feral
a93e9566ad
[escher] Create a parent class Field of TextField and
...
LayoutField
2018-11-23 12:03:59 +01:00
Léa Saviot
c7a405a3df
[escher] Always use App::displayModalViewController
...
Instead of calling ModalViewController::displayModalViewController
directly.
2018-11-16 14:21:25 +01:00
Léa Saviot
266cc79d32
[escher] Remove unneeded include
2018-11-15 10:26:34 +01:00
Léa Saviot
7caf868108
[escher] A warning controller should not process USB events
2018-11-05 14:31:41 +01:00
Lionel Debroux
ddebc06fa5
[escher] Move View's destructor, and several other methods, to the header, so that the compiler can leverage its prior knowledge of the fact that the destructor is trivial (noticed by disassembling the code) to greatly optimize derived classes' destructors.
...
Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr >
2018-10-23 11:49:09 +02: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
Léa Saviot
f2bfc8641f
[escher] Fix strlcpy inserted 0 when inserting text
2018-10-19 17:15:51 +02:00
Léa Saviot
5d92f13c26
Clean strlcpy arguments
2018-10-17 11:22:37 +02:00
Romain Goyet
0489842997
[kandinsky] Make sure the image compressor can actually compress
2018-10-12 09:36:44 +02:00
Romain Goyet
f1198d3c76
[ion] Add Ion::stackSafe
...
This allows asserting the stack is within bounds
2018-10-12 09:36:44 +02:00
Romain Goyet
f4f567814e
[escher] Compress images
2018-10-12 09:36:44 +02:00
Romain Goyet
f8beae3b86
[kandinsky] Move to KDFont
2018-10-11 16:44:02 +02:00