Commit Graph

206 Commits

Author SHA1 Message Date
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
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
Émilie Feral
ba0f866dc6 [apps] Toolbox: get rid of variable-size tables 2018-09-17 17:14:43 +02:00
Émilie Feral
c95c3145bc Merge remote-tracking branch 'github/master' into Tree 2018-09-13 17:03:31 +02:00
Émilie Feral
08077cb141 [ion] Storage: make Storage::nameCompliant less restrictive (accepts
.*\.[a-z]+). But Script::nameCompliant is stricted: [a-z_0-9.]*
2018-09-13 11:33:15 +02:00
Émilie Feral
d2ed06e2dc [code] Add comment on how --code-script option is parsed 2018-09-11 17:03:04 +02:00
Émilie Feral
032db99754 [code] EditorController: avoid dynamic allocation 2018-09-11 17:03:04 +02:00
Émilie Feral
79740e72b0 [code] Avoid dynamic allocation and useless string copy by keeping the
importation status flag in the areaBuffer
2018-09-11 17:03:04 +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
Émilie Feral
0b71e92625 [apps] Add missing min/max redefinition 2018-09-04 12:19:49 +02:00
Louis Rannou
70a2db9336 Fix warnings about comparing different signedness
Some variables were declared as int while they are size_t. As we try to compare
them to unsigned values, a warning was raised (comparison of integer expressions
of different signedness).
2018-08-24 15:32:26 +02:00
Émilie Feral
aaa20a58fa [poincare] Implement SerializationHelper and
SerializationHelperInterface. WriteTextInBuffer->serialize
2018-08-08 15:31:40 +02:00
Léa Saviot
2d7450b1dd [apps/escher/poincare] Empty expression char is now ø 2018-07-18 10:32:45 +02:00
Romain Goyet
3d74d52ec6 [python] Highlight minus-equal, plus-equal as operators 2018-06-20 11:22:32 +02:00
Romain Goyet
74330bb330 [python] Properly compute all token length 2018-06-20 11:22:32 +02:00
Émilie Feral
7df03ec762 [code] In lock-on-console mode: enable poping controllers on the stack
which are above the console controller
2018-06-13 13:23:46 +02:00
Émilie Feral
769bc1ad3c [code] In lock-on-console mode: Enable interrupting input loop and execution when clicking on 'home' or 'back' 2018-06-13 13:23:46 +02:00
Émilie Feral
317e1f0389 [code] Enable interrupting an infinite input() loop when clicking on home 2018-06-12 16:52:12 +02:00
Émilie Feral
e9c4485eeb Merge branch 'solver' into upgrade-1.6.0 2018-06-12 09:47:41 +02:00
Émilie Feral
9e345014d2 [code] Add EmptyChar in text for python event to position the cursor at
the right place after inserting text
2018-06-12 09:45:32 +02:00
Émilie Feral
24c9549866 [escher] Handle copy/cut event on selectable table view 2018-06-07 14:46:14 +02:00
Émilie Feral
837e0694d1 [shared] Remove New Function Cell class which is a duplicate of Even Odd
Message Text Cell
2018-06-07 13:46:17 +02:00
Romain Goyet
c0d3b97c6b [apps/code] Fix getopt handling 2018-06-05 13:57:04 +02:00
Romain Goyet
caff93cda0 [code] Avoid init/deinit-ing uPy in each editor redraw 2018-06-04 16:08:11 +02:00
Romain Goyet
b52590e2f7 [code] Use named colors 2018-06-04 16:08:11 +02:00
Romain Goyet
6cd18cca89 [python] Malloc the syntax-highlighting uPy heap 2018-06-04 16:08:11 +02:00
Romain Goyet
29cacbc44f [code] Implement syntax highlighting in PythonTextArea 2018-06-04 16:08:11 +02:00
Romain Goyet
88e40266f6 [code] Create a PythonTextArea 2018-06-04 16:08:11 +02:00