Léa Saviot
738d21cc2b
[apps/graph] Align function name and expresion baselines
2019-01-10 11:42:02 +01:00
Léa Saviot
b8b4d481b5
[escher] Use the vertical alignment in ExpressionView
2019-01-10 11:42:02 +01:00
Léa Saviot
4f4ae4e0f7
Merge branch 'master' into python_turtle
2019-01-08 14:32:43 +01:00
Léa Saviot
58f94f5e5f
[apps/code] Check that app can be exited before switching to DFU
...
This fixes the following crash: create a script which contains only
"input()". Execute it, then while in the input, plug in the calculator.
When un-plugging it, the device crashes.
2019-01-07 13:36:01 +01:00
Léa Saviot
df2b9c4d81
[escher/apps] Get children count via template in ToolboxMessageTree::Node
2018-12-21 13:29:32 +01:00
Léa Saviot
ed19d19070
Merge branch 'master' into python_turtle
2018-12-17 15:49:46 +01:00
Léa Saviot
101370c507
[escher] Change ToolboxMessageTree constructors
...
To simplify ToolboxMessageTree cosntruction
2018-12-17 15:27:38 +01:00
Léa Saviot
62de89ceba
[apps/code] Fix 'blue', 'red', ... python command insertion
...
The 'blue' command would be stripped and become ''.
2018-12-17 14:25:31 +01:00
Léa Saviot
62cda01d2b
[python/turtle] color and pencolor can take various arguments
...
These two methods are equal.
2018-12-11 14:42:04 +01:00
Léa Saviot
cc3beb6014
[python/turtle] Turtle::reset() method
2018-12-06 17:26:43 +01:00
Émilie Feral
10556b477b
[apps] Tidy snapshots when leaving the app following an exception
2018-12-03 13:47:52 +01:00
Émilie Feral
df45f800e1
[escher] SelectableTableView: fix wrong assert
2018-11-26 14:48:54 +01:00
Émilie Feral
55be86ef50
[escher] TableView::cellAtLocation should return nullptr if the cell is
...
invisible and therefore no view displays it.
Fix bug: add 4 functions, in the values table one cell is wrong as soon
as you edit an x value
2018-11-26 11:24:30 +01:00
Léa Saviot
c30f136fb3
[apps/poincare] Fix cursor position when inserting log(a,b) in 2DEdition
2018-11-23 12:04:09 +01:00
Léa Saviot
73d97944d5
[escher] Text fields do not have to handle special texts (_{}) anymore
2018-11-23 12:04:09 +01:00
Léa Saviot
53e4a290f7
[poincare] Rename Expression:parse in Parse
2018-11-23 12:04:09 +01:00
Léa Saviot
20e2194533
[escher] Remove Clipboard::store(Layout)
2018-11-23 12:04:09 +01:00
Léa Saviot
94603b2b7d
[poincare] Layout::serialize is serializeForParsing or ParsedExpression
...
serializeForParsing serializes the layout once,
serializeParsedExpression serializes the layout, parses it and
serializes it again.
2018-11-23 12:04:09 +01:00
Léa Saviot
bf6da61ca2
[escher/text_field] Fix privateHandleEvent text reset
2018-11-23 12:04:09 +01:00
Léa Saviot
860553b735
[escher] Fix cursor position in textfield
...
The cursor was not in the right place in TextFieldWithExtension
2018-11-23 12:04:08 +01:00
Léa Saviot
824ffd9c21
[escher] Fix TextField::setText update of draftTextLength and cursorLoc
2018-11-23 12:04:08 +01:00
Léa Saviot
8b87a6a893
[escher] Fix bug after memory exception
2018-11-23 12:04:08 +01:00
Léa Saviot
5f4c94af67
[escher] Fix TextField::handleEvent bug
2018-11-23 12:04:08 +01:00
Léa Saviot
e86300a28d
[escher] Fix accessory view that should not hide main view in some cases
2018-11-23 12:04:07 +01:00
Léa Saviot
a0e716c1ad
[apps/eschr] Rename textFieldDidHandleEvent parameter textSizeDidChange
2018-11-23 12:04:06 +01:00
Léa Saviot
293300973b
[escher] TextField::handleEventWithText escapes quicker with null text
2018-11-23 12:04:06 +01:00
Léa Saviot
56db3a484e
[escher] Fix selection problem in SelectableTableView
...
Scenario that caused a problem: Go to Statistics, then "1", "Right",
"Right", "Right", OK. The cell does not draw itself as being edited, but
its right neighbour does.
2018-11-23 12:04:06 +01:00
Léa Saviot
5113049d67
[escher] Color the expression in grey in variable box
2018-11-23 12:04:05 +01:00
Léa Saviot
aea98de6ec
[apps/escher] Fix "Clear" event handling in TextFieldWithExtension
2018-11-23 12:04:05 +01:00
Léa Saviot
e74e15eaf7
[apps/code] Handle too many Script default names used
...
When adding to many scripts without naming them, one can overflow the
number of default generated script names, in which case we force the
user to enter a name.
2018-11-23 12:04:05 +01:00
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