* Fix: windows simulator: Assert error apps/i18n.cpp:2437 and Toolbox
title "Zoom :" #267
static GlobalPreferences doesn't init on windows platform, move to
static methode sharedGlobalPreferences()
* Keepsafe from static init order fiasco for all
This commit can be regenerated with the following shell snippet:
```
for i in UndefinedValue ForbiddenValue Goto ValueNotReachedByFunction Initialization Trigonometric RoundAbscissa Orthonormal DefaultSetting Axis Zoom GraphTab IntervalSet XStart XEnd Step Plot DisplayValues ActivateDesactivate NoFunctionToDelete Language FunctionOptions ClearColumn ColumnOptions DataTab CopyColumnInList FunctionColumn Move Or ValuesTab Goto ToZoom HardwareTestLaunch1 HardwareTestLaunch2 HardwareTestLaunch3 HardwareTestLaunch4 ActiveExamModeMessage1 ActiveExamModeMessage2 ActiveExamModeMessage3 ExitExamMode1 ExitExamMode2 Sci Rad Deg
do
move=$(grep "^$i = " -r *)
if [ -n "$move" ]
then
echo "$move" | while read -r item
do
file=$(echo "$item" | cut -f1 -d:)
lang=$(echo "$file" | cut -f2 -d.)
translation=$(echo "$item" | sed -e 's/^[^:]*://')
label=$(echo "$translation" | sed -e 's/=.*//')
sed -i "/^$label/d" "$file"
echo "$translation" >> "apps/shared.$lang.i18n"
done
fi
done
for i in apps/shared.*.i18n
do
sort $i -o $i
done
```
When activating or deactivating the exam mode, the table did not display
the right label immediately.
Change-Id: I3ce556202b4dde94235d90b937b3f00274b2f3d6
When clearing the console history, the previously selected cell was not
unhighlighted. This sometimes caused a random cell to be highlighted when
adding new commands.
Change-Id: I393446527fc06d7ae075c21124cb78e09d63ef99
Now the MenuController changes the cursor location if needed once the
Textfield has handled the event.
Change-Id: I1ad3202402623dfa9a683866fef90ca33ddd6be0
Before, the history would not redraw itself properly when selecting
"Execute Script" from a script's options.
Change-Id: Ibefd920eb038165a81ddb464dbf889047ad1f370
The drawing should happen after the ConsoleController is pushed on the
screen. This means that the importation of scripts should be done at the
ConsoleController's viewWillAppear.
Change-Id: I756ac9de30f339dc4f6aa8d3995abea0a46d03b5
When disabling a script auto-import parameter, it would not import
itself when executing it from its script parameters menu.
Change-Id: If58f6fe1be4792b551ad3b462f1f43e8b82e8148
The Statistics apps crashed when navigating the Data table.
-> Check that the textfield is editing before calling
textFieldShouldFinishEditing.
-> Changed textLength() to draftTextLength().
Change-Id: Id373a7cd50438303f470abc5bcee7a795c33926a
A SandboxController is now pushed on the StackViewController and sets the
KDIonContext::sharedContext before drawing, sets a white background and handles
user input after the Python computation to dismiss the drawing screen.
Change-Id: I51b0474365a85e845227379a16d090541fa8ded7