Commit Graph

311 Commits

Author SHA1 Message Date
Émilie Feral
de9285b73e Merge changes Ic9989cf3,I8a638f31
* changes:
  [ion/device] Clean up DMA usage for the display
  [ion] Fix the events_replay generator
2017-05-24 18:14:10 +02:00
Romain Goyet
cbdbcc283d [ion/device] Clean up DMA usage for the display
Change-Id: Ic9989cf3de95cb15191d15473f839e89121c99cd
2017-05-23 17:34:37 +02:00
Romain Goyet
c5c754031c [ion] Fix the events_replay generator
Change-Id: I8a638f31c64ca74f277bada4c94323b4d4dd2b29
2017-05-23 16:56:17 +02:00
Émilie Feral
1bf018017a Merge "[ion] Abort suspend when the USB is plugged" 2017-05-23 16:01:16 +02:00
Émilie Feral
abee7f8c1b [ion] Abort suspend when the USB is plugged
Change-Id: I92828ca7879bb4ff189d55660ab3e894c90ee387
2017-05-23 15:58:07 +02:00
Émilie Feral
bda4d46fae Merge changes Iebf9237d,Ia39a3518,I42b2c892,I710adab0,Ia35eb1cc, ...
* changes:
  [poincare] Resolve warning
  [escher] Fix bug: do not redraw window at each timer fire but only for timer requiring redraw
  [ion] Add a class State in Keyboard
  [liba] Correct __aeabi_llsr, __aeabi_llsl with tests
  [poincare] Change association rules in parser
  [apps/settings] Open hardware test with 6, t or T events
  [apps/calculation] Insert ans when starting expression with -, ^, *, +, /
  [i18n] Change message: "Valeurs"->"Tableau"
  [i18n] Change message
  [escher] Repaire optimal size for message text view
2017-05-23 15:39:42 +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
193a253eff Merge changes Ia2b70ceb,Ifcba1f46,Ib6d1cacd
* changes:
  [apps/sequence][apps/graph] Reimplement checksum to avoid risking overflowing the stack
  [escher] Clean
  [escher] Add an event "TimerTick"
2017-05-23 15:10:02 +02:00
Émilie Feral
d3908fd861 Merge changes If31db838,I76f9c9d7,I651deb9a,Ic59df28d
* changes:
  [apps/hardware_test] Redesign app
  [ion] COrrect potential bug
  [liba] Implement llsl
  [liba] Clean
2017-05-23 15:09:39 +02:00
Romain Goyet
eef1bcaff4 Merge "[ion/device] Fix the location of the version informations" 2017-05-23 11:54:42 +02:00
Romain Goyet
1f8dc0cdcb [ion/device] Fix the location of the version informations
Change-Id: I9991f2b0c9a4ee678bd27f2e619f8772678a84f0
2017-05-23 09:53:32 +02:00
Émilie Feral
893f8bb17b [ion] COrrect potential bug
Change-Id: I76f9c9d75f8f659fb69b3e027e7ff69fd8e06794
2017-05-22 16:35:27 +02:00
Émilie Feral
339afe0787 [escher] Add an event "TimerTick"
Change-Id: Ib6d1cacdf13226d37b1a8fdf6ecf8a92d077a96f
2017-05-22 16:35:27 +02:00
Émilie Feral
8059aeabdc Merge changes I99fdaf11,Ia86c06fa,Ica2af810,If80b6267,Ib50a7f7f, ...
* changes:
  [i18n] Change messages
  [apps/regression] When predicting regression, select the line instead of dots
  [i18n] Change message: loi Poisson->loi de Poisson
  [apps/sequence] Give an example of content in recurrent sequences
  [ion] Suspend end by clicking on power and only on power at a time
  [apps/home] Improve rendering
2017-05-22 15:55:05 +02:00
Émilie Feral
083cd3065e Merge changes I48b242ff,I8b0fdf11,If10a7d85
* changes:
  [escher] Add a data source to tab to be hold by snapshots
  [apps/hardware_test] Clean controller (without resolving bug ...)
  [apps/home] Make the snapshot selectable table view data source
2017-05-22 15:44:12 +02:00
Émilie Feral
93dc6c3d25 [ion] Suspend end by clicking on power and only on power at a time
Change-Id: Ib50a7f7fc2aac147a41bf580c3c210710075315f
2017-05-19 13:59:29 +02:00
Émilie Feral
0e158d7817 [apps/hardware_test] Clean controller (without resolving bug ...)
Change-Id: I8b0fdf1101e2ca69e0ed03490aa96670c7e70ee4
2017-05-19 10:55:44 +02:00
Romain Goyet
a1552b2fa1 [ion] Fix the emscripten build
Change-Id: Ia54c5de4191c47d9840854d9aad12f87a9110da3
2017-05-15 22:04:37 +02:00
Romain Goyet
ca3d71154c [ion/device] Bench doesn't need to sleep 500 miliseconds before suspend
Change-Id: Ib8150af789bf891da6f995237461fe9d97e737ec
2017-05-15 10:50:20 +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
Émilie Feral
b45232435e Merge branch 'master' of ssh://git.numworks.com/CalcOS into HEAD
Change-Id: I8e89c92f3373ee630b929c71de492573a134a3e4
2017-05-09 14:58:02 +02:00
Émilie Feral
82d5f22409 [ion/device] Restart only after a new power event
Change-Id: Id9fdf7b7544af83cc77180be66c3fad037f914af
2017-05-09 13:54:29 +01:00
Romain Goyet
4da1d07f3e [ion] Add an event_parser command-line tool
Change-Id: I33eb36b7f5ef89c274950dd46d5a356a9a437440
2017-05-09 11:17:01 +02:00
Romain Goyet
02c6ecf94b [ion/device] Add a SUSPEND commant to the test bench
Change-Id: Ie6c3a48e70e756b2c8a90df749375080b9fdb2dd
2017-05-09 10:46:03 +02:00
Émilie Feral
beeed6ab2b [ion] No led when charging in sleep mode
Change-Id: I8cdea4d435226fbc877e398909926c83642e0e55
2017-05-05 10:19:05 +02:00
Romain Goyet
8564d67efd [ion] Fix tools
Change-Id: I97b3770993adfd1b98b2eee24f9d3005842d8093
2017-05-03 17:06:12 +02:00
Émilie Feral
bea3a97786 [poincare] Interrupt too long event when back key is down
Change-Id: I668efec0aefdd5d3baf7973942d4f44165a05f07
2017-05-03 14:22:50 +02:00
Émilie Feral
50372eb935 [escher] Unload view is done after all methods viewWillDisappear,
willResignFirstResponder, didExitResponderChain

Change-Id: I04fa28783b8500f0312f451d4d83fe543f2da8f0
2017-05-03 14:22:44 +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
c1e01cffe5 [ion] Blackbox ignores undefined events
Change-Id: Iab18d5a66d4c872ec94c918442660203cdc9c8ed
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
ea0c8a4095 [ion] More accurate event map
Change-Id: I06723e69e07c9a0ca5817f66f939e64aae975f36
2017-05-01 21:57:53 +02:00
Romain Goyet
89e3baa26a [ion] Fix building of event tools
Change-Id: I0a5f9fec5b3c523ad62bba7dc80c5991b335552c
2017-05-01 21:57:53 +02:00
Romain Goyet
6c8fb277b0 [ion] Add an event printer tool
Change-Id: Ib87737f30fe9818cd5d0a61e9bdaa8ee009052ae
2017-05-01 21:57:52 +02:00
Romain Goyet
2c995aa277 [ion] Proper file IO for event tools
Change-Id: Ic80fb8bce350fc785a3b8fba76a228ce118c97ef
2017-05-01 21:57:52 +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
ebda4a17ea [ion] Clean Event::name()
Change-Id: I97c288168895c878d274bbf9a4256d5c606ef527
2017-05-01 21:57:52 +02:00
Romain Goyet
e8bbbd2db5 [ion] Add a host tool to generate random events
Change-Id: I5a4db0ed5dcf2a1ae8743c2d3cda8dde6bd5962d
2017-05-01 16:03:16 +02:00
Romain Goyet
d0988f6f09 [ion] Add a host command-line utility to filter valid events
Change-Id: Iaaa26ebf079152592a973c1f4658caa00f3f0651
2017-05-01 16:01:35 +02:00
Romain Goyet
fcd01a9655 [ion] Add Event::isValid
Change-Id: I0bf217f185772ca1f27aca66a704dbee30509907
2017-05-01 16:00:58 +02:00
Romain Goyet
2e59e21e4e [ion] Avoid negation in getter
Change-Id: Id700e80a57cf0bc828c101ad2e6d52492549d943
2017-05-01 15:17:53 +02:00
Émilie Feral
dd958dcbd8 [ion] Dummy implementation of alpha/lock active methods in blackbox
Change-Id: I707f157bcab5be0afe07b3ddb630ea36d34bcef9
2017-04-26 18:22:12 +02:00
Romain Goyet
6ec33e6804 [ion] Add a guardian
Change-Id: I5bb2173f7c83f3ac82590f8675fdaea1c65f1c0a
2017-04-26 11:18:01 +02:00
Romain Goyet
777ba19436 [ion] Only enable the blackbox framebuffer if needed
Change-Id: I87348f31063790a7fd048654f4e68395fc8221b3
2017-04-26 10:17:20 +01:00
Romain Goyet
121fc6b342 [ion] Blackbox now logs events and screen
Change-Id: I54d96af260b6977ca4e6c4c0f220e2e231e4561f
2017-04-26 11:11:52 +02:00
Romain Goyet
7f4ac05b55 [ion] Share the dummy battery implementation
Change-Id: Id85dc5b65bc31bc59e8a130b9f18077eaa37f4d3
2017-04-25 17:03:50 +02:00
Romain Goyet
5a1e890eeb [ion] Share the dummy backlight implementation
Change-Id: Id9dcaa0a72d10cd2ff3a147ebf6443725639ebd2
2017-04-25 14:04:40 +02:00
Émilie Feral
c2b6777b58 [apps] Extinction and backlight timers
Change-Id: I91daf6ab78fff9ec4bc924915a17a559f9ddfa63
2017-04-25 11:00:04 +02:00