Léa Saviot
58c022a9a9
[apps/code] Allow any number of scripts
2018-11-23 12:04:05 +01:00
Léa Saviot
fd533834ef
[apps/code] Default script name is in class Script, not menu controller
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
Émilie Feral
932782bec4
[code] Load Variable box content only once in the ConsoleController (to
...
avoid memory exhaustion later)
2018-11-23 12:04:03 +01:00
Émilie Feral
ea59e651ee
[code] EditorController: save script before displaying the variable box
2018-11-23 12:04:03 +01:00
Émilie Feral
a4f7d83805
[code] Load Variable box content before compiling any other python code
...
to avoid memory exhaustion when displaying variable box
2018-11-23 12:04:03 +01:00
Émilie Feral
c7e001a01d
[code] ConsoleController: TextField handle any move event so escaping by going up needs to be handled in textFieldDidReceiveEvent
2018-11-23 12:04:03 +01:00
Émilie Feral
99054df77b
[code] Remove useless code: force edition on Var event is already
...
handled by TextField
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
Émilie Feral
1c6573e8fe
[code] When script name edition abort, ask the storage for the previous
...
name
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
53e13368c3
[code] ScriptNameCell is responder only when 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
4070c754fe
[code] VariableBoxController inherits from 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
fe4bb02984
[Apps/code] Remove unneeded buffer
2018-11-23 12:04:02 +01:00
Léa Saviot
b2c2ca17c8
[i18n] Fix typo
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
b7770d087c
[apps/graph] Add "Rename" entry in the function parameters
2018-11-23 12:04:02 +01:00
Léa Saviot
b0e29bb9d7
[apps/code] Storage extensions do not include the dot
2018-11-23 12:04:02 +01:00
Léa Saviot
4582975661
Remove more compilation warnings
2018-11-23 12:04:02 +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
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
52a21198a4
[apps/ion] Use the new storage API
2018-11-23 12:03:58 +01:00
Jean-Baptiste Boric
34f5abad46
[python] Add turtle toolbox
2018-10-30 19:14:00 +01:00
Jean-Baptiste Boric
0c94f44399
[python] Return value for turtle.pensize()
2018-10-30 17:34:13 +01:00
Jean-Baptiste Boric
9e2437047b
[python] Clean up turtle code and samples
2018-10-28 19:15:32 +01:00
Jean-Baptiste Boric
0a05b94b4d
[python] Turtle module improvements
2018-10-28 14:16:00 +01:00
Jean-Baptiste Boric
464c1a5c95
[python] Initial turtle module
2018-10-27 14:24:36 +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
9ead2024d5
[apps/code] Add "float(x)" entry in the Python catalog
2018-10-17 11:42:53 +02:00
Léa Saviot
5d92f13c26
Clean strlcpy arguments
2018-10-17 11:22:37 +02:00
Romain Goyet
c183f0147e
[kandinsky] Get rid of KDText
2018-10-11 16:44:02 +02:00
Romain Goyet
f8beae3b86
[kandinsky] Move to KDFont
2018-10-11 16:44:02 +02:00
Romain Goyet
c5056248d2
[python] Don't add underscore-prefixed items to the var menu
2018-10-08 10:56:14 +02:00
Émilie Feral
625c0acd8b
[code] Fix EditorController: cannot use strcpy when the first char is a
...
flag that can be 0
2018-10-08 09:46:31 +02:00
vardai
cfcd62d2e3
Corrected German translation with further corrections by @mhaupt
2018-09-25 10:01:17 +02:00
vardai
f0cb0d6099
Corrected German translation with further corrections by @mhaupt
2018-09-25 10:01:17 +02:00
vardai
fc18915f89
Corrected German translation with corrections by @mhaupt
2018-09-25 10:01:17 +02:00
vardai
fab726e514
Corrected German translation without Umlaut
2018-09-25 10:01:17 +02:00
vardai
4892b87dde
Corrected German translation
2018-09-25 10:01:17 +02:00
Émilie Feral
eadc493f48
[ion] Storage: fix regex describing compliant names
2018-09-21 17:13:12 +02:00
Léa Saviot
c16d9e7ffe
[apps/code] Load Python in the viewWillAppear of the controllers
2018-09-21 12:26:57 +02:00
Léa Saviot
2661032993
[apps/code] Fix Python loading when going in the VarBoxController
...
The Var box controller deinited python on exit, and the console
controller did not reload python + it made the console controller lose
all its context, such as imported scripts
2018-09-21 11:55:12 +02:00
Émilie Feral
58ad8bd87e
[code] Fix handling of python heap by ConsoleController,
...
EditorController and VariableBoxController
2018-09-20 11:54:56 +02:00
Émilie Feral
afce751eb7
[code] Get rid of malloc: keep a buffer in Code::App to be used as python heap
2018-09-19 18:20:30 +02:00
Léa Saviot
bfc2f49de0
[apps/code] Fix assertion
2018-09-18 15:32:11 +02:00
Émilie Feral
dae91f1540
[apps] VariableBoxController: get rid of variable-size table
2018-09-17 17:14:43 +02:00