Commit Graph

348 Commits

Author SHA1 Message Date
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
redgl0w
f2a79e9970 Update catalog.fr.i18n 2019-11-02 15:52:34 +01:00
redgl0w
ab8ecd767a Update catalog.es.i18n 2019-11-02 15:52:06 +01:00
redgl0w
bc9f5d964a Update catalog.en.i18n 2019-11-02 15:51:27 +01:00
redgl0w
ac6e60e2eb Update catalog.de.i18n 2019-11-02 15:50:15 +01:00
redgl0w
5ce621b7c5 Update catalog.pt.i18n 2019-11-02 10:12:37 +01:00
redgl0w
78e66620f7 Update catalog.fr.i18n 2019-11-02 10:12:16 +01:00
redgl0w
3ad3ef6be4 Update catalog.es.i18n 2019-11-02 10:11:51 +01:00
redgl0w
49b5c6c22d Update catalog.en.i18n 2019-11-02 10:11:20 +01:00
redgl0w
1e4d97e323 Update catalog.de.i18n 2019-11-02 10:10:56 +01:00
redgl0w
9348ba9e56 Update catalog.universal.i18n 2019-11-02 10:10:25 +01:00
redgl0w
3db48eac4f Update python_toolbox.cpp 2019-11-02 10:09:53 +01:00
Quentin
ca889ae59e [1.10.2] Merge PR1064 from epsilon 2019-10-30 22:58:56 +01:00
Quentin
ed204d5db2 Merge commit 'refs/pull/1064/head' of https://github.com/numworks/epsilon into omega-master 2019-10-30 22:56:26 +01:00
Jean-Baptiste Boric
d7dfb57c5c Change visibility of Toolbox's rootModel() 2019-10-23 18:28:15 +02: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
Léa Saviot
4caf9f5197 [coding style] Make some methods const 2019-09-09 20:05:14 +02:00
Léa Saviot
d9f650d283 [ion/utf8_helper] HasCodePoint 2019-09-09 13:30:04 +02:00
Lionel Debroux
74304f6102 [apps/code] Use a 32 KB Python heap instead of a 16 KB one, it doesn't add to the RAM consumption and it allows dealing with larger (more accurately, "less small"...) scripts. 2019-09-07 22:46:51 +02:00
Émilie Feral
12060e2ae7 [escher] TextField: all text fields use the same draft text buffer 2019-08-13 09:44:00 +02:00
Léa Saviot
5fac7a8cd2 [apps/code] Fix typo 2019-08-08 17:29:10 +02:00
Léa Saviot
c2b4d2b760 [strlcpy] Assertions on len parameter 2019-08-08 17:22:06 +02:00
Émilie Feral
059c596a80 Makefiles: avoid building all sources for each target; introduce more
modularity
2019-08-08 17:22:01 +02:00
Léa Saviot
e8be088478 [apps/escher] Factorize TxtArea and Code::EditorCtrlr's k_indentSpaces 2019-08-08 16:22:28 +02:00
Émilie Feral
7a4ee746b2 [escher] TextField: call reinitDraftBuffer after edition is complete to
avoid erasing text that is required later.

Fix bug: OK handling on function list in linear mode did not copy the
function expression into the textfield before editing
2019-07-30 11:47:42 +02:00
Léa Saviot
7b84b65502 [apps/code] Fix sandbox and input clash
The command "squares()%input()" followed by text, OK, and a backspace
event broke an assertion on the consoleStore number of lines.
2019-07-30 11:31:21 +02:00
Ruben Dashyan
eb6d697927 [apps] Make app accessors static members of App classes 2019-07-19 15:06:25 +02:00
Ruben Dashyan
44809f4b3f Substitute Escher app() by Container::activeApp() 2019-07-19 15:06:25 +02:00
Ruben Dashyan
0490e3ab81 [apps] Define InputEventHandlerDelegate::inputEventHandlerDelegateApp() directly from ::app() 2019-07-19 15:06:25 +02:00
Romain Goyet
21907fb89a [apps] Get rid of App casts 2019-07-19 15:06:25 +02:00
Romain Goyet
45875dd642 [escher] Make app() a global function
This way it can easily be reached by anyone, including non-responders.
And it can easily be overwritten in namespaced apps.
2019-07-19 15:06:25 +02:00
Ruben Dashyan
62cec10b46 [apps] Clean unnecessary AppsContainer class declarations and header inclusions 2019-07-19 15:06:25 +02:00
Ruben Dashyan
1f06819974 [apps] Remove Container * parameter from all App constructors 2019-07-19 15:06:25 +02:00
Ruben Dashyan
eb3da7f395 [apps] Substitute "app()->container()" by "AppsContainer::sharedAppsContainer()" 2019-07-19 15:06:25 +02:00
Léa Saviot
2463b6bb95 [apps/code] Update icon 2019-06-21 14:30:31 -04:00
Léa Saviot
5f549b514e [escher] Fix backspace on utf8 combining code point 2019-06-21 14:30:14 -04: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
5ee130a959 [apps/code/editor_controller] Fix backspace event handling
If there are only spaces on the left of the cursor, then a backspace
should remove two spaces (or one if there is only one of it). The number
of spaces was miscomputed.
2019-06-05 18:15:48 +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
critor
ec40cdd347 Fixed german special characters
Now that special unicode characters are supported, when appropriate, replaced occurrences of the 'ae', 'oe', 'ue', and 'ss' digrams with the proper character.
2019-05-31 08:00:15 -04:00
Ruben Dashyan
f1a6067027 [apps/code/catalog.*.i18n] arctan -> atan 2019-05-27 15:51:47 +02:00
Émilie Feral
9a411874ee [code] Console: when displaying results, do not split in lines in middle
of code points. Otherwise, this triggers crashes when manipulaping the
text (removing code point for instance)
2019-05-03 15:54:22 +02:00
Léa Saviot
28133f378e [apps] Remove wrong withinTemporarySelection escape cases
Scenario:
Sequence app, add new sequence, go on its name, backspace: the cell on
the left of Add new sequence is selected, but it should not
2019-05-03 15:54:22 +02:00
Émilie Feral
2217eebaec [escher] SelectableTableView: when reloading data, we temporary deselect
the table. We warn the SelectableTableViewDelegate that the selection
change is 'within a temporary selection change' when notifying it of the
change.
2019-05-03 15:54:21 +02:00