Mir

lp:~raof/mir/no-hidden-rpc-in-bufferstream

Created by Chris Halse Rogers and last modified
Get this branch:
bzr branch lp:~raof/mir/no-hidden-rpc-in-bufferstream
Only Chris Halse Rogers can upload to this branch. If you are Chris Halse Rogers please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Chris Halse Rogers
Project:
Mir
Status:
Development

Recent revisions

3560. By Chris Halse Rogers

Wait for default BufferStream creation before calling surface created callback.

Punt completion of the operation into the delayed-processing queue, where it can block on
the creation MirWaitHandle of the default BufferStream.

3559. By Chris Halse Rogers

Be more verbose when receiving an unexpected buffer.

This *should* never happen, so being verbose in the error message is low cost and potentially
high reward.

3558. By Chris Halse Rogers

MirProtobufRpcChannel: Don't destroy exception information on error.

3557. By Chris Halse Rogers

Send valid buffers in SurfaceLoop integration test.

This requires making StubBuffer a bit stubbier and actually packing the IPC messages.

3556. By Chris Halse Rogers

Fix NoTLSFuture so that the move-setter is actually accessible.

Because NoTLSPromise only had a set_value(T val) (wat‽) method, PromiseState's set_value(T&& val)
method was unreachable. Which is apparently why g++ didn't notice that it was broken.

3555. By Chris Halse Rogers

BufferStream: Do not signal creation wait handle until fully ready.

With NewBufferSemantics we were signalling the creation wait handle after the construction of the mcl::BufferStream,
but at this point the BufferVault does not necessarily have a buffer yet - that comes later as an event in response
to the allocate_buffer requests made during construction.

Instead, wait until the current buffer future<> has resolved before signalling that the BufferStream
is ready.

3554. By Chris Halse Rogers

Add missing gmock header.

testing::Eq and EXPECT_THAT are defined in Google Mock, not Google Test.

This only builds because MIR_USE_PRECOMPILED_HEADERS means that all our tests effectively
get the same set of headers included.

3553. By Chris Halse Rogers

Remove synthesised-focuse-event unit tests on MirConnection.

These require an ungodly amount of setup, so much so that they're basically
acceptance tests. The change to making sure buffer-streams are completely
constructed before we inform the client that they're completely constructed
results in these tests requiring *even more* setup.

Since we've just added real acceptance tests for this behaviour, just delete
these “unit” tests.

3552. By Chris Halse Rogers

Add NoTLSPromise<T>::or_else()

3551. By Chris Halse Rogers

NoTLSFuture is a class, damnit.

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.