Mir

Merge lp:~alan-griffiths/mir/privatize-PrivateProtobuf into lp:mir

Proposed by Alan Griffiths
Status: Merged
Approved by: Alan Griffiths
Approved revision: no longer in the source branch.
Merged at revision: 1979
Proposed branch: lp:~alan-griffiths/mir/privatize-PrivateProtobuf
Merge into: lp:mir
Diff against target: 234 lines (+13/-53)
6 files modified
client-ABI-sha1sums (+0/-1)
server-ABI-sha1sums (+0/-7)
src/client/CMakeLists.txt (+2/-1)
src/server/symbols.map (+0/-34)
tests/acceptance-tests/CMakeLists.txt (+1/-10)
tests/integration-tests/CMakeLists.txt (+10/-0)
To merge this branch: bzr merge lp:~alan-griffiths/mir/privatize-PrivateProtobuf
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Daniel van Vugt Approve
Kevin DuBois (community) Approve
Alexandros Frantzis (community) Approve
Review via email: mp+237436@code.launchpad.net

Commit message

frontend: privatize the support for "PrivateProtobuf"

Description of the change

frontend: privatize the support for "PrivateProtobuf"

This support was temporarily added to allow downstream to prototype additions to the Mir protocol. It is no longer being used[*] and will likely not be needed in the foreseeable future.

As a first step to eventual removal this MP removes the public header files used to support it.

* Once lp:~alan-griffiths/platform-api/delete-dead-code-that-uses-Mir-PrivateProtobuf-API lands. ;)

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
Alexandros Frantzis (afrantzis) wrote :

Looks good.

review: Approve
Revision history for this message
Kevin DuBois (kdub) wrote :

looks good, although if you remove an api no one was supposed to use, is it a client abi break? :) (I'm fine not incrementing)

review: Approve
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Sure.

The requisite ABI bumps for the 0.9 series are all being proposed separately. And I'm assuming that the removal of:
   include/client/mir/client/private.h
is not a break at all if nobody's using it.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

lp:platform-api -c 278 is good enough

Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'client-ABI-sha1sums'
2--- client-ABI-sha1sums 2014-09-30 06:11:33 +0000
3+++ client-ABI-sha1sums 2014-10-07 14:41:53 +0000
4@@ -1,4 +1,3 @@
5-b64b3ca16e4130c838bdca248189f8055804c849 include/client/mir/client/private.h
6 cbe1e3ccfea6ab5865510f4f598ec11571fcc852 include/client/mir_toolkit/mir_client_library_debug.h
7 b53736bcb22ddc09aab8275cfdd05c109fdd0f12 include/client/mir_toolkit/mir_client_library_drm.h
8 1522a5fcdb01c0d9a990364539c4f1255853eef7 include/client/mir_toolkit/mir_client_library.h
9
10=== removed directory 'include/client/mir'
11=== removed directory 'include/client/mir/client'
12=== modified file 'server-ABI-sha1sums'
13--- server-ABI-sha1sums 2014-10-06 03:02:44 +0000
14+++ server-ABI-sha1sums 2014-10-07 14:41:53 +0000
15@@ -51,15 +51,9 @@
16 ef0b6f26fb40a72e4a4744e4d9c4bd044142de47 include/server/mir/default_server_configuration.h
17 af1ff0714be973ac76d56006a2e5991f68cd1dec include/server/mir/display_server.h
18 a35c5495d8fd28fc0e375b17495fc5caab51b329 include/server/mir/emergency_cleanup.h
19-65db331f1c0e956eced5c9fc73a2b2122dbc8dc7 include/server/mir/frontend/connection_creator.h
20-e6e92642301fc9bb85e1d38087a5dd84e5d30fd7 include/server/mir/frontend/connections.h
21 938de641cb0e01e1098b007b39b151a7dfe4adc1 include/server/mir/frontend/display_changer.h
22 46b9a4c7794c29b4bd7822671f9626fc8fc33333 include/server/mir/frontend/event_sink.h
23-bdb89184f400bb04625db5835d38576f99f52684 include/server/mir/frontend/fd_sets.h
24-4f1303065e300d26acb148c3dd9f7183dc3c4443 include/server/mir/frontend/message_processor.h
25 59d6703def2a0ff840e5eb75390a5af76fd93f58 include/server/mir/frontend/prompt_session.h
26-cb1f73934d150f21e60d4d8de3f15918d993dd98 include/server/mir/frontend/protobuf_connection_creator.h
27-7fc88a2e39f6b87ecbd89a264612138e8fcfb10a include/server/mir/frontend/protobuf_message_sender.h
28 fae0008af826abbc4b4324d49e9c03d43b08765a include/server/mir/frontend/screencast.h
29 b729a7710c37d9f1fba56a6f8e8eae1c2559f57a include/server/mir/frontend/session_authorizer.h
30 34ce482df448fd2fc5f0c4ae5ac8b7fecbd228c9 include/server/mir/frontend/session_credentials.h
31@@ -68,7 +62,6 @@
32 68468aa2298c4e2cdc1bbb7cb5f250a914ae16c9 include/server/mir/frontend/shell.h
33 f67b9788943a4b9121b3891dfbe979d57922ea78 include/server/mir/frontend/surface.h
34 618b43a84cce0ad671ed68fe2ba796fbc7b79e31 include/server/mir/frontend/surface_id.h
35-5aa4c4db5468d9b9fe8e98a64444538aadd6e17b include/server/mir/frontend/template_protobuf_message_processor.h
36 f95c2bddf13d15993ef5d6a0ad7b9106ae550b87 include/server/mir/input/composite_event_filter.h
37 67719acb03b35d383dfefd65e8dfb872c42bcc11 include/server/mir/input/cursor_images.h
38 cef18b7215fbe00550d18c0aa0f79b641cff494e include/server/mir/input/cursor_listener.h
39
40=== modified file 'src/client/CMakeLists.txt'
41--- src/client/CMakeLists.txt 2014-09-30 06:11:33 +0000
42+++ src/client/CMakeLists.txt 2014-10-07 14:41:53 +0000
43@@ -20,6 +20,7 @@
44 ${PROTOBUF_INCLUDE_DIRS}
45 ${CMAKE_CURRENT_BINARY_DIR}
46 ${PROJECT_SOURCE_DIR}/include/client
47+ ${PROJECT_SOURCE_DIR}/src/include/client
48 ${DRM_INCLUDE_DIRS}
49 )
50
51@@ -104,7 +105,7 @@
52 ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
53
54 install(
55- DIRECTORY ${CMAKE_SOURCE_DIR}/include/client/mir_toolkit ${CMAKE_SOURCE_DIR}/include/client/mir
56+ DIRECTORY ${CMAKE_SOURCE_DIR}/include/client/mir_toolkit
57 DESTINATION "include/mirclient"
58 )
59
60
61=== added directory 'src/include/client'
62=== added directory 'src/include/client/mir'
63=== added directory 'src/include/client/mir/client'
64=== renamed file 'include/client/mir/client/private.h' => 'src/include/client/mir/client/private.h'
65=== renamed file 'include/server/mir/frontend/connection_creator.h' => 'src/include/server/mir/frontend/connection_creator.h'
66=== renamed file 'include/server/mir/frontend/connections.h' => 'src/include/server/mir/frontend/connections.h'
67=== renamed file 'include/server/mir/frontend/fd_sets.h' => 'src/include/server/mir/frontend/fd_sets.h'
68=== renamed file 'include/server/mir/frontend/message_processor.h' => 'src/include/server/mir/frontend/message_processor.h'
69=== renamed file 'include/server/mir/frontend/protobuf_connection_creator.h' => 'src/include/server/mir/frontend/protobuf_connection_creator.h'
70=== renamed file 'include/server/mir/frontend/protobuf_message_sender.h' => 'src/include/server/mir/frontend/protobuf_message_sender.h'
71=== renamed file 'include/server/mir/frontend/template_protobuf_message_processor.h' => 'src/include/server/mir/frontend/template_protobuf_message_processor.h'
72=== modified file 'src/server/symbols.map'
73--- src/server/symbols.map 2014-10-03 17:01:08 +0000
74+++ src/server/symbols.map 2014-10-07 14:41:53 +0000
75@@ -117,21 +117,6 @@
76 mir::DisplayServer::stop*;
77 mir::EmergencyCleanup::operator*;
78 mir::frontend::as_internal_surface*;
79- mir::frontend::ConnectionCreator::?ConnectionCreator*;
80- mir::frontend::ConnectionCreator::ConnectionCreator*;
81- mir::frontend::ConnectionCreator::create_connection_for*;
82- mir::frontend::ConnectionCreator::operator*;
83- mir::frontend::detail::Invocation::id*;
84- mir::frontend::detail::Invocation::method_name*;
85- mir::frontend::detail::Invocation::parameters*;
86- mir::frontend::detail::MessageProcessor::client_pid*;
87- mir::frontend::detail::MessageProcessor::dispatch*;
88- mir::frontend::detail::MessageProcessor::?MessageProcessor*;
89- mir::frontend::detail::MessageProcessor::MessageProcessor*;
90- mir::frontend::detail::MessageProcessor::operator*;
91- mir::frontend::detail::ProtobufMessageSender::?ProtobufMessageSender*;
92- mir::frontend::detail::ProtobufMessageSender::ProtobufMessageSender*;
93- mir::frontend::detail::ProtobufMessageSender::send_response*;
94 mir::frontend::DisplayChanger::active_configuration*;
95 mir::frontend::DisplayChanger::configure*;
96 mir::frontend::DisplayChanger::?DisplayChanger*;
97@@ -146,10 +131,6 @@
98 mir::frontend::PromptSession::operator*;
99 mir::frontend::PromptSession::?PromptSession*;
100 mir::frontend::PromptSession::PromptSession*;
101- mir::frontend::ProtobufConnectionCreator::create_connection_for*;
102- mir::frontend::ProtobufConnectionCreator::create_processor*;
103- mir::frontend::ProtobufConnectionCreator::?ProtobufConnectionCreator*;
104- mir::frontend::ProtobufConnectionCreator::ProtobufConnectionCreator*;
105 mir::frontend::Screencast::capture*;
106 mir::frontend::Screencast::create_session*;
107 mir::frontend::Screencast::destroy_session*;
108@@ -549,14 +530,9 @@
109 non-virtual?thunk?to?mir::DefaultServerConfiguration::the_touch_visualizer*;
110 non-virtual?thunk?to?mir::DefaultServerConfiguration::wrap_session_coordinator*;
111 non-virtual?thunk?to?mir::DefaultServerConfiguration::wrap_surface_coordinator*;
112- non-virtual?thunk?to?mir::frontend::ConnectionCreator::?ConnectionCreator*;
113- non-virtual?thunk?to?mir::frontend::detail::MessageProcessor::?MessageProcessor*;
114- non-virtual?thunk?to?mir::frontend::detail::ProtobufMessageSender::?ProtobufMessageSender*;
115 non-virtual?thunk?to?mir::frontend::DisplayChanger::?DisplayChanger*;
116 non-virtual?thunk?to?mir::frontend::EventSink::?EventSink*;
117 non-virtual?thunk?to?mir::frontend::PromptSession::?PromptSession*;
118- non-virtual?thunk?to?mir::frontend::ProtobufConnectionCreator::create_connection_for*;
119- non-virtual?thunk?to?mir::frontend::ProtobufConnectionCreator::create_processor*;
120 non-virtual?thunk?to?mir::frontend::Screencast::?Screencast*;
121 non-virtual?thunk?to?mir::frontend::SessionAuthorizer::?SessionAuthorizer*;
122 non-virtual?thunk?to?mir::frontend::Session::?Session*;
123@@ -612,14 +588,9 @@
124 typeinfo?for?mir::DefaultServerConfiguration;
125 typeinfo?for?mir::DisplayServer;
126 typeinfo?for?mir::EmergencyCleanup;
127- typeinfo?for?mir::frontend::ConnectionCreator;
128- typeinfo?for?mir::frontend::detail::Invocation;
129- typeinfo?for?mir::frontend::detail::MessageProcessor;
130- typeinfo?for?mir::frontend::detail::ProtobufMessageSender;
131 typeinfo?for?mir::frontend::DisplayChanger;
132 typeinfo?for?mir::frontend::EventSink;
133 typeinfo?for?mir::frontend::PromptSession;
134- typeinfo?for?mir::frontend::ProtobufConnectionCreator;
135 typeinfo?for?mir::frontend::Screencast;
136 typeinfo?for?mir::frontend::Session;
137 typeinfo?for?mir::frontend::SessionAuthorizer;
138@@ -674,14 +645,9 @@
139 vtable?for?mir::DefaultServerConfiguration;
140 vtable?for?mir::DisplayServer;
141 vtable?for?mir::EmergencyCleanup;
142- vtable?for?mir::frontend::ConnectionCreator;
143- vtable?for?mir::frontend::detail::Invocation;
144- vtable?for?mir::frontend::detail::MessageProcessor;
145- vtable?for?mir::frontend::detail::ProtobufMessageSender;
146 vtable?for?mir::frontend::DisplayChanger;
147 vtable?for?mir::frontend::EventSink;
148 vtable?for?mir::frontend::PromptSession;
149- vtable?for?mir::frontend::ProtobufConnectionCreator;
150 vtable?for?mir::frontend::Screencast;
151 vtable?for?mir::frontend::Session;
152 vtable?for?mir::frontend::SessionAuthorizer;
153
154=== modified file 'tests/acceptance-tests/CMakeLists.txt'
155--- tests/acceptance-tests/CMakeLists.txt 2014-10-06 03:02:44 +0000
156+++ tests/acceptance-tests/CMakeLists.txt 2014-10-07 14:41:53 +0000
157@@ -2,19 +2,13 @@
158
159 include_directories(
160 ${CMAKE_SOURCE_DIR}
161- ${PROTOBUF_INCLUDE_DIRS}
162- ${CMAKE_CURRENT_BINARY_DIR})
163+)
164
165 add_definitions(
166 -DMIR_PLATFORM_DRIVER_BINARY="${MIR_PLATFORM_DRIVER_BINARY}"
167 -DMIR_CLIENT_DRIVER_BINARY="${MIR_CLIENT_DRIVER_BINARY}"
168 )
169
170-protobuf_generate_cpp(
171- GENERATED_PROTOBUF_SRCS GENERATED_PROTOBUF_HDRS
172- test_protobuf.proto
173-)
174-
175 set(
176 SOURCES
177
178@@ -38,7 +32,6 @@
179 test_server_disconnect.cpp
180 test_client_library_drm.cpp
181 test_prompt_session_client_api.cpp
182- test_protobuf.cpp
183 test_client_screencast.cpp
184 test_client_cursor_api.cpp
185 test_large_messages.cpp
186@@ -50,8 +43,6 @@
187 test_client_input.cpp
188 test_server_startup.cpp
189 test_unresponsive_client.cpp
190- ${GENERATED_PROTOBUF_SRCS}
191- ${GENERATED_PROTOBUF_HDRS}
192 )
193
194 if (MIR_TEST_PLATFORM STREQUAL "mesa")
195
196=== modified file 'tests/integration-tests/CMakeLists.txt'
197--- tests/integration-tests/CMakeLists.txt 2014-10-06 18:26:45 +0000
198+++ tests/integration-tests/CMakeLists.txt 2014-10-07 14:41:53 +0000
199@@ -2,15 +2,23 @@
200
201 include_directories(
202 ${CMAKE_SOURCE_DIR}
203+ ${PROTOBUF_INCLUDE_DIRS}
204+ ${CMAKE_CURRENT_BINARY_DIR}
205 ${PROJECT_SOURCE_DIR}/src/include/platform
206 ${PROJECT_SOURCE_DIR}/src/include/server
207 ${PROJECT_SOURCE_DIR}/src/include/client
208 )
209
210+protobuf_generate_cpp(
211+ GENERATED_PROTOBUF_SRCS GENERATED_PROTOBUF_HDRS
212+ test_protobuf.proto
213+)
214+
215 set(
216 INTEGRATION_TESTS_SRCS
217 test_surface_stack_with_compositor.cpp
218 test_client_surface_swap_buffers.cpp
219+ test_protobuf.cpp
220 test_surfaceloop.cpp
221 test_stale_frames.cpp
222 test_error_reporting.cpp
223@@ -25,6 +33,8 @@
224 test_session.cpp
225 session_management.cpp
226 surface_composition.cpp
227+ ${GENERATED_PROTOBUF_SRCS}
228+ ${GENERATED_PROTOBUF_HDRS}
229 )
230
231 add_subdirectory(client/)
232
233=== renamed file 'tests/acceptance-tests/test_protobuf.cpp' => 'tests/integration-tests/test_protobuf.cpp'
234=== renamed file 'tests/acceptance-tests/test_protobuf.proto' => 'tests/integration-tests/test_protobuf.proto'

Subscribers

People subscribed via source and target branches