Léa Saviot
baba9a4ff0
[apps/code] Regroup the "list.*" methods in the toolbox
2020-02-18 10:07:33 +01:00
Romain Goyet
a187f39094
[apps] Report telemetry events
2020-02-17 10:31:24 -05:00
Romain Goyet
5dee4a8166
[apps] Add screen telemetry identification
2020-02-17 10:31:24 -05:00
Romain Goyet
7f43b73049
[apps] Don't forget to call viewWillAppear
...
At the moment ViewController::viewWillAppear doesn't do anything, so
there is no real impact. But if we want to use it it needs to be called
from subclasses.
2020-02-17 10:31:24 -05:00
Léa Saviot
bbee8945b3
[apps/code/toolbox] Remove too long i18n
2020-02-12 15:46:32 +01:00
Léa Saviot
6dced2d157
[python/test] Do not use such a big python heap
2020-02-12 15:13:27 +01:00
Léa Saviot
5309610b01
[apps/code/toolbox] Fix z.real and z.imag cursor position
2020-02-12 15:13:27 +01:00
Léa Saviot
6711b96ed9
[apps/code/Toolbox] No conjugation in English
2020-02-12 15:13:27 +01:00
Léa Saviot
faee99b51b
[apps/code] Fix list items of the toolbox
2020-02-12 15:13:27 +01:00
Léa Saviot
cefaf878d0
[apps/code/toolbox] Fix messages
...
Too long + wrong code point for the signle quotation mark
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
575b911da9
[ion/unicode] Split isDigit into isDecimalDigit, isBinaryDigit, isHexadecimalDigit
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
Émilie Feral
b56cd8b012
[escher] Metric: add EllipsisCellWidth. This will be soon used by
...
Calculation::HistoryCell
2020-02-12 15:13:22 +01:00
Léa Saviot
b7e177865a
[apps/code] Fix prompt after input
2020-02-12 15:13:22 +01:00
Léa Saviot
3dcb40b5d4
[apps/code] Do not call interrupt in printText
2020-02-12 15:13:22 +01:00
Léa Saviot
1dacd71acb
[apps/code] Remove unneeded arguments
2020-02-12 15:13:22 +01:00
Léa Saviot
c6c3e3f340
[apps/code] Hide prompt when running script
2020-02-12 15:13:22 +01:00
Léa Saviot
f47f1f0543
[apps/code] Refresh view in printText
2020-02-12 15:13:22 +01:00
Léa Saviot
f20bb1fcf2
[apps/code] Display the console before running auto-imported script
2020-02-12 15:13:22 +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
Léa Saviot
8742ea9d25
[apps/code/i18N] Alphabetical rearrangement
2020-02-12 15:13:22 +01:00
Léa Saviot
3d4d46c489
[apps/code/menu_controller] Fix Clear handling in text field
...
The menu controller handled Clear but it clashed with any ongoing
selection.
In fact, eveything handled in textFieldDidReceiveEvent was already
handled in TextFieldWithExtension
2020-02-12 15:13:20 +01:00
Léa Saviot
5a7c03d485
[apps/editor_controller] Fix backspace handling in text area
...
The editor controller handles backspace if it is at the beginning of a
line, to remove multiple spaces to match the indentation, but it should
not do so if there is an ongoing selection
2020-02-12 15:13:20 +01:00
Émilie Feral
5974149162
[escher] Metric: change name TableCellLabelTopMargin to
...
TableCellHorizontalMargin and add TableCellHorizontalMargin
2020-02-12 15:13:20 +01:00
Léa Saviot
8cf13adaf0
[apps/editor_controller] Handle deleted scripts in cleanStorageEmptySpace
2020-02-12 15:13:18 +01:00
Léa Saviot
344ea5a67a
[apps/code] Handle Home event when in the toolbox
...
If editing a script, the empty space at the end of the script should be
moved to the end of the storage.
2020-02-12 15:13:18 +01:00
Léa Saviot
e98b67634d
[escher/text_area] Improve dirty tracking
2020-02-12 15:13:17 +01:00
Léa Saviot
d05a95c87c
[apps/code] Reset selection when leaving script editor
2020-02-12 15:13:17 +01:00
Léa Saviot
1be417e2c4
[apps/code] Code cleaning
2020-02-12 15:13:17 +01:00
Léa Saviot
a2c7e57a77
[apps/python_text_area] Color the white spaces
2020-02-12 15:13:17 +01:00
Léa Saviot
9d9efc985f
[apps/python_text_area] Clean drawLine
2020-02-12 15:13:17 +01:00
Léa Saviot
349b4f8532
[escher/text_area] Fix selection color
2020-02-12 15:13:17 +01:00
Léa Saviot
14cc6ffc59
[escher/text_area] Select and copy
2020-02-12 15:13:17 +01:00
Émilie Feral
4025d75734
[apps/code] Fix number of displayable rows in ConsoleController
2020-02-12 15:13:17 +01:00
Émilie Feral
d64321d116
[apps/code] Remove useless class member in ConsoleController
2020-02-12 15:13:17 +01:00
Léa Saviot
c1b792c23d
[apps/code] Get out of script edition on usb enumeration
...
The storage needs to be in a clean state
2020-02-12 15:13:16 +01:00
Léa Saviot
5853e96947
[apps/code] Remove EditorController::m_areaBuffer
...
This was a very large buffer that took a lot of RAM space (the size of
the storage). Instead of having it, we just move the available space of
the storage at the end of the edited script, and move it back when the
edition finishes.
This is slower but saves a lot of space.
2020-02-12 15:13:16 +01:00
Émilie Feral
3627dc0c0f
[apps/code] Choose editor font size from GlobalPreferences
2020-02-12 15:13:15 +01:00
Émilie Feral
c2dabf6510
[apps/code] Choose console text size from GlobalPreferences
2020-02-12 15:13:15 +01:00
Léa Saviot
9f018eb9d9
[escher/view] setFrame and layoutSubviews can be forced
2020-02-12 15:13:15 +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
0f52335183
[apps/code] Fix syntaxic coloration
...
This fixes the coloration of:
"123\n"+1
"\n\n"+1
For strings, lex->vstr.len gave the wrong value because it had already
translated escaped chars, so "\n" would be one char long.
2020-02-12 15:13:15 +01:00
Léa Saviot
00d28108fb
[apps] Fix i18n to be able to build standalone apps
...
Example failing build: make PLATFORM=simulator EPSILON_APPS=regression
2020-01-06 15:15:49 +01:00
Adrien Bertrand
2ec4bc29e0
[apps] [code] Fix nullptr deref ( fix #1176 )
...
When scrolling up in the python shell history, `selectedCell` could be NULL.
2019-11-04 09:57:45 +01:00
Romain Goyet
758c217120
[ion] ion_main takes const arguments
2019-10-16 10:01:00 +02:00
Émilie Feral
80858d7c82
[apps/code] Fix toolbox messages
2019-09-23 11:10:38 +02:00
Aleks ANDRÉ
45d446face
Update catalog.fr.i18n
...
Terminologie utilisée dans l’enseignement français
2019-09-23 10:44:21 +02:00