------------------------------------------------------------
revno: 2480 [merge]
author: Andreas Pokorny <email address hidden>
committer: Tarmac
branch nick: development-branch
timestamp: Tue 2015-04-14 12:28:40 +0000
message:
Change EventHub to provide a mir::Fd for Integration in MultiplexingDispatchables
The motivation of the changes is to prepare EventHub & InputReader to become members of an evdev input platform.
InputReaderDispatchable: new Dispatchable implementation that wraps EventHub and InputReader
Changes to DefaultInputManager: the new input manager introduced with the stub input platform now uses InputReaderDispatchable to also drive the input devices opened by EventHub, and processed by InputReader, that way mir::input::android::InputManager becomes obsolete. This will later be moved to the platform code.
Changes to SimpleDispatchThread: The switch to DefaultInputManager uncovered a missing feature. The ability handle exceptions thrown from dispatchables. Since SimpleDispatchThread is part of common, and may also be used inside the client, this is solved by passing a functor.
Approved by Alan Griffiths, PS Jenkins bot, Chris Halse Rogers, Robert Carr, Alexandros Frantzis.
------------------------------------------------------------
Bisected. The regression came in:
------- ------- ------- ------- ------- ------- ------- ------- ---- patchables
revno: 2480 [merge]
author: Andreas Pokorny <email address hidden>
committer: Tarmac
branch nick: development-branch
timestamp: Tue 2015-04-14 12:28:40 +0000
message:
Change EventHub to provide a mir::Fd for Integration in MultiplexingDis
The motivation of the changes is to prepare EventHub & InputReader to become members of an evdev input platform. spatchable: new Dispatchable implementation that wraps EventHub and InputReader ager: the new input manager introduced with the stub input platform now uses InputReaderDisp atchable to also drive the input devices opened by EventHub, and processed by InputReader, that way mir::input: :android: :InputManager becomes obsolete. This will later be moved to the platform code. hread: The switch to DefaultInputManager uncovered a missing feature. The ability handle exceptions thrown from dispatchables. Since SimpleDispatchT hread is part of common, and may also be used inside the client, this is solved by passing a functor.
InputReaderDi
Changes to DefaultInputMan
Changes to SimpleDispatchT
Approved by Alan Griffiths, PS Jenkins bot, Chris Halse Rogers, Robert Carr, Alexandros Frantzis. ------- ------- ------- ------- ------- ------- ------- ----
-------