lp:~andreas-pokorny/mir/key-repeater-on-timer-fd-utility
- Get this branch:
- bzr branch lp:~andreas-pokorny/mir/key-repeater-on-timer-fd-utility
Branch merges
- Mir CI Bot: Needs Fixing (continuous-integration)
- Mir development team: Pending requested
-
Diff: 875 lines (+771/-0)15 files modifiedinclude/common/mir/time/steady_timer_fd.h (+46/-0)
include/common/mir/time/timer_fd.h (+65/-0)
src/common/symbols.map (+6/-0)
src/common/time/CMakeLists.txt (+3/-0)
src/common/time/steady_timer_fd.cpp (+54/-0)
src/platforms/evdev/CMakeLists.txt (+9/-0)
src/platforms/evdev/key_repeater.cpp (+102/-0)
src/platforms/evdev/key_repeater.h (+67/-0)
src/platforms/evdev/steady_timer_fd_factory.cpp (+67/-0)
src/platforms/evdev/steady_timer_fd_factory.h (+48/-0)
src/platforms/evdev/timer_fd_factory.h (+47/-0)
tests/include/mir/test/doubles/fake_timer_fd_factory.h (+69/-0)
tests/include/mir/test/doubles/stub_timer_fd.h (+49/-0)
tests/unit-tests/input/CMakeLists.txt (+1/-0)
tests/unit-tests/input/test_key_repeater.cpp (+138/-0)
Branch information
Recent revisions
- 3757. By Andreas Pokorny
-
Add a simpler key repeater utility class for stub and evdev input platform
The key repeater is meant to be integrated with the Dispatchable classes and will replace the key repeater that currently abuses the main loop in inject repeated keys inside the mirserver. It uses a new mircommon steady_timer_fd utility that wrapps CLOCK_MONOTONIC timer fds.
This is a preparation step to move the repeat handling inside the input platforms, which will evade another mirserver event type fumbling location.
- 3756. By Brandon Schaefer
-
Deprecate mir_input_
device_ state_event_ device_ pressed_ keys for mir_input_ device_ state_event_ device_ pressed_ keys_for_ index. Approved by mir-ci-bot, Cemil Azizoglu, Andreas Pokorny, Alexandros Frantzis, Alan Griffiths.
- 3755. By Alan Griffiths
-
The deprecated function mir_connection_
create_ spec_for_ tooltip( ) failed to set the aux_rect. Reimplemented as a wrapper for mir_connection_ create_ spec_for_ tip(). Fixes: https:/ /bugs.launchpad .net/bugs/ 1632335. Approved by Brandon Schaefer, mir-ci-bot, Alexandros Frantzis.
- 3753. By Andreas Pokorny
-
Make touch event creation a single step
This avoids another case in which we directly accessed the event type to update a cookie. This is also a preparation step to make event validator not depend on the internal structure of the input event types.
Additionally this removes touch contact size from the construction of touch events as it was always pulled out of the major and minor axis sizes. Instead this changes adds pieces to revive the contact orientation support in those places that were touched by the change.
Approved by mir-ci-bot, Alan Griffiths, Cemil Azizoglu, Alexandros Frantzis.
- 3752. By Kevin DuBois
-
client: add mir_buffer_
stream_ get_swap_ interval and mir_buffer_ stream_ set_swap_ interval. Previously there was no way to set swapinterval on non-default streams. Approved by mir-ci-bot, Daniel van Vugt, Alan Griffiths.
- 3751. By Cemil Azizoglu
-
Currently, in order to create an egl native window, we need an EGLNativeSurface*. I.e.
virtual std::shared_
ptr<void> create_ egl_native_ window( EGLNativeSurfac e* surface) = 0; Sometimes, as in the case of 'render surfaces', we do not have a native surface at the time when we want to create the native window. In that case, we should still be able to create it without one (i.e. with a nullptr), and "install" the native surface later, before it's needed. This is what this MP does.
Approved by mir-ci-bot, Chris Halse Rogers.
- 3750. By Daniel van Vugt
-
mirvanity: Reset stats using the R key
Because sometimes you change displays or compositing method at runtime, and don't want to wait for the old measurements to expire from the ring buffer. Just clear them instantly with a key press.
Approved by mir-ci-bot, Alexandros Frantzis.
- 3749. By Daniel van Vugt
-
Rename namespace mir::examples::typo -> mir::typo
Because it's not an example. In fact, libtypo is designed to not depend
on Mir-anything at all. It could even become an external project later
(with a different name, because the current one is not unique enough).
.Approved by mir-ci-bot, Cemil Azizoglu.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:mir