Ruben Dashyan
a0e6151b26
[*container] Remove static Container::sharedContainer
2019-07-19 15:06:25 +02:00
Ruben Dashyan
80981ce865
[escher/container] Make activeApp static
2019-07-19 15:06:25 +02:00
Ruben Dashyan
443f974cbb
[escher/container] Inline activeApp() accessor
2019-07-19 15:06:25 +02:00
Ruben Dashyan
268ad3f3ba
Access the shared container from escher and apps
2019-07-19 15:06:25 +02:00
Léa Saviot
a7208ade0f
[apps] Container::switchTo returns a bool (false if could not switch)
2019-01-22 14:57:51 +01:00
Léa Saviot
4128ebb864
[escher] In container, check the app can be exited before switching apps
2019-01-22 14:57:51 +01:00
Léa Saviot
266cc79d32
[escher] Remove unneeded include
2018-11-15 10:26:34 +01:00
Léa Saviot
9a289dc7eb
[poincare] When app memory exception, got to Home app
2018-09-14 14:49:40 +02:00
Léa Saviot
6deaef49b8
[poincare] When memory exception, stay in the app and display popup
2018-09-14 13:43:54 +02:00
Émilie Feral
75d89b6270
[escher] Container destructor: call m_activeApp destructor instead of
...
deleting it (it was created using placement new)
2018-09-06 15:56:31 +02:00
Léa Saviot
679f9815c1
[poincare] Put setjmp in apps_container and in Expression::parse
2018-09-05 14:37:52 +02:00
Émilie Feral
7f6ee28f4e
[escher] Move redraw method from App::didBecomeActive to
...
Container::switchTo
Change-Id: Ifa8bd2a37a754257d1f44d64b789f2efd25f96de
2017-08-17 16:21:21 +02:00
Émilie Feral
8e5691bcc7
[escher] In container, initiate the window when switching to first app
...
Change-Id: I782f017320279cdd2076b950f10ee6a9e7d69ffa
2017-08-17 16:21:20 +02:00
Émilie Feral
e0f2fcb2f6
[escher] App can have timers that are ticked when the app is active
...
Change-Id: I2033a99fb2ebff030934b02d6128dce721012979
2017-06-30 11:21:33 +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
f1665817ac
[escher] Clean
...
Change-Id: Ifcba1f46281198d2ed45c3140952c25f6d6efaeb
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
71284311bb
[escher] [apps] Implement app snapshot
...
Change-Id: I24d7eed7cef964af8be1c85222e758c297dc0da1
2017-05-18 14:16:41 +02:00
Émilie Feral
06de0dd9db
[escher] Only one app is on the heap at one time
...
Change-Id: I6c77601cb0cc883083a4dd05370ca543fa7951cc
2017-05-18 14:16:41 +02:00
Émilie Feral
a30bdf0d8d
[escher] Redraw the window when a timer fires
...
Change-Id: Ib62ad7ec9641e6da61f8c3cbf00fbd470d46326c
2017-05-18 14:16:41 +02:00
Émilie Feral
695c8812bb
[apps] Handle back event
...
Change-Id: I5d4502fa4ba6cc55a7bf1da90687a129ef322d34
2017-03-07 14:34:47 +01:00
Romain Goyet
ebb633ff23
[escher] Add RunLoop and Timer
...
Change-Id: Icb5b2e82cc9fe999eb4b1c7e9dff75ca92dcca43
2017-03-07 11:00:00 +01:00
Émilie Feral
eac22a2dcc
Merge changes Ic5b222a4,If3eb5588,I7754b4a5,I646e605c,I47eeefb5
...
* changes:
[apps/graph] Fix bug: select the right column title when hiding and displaying derivative column in value page
[escher] In container, avoir useless switchApp
[poincare] Change name DisplayMode -> FloatDisplayMode
[apps/shared] Avoid container casting when possible
[apps/shared] Correct bug in checksum
2017-02-20 09:35:17 +01:00
Émilie Feral
9b3baab25d
Merge "[escher] Add methods viewWillAppear/Disappear in view controller instead of keeping track of dataHasChanged in the selectable table view"
2017-02-20 09:34:59 +01:00
Émilie Feral
e89d86dbc7
[escher] In container, avoir useless switchApp
...
Change-Id: If3eb5588ba9c4ff63e1c2a910506f28f3a5c494f
2017-02-17 16:35:08 +01:00
Émilie Feral
6f138e6b1c
[escher] Add methods viewWillAppear/Disappear in view controller instead
...
of keeping track of dataHasChanged in the selectable table view
Change-Id: Id2626f527f44714e29b9bd66e2c843193e1b57b5
2017-02-17 16:35:07 +01:00
Romain Goyet
b2823dc624
[Escher] Allow binary logging of events with a #define
...
Change-Id: Ia056b8681ac9274e8b24182f8d3e4e62e69bf6a5
2017-02-16 11:08:29 +01:00
Émilie Feral
a4df89d2f5
[escher] [apps] Add a title bar in all apps
...
Change-Id: If545e9b6cd96aa1189d83120f047ac7746a5a9d6
2017-01-27 11:20:20 +01:00
Romain Goyet
f5ea9cb2d3
[ion] Introduce Ion::Events::None
...
Which allows Ion::Events::getEvent to be non-blocking
Change-Id: I2715b10ace2ecbac153b0f7d00ea5f2ca5de399c
2016-11-11 16:06:29 +01:00
Romain Goyet
ade7f0480b
[ion] Initial emscripten support
...
Change-Id: Id76a45c5c723fae11387e20458bc9555689b9a48
2016-11-06 12:06:02 +01:00
Romain Goyet
205f149467
[escher] Split the Container::run method
...
Change-Id: Id62824110f2945c94b39fecd5387a725aee424a1
2016-11-06 12:02:27 +01:00
Romain Goyet
416a14d512
[escher] Changing a window's content makes it dirty
...
Change-Id: I37a06abb72388312c50d406e6048e63f6898315c
2016-10-04 17:15:53 +02:00
Émilie Feral
dec5ff2a89
[escher] clean double call to redraw in container
...
Change-Id: I85f9d37278dc4e51f8995eba64e6769f6ca71988
2016-09-15 11:06:34 +02:00
Romain Goyet
753a4a7cb5
[Ion] Move to C++
...
Change-Id: Id75fca5e92a3fdf18258015bcda7cd70297b0fdb
2016-08-23 16:30:15 +02:00
Romain Goyet
7789123913
[Escher] Add a Container that lets us run multiple apps
...
Change-Id: I674348ed0ff48934eb248dc48735f4ba13c34692
2016-08-12 15:15:28 +02:00