Commit Graph

847 Commits

Author SHA1 Message Date
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
É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
Émilie Feral
466c44781a [escher] Fix buffer overflow in TextArea 2018-10-08 11:56:14 +02:00
Émilie Feral
1bfbc7a5ef [escher] Fix buffer overflow in TextField 2018-09-24 18:22:20 +02:00
Émilie Feral
bd8abaf735 [escher] TableView: resizeToFitContent does not do anything if the frame
is null
2018-09-21 09:29:15 +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
f8f0813485 [escher] TextInput: get rid of variable-size tables 2018-09-17 17:14:43 +02:00
Émilie Feral
ba0f866dc6 [apps] Toolbox: get rid of variable-size tables 2018-09-17 17:14:43 +02:00
Léa Saviot
a4d79332ea [poincare] Fix Warning message exit on special keys
We want the memory full warning to be exited only on OK, EXE, ... but
Syntax warning (for instance) to be exited on any key pressed
2018-09-14 17:59:14 +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
9b6fe58afe [escher] Dismiss memory full warning on OK, EXE, Back, Home, Power only 2018-09-14 15:00:39 +02:00
Léa Saviot
9a289dc7eb [poincare] When app memory exception, got to Home app 2018-09-14 14:49:40 +02:00
Léa Saviot
6deaef49b8 [poincare] When memory exception, stay in the app and display popup 2018-09-14 13:43:54 +02:00
Émilie Feral
42c7c26414 [escher] TableView: when the TableView has a null frame, its
numberOfSubviews is 0
2018-09-14 11:55:09 +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
Léa Saviot
cb471d83d5 [escher] After packing an app, assert the TreePool size is 0 2018-09-12 15:37:03 +02:00
Émilie Feral
880904bcbb [escher] Get rid of DynamicViewController 2018-09-11 13:20:06 +02:00
Émilie Feral
6d9f0c0f0b [apps] Get rid of DynamicViewController in FloatParameterController 2018-09-11 11:32:29 +02:00
Émilie Feral
ff8022c1dc [escher] Un-delete the default move constructor on View (used by member
list initialization)
2018-09-10 10:06:51 +02:00
Émilie Feral
579da3033a [apps] Get rid of DynamicViewController (part 2) 2018-09-07 17:55:42 +02:00
Émilie Feral
75d89b6270 [escher] Container destructor: call m_activeApp destructor instead of
deleting it (it was created using placement new)
2018-09-06 15:56:31 +02:00
Émilie Feral
30f83cde2c [apps] Change names: ExpressionLayout -> Layout 2018-09-06 14:23:57 +02:00
Émilie Feral
6c1df5ffe8 [escher] Delete unused .cpp 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
Émilie Feral
9182d66fcc [apps] Apps are not allocated on the heap anymore but in a union hold by
the AppsContainerStorage
2018-09-06 09:49:38 +02:00
Léa Saviot
e3a09286ac [poincare] Remove AllocationFailures 2018-09-05 16:19:11 +02:00
Léa Saviot
679f9815c1 [poincare] Put setjmp in apps_container and in Expression::parse 2018-09-05 14:37:52 +02:00
Romain Goyet
c52ed0bf6d [escher] Allow customizing the background color of a button 2018-08-24 17:39:27 +02:00
Romain Goyet
ebf309654c Revert "Changed active button color to YellowDark"
This reverts commit 90f6205330.
2018-08-24 17:39:27 +02:00
0b101
90f6205330 Changed active button color to YellowDark 2018-08-24 14:36:34 +02:00
Rémy Da Costa Faro
7a0e39f88e Inverted SwitchView handle position 2018-08-24 14:32:15 +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
Émilie Feral
aaa20a58fa [poincare] Implement SerializationHelper and
SerializationHelperInterface. WriteTextInBuffer->serialize
2018-08-08 15:31:40 +02:00
Émilie Feral
4eb450e94b [escher] When handling event on text, display the maximal number of
significant digits
2018-08-03 17:22:44 +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