Commit Graph

21 Commits

Author SHA1 Message Date
Romain Goyet
67f082f4e8 [emscripten] Use emterpreter
This allows us to control the runloop
2018-02-01 14:10:26 +01:00
Émilie Feral
7aca44812e [ion] Correct random() implementation in simulator, blackbox and
emscripten
2018-01-23 10:24:52 +01:00
Jacob Young
e5868aaeab Add extra keyboard shortcuts to the emscripten platform. 2017-12-12 14:05:58 +01:00
Jacob Young
b5bf6002f9 Remove unnecessary namespace qualifiers. 2017-12-12 14:05:58 +01:00
Jacob Young
94e18f90e0 Add missing static. 2017-12-12 14:05:58 +01:00
Romain Goyet
1e538600e3 Add the ability to take a screenshot in the packaged web simulator 2017-12-12 09:43:06 +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
Léa Saviot
2aa1cb0256 [emscripten] Fixed Python computation interruption.
A dummy scan() was used, which stopped the computation with
shouldInterrupt().

Change-Id: I661a630bd1a83c6036513fb9a086c58ba542f25b
2017-11-17 16:42:39 +01:00
Romain Goyet
9a41ee8ad9 Add the ability to package the web simulator 2017-11-06 21:54:18 +01: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
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
6a888136c3 [apps/settings] Add FCC ID in about menu
Change-Id: Iafe06e56591399a1442b8de64257990ffa23ddac
2017-06-02 14:16:55 +02:00
Romain Goyet
a1552b2fa1 [ion] Fix the emscripten build
Change-Id: Ia54c5de4191c47d9840854d9aad12f87a9110da3
2017-05-15 22:04:37 +02:00
Romain Goyet
a94e8c314f Simplify the makefile configuration
Change-Id: I826916e0d0b23f7429a66dfa7001b19dcc53080a
2017-02-16 11:00:17 +01:00
Romain Goyet
a56a2a060e [ion] Share the Ion::Power::suspend stub
Change-Id: I6a278547a5b5d5caec796ad53e88bca706cbcad3
2017-01-25 11:04:29 +01:00
Romain Goyet
d9216522dc [ion/emscripten] Bigger buttons on mobile
Change-Id: I9326ab9a6dff6490de79ea75b9e1e5c2ecde4818
2016-11-21 14:04:16 +01:00
Romain Goyet
5dc34dd387 [ion] Emscripten backend handles text input
Change-Id: I615845e2b75b99b2a666cf956ed6cc219c95b204
2016-11-14 15:46:56 +01:00
Romain Goyet
5d9a3c2c92 [ion] Emscripten handles events from click
Change-Id: I81116dfd829fafc60d8aafd5edb7a925780900ff
2016-11-14 15:46:50 +01:00
Romain Goyet
ade7f0480b [ion] Initial emscripten support
Change-Id: Id76a45c5c723fae11387e20458bc9555689b9a48
2016-11-06 12:06:02 +01:00