~ubuntu-branches/ubuntu/utopic/mir/utopic-proposed

« back to all changes in this revision

Viewing changes to src/server/frontend/default_ipc_factory.h

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Daniel van Vugt
  • Date: 2014-07-17 07:58:53 UTC
  • mfrom: (1.1.67)
  • Revision ID: package-import@ubuntu.com-20140717075853-s4i71ob3iq4ns49z
Tags: 0.5.0+14.10.20140717-0ubuntu1
[ Daniel van Vugt ]
* New upstream release 0.5.0 (https://launchpad.net/mir/+milestone/0.5.0)
  - mirclient ABI unchanged at 8. Clients do not need rebuilding.
  - mirserver ABI bumped to 23. Servers need rebuilding, but probably don't
    need modification:
    . DefaultServerConfiguration/Cursor API: Cursor interfaces changed, most
      notably CursorImages moved from ::mir::graphics to ::mir::input.
    . DefaultServerConfiguration: New "prompt" API.
    . DefaultServerConfiguration: "clock" member is now static.
    . SessionAuthorizer: New functions.
    . ServerConfiguration: New function added: the_prompt_connector().
  - Enhancements:
    . Add AddressSanitizer cmake build type.
    . frontend, client API, tests: add support for prompt session
      permissions and for client detecting errors.
    . server: Ensure our emergency cleanup handling infrastructure is
      signal-safe.
    . Implement and enable an xcursor based image loader for cursors.
    . Fix warnings raised by the new g++-4.9.
    . shared, scene: Introduce a generic listener collection.
    . MirMotionEvent: Define a struct typedef to allow for
      pointer_coordinates to be used individually.
  - Bugs fixed:
    . Nexus 10 leaks during overlay operations (LP: #1331769)
    . MultiThreadedCompositor deadlocks (LP: #1335311)
    . Intermittent test failure in ClientSurfaceEvents can client query 
      orientation (LP: #1335741)
    . Intermittent test failure in ClientSurfaceEvents/OrientationEvents
      (LP: #1335752)
    . Intermittent memory error in ClientSurfaceEvents on
      orientation query (LP: #1335819)
    . mir_unit_tests.EventDistributorTest.* SEGFAULT (LP: #1338902)
    . [regression] Device locks randomly on welcome screen (LP: #1339700)
    . Intermittent deadlock when switching to session with custom display
      config & closing other session (LP: #1340669)
    . Mir cursor has no hotspot setting, assumes (0, 0) (LP: #1189775)
    . clang built mir_unit_tests.ProtobufSocketCommunicatorFD crashes
      intermittently (LP: #1300653)
    . g++-4.9 binary incompatibilities with libraries built with g++-4.8
      (LP: #1329089)
    . [test regression] SurfaceLoop fails sporadically on deleting surfaces
      for a disconnecting client (LP: #1335747)
    . Intermittent test failure ServerShutdown when clients are blocked
      (LP: #1335873)
    . [regression] mir_demo_client_multiwin is displayed with obviously
      wrong colours (LP: #1339471)
    . Partially onscreen surfaces not occluded when covered by another
      surface (LP: #1340078)
    . SurfaceConfigurator::attribute_set always say "unfocused" for focus
      property changes (LP: #1336548)

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
{
28
28
class Platform;
29
29
class GraphicBufferAllocator;
 
30
}
 
31
namespace input
 
32
{
30
33
class CursorImages;
31
34
}
32
35
 
49
52
        std::shared_ptr<graphics::GraphicBufferAllocator> const& buffer_allocator,
50
53
        std::shared_ptr<Screencast> const& screencast,
51
54
        std::shared_ptr<SessionAuthorizer> const& session_authorizer,
52
 
        std::shared_ptr<graphics::CursorImages> const& cursor_images);
 
55
        std::shared_ptr<input::CursorImages> const& cursor_images);
53
56
 
54
57
    std::shared_ptr<detail::DisplayServer> make_ipc_server(
55
58
        SessionCredentials const& creds,
67
70
        std::shared_ptr<EventSink> const& sink,
68
71
        std::shared_ptr<Screencast> const& effective_screencast,
69
72
        ConnectionContext const& connection_context,
70
 
        std::shared_ptr<graphics::CursorImages> const& cursor_images);
 
73
        std::shared_ptr<input::CursorImages> const& cursor_images);
71
74
 
72
75
private:
73
76
    std::shared_ptr<Shell> const shell;
 
77
    std::shared_ptr<Shell> const no_prompt_shell;
74
78
    std::shared_ptr<SessionMediatorReport> const sm_report;
75
79
    std::shared_ptr<ResourceCache> const cache;
76
80
    std::shared_ptr<graphics::Platform> const graphics_platform;
78
82
    std::shared_ptr<graphics::GraphicBufferAllocator> const buffer_allocator;
79
83
    std::shared_ptr<Screencast> const screencast;
80
84
    std::shared_ptr<SessionAuthorizer> const session_authorizer;
81
 
    std::shared_ptr<graphics::CursorImages> const cursor_images;
 
85
    std::shared_ptr<input::CursorImages> const cursor_images;
82
86
};
83
87
}
84
88
}