Mir

lp:~andreas-pokorny/mir/key-repeater-on-timer-fd-utility

Created by Andreas Pokorny and last modified
Get this branch:
bzr branch lp:~andreas-pokorny/mir/key-repeater-on-timer-fd-utility
Only Andreas Pokorny can upload to this branch. If you are Andreas Pokorny please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Andreas Pokorny
Project:
Mir
Status:
Development

Recent revisions

3758. By Andreas Pokorny

relative! instead of TFD_TIMER_ABSTIME

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.

3754. By Daniel van Vugt

Make typo::Renderer::Image safer.

Approved by mir-ci-bot, Alan Griffiths.

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(EGLNativeSurface* 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
This branch contains Public information 
Everyone can see this information.

Subscribers