Commit Graph

743 Commits

Author SHA1 Message Date
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
Evann DREUMONT
4a1dae3625 Fix #216 2020-01-30 19:16:01 +01:00
M4x1m3
30bc2a0cdf [apps/code] Fixed #198 2020-01-26 14:20:09 +01:00
Quentin
587b6ee2a3 Merge pull request #179 from citorva/omega-dev
Remove External app for unsupported devices (web/n0100) and adds a ba…
2020-01-26 00:05:26 +01:00
Quentin Guidée
c6a01e285c Fixed HU translation 2020-01-24 19:52:20 +01:00
M4x1m3
56b9bd0a61 Added option to duplicate scripts (closes 176) 2020-01-23 23:21:42 +01:00
citorva
c94affa7cd Remove External app for unsupported devices (web/n0100) and adds a basic examination checking system 2020-01-19 23:45:35 +01:00
U-DESKTOP-L7NJ45P\Gegenter
c172a27a8b Hungarian Language Added 2020-01-11 17:46:28 +01:00
Quentin Guidée
a44fceb297 Merge remote-tracking branch 'upstream/master' into omega-dev 2020-01-07 16:35:38 +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
AD Simmons
cdfb1f724b [apps/code] Add PythonFont preferences as the python font size in code 2019-12-29 16:24:23 -05:00
Damien Nicolet
8583ddafca External application, API v2 2019-12-19 00:31:23 +01:00
Damien Nicolet
f763563834 Memory optimisation 2019-12-13 01:02:14 +01:00
Quentin Guidée
c68a0cdb33 New Default theme: Omega theme! (Beta) 2019-11-29 19:42:39 +01:00
Quentin Guidée
3b592c847e New dark theme & KDColorWhite -> Palette::BackgroundHard 2019-11-26 23:04:03 +01:00
Quentin Guidée
db269f1204 KDColorBlack -> Palette::Text for the theming engine 2019-11-26 19:22:24 +01:00
Quentin
39d6f5080b Merge remote-tracking branch 'upstream/master' into omega-master 2019-11-04 21:25:14 +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
Quentin
6bef8da2ed Merge commit 'refs/pull/1174/head' of http://github.com/numworks/epsilon into redglow-master 2019-11-02 18:35:44 +01:00
redgl0w
e3da950704 Update catalog.universal.i18n 2019-11-02 15:53:09 +01:00
redgl0w
83a89a0151 Update catalog.pt.i18n 2019-11-02 15:52:50 +01:00