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
Léa Saviot
91d6955ddf
[apps] The apps displays a warning when storage is full
2018-11-23 12:04:04 +01:00
Léa Saviot
9bfaed583d
[apps/escher/ion] Remove Graph memoized models on storage change
2018-11-23 12:04:03 +01:00
Léa Saviot
1517b57cc8
[apps] AppsContainer is a Ion::StorageDelegate
2018-11-23 12:04:03 +01:00
Émilie Feral
286530f78f
[apps] First version of VariableBoxController
2018-11-23 12:04:00 +01:00
Ecco
74d4f397ac
Merge pull request #626 from zardam/utime_module
...
utime module
2018-11-15 17:04:08 +01:00
Romain Goyet
a3d6d6ddd6
[ion/timing] Cleanup
2018-11-15 16:19:07 +01:00
Léa Saviot
062ff5af1a
[apps] Update the battery level after an update
2018-11-15 10:26:34 +01:00
Damien Nicolet
24630011b1
[code] keep only CPython equivalent functions in utime module
2018-11-10 00:00:03 +01:00
Damien Nicolet
9b818bd963
[ion] fix sleep functions in emscripten build
2018-11-09 01:36:38 +01:00
Lionel Debroux
70a8d06cfe
[apps, poincare] Optimize the preferences singletons' usage by removing superfluous checks in the setters, and performing manual CSE in the callers.
...
Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr >
2018-10-23 11:49:09 +02:00
Émilie Feral
1dd734b8e6
[on-boarding] Improve beta pop-up layout
2018-10-16 11:09:50 +02:00
Émilie Feral
3f711da8e4
[Makefile] Create a build option: EPSILON_BOOT_PROMPT that can be
...
'update' or 'beta' to display a prompt informing about new update or
beta version
2018-10-16 11:09:50 +02:00
Émilie Feral
c8d7ee46d9
[on-boarding] Delete specialize PopUpController
2018-10-16 11:09:50 +02:00
Émilie Feral
0ee0e87637
[apps] GlobalPreferences: change name showUpdatePopUp --> showPopUp
2018-10-16 11:09:50 +02:00
Émilie Feral
b4143bb276
[on_boarding] Add EPSILON_SOFTWARE_UPDATE_PROMPT flag to build
...
UpdateController only when required
2018-10-16 11:09:50 +02:00
Léa Saviot
5b5211be24
[poincare] Tidy Integer buffer on Poincare exception
2018-09-25 10:42:47 +02:00
Léa Saviot
f5682a4f30
[apps] Exception should reset active snapshot only if active app exists
2018-09-19 15:50:48 +02:00
Léa Saviot
a4d79332ea
[poincare] Fix Warning message exit on special keys
...
We want the memory full warning to be exited only on OK, EXE, ... but
Syntax warning (for instance) to be exited on any key pressed
2018-09-14 17:59:14 +02:00
Léa Saviot
9a289dc7eb
[poincare] When app memory exception, got to Home app
2018-09-14 14:49:40 +02:00
Léa Saviot
6deaef49b8
[poincare] When memory exception, stay in the app and display popup
2018-09-14 13:43:54 +02:00
Émilie Feral
c95c3145bc
Merge remote-tracking branch 'github/master' into Tree
2018-09-13 17:03:31 +02:00
Léa Saviot
f240899fc7
[poincare] Put the exception handler before Container::run
2018-09-13 16:02:58 +02:00
Romain Goyet
9b177e8501
[poincare] use Poincare::ExceptionCheckpoint to handle exceptions
2018-09-12 14:11:20 +02:00
Léa Saviot
679f9815c1
[poincare] Put setjmp in apps_container and in Expression::parse
2018-09-05 14:37:52 +02:00
Émilie Feral
7d358a2646
Merge branch 'rtc_part1' of https://github.com/boricj/epsilon into exam_mode_boricj
2018-08-22 17:20:04 +02:00
Émilie Feral
aefcf5262d
[apps] On a plugging event, the brightness is set a its prefered level instead
...
of the maximum level
2018-05-09 09:51:14 +02:00
Romain Goyet
339ec330c1
[apps] Don't SU prompt in the hardware test
2018-05-04 17:04:24 +02:00
Romain Goyet
69545b9cf9
[apps] Handle Ion::Events::USBPlug in processEvent
...
This gives apps a chance to catch this event. This is used in the
hardware test.
2018-05-04 17:04:24 +02:00
Léa Saviot
e846e31029
[usb] Clear interrupt on "false" ENUMDNE
...
Fixes a bug where the device would not get enumerated even if the plug
state was detected (an ENUMDNE interrupt had not been cleared, thus the
new enumeration attempt was not detected).
Change-Id: I19622221fc077965ed3cab5322944e4c2c89fde4
2018-04-16 10:48:11 +02:00
Léa Saviot
2a251626a6
[apps] When leaving USB mode, go to the last active app.
...
Change-Id: I4c6276525f119cdc9e45bac24629c6ec4ea7b0fe
2018-04-11 11:01:08 +02:00
Léa Saviot
28b9e8c301
[apps] If USB connection stops onBoardingApp, relaunch it when leaving USB.
...
Change-Id: I16274134699ff708bf61d64471f6a0ed870ec2ee
2018-04-11 09:54:44 +02:00
Léa Saviot
f0532b7f97
[apps] Dismiss the Exam mode before connecting the calculator.
...
Change-Id: If9754841aaa17c677a451387c8c7ec43926890da
2018-04-10 11:30:15 +02:00
Léa Saviot
0441fa5119
[usb] Fix rad/deg that did not appear when plugging USB while onboarding
...
Refresh the apps container preferrences before on-boarding app: this
way, if the calculator is plugged during the onboarding, the
"deg/rad" symbol will still appear after the calculator in unplugged.
Change-Id: Iafa6a94ba725285712e86ab37c8dde54b46d3706
2018-04-06 14:31:49 +02:00
Léa Saviot
ee3f947757
[usb] Enable/disable USB when the cable is plugged/un-plugged.
...
Change-Id: I8aecf43b73ba5bb5c20e38ee2251b24ecb16f366
2018-04-06 14:31:48 +02:00
Léa Saviot
29df2e0acd
[apps] Remove USBTimer.
...
Change-Id: Ibe2f49149ce144f9fd5476d0cc69a97406171ef1
2018-04-06 14:31:48 +02:00
Léa Saviot
de25105f4a
[usb] Handle the usb Plugged detection in getEvent.
...
Change-Id: Idfba5925a7c79c722b0aad3a1c24799b31d88298
2018-04-06 14:31:48 +02:00
Léa Saviot
94847bad63
[usb] Switch application when disconnecting the usb.
...
Change-Id: Icec8e07c5f2e13a44d2bea34c0a6abc0c3c4ad7c
2018-04-06 14:31:47 +02:00
Léa Saviot
54b0de716d
[usb] Switch to the USB application on usb connect.
...
Change-Id: I822b154544bd8372b3301f34174b1c8bc44b91a3
2018-04-06 14:31:47 +02:00
Léa Saviot
5e07048bb6
[usb] To exit USB, scan if the usb is plugged or the Back key pressed
...
Change-Id: If92c0db8be6d07a91582c4a2d4ed0c3927020e43
2018-04-06 14:31:46 +02:00
Léa Saviot
c518d89ca0
[usb] Remove debug blue screen code.
...
Change-Id: I46c6b5027a5074adb0ec195d5125832ea5fce456
2018-04-06 14:31:45 +02:00