Commit Graph

195 Commits

Author SHA1 Message Date
Gabriel Ozouf
41cf0aaac6 [apps] Stopped battery warning when plugged
Change-Id: Id4f0d5d730c6045bf69cfadd724dc8ad819494d5
2020-11-04 14:45:34 +01:00
Léa Saviot
f98c171d2a [apps/variable_box] Prepare for Code::VariableBox factorization 2020-06-04 14:50:05 +02:00
Émilie Feral
e17ae9024e [apps] Gather all code regarding exam mode in ExamModeCOnfiguration file 2020-02-12 15:13:26 +01:00
Léa Saviot
9f018eb9d9 [escher/view] setFrame and layoutSubviews can be forced 2020-02-12 15:13:15 +01:00
Émilie Feral
e13425d231 [apps] Add comment about LED color in Dutch exam mode 2019-12-19 15:52:45 +01:00
Émilie Feral
96c63bd4a5 [apps][ion] Yellow LED is equivalent to Dutch exam mode, do not update
the LED color (with plugging/charging events) if the displayed color was Red or Yellow
2019-12-19 15:52:45 +01:00
Émilie Feral
6ecfe9c5db [apps] Two exam modes in settings: Standard & Dutch 2019-12-19 15:52:45 +01:00
Émilie Feral
6cd98a3a48 [apps] AppsContainer::activateExamMode can make the LED blink in orange
or red according to the chosen exam mode
2019-12-19 15:52:45 +01:00
Émilie Feral
da735b93a4 [apps] GlobalPreferences: change exam mode API 2019-12-19 15:52:45 +01:00
Léa Saviot
88d52c6e9c [apps/apps_container] Fix screen noise before the logo on n0100
Push a white screen before fetching the examm mode, as this fetch takes
some time and the screen noise becomes visible on a n0100 when
downloading a new software.
2019-12-12 15:45:33 +01:00
Léa Saviot
ebc5843795 [apps/ion/exam_mode] Store the exam mode activation in the flash
This way, it is not cleared by a reset
2019-12-11 13:51:38 +01:00
Émilie Feral
11863804f7 [scripts] Remove EPSILON_BOOT_PROMPT flag 2019-08-08 17:21:53 +02:00
Émilie Feral
a4dfe2eb9e [scripts] Remove EPSILON_ONBOARDING_APP flag 2019-08-08 16:32:18 +02:00
Léa Saviot
a450ce3855 Merge branch 'master' into f7 2019-08-06 17:40:14 +02:00
Ruben Dashyan
224f7873f7 [*container] Make Container::s_activeApp protected 2019-07-19 15:06:25 +02:00
Ruben Dashyan
a0e6151b26 [*container] Remove static Container::sharedContainer 2019-07-19 15:06:25 +02:00
Ruben Dashyan
e9d098bacb [apps] Remove AppsContainerStorage::sharedContainer
Use AppsContainer::sharedAppsContainer instead. The AppsContainerStorage
is initialised in AppsContainer.
2019-07-19 15:06:25 +02:00
Ruben Dashyan
5548767809 [apps] Timers access the shared container directly 2019-07-19 15:06:25 +02:00
Ruben Dashyan
268ad3f3ba Access the shared container from escher and apps 2019-07-19 15:06:25 +02:00
Léa Saviot
795bf64188 [apps/apps_container] Switch of LED if low battery if no exam mode 2019-05-22 16:49:15 +02:00
Émilie Feral
b8522f1ef0 [apps] AppsContainer: 'shutdownDueToLowBattery' can be call when the
battery is actually LOW (due to some oscillations between LOW and
EMPTY). Handle that case
2019-05-03 15:54:20 +02:00
Émilie Feral
ce94b3d67a [apps] Redraw battery pictogram after a reset 2019-05-03 15:54:20 +02:00
Émilie Feral
920f95997a [ion] Dim Brightness before shutting down when the battery low 2019-05-03 15:53:21 +02:00
Léa Saviot
d0300c0e7f [apps/settings] Reload the title bar when changing language
Before, the "Settings" title would not be immediately translated into
the new language.
2019-05-03 15:53:20 +02:00
Émilie Feral
9e962874b6 Merge branch 'version-11' into HEAD 2019-04-29 18:00:17 +02:00
Émilie Feral
e39172a7cd [apps] AppsContainer: 'shutdownDueToLowBattery' can be call when the
battery is actually LOW (due to some oscillations between LOW and
EMPTY). Handle that case
2019-04-18 14:07:03 +02:00
Émilie Feral
d9982a11a9 [apps] Redraw battery pictogram after a reset 2019-04-15 09:52:45 +02:00
Émilie Feral
a5919f128c [ion] Power: fix names; Power key actually refers to OnOff key (to avoid
confusing with exponentiation key)
2019-04-12 16:56:57 +02:00
Émilie Feral
694fa34315 [ion] Keyboard: change keys name to more explicit ones 2019-04-12 16:56:57 +02:00
Émilie Feral
7d8e527d51 Merge branch 'version-11' of ssh://git.numworks.com/Epsilon into f7 2019-04-12 15:22:22 +02:00
Émilie Feral
da12904873 [ion] Dim Brightness before shutting down when the battery low 2019-04-12 15:16:53 +02:00
Léa Saviot
8ac2c80625 [apps/settings] Reload the title bar when changing language
Before, the "Settings" title would not be immediately translated into
the new language.
2019-04-12 15:16:52 +02:00
Léa Saviot
ea56535384 [apps/apps_container] Redraw the window after displaying exam pop up 2019-04-12 11:13:37 +02:00
Émilie Feral
b13500699b [apps] Typo 2019-04-12 10:25:26 +02:00
Émilie Feral
5dd0098981 [apps][ion] Handle LED color concurrency between exam mode and charging
state
2019-04-11 16:10:33 +02:00
Émilie Feral
3a57b2e7d2 [ion] Change LED color when charging: yellow --> orange 2019-04-11 10:16:21 +02:00
Émilie Feral
f89b46ed78 [apps] Redraw battery pictogram after a reset 2019-04-11 10:16:21 +02:00
Émilie Feral
07f37ddac3 [apps] AppsContainer: update LED color with events: etnumeration, plug,
charging
2019-04-11 10:16:21 +02:00
Léa Saviot
a7208ade0f [apps] Container::switchTo returns a bool (false if could not switch) 2019-01-22 14:57:51 +01:00
Léa Saviot
4128ebb864 [escher] In container, check the app can be exited before switching apps 2019-01-22 14:57:51 +01:00
Léa Saviot
e5f0959239 [poincare] Static Expression methods start with uppercase 2019-01-10 11:42:05 +01:00
Léa Saviot
58f94f5e5f [apps/code] Check that app can be exited before switching to DFU
This fixes the following crash: create a script which contains only
"input()". Execute it, then while in the input, plug in the calculator.
When un-plugging it, the device crashes.
2019-01-07 13:36:01 +01:00
Émilie Feral
10556b477b [apps] Tidy snapshots when leaving the app following an exception 2018-12-03 13:47:52 +01:00
Léa Saviot
3b81f9bedc [apps] Remove the poincare circuit breaker on emscripten 2018-11-28 11:17:52 +01:00
Léa Saviot
a3ff266635 [apps] Create an exception checkpoint before switching to the first app 2018-11-28 11:17:52 +01:00
Émilie Feral
916493a4d2 [apps] Reset (exam mode) delete all records at once 2018-11-23 12:04:10 +01:00
Émilie Feral
4459945fe9 [apps] When entering in exam mode (reset), destroy all recorded
expression variables
2018-11-23 12:04:10 +01:00
Léa Saviot
94721f08df [apps] Full pool/storage memory warning messages 2018-11-23 12:04:04 +01:00
Léa Saviot
6fa7816789 [escher] Warning pop-ups may have two lines 2018-11-23 12:04:04 +01:00
Léa Saviot
ecb58dea71 [apps] Renamen MemoryFull i18N messages 2018-11-23 12:04:04 +01:00