Mir

lp:~afrantzis/mir/fix-clang-yakkety

Created by Alexandros Frantzis on 2016-08-10 and last modified on 2016-08-11
Get this branch:
bzr branch lp:~afrantzis/mir/fix-clang-yakkety
Only Alexandros Frantzis can upload to this branch. If you are Alexandros Frantzis please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Alexandros Frantzis
Project:
Mir
Status:
Merged

Recent revisions

3640. By Alexandros Frantzis on 2016-08-10

Fix clang build on yakkety

3639. By Andreas Pokorny on 2016-08-10

Fix server hang ups and allocation failures when client recreate buffer streams

When a mir client destroys a buffer stream the destruction result callback will trigger a buffer release of the associated buffers. That buffer release request inevitable fails in session mediator because it fails to resolve the BufferStreamId. This change handles exceptions during the attempt to disassociate buffers from already deleted buffer streams to ensure that the actual buffer release can happen.

This error is not really a leak - the buffers were deleted when the client disconnects and the server would be able to serve new clients.

Approved by Kevin DuBois, mir-ci-bot.

3638. By Daniel van Vugt on 2016-08-10

On those devices that have KMS but no hardware cursor support,
fall back automatically to the software cursor (LP: #1610054). Fixes: https://bugs.launchpad.net/bugs/1610054.

Approved by Cemil Azizoglu, mir-ci-bot.

3637. By Alan Griffiths on 2016-08-10

Avoid potential use of an unspecified state when testing with the stub graphics platform (LP: #1611337). Fixes: https://bugs.launchpad.net/bugs/1611337.

Approved by Daniel van Vugt, mir-ci-bot.

3636. By Ratchanan Srirattanamet on 2016-08-09

android: make use of new PbufferGLContext constructor in DeviceQuirks

Originally, DeviceQuirks creates a PbufferGLContext with
mir_pixel_format_abgr_8888 hard-coded as a format. This causes a problem
on a device without mir_pixel_format_abgr_8888 support. This revision
make use of new PbufferGLContext constructor which doesn't have to
specify a display format. This makes the code not depending on the
availability of mir_pixel_format_abgr_8888 format on the device.

Approved by: camako, kdub, alan_g, duflu

3635. By Daniel van Vugt on 2016-08-09

Work around clang build failure on yakkety with the gcc6 headers
(LP: #1609612)

It seems like such a simple problem, but I can't figure out a solution
yet. Only removing the expectation allows the build to complete. And
all tests pass.
. Fixes: https://bugs.launchpad.net/bugs/1609612.

Approved by Cemil Azizoglu, mir-ci-bot.

3634. By Alexandros Frantzis on 2016-08-08

tests: Don't build with LTO. Fixes: https://bugs.launchpad.net/bugs/1610215.

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

3633. By Daniel van Vugt on 2016-08-05

eglstream: Simplify logging calls
.

Approved by Alan Griffiths, Andreas Pokorny, mir-ci-bot.

3632. By Alan Griffiths on 2016-08-05

We don't need mir_add_library_with_symbols() (a self confessed "abysmal hack"). We should use LINK_DEPENDS which is "intended to specify dependencies on “linker scripts” for custom Makefile link rules.".

Approved by Daniel van Vugt, Kevin DuBois, mir-ci-bot.

3631. By Daniel van Vugt on 2016-08-05

Fix a few problems that have prevented cross-compile-chroot.sh from
actually working in a while (LP: #1609329)

  * Fixed error: Some build deps not found (because they are in
    universe rather than main?).
  * Fixed error: Building on yakkety as of recently (today) defaults
    to GCC 6, so the default compiler version when targeting xenial
    or wily now needs to be explicitly set to 5.
  * Fixed error: Precompiled headers from GCC 6 don't work when
    targeting any distro other than yakkety, so don't use them.
  * Fixed error: Some headers from android-headers-23 are missing
    #includes, but apparently only when cross-compiling.
  * Fixed warning: Missing public keys for Ubuntu archive.
. Fixes: https://bugs.launchpad.net/bugs/1609329.

Approved by mir-ci-bot, Chris Halse Rogers, Kevin DuBois.

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.