Commit Graph

1797 Commits

Author SHA1 Message Date
Léa Saviot
e90b3fd1cd Merge branch 'SaisieJolieMerge10Apr' into SaisieJolieMerge11Apr (master)
Change-Id: I06732115ee37ffd9a037a8412e1c57751dfb3e0f
2018-04-12 09:58:09 +02:00
Léa Saviot
0fcd2a90f6 [apps] Fix comment aesthetics
Change-Id: I3e91391f0751515efe50ec4e4335a2421f2acbee
2018-04-11 17:11:05 +02:00
Léa Saviot
88aaab64ba [apps] Fix obsolete code in Code and Shared
Change-Id: Ie6ce0f753bf05cb5f6dd5ed974db2a715b21624e
2018-04-11 17:10:09 +02:00
Léa Saviot
749c93e1af [apps/sequence] Fix obsolete code.
Change-Id: I4f6c1792ac245c072a3d70108a55518473c3fe80
2018-04-11 16:56:35 +02:00
Léa Saviot
5984b24107 [apps] Remove obsolete StringLayout.
Change-Id: Ib8ef9f6b89ead2674b3bc1f19131afdd73f0e823
2018-04-11 16:53:38 +02:00
Émilie Feral
b566676a76 [apps] Memoize matrix layout displayed in Variable box in global context 2018-04-11 11:53:52 +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
cbaba85daa [apps] Fix missing arguments in layout creation.
Change-Id: If819c6f8d067b80d5672774ca303b68e21cf0d7a
2018-04-11 10:41:28 +02:00
Léa Saviot
2146dd6422 [apps] Fix wrong method call
Change-Id: I2695d7c659f18edb1839cdf7c8282cc69862a4e5
2018-04-11 10:40:06 +02:00
Léa Saviot
6d3c67e9db [apps] Merge apps/sequence/graph/term_sum_controller.cpp
Change-Id: I9cbcbb73f4f475590762e29ab98999bd42906e74
2018-04-11 10:21:25 +02:00
Léa Saviot
6ae9361b6e [apps/code] Fix all scripts deletion.
Change-Id: I802673f3d6a8ec6643e11c221bb6dbd5c8ab2ef2
2018-04-11 10:04:18 +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
Romain Goyet
382537ccfe Merge branch 'github-master' 2018-04-10 18:28:15 +02:00
Léa Saviot
7991c5376f [apps] Fix typos
Change-Id: I650d0d98daab5959e9efab79b78905533316b85d
2018-04-10 18:14:55 +02:00
Léa Saviot
1c6e8119b3 [apps] Remove use of StringLayout
Change-Id: I4b8cac2fa778ebddb3e2b1f3f0f75182deb45a61
2018-04-10 18:03:19 +02:00
Émilie Feral
92d2c42ff8 [apps] Code: allocate the indentation buffer instead of using an
arbitrary value
2018-04-10 17:39:34 +02:00
Léa Saviot
c4b5d4cf40 Merge branch 'SaisieJolieRebase1201' into SaisieJolieMerge10Apr
Change-Id: I802dbb9f7c0eebf75a1b6cd21ddd194e89b53752
2018-04-10 17:21:54 +02:00
Romain Goyet
628992680b [ion] Ion::Storage is not a global variable anymore 2018-04-10 15:09:30 +02:00
Romain Goyet
5b379010d8 [apps] Don't make the apps_container_storage a global variable 2018-04-10 15:09:30 +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
Romain Goyet
b691d3d6ed Merge branch 'usb' 2018-04-09 14:48:18 +02:00
Léa Saviot
3e66d51a6e [apps/sequence] Reset first rank when changing sequence type to Explicit
Change-Id: I3f356ebf95f1f81ab4601f0654166f146a505c27
2018-04-09 14:44:20 +02:00
Émilie Feral
31f79c702a [apps] Code: when updating a script name, handle the event 'clear' to
keep '.py'
2018-04-09 14:42:45 +02:00
Émilie Feral
b714d9242e [apps] Code: when in input loop, handle 'up' event 2018-04-09 14:42:26 +02:00
Léa Saviot
bc9a7ec3f7 [apps/on_boarding] Fix Deutsh message for update.
Change-Id: Iced13c5d02ade43db62725a0a4911d2225b0c343
2018-04-06 14:31:49 +02:00
Léa Saviot
898d82532b [apps/usb] Translate "Calculator connected" message.
Change-Id: I225c262ab1af41becb47e29cde0e0a8b4ed97298
2018-04-06 14:31:49 +02:00
Léa Saviot
93744b9844 [apps/on_boarding] Fix typo in spanish update message.
Change-Id: I1389651a6872d0f85523bce82a31b762e642199a
2018-04-06 14:31:49 +02:00
Léa Saviot
50cc2a310b [apps] MessageView for OnBoarding update and USBConnected controllers
Change-Id: I3a775a81a62c408c9d02d98be25518d03fe5f9bf
2018-04-06 14:31:49 +02:00
Léa Saviot
3059f27c00 [apps/code] Remove un-necessary dependency.
Change-Id: I65a7b81b44aa1be6ff064e8fde0af23760fb5d7d
2018-04-06 14:31:49 +02:00
Léa Saviot
55d56b3927 [usb] Send real serial number in the device descriptor.
Change-Id: Ie64f2a0fb03913600c96986dab8171afaa6bf05b
2018-04-06 14:31:49 +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
b67e04214f [apps] Coding style.
Change-Id: I020cc98f87999b69e9c0d969126e9c1ae2f811f2
2018-04-06 14:31:48 +02:00
Léa Saviot
a4d132f0eb [usb] Change calculator connected message.
Change-Id: Ie5b053c33541811d3f6d6a1a2548c0960d634f9a
2018-04-06 14:31:48 +02:00
Léa Saviot
ff82ca26f2 [usb] Enable the USB core on calculator plugged.
Change-Id: I5b8ab068936524e775bb77a4569a2601e5a9844a
2018-04-06 14:31:48 +02:00
Léa Saviot
6a2f300c67 [usb] Share values between MessageController and USBConnectedController
Change-Id: I1f1f7f147adb7fe92baab3df42bb623e6a61893e
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
54eff38c34 [usb] USB aplication that displays the link to the workshop.
Change-Id: I8458fe2a7f1eb4f04fc63f9e0b49d251c20f4cb6
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
9289928fff [apps] Code: abort script name editing if MenuController exits responder
chain
2018-04-06 10:14:13 +02:00
Zhaofeng Li
6679cb0a20 [apps] Fix exam mode 2018-04-04 13:42:00 +02:00
Émilie Feral
9cadc49264 [apps] Code: Fix autoImportScript to avoid corrupting stack 2018-03-28 10:03:36 +02:00
Émilie Feral
f1ddf1dbf4 Valgrind: uninitialized value, memory leak 2018-03-28 10:02:09 +02:00
Émilie Feral
ae086adfcf Clean 2018-03-22 14:01:38 +01:00
Émilie Feral
845fc7c979 [ion] Typo: NoEnough -> NotEnough 2018-03-22 14:01:38 +01:00