Mir

Merge lp://qastaging/~vanvugt/mir/sync-api into lp://qastaging/~mir-team/mir/trunk

Proposed by Daniel van Vugt
Status: Merged
Approved by: Robert Ancell
Approved revision: no longer in the source branch.
Merged at revision: 516
Proposed branch: lp://qastaging/~vanvugt/mir/sync-api
Merge into: lp://qastaging/~mir-team/mir/trunk
Diff against target: 394 lines (+127/-73)
6 files modified
examples/demo_client_accelerated.cpp (+7/-27)
examples/demo_client_unaccelerated.c (+9/-34)
examples/eglapp.c (+2/-11)
include/client/mir_toolkit/mir_client_library.h (+24/-0)
src/client/mir_client_library.cpp (+28/-1)
tests/acceptance-tests/test_client_library.cpp (+57/-0)
To merge this branch: bzr merge lp://qastaging/~vanvugt/mir/sync-api
Reviewer Review Type Date Requested Status
Robert Ancell Approve
Alan Griffiths Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+154015@code.qastaging.launchpad.net

Commit message

Implement remaining functions required for a fully synchronous client API.
(LP: #1112195)

Also use the synchronous functions in all but one example clients.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

267 - *context = result;
268 + if (context)
269 + *context = result;

If context is null the idiot deserves a segfault (not a silent failure).

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

> 267 - *context = result;
> 268 + if (context)
> 269 + *context = result;
>
> If context is null the idiot deserves a segfault (not a silent failure).

On further reading I see this is an artifact of the approach taken - and only our code is involved.

I still don't like this or the non-portable re-interpret cast, but not enough to block.

review: Approve
Revision history for this message
Robert Ancell (robert-ancell) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches