É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
Léa Saviot
b7829a0937
[usb] Change apps and relocate usb stack on ram.
...
When the device is plugged to a USB host.
Change-Id: I5d7ae3c86cacce509b6ccca2746984f7e806cb49
2018-04-06 14:31:45 +02:00
Émilie Feral
959f498c2d
[apps] When only two apps are built, boot directly on the non-home app
2018-03-22 11:58:56 +01:00
Jean-Baptiste Boric
2d088473a5
Reimplement LED charging
...
Fixes #196
2018-02-04 20:08:32 +01:00
Romain Goyet
489b26e813
Re-organize and re-prefix the Makefile variables
2018-02-02 14:30:35 +01:00
Romain Goyet
67f082f4e8
[emscripten] Use emterpreter
...
This allows us to control the runloop
2018-02-01 14:10:26 +01:00
Romain Goyet
0682d21a32
[python] Implement ExecutionEnvironment::input
...
By using a re-entrant RunLoop call
2018-02-01 14:10:26 +01:00
Léa Saviot
1ce6f36651
[code] Fixed the wait for user input after drawing using Python.
...
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
2017-12-01 13:19:28 +01:00
Romain Goyet
52bdf4a41f
Merge branch 'cas_with_app_copy' into python_console
2017-11-21 18:44:38 +01:00
Léa Saviot
fc603df886
[code] Activate AlphaLock mode when renaming a script.
...
Default Alphalock mode when finishing or aborting edition.
Change-Id: I6455d5e18957c822de34271c53b64be43a5099ea
2017-11-17 11:59:50 +01:00
Léa Saviot
98f2db900c
[apps] Cleaned useless functions for updating the title bar.
...
Change-Id: I119d1bd29aef1be4b65a9281d21400b81f801cc6
2017-11-17 11:59:50 +01:00
Émilie Feral
23629b0939
[poincare] Restructuration of poincare (no duplication of children
...
storage)
Change-Id: Ia10c3cc83e10d238750c6954b7c093d26b762c94
2017-09-21 13:49:06 +02:00
Romain Goyet
173c0249a2
[apps] Split the AppsContainer
...
Most classes who use AppsContainer don't need to know its whole memory
layout. Let's split AppsContainer in two, and only run will use complete
version.
2017-09-20 11:18:39 +02:00
Émilie Feral
7c1d540a87
[apps] Add a brightness level in preferences
2017-09-06 17:34:18 +02:00
Émilie Feral
ad3b0365a6
[on_boarding] Namespace update controller
...
Change-Id: I16f098811151f688f6572d7f44ceea390cd9eb1f
2017-08-17 16:21:21 +02:00
Émilie Feral
68cd3f4574
[apps][ion] Discard shift alpha status when switching app or switch off
...
Change-Id: I955276168c9e31f7aebccbe0d57e8f15bb030e7e
2017-08-17 16:21:21 +02:00
Émilie Feral
8e5691bcc7
[escher] In container, initiate the window when switching to first app
...
Change-Id: I782f017320279cdd2076b950f10ee6a9e7d69ffa
2017-08-17 16:21:20 +02:00
Romain Goyet
19cf3a4958
[apps] Add a code app
...
Change-Id: Icc72c378a6434b5d3b0af74f23e31ea7514882b8
2017-08-03 23:28:56 +02:00
Émilie Feral
ac8df4f791
[apps] Fix bug: redraw window if alpha shift mode has changed
...
Change-Id: I27e450d007b3adbd96ae95026f0fa6e4016ee6bb
2017-07-28 11:30:25 +02:00
Émilie Feral
1011fae644
[apps] Clean dispatch event apps container
...
Change-Id: I960fffd914c3b3e821e0654a7ad20318b5a7c807
2017-07-10 10:11:24 +02:00
Émilie Feral
e0f2fcb2f6
[escher] App can have timers that are ticked when the app is active
...
Change-Id: I2033a99fb2ebff030934b02d6128dce721012979
2017-06-30 11:21:33 +02:00
Romain Goyet
23b20e0b2e
Avoid resetting the timers if the event is not a keyboard one
...
Change-Id: I637c1e36630f88f68cf057c81ea2f54e649863d4
2017-06-28 11:19:42 +02:00
Émilie Feral
1c590bc690
[apps] Change name Macro: SOFTWARE_NEEDS_UPDATE to
...
OS_WITH_SOFTWARE_UPDATE_PROMPT
Change-Id: Ica72f098b8ed1a079f6a791a0adc5a2e981cc63f
2017-06-16 14:53:22 +02:00
Émilie Feral
6ef5955c43
Change macro ON_BOARDING to OS_WITH_ONBOARDING_APP
...
Change-Id: I355c8164f0ed78d1c9f9bfa39cb2b185c509423a
2017-06-16 14:49:43 +02:00
Émilie Feral
442fe1e75d
[apps] Add a macro SOFTWARE_NEEDS_UPDATE
...
Change-Id: I70b0dd29455e0bcf84ba73ff31e8adb93f2c843a
2017-06-16 14:01:29 +02:00
Émilie Feral
5221d13e55
[apps] Fix bug: the title bar view does not display preferences in the
...
right language
Change-Id: Ia95522a0fb0fd833fab2405fff92c4ae585459ed
2017-06-08 18:30:46 +02:00
Émilie Feral
d7091397e5
[escher] Rule of 5 in view
...
Change-Id: Iba04e9046845b544e184530562e34f831fce96f6
2017-05-24 15:32:22 +02:00
Émilie Feral
d9f2604926
[build] Display on boarding app only with make PLATFORM=device
...
ON_BOARDING=1
Change-Id: Iada91f419d8e083326cf146b6cf3b6fa8c029486
2017-05-24 14:26:19 +02:00
Émilie Feral
dee5f315a9
[apps] Init and quit the app in the "run" method of apps container
...
Change-Id: I3eb5adedca57fede14c4af67d72cbde697188000
2017-05-23 16:15:35 +02:00
Émilie Feral
c644a8d4f7
[escher] Fix bug: do not redraw window at each timer fire but only for
...
timer requiring redraw
Change-Id: Ia39a35185a4836809970f5ba77cc76a8b2e6ee26
2017-05-23 15:25:00 +02:00
Émilie Feral
f9a1caa8eb
[ion] Add a class State in Keyboard
...
Change-Id: I42b2c892deaedc83a7629d8c8be66cd4e1fbcb5c
2017-05-23 15:24:55 +02:00