Commit Graph

295 Commits

Author SHA1 Message Date
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
Ian Abbott
68eacca570 [ion] Toggle between AlphaLock and ShiftAlphaLock
Change the behaviour of the 'shift' key in the AlphaLock and
ShiftAlphaLock states to toggle between the two.  This makes it easy to
switch between upper case and lower case letters in ALPHA-lock mode,
although the common case of entering words with isolated captital
letters in alpha-lock mode now involves additional presses of the
'shift' key.

With this change, it is impossible to enter the AlphaLockShift state.
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
Adrien Bertrand
f287148844 [ion] fix crc32 for loop variable type 2017-09-04 21:34:30 +02:00
Adrien Bertrand
4373bdeda4 [ion] [simulator] key chars: use unicode escapes 2017-09-01 14:15:37 +02:00
Adrien Bertrand
520775901b [ion] [simulator] more realistic button labels 2017-09-01 14:15:37 +02:00
EmilieNumworks
6e1a00c786 Merge pull request #57 from jacobly0/feature/automated-testing
Automated testing on travis using the blackbox.
2017-09-01 02:39:49 -07:00
EmilieNumworks
5ecb7d57d6 Merge pull request #36 from boricj/fixup_keys_ion_simulator
[ion/simulator] Improve key mapping
2017-09-01 01:59:46 -07:00
Jacob Young
2e105036ff Use the blackbox platform to run the tests on travis. 2017-09-01 04:00:28 -04:00
Jacob Young
4e6f673c03 Fix hex conversion for digits > 9. 2017-08-31 21:14:18 -04:00
Jean-Baptiste Boric
7d79a01ed2 [ion/simulator] Improve key mapping 2017-08-30 21:30:59 +02:00
EmilieNumworks
ea56a74955 Merge pull request #18 from jacobly0/fix-simulator-msleep
[ion] Fix simulator msleep
2017-08-30 10:34:37 +02:00
Jacob Young
d21d5594f9 Fix #7 fix #11 by using millisecond units in msleep (microseconds would be in usleep). 2017-08-30 03:42:14 -04:00
Jacob Young
67d4df5f59 Fix #9 by deactivating empty keys. 2017-08-30 03:39:23 -04:00
Romain Goyet
c451b56418 emscripten: set the language from command-line arguments
Change-Id: I8bac1670c4c01e974f6303c9aa392a12c5d2fac0
2017-08-28 14:16:10 +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
ca1494eef7 [ion] Include signal in blackbox boot
Change-Id: I69af8d0759caf38781475a7b245b5754bef6220a
2017-08-24 14:05:24 +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
e0676d9cfc [ion] Fix dummy events modifier
Change-Id: If79f8e61c275189bc72ad2cbe035609e4c31d694
2017-08-17 09:31:59 +02:00
Émilie Feral
82e212e771 [poincare] Template for double
Change-Id: I7404bd5cefc9ef78a5dbd572c3874a557cded28e
2017-08-16 09:55:29 +02:00
Émilie Feral
018013e323 Merge changes I4fcc116c,I2033a99f,I6dd667fb
* changes:
  [apps/hardware_test] Clean plugging USB test
  [escher] App can have timers that are ticked when the app is active
  [ion] Clean alpha shift event modifiers
2017-07-28 10:19:15 +02:00
Romain Goyet
70174638df [ion] Fix sending events to emscripten build
Change-Id: I9306554044a0b2fe2ee26769cc66a2684a05bebe
2017-07-21 15:12:38 +02:00
Romain Goyet
80c6d052f2 [ion] Emscripten display uses an internal framebuffer
We operate on a framebuffer (push/pull rect), and then copy it all to
the screen at once. This avoids reading back from video memory. All in
all, it goes *much* faster this way.

Change-Id: I472d35988fde876906a9be71e0666b2c238114b3
2017-07-21 14:02:12 +02:00
Émilie Feral
2900b901ba [ion] Clean alpha shift event modifiers
Change-Id: I6dd667fb12c0cd3d3e90a6f98da0bd56780dcff6
2017-06-30 10:42:30 +02:00
Romain Goyet
4c3e62e6a5 Fix LCD timings
Fixes some noise on a few sensitive panels

Change-Id: Ie6117a629455e1d487a8dd824fd8b73529c90e5f
2017-06-29 11:26:13 +02:00
Romain Goyet
be7b20e5a0 Proper letter ordering in the serial number
Change-Id: Ief7fbd7c4a80025831b2af21a970130dd31bfddd
2017-06-21 18:18:52 +02:00
Émilie Feral
8be899b19a [ion] Repare blackbox
Change-Id: Icc705241a659e37767cb363be35cbe5fa8070cab
2017-06-21 11:52:57 +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
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
f9a1caa8eb [ion] Add a class State in Keyboard
Change-Id: I42b2c892deaedc83a7629d8c8be66cd4e1fbcb5c
2017-05-23 15:24:55 +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
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
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
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