Hugo Saint-Vignes
1f9d0b5810
[apps/code] Reorder rows due to color name change
...
Change-Id: I1c8f3e9d015cf55ec8fc38082f60e957b19b196d
2020-11-04 15:07:20 +01:00
Hugo Saint-Vignes
e27c668c40
[apps,escher,kandinsky,poincare,python] Replace every "grey" with "gray"
...
Change-Id: I60a232849dce90f70e6977b6024d6e9b1ce1b731
2020-11-04 15:07:20 +01:00
Émilie Feral
6c54fb4ebc
[apps/code] Add 'write' to the toolbox (in Turtle module and catalog)
2020-06-04 14:50:10 +02:00
Léa Saviot
622cbe2e03
[apps/code] Fix auticompletion of color from Turtle
...
It added color(|)/color(,,) instead of just color(|)
2020-06-04 14:50:10 +02:00
Arthur
472cfc012c
[matplotlib] Added colors to the toolbox in python
...
Change-Id: I3ff3d4fb3552bcb8c375c77651db3b7c44991646
2020-06-04 14:50:09 +02:00
Léa Saviot
6d7b294bca
[apps/escher] Rename ToolboxMessageTree::children -> childAtIndex
2020-06-04 14:50:06 +02:00
Léa Saviot
4fb0a7e467
[apps/code] properly display the importation source
...
- It sould be nameOfScript.py, not just nameOfScript, when the source is
a script
- Fix the source for script name variables. For instance, "from
script1 import *" should display the node "script1" with the source "script1.py"
- If a script has the same name as a module, the module will be imported
and not the script, so do not load its variables (even if the module is
not in the toolbox).
2020-06-04 14:50:06 +02:00
Léa Saviot
0b0a7227a6
[apps/code– Fix typo in python_toolbox
2020-06-04 14:50:04 +02:00
Léa Saviot
4cb947759d
[apps/code] Get imported modules in the variable box
2020-06-04 14:50:04 +02:00
Émilie Feral
25b2ff31c2
[apps/code] Simplify colormode entry in toolbox
2020-04-30 14:12:32 +02:00
Émilie Feral
4f99aa709a
[apps/code] Add colormode to Toolbox: in Catalog and Turtle module
2020-04-30 14:12:32 +02:00
Léa Saviot
511a96f464
[apps/code] Add matplotlib.pyplot functions to the toolbox catalog
...
Not just in the modules submenu
2020-04-01 10:18:09 +02:00
Léa Saviot
2f4064d92b
[apps/code] Fix axis() command without arguments
...
It inserted axis(,,,) instead of axis()
2020-04-01 10:18:09 +02:00
Léa Saviot
89ef6ec71b
[apps/code] Add MatplotlibPyplot in the toolbox
2020-04-01 10:18:09 +02:00
Léa Saviot
f5e69395ee
[apps/code] Reorder toolbox modules
2020-04-01 10:18:09 +02:00
Léa Saviot
baba9a4ff0
[apps/code] Regroup the "list.*" methods in the toolbox
2020-02-18 10:07:33 +01:00
Léa Saviot
faee99b51b
[apps/code] Fix list items of the toolbox
2020-02-12 15:13:27 +01:00
Ruben Dashyan
179ce5d5d5
[ion/unicode/codepoint] Rename is[(Lower|Upper)Case]Letter to isLatin[(Small|Capital)]Letter
...
to conform with unicode terminology
2020-02-12 15:13:23 +01:00
Ruben Dashyan
9b0b4e3096
[ion/unicode] Define and use CodePoint const methods
...
isLowerCaseLetter
isUpperCaseLetter
isLetter
isDigit
Remove similar ones from UTF8Helper and from Poincare::Tokenizer.
2020-02-12 15:13:23 +01:00
Léa Saviot
a5bf4b68fa
[apps/code] Remove duplicate i18n
2020-02-12 15:13:22 +01:00
Léa Saviot
d5a18fcf13
[apps/code] Add time module in the toolbox
2020-02-12 15:13:22 +01:00
Léa Saviot
200e542a96
[apps/code] Add ion module in toolbox
2020-02-12 15:13:22 +01:00
Émilie Feral
5974149162
[escher] Metric: change name TableCellLabelTopMargin to
...
TableCellHorizontalMargin and add TableCellHorizontalMargin
2020-02-12 15:13:20 +01:00
Ruben Dashyan
7630460424
[apps/code] Add methods on lists to python toolbox catalog
2020-02-12 15:13:15 +01:00
Léa Saviot
4caf9f5197
[coding style] Make some methods const
2019-09-09 20:05:14 +02:00
Ruben Dashyan
44809f4b3f
Substitute Escher app() by Container::activeApp()
2019-07-19 15:06:25 +02:00
Émilie Feral
9c2fc84cd0
[code] Fix 'use address after scope' issue
...
We used an array that was out of scope in PythonToolbox.
2019-06-14 15:53:45 +02:00
Ruben Dashyan
9a63be7ac6
[apps/code] Fix PythonToolbox
...
"kandinsky module function prefix" did insert "kandinsky.function"
instead of "kandinsky.\x11"
2019-06-05 18:15:48 +02:00
Léa Saviot
4c5251f04f
[unicode] Use unicode when dealing with chars - Part 2
2019-05-03 15:53:19 +02:00
Romain Goyet
8308068b69
[apps/code] Add catalog entry for kandinsky.fill_rect
2019-04-26 17:44:27 +02:00
Léa Saviot
03f300a754
[python/turtle] Add showturtle and hideturtle to the toolbox
2018-12-27 17:09:45 +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
b3c11f2425
[apps/code] Put turtle module higher in Python toolbox
2018-12-17 13:58:13 +01:00
Léa Saviot
b058b023db
[apps/code] Add turtle functions in the toolbox catalog
2018-12-17 13:58:13 +01:00
Léa Saviot
8a3aa1ab08
[apps/code] Add turtle functions in th python toolbox
2018-12-17 11:57:40 +01:00
Émilie Feral
d59c836abd
[code] PythonToolbox: add 'eval' to the catalog
2018-11-23 12:04:09 +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
Jean-Baptiste Boric
34f5abad46
[python] Add turtle toolbox
2018-10-30 19:14:00 +01:00
Léa Saviot
9ead2024d5
[apps/code] Add "float(x)" entry in the Python catalog
2018-10-17 11:42:53 +02:00
Romain Goyet
f8beae3b86
[kandinsky] Move to KDFont
2018-10-11 16:44:02 +02:00
Léa Saviot
bfc2f49de0
[apps/code] Fix assertion
2018-09-18 15:32:11 +02:00
Émilie Feral
ba0f866dc6
[apps] Toolbox: get rid of variable-size tables
2018-09-17 17:14:43 +02:00
Léa Saviot
8801b9f383
[apps/code] Fix cursor position when inserting Python commands
...
Change-Id: I2f5cdc72220cc61b0c8830d746c63f705a7c928e
2018-04-26 17:52:11 +02:00
Léa Saviot
13ae1d2545
[apps/escher/toolbox] handleEventWithText for all responders.
...
This makes the code in the various toolbox more generic. The arguments
of the text to insert are each replaced by a Ion::Charset::Empty.
These Empty chars are used to create layouts in ExpressionLayoutFields,
and to compute the position of the cursor in other fields, before being
removed.
Change-Id: Ie81c1e394b06fef2ab801ccff919d6550f70ec30
2018-04-23 17:18:48 +02:00
Léa Saviot
c4b5d4cf40
Merge branch 'SaisieJolieRebase1201' into SaisieJolieMerge10Apr
...
Change-Id: I802dbb9f7c0eebf75a1b6cd21ddd194e89b53752
2018-04-10 17:21:54 +02:00
Émilie Feral
3db86a8111
[apps] Code: merge actions for text input in ConsoleController and
...
EditorController
2018-03-22 13:12:12 +01:00