Commit Graph

30 Commits

Author SHA1 Message Date
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
a93e9566ad [escher] Create a parent class Field of TextField and
LayoutField
2018-11-23 12:03:59 +01:00
Émilie Feral
83715153fc [escher] LayoutField: the buffer layout needs to be cleared before next
use of layout_field
2018-10-08 13:16:40 +02:00
Léa Saviot
6b8d8a1e55 [escher] Prevent superfluous layout clearings 2018-09-20 16:46:34 +02:00
Léa Saviot
116ef9ee39 [poincare] Fix typo 2018-09-20 11:19:52 +02:00
Émilie Feral
2c62c30287 [escher] Fix LayoutField: reload was broken because the previous layout
size could not be computed anymore
2018-09-18 17:36:58 +02:00
Émilie Feral
365b145cf3 [poincare] Change names: LayoutReference-->Layout 2018-09-18 16:29:44 +02:00
Émilie Feral
8cffbdd7de [poincare] Change name of files: *_layout_node --> *_layout 2018-09-14 16:57:12 +02:00
Émilie Feral
616e4c0bcc [poincare] Change name: LayoutRef --> LayoutReference 2018-09-14 16:57:12 +02:00
Léa Saviot
9d5893f38c [escher] Uninline methods in LayoutField 2018-09-14 11:29:01 +02:00
Léa Saviot
985f310b1c [escher] Just replace the layout when clearing it in LayoutField 2018-09-14 11:28:37 +02:00
Émilie Feral
c95c3145bc Merge remote-tracking branch 'github/master' into Tree 2018-09-13 17:03:31 +02:00
Émilie Feral
30f83cde2c [apps] Change names: ExpressionLayout -> Layout 2018-09-06 14:23:57 +02:00
Léa Saviot
c65ab9ef67 [poincare] Fix use of isUninitialized 2018-09-06 09:59:59 +02:00
Léa Saviot
e3a09286ac [poincare] Remove AllocationFailures 2018-09-05 16:19:11 +02:00
Léa Saviot
71c807b565 [poincare] Node->isDefined becomes !Node->isUninitialized 2018-08-14 16:40:12 +02:00
Léa Saviot
a3d09bde1c [poincare] Fix typos 2018-08-14 16:03:42 +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
2fd1d54fcf [escher] Fix LayoutField 2018-08-10 10:13:47 +02:00
Léa Saviot
7a22a27d0f [poincare] Fix AFail in LayoutField::insertLayoutAtCursor 2018-08-02 10:22:45 +02:00
Léa Saviot
c9cc4a40d8 [poincare] If root is AFail after handlingEvent, point the cursor to it 2018-07-31 17:49:41 +02:00
Léa Saviot
f587aab4bb [poincare] LayoutField::handleEventWithText only if layout is not AFail 2018-07-31 16:09:26 +02:00
Léa Saviot
f3b7d1ca98 [poincare] Do not handle events if the cursor points to an AllocFail 2018-07-27 14:37:17 +02:00
Léa Saviot
3b1fc4b3d5 [poincare] Remove old layouts 2018-07-26 14:46:55 +02:00
Léa Saviot
a3032e5ec3 Merge branch Tree into master 2018-07-19 14:01:02 +02:00
Léa Saviot
785df118dc [poincare] Fix layout insertion 2018-07-06 11:35:52 +02:00
Léa Saviot
d1bdc7e2d5 [poincare] Fix tree retain count 2018-07-05 10:26:10 +02:00
Léa Saviot
f579e95815 [poincare] Start removing ExpressionLayout 2018-07-03 17:33:06 +02:00
Léa Saviot
a5ebab4bc1 [poincare] Continue adapting LayoutField 2018-07-03 14:56:15 +02:00
Léa Saviot
d0304d4a83 LayoutField 2018-07-03 13:52:33 +02:00