Mir

~raof/mir/+git/mir:master

Last commit made on 2016-08-23
Get this branch:
git clone -b master https://git.launchpad.net/~raof/mir/+git/mir
Only Chris Halse Rogers can upload to this branch. If you are Chris Halse Rogers please log in for upload directions.

Branch merges

Branch information

Name:
master
Repository:
lp:~raof/mir/+git/mir

Recent commits

300151d... by Chris Halse Rogers

UnresponsiveClient.does_not_hang_server: Extra paranoia in server test code.

Our test harness does not guarantee that session->default_surface() exists - running this test under load
I was able to crash it here.

c5e3eac... by Chris Halse Rogers

mtf::any_surface(): Throw if the created surface is invalid.

3a0c353... by Chris Halse Rogers

SessionMediator::disconnect(): drop the reference to the closing session before calling back to the client

e034ebb... by Kevin DuBois

platforms: remove ifdefs around mg::NativeBuffer to make it simply a forward-declared class for server code. Platforms can define what mg::NativeBuffer is to whatever works best. (eg, Android defines it to be an interface that makes it easy to convert to different android types and manage the buffer fences).

Android defines it to be an interface that makes it easy to convert to different android types and manage the buffer fences.

Mesa was hacking around the POD type it was using with GBMNativeBuffer to get the gbm_bo*. GBMNativeBuffer is just mg::NativeBuffer for that platform now.

Eglstream could use ShmFile as its native type (although I didn't make that change in this MP)

Nested will want a mg::NativeBuffer that gives access to its underlying MirBuffer*.

Approved by mir-ci-bot, Chris Halse Rogers, Alexandros Frantzis.

43e7fef... by Kevin DuBois

merge mir, fix conflict

e20e3a6... by Chris Halse Rogers

mir_acceptance_tests: Check that we don't double-close file descriptors, then fix the places we do.

This adds a close() shim to mir_acceptance_tests, which calls the real close() and then aborts if the close() call failed with EBADF, indicating that we've passed in an already closed (or simply nonsensical) file descriptor.

Then fix the double-closes this exposes.

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

cb2a2b9... by Daniel van Vugt

Document early release operation (in case it is enabled) more accurately. Fixes: https://bugs.launchpad.net/bugs/1395421.

Approved by Cemil Azizoglu, mir-ci-bot.

fdc9fe6... by Chris Halse Rogers

MirConnection: Don't double-close FDs on BufferStream error path.

e7add2f... by Chris Halse Rogers

BufferStream: Don't leak buffer FDs on create_egl_native_window() failure.

The buffer_depository constructors take ownership of any buffer FDs in the protobuf
object passed in, so move create_egl_native_window() call to after the buffer_depository
has been created.

8cdaa0a... by Chris Halse Rogers

Add test that create_surface doesn't double-close FDs on error