Created by Andreas Pokorny on 2016-04-14 and last modified on 2016-04-15
Get this branch:
bzr branch lp:~andreas-pokorny/mir/fix-1570357
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

Andreas Pokorny

Recent revisions

3460. By Andreas Pokorny on 2016-04-15

Do not abort on unknown events

3459. By Andreas Pokorny on 2016-04-14

typos fixed

3458. By Andreas Pokorny on 2016-04-14

Add support for pointer events to --print-input-events example code

3457. By Chris Halse Rogers on 2016-04-14

Add an error callback to MirConnection, and use it to handle (some) errors from display configuration. Fixes: https://bugs.launchpad.net/bugs/1431190.

Approved by mir-ci-bot, Alan Griffiths, Brandon Schaefer, Cemil Azizoglu, Kevin DuBois.

3456. By Daniel van Vugt on 2016-04-13

Add a new acceptance test to cover input resampling:
TEST_F(TestClientInput, receives_one_touch_event_per_frame).

Approved by Cemil Azizoglu, Alan Griffiths, mir-ci-bot.

3455. By Alan Griffiths on 2016-04-12

utils: add special case handling to mirrun for launching gnome-terminal.

Approved by Brandon Schaefer, Cemil Azizoglu, mir-ci-bot.

3454. By Chris Halse Rogers on 2016-04-12

MockFrameDroppingPolicyFactory: Provide a NiceMock<MockFrameDroppingPolicy>.

This speeds up mir_integration_test runtime under ctest by ~1.5 orders of magnitude.

Fixes: https://bugs.launchpad.net/mir/+bug/1568966. Fixes: https://bugs.launchpad.net/bugs/1568966.

Approved by mir-ci-bot, Alan Griffiths, Cemil Azizoglu, Kevin DuBois, Daniel van Vugt.

3453. By Kevin DuBois on 2016-04-12

shell: no longer auto-create a 'default stream' on behalf of user creating a surface without specifying a stream. Session::create_surface() was creating two resources, and we were kludging around this by casting the mf::SurfaceId it returns to a mf::BufferStreamId, and assuming that the stream was created.

Now, BufferStreamId and SurfaceId are independent id sequences (whereas previously, every SurfaceId was a BufferStreamId, but not vice-versa)

We got into the situation where create_surface() creates a stream and a surface when we split the stream concept from the surface concept a long time ago. Now that we want to create more elaborate stream configurations at startup (see lp: #1563278), we should just have the user tell us what they want via SurfaceCreationParameters instead of guessing and trying to compensate with an automatically created stream.

Its currently necessary to have some content with a Surface (due to existing interfaces that need changing), but soon enough we could probably have content-less surfaces, if that's useful anywhere...

Downstreams (usc/qtmir) are not using Session to create their own surfaces apart from actual ipc clients, so although its an ABI break, they should be compatible.

Approved by mir-ci-bot, Andreas Pokorny, Cemil Azizoglu, Brandon Schaefer.

3452. By Kevin DuBois on 2016-04-11

window management: allow the shell more control over input area management. The shell can now allow a surface to have out-of-surface_rect input regions (mostly for the shell's own purposes). Clients are still prevented from setting any input region they want by shell policy.

Approved by Alan Griffiths, Cemil Azizoglu, mir-ci-bot.

3451. By Andreas Pokorny on 2016-04-11

Disable key repeat on arale & mtk-tpd (LP: #1549701)

The arale touchscreen driver simulates a button. When the screen is turned off while the button is held and then released mir will not receive the release event or any notice that the device is off. To avoid that mir keeps on sending repeat events, repeats for the touchscreen are disabled. Fixes: https://bugs.launchpad.net/bugs/1549701.

Approved by mir-ci-bot, Alberto Aguirre, Alan Griffiths, Kevin DuBois, Cemil Azizoglu.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.