Commit Graph

117 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
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
Léa Saviot
0419713de0 [ion/usb] Remove Ion::USB::removeSoftDisconnect()
Change-Id: I02268dc52aefa9d9d90ed559757f005af49f4732
2018-04-09 15:36:44 +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
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
562e419fc3 [ion] Handle USBEnumeration event like USBPlug.
Change-Id: I70c1dc92fdba8e56508a1dce65ad30a771326a30
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
d753e6e781 [ion] Move Ion::reset to Ion::Device::core/jumpReset
Change-Id: I3032c3e1b9a8f944cd321670c7be6586ba6d973b
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
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
Romain Goyet
5c86a07481 [ion] Add the ability to perform a jump-reset 2018-04-04 10:38:52 +02:00
Émilie Feral
ae086adfcf Clean 2018-03-22 14:01:38 +01:00
Émilie Feral
75292ed749 [ion] Storage: change tags around storage 2018-03-22 14:01:38 +01:00
Émilie Feral
3bc16637a0 [ion] Storage: add comment on Record 2018-03-22 14:01:38 +01:00
Émilie Feral
845fc7c979 [ion] Typo: NoEnough -> NotEnough 2018-03-22 14:01:38 +01:00
Émilie Feral
b0ede47d55 [ion] Change Storage design (former kallax) 2018-03-22 14:01:38 +01:00
Émilie Feral
f9656fd94f [ion] Namespace Record and Kallax 2018-03-22 14:01:38 +01:00
Émilie Feral
aa984bca74 [escher][ion] Move Record and Kallax in Ion/ 2018-03-22 14:01:38 +01:00
Émilie Feral
37ff8dc0a3 [ion] Give the options to ion_app that becomes ion_main 2018-03-22 11:58:56 +01:00
Romain Goyet
c0a9ec1c91 [emscripten] Events can be enqueued 2018-03-21 15:54:17 +01:00
Léa Saviot
5ec88dff8e [poincare] EmptyExpression now exist and can be parsed.
Change-Id: I226026fc866c556d9bf4f57c3622f71136dc841c
2018-01-15 11:58:06 +01:00
Émilie Feral
975f54c7b2 [ion] Change events name: Origin->ShiftLeft, End->ShiftRight 2017-12-07 17:42:39 +01:00
Émilie Feral
3f0328f5b5 Add assertions for dangerous bit shift that could trigger undefined
behaviour

Change-Id: I051ed229d407eafcae1ea4b5fc745176a751e036
2017-12-01 11:53:55 +01:00
Romain Goyet
52bdf4a41f Merge branch 'cas_with_app_copy' into python_console 2017-11-21 18:44:38 +01:00
Émilie Feral
5fd8fda4b1 [calculation] Display exact and approximate results
Change-Id: Id5fe5b5db464c45f09bd1a1285def95e738a78c7
2017-11-21 17:37:25 +01:00
Émilie Feral
e3057d5c2b [poincare] Change multiplication sign
Change-Id: If58f62fa181ce7aac441d42d44ea65d68f0d6421
2017-10-25 18:19:01 +02:00
Ian Abbott
357d76515b [ion][apps] Remove redundant AlphaLockShift state
Since the 'shift' key can now toggle between the AlphaLock and
ShiftAlphaLock states, there is no way to enter the AlphaLockShift
state, so remove it.
2017-09-26 17:44:25 +02:00
Damien Nicolet
6392735e70 Add orgin/end keyboard shortcuts, by pressing shift left or shift right 2017-09-20 10:16:34 +02:00
Émilie Feral
8fd329d167 [ion] Fix alpha and shift modifiers for emscripten
Change-Id: If8ae07048dddbcf77c18a7c9f06160359f6638ba
2017-08-25 11:20:49 +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
2900b901ba [ion] Clean alpha shift event modifiers
Change-Id: I6dd667fb12c0cd3d3e90a6f98da0bd56780dcff6
2017-06-30 10:42:30 +02:00
Émilie Feral
e37f1418e5 Clean DEBUG macro
Change-Id: I5acf266d565045468c6fba19b1ca493773ae78bc
2017-06-16 15:08:14 +02:00
Émilie Feral
6a888136c3 [apps/settings] Add FCC ID in about menu
Change-Id: Iafe06e56591399a1442b8de64257990ffa23ddac
2017-06-02 14:16:55 +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
Émilie Feral
339afe0787 [escher] Add an event "TimerTick"
Change-Id: Ib6d1cacdf13226d37b1a8fdf6ecf8a92d077a96f
2017-05-22 16:35:27 +02:00
Émilie Feral
0e158d7817 [apps/hardware_test] Clean controller (without resolving bug ...)
Change-Id: I8b0fdf1101e2ca69e0ed03490aa96670c7e70ee4
2017-05-19 10:55:44 +02:00
Émilie Feral
b6b0e90966 [ion] In suspend, enable to wait until power release before suspending
Change-Id: I175998b450c3ef668280c00226be64e23f572a37
2017-05-09 17:15:45 +02:00
Romain Goyet
61ed9a128f [ion] Add a test for the events
Change-Id: Ia15b137b151831a7b4140c176f41621dad1f48ef
2017-05-01 21:57:53 +02:00
Romain Goyet
cc31953d88 [ion] Event::isDefined instead of isValid
Change-Id: If5927200fbc0b5395496294e37d06d502452f311
2017-05-01 21:57:53 +02:00
Romain Goyet
0764a7dda3 [ion] Add Event::Termination
Change-Id: I7f417700d85f0298483564268609a5298ecc0022
2017-05-01 21:57:52 +02:00
Romain Goyet
3ac05e983b [ion] Introduce Event::isKeyboardEvent/isSpecialEvent
Change-Id: Iddfe95ec86f1024bec537542af22febcd2d0087a
2017-05-01 21:57:52 +02:00
Romain Goyet
fcd01a9655 [ion] Add Event::isValid
Change-Id: I0bf217f185772ca1f27aca66a704dbee30509907
2017-05-01 16:00:58 +02:00
Émilie Feral
c2b6777b58 [apps] Extinction and backlight timers
Change-Id: I91daf6ab78fff9ec4bc924915a17a559f9ddfa63
2017-04-25 11:00:04 +02:00
Émilie Feral
3743ae6bce [ion] In events keyboard, implement shift-alpha-lock
Change-Id: I6377c6ce7ca6468ca884c90dbfb1b4b15098fab9
2017-04-21 10:08:09 +02:00
Romain Goyet
e19b2b9085 [ion] Add a Display::waitForVBlank method
Change-Id: Ie744ec4a73eeb7c2d7c549fd7f47ff4c74aab5ee
2017-04-10 15:29:18 +02:00
Émilie Feral
3261701d2d [ion] Add a method to know if the USB is plugged
Change-Id: I040ce7996bbec121c71d57a5092ffae4f5f76025
2017-04-07 14:40:34 +02:00
Émilie Feral
7091b2ea35 [ion] Add software version, patch level and serial number
Change-Id: I011eeb2d8596f63e0c2fdedf353d544dc8a8a202
2017-04-04 14:18:11 +02:00
Romain Goyet
a85158d4ce [ion] Introduce Ion::Keyboard::State
Change-Id: I8da2814365391c3c23f2011f92532269b7a4381d
2017-03-30 17:48:14 +02:00