Mir

Merge lp:mir/0.18 into lp:mir

Proposed by Kevin DuBois
Status: Superseded
Proposed branch: lp:mir/0.18
Merge into: lp:mir
Diff against target: 162 lines (+92/-9)
6 files modified
debian/changelog (+63/-1)
debian/mir-client-platform-mesa-dev.install (+1/-0)
src/platforms/mesa/CMakeLists.txt (+10/-1)
src/platforms/mesa/mir-client-platform-mesa-dev.pc.in (+1/-1)
src/platforms/mesa/mir-client-platform-mesa.pc.in (+7/-0)
src/server/scene/surface_stack.cpp (+10/-6)
To merge this branch: bzr merge lp:mir/0.18
Reviewer Review Type Date Requested Status
Mir development team Pending
Review via email: mp+279110@code.launchpad.net

Commit message

Merge mir version 0.18 into lp:mir/ubuntu

Description of the change

Merge mir version 0.18 into lp:mir/ubuntu

To post a comment you must log in.
lp:mir/0.18 updated
3152. By Alberto Aguirre

client buffer stream: always signal wait handle and invoke callback even during creation errors

The wait handle given to the client should always be signaled and the client supplied callback must be invoked
even if the server fails to create the buffer stream.

Clients can use mir_buffer_stream_is_valid to determine if a buffer stream was created succesfully. Fixes: https://bugs.launchpad.net/bugs/1519998, https://bugs.launchpad.net/bugs/1519999.

Approved by PS Jenkins bot, Alan Griffiths.

3153. By Alexandros Frantzis

platform: Ensure the platform library is not unloaded while the event handlers it registered are alive.

Approved by PS Jenkins bot, Alberto Aguirre.

3154. By Alberto Aguirre

Add mir_buffer_stream_get_error_message

Allow client to retrieve error messages when buffer stream creation fails. Fixes: https://bugs.launchpad.net/bugs/1520005.

Approved by Alan Griffiths, PS Jenkins bot.

3155. By Andreas Pokorny

fix error in bitwise logic. Fixes: https://bugs.launchpad.net/bugs/1521225.

Approved by Kevin DuBois, PS Jenkins bot, Alberto Aguirre, Alan Griffiths.

3156. By Alberto Aguirre

tests: CrossProcessSync: retry poll after EINTR.

Approved by Alan Griffiths, PS Jenkins bot.

3157. By Chris Halse Rogers

Update and re-enable ThreadedDispatcherSignalTest.keeps_dispatching_after_signal_interruption

The test as it was couldn't fail (barring kernel bugs) because ThreadedDispatcher uses poll(), which does not share epoll's non-POSIX EINTR behaviour across SIGSTOP/SIGCONT pairs.

Attaching a signal handler for SIGCONT ensures we get EINTR, and the test fails appropriately.
.

Approved by PS Jenkins bot, Alexandros Frantzis, Kevin DuBois, Alan Griffiths.

3158. By kevin gunn

add SYSTEM to system directories.

Approved by PS Jenkins bot, Alan Griffiths, Alberto Aguirre.

3159. By Alexandros Frantzis

tests: Ensure mtf::ServerRunner::stop() can be invoked safely even when the server has been destroyed. Fixes: https://bugs.launchpad.net/bugs/1520217.

Approved by PS Jenkins bot, Alberto Aguirre, Alan Griffiths.

3160. By Cemil Azizoglu

Pass submitted buffer size in frame_posted.
.

Approved by Alexandros Frantzis, PS Jenkins bot, Alberto Aguirre.

3161. By Alberto Aguirre

Add UBSan build type.

Invoke with -DCMAKE_BUILD_TYPE=ubsanitizer. Fixes: https://bugs.launchpad.net/bugs/1521808.

Approved by PS Jenkins bot, Alexandros Frantzis, Alan Griffiths.

3162. By Alberto Aguirre

session mediator: exchange_buffer: throw when unable to retrieve a buffer for the given stream id. Fixes: https://bugs.launchpad.net/bugs/1522093.

Approved by PS Jenkins bot, Kevin DuBois, Alan Griffiths.

3163. By Kevin DuBois

Major changes are coming to the cookie client api, so lets remove the old stuff before its released. Gives us to time to make correct changes without rushing.

Approved by PS Jenkins bot, Brandon Schaefer, Alan Griffiths, Chris Halse Rogers.

3164. By Andreas Pokorny

Disable x11 input platform when --vt is specified on comand line, this is in line. Fixes: https://bugs.launchpad.net/bugs/1521651.

Approved by PS Jenkins bot, Alan Griffiths, Kevin DuBois, Alberto Aguirre.

3165. By Alberto Aguirre

Add notification for cursor image removal.

Avoid creating references to null pointers when notifying observers when a cursor image has been removed from a surface.
Instead add an explicit call in SurfaceObserver to notify about removal. Fixes: https://bugs.launchpad.net/bugs/1521795.

Approved by PS Jenkins bot, Kevin DuBois, Alan Griffiths.

3166. By Alan Griffiths

tests: provide a public FakeDisplay to facilitate testing of display configuration changes.

Approved by PS Jenkins bot, Kevin DuBois, Andreas Pokorny.

3167. By Alberto Aguirre

fix some complaints from UBSan.

Approved by PS Jenkins bot, Alan Griffiths, Kevin DuBois.

3168. By Andreas Pokorny

make evdev input platform required by the driver packages.

Approved by Alan Griffiths, PS Jenkins bot, Chris Halse Rogers.

3169. By Kevin DuBois

android: use the EGL_fence_sync extensions to synchronize client software buffers.

fixes: lp: #1517205

Approved by: Alan Griffiths, Cemil Azizoglu, Andreas Pokorny

3170. By Kevin DuBois

Don't hide the mtd alias in Mesa-only builds like ppc64 (LP: #1522122)

Approved by: Alan Griffiths, Kevin DuBois

3171. By Kevin DuBois

merge in lp:mir/ubuntu, fixing 6 conflicts

3172. By Kevin DuBois

update changelog for 0.18 release

3173. By Kevin DuBois

cherrypick lp:mir rev 3172:
scene: fix the locking in SurfaceStack. Fixes: https://bugs.launchpad.net/bugs/1522105.

Approved by Kevin DuBois, Alberto Aguirre, PS Jenkins bot.

3174. By Daniel van Vugt

Revert spurious merge r3171. Everything in it is incorrect.

The good news is that since the merge is still in the bzr history, the
aforementioned conflicts are still resolved as far as bzr is concerned.

3175. By Kevin DuBois

input-evdev: use ticks where possible, or scale scroll units and invert vertical scroll axis

fixes LP: #1522673

Approved by: Alan Griffiths, Daniel van Vugt

3176. By Kevin DuBois

make sure client doesnt have symbols with _unreleased stanza, use 9v18 for the new symbols

3177. By Daniel van Vugt

debian/changelog: Fix indentation and line wrapping.

3178. By Daniel van Vugt

Fix failing cross compile on xenial due to changes in dpkg-checkbuilddeps
return codes and error messages, which we parse. (LP: #1523801)

This updated script should still work with older dpkg-checkbuilddeps too.

3179. By Daniel van Vugt

Mention the fix for LP: #1523801 in the changelog too.

3180. By Kevin DuBois

revert fix for 1517205 in order to avoid regression noted in 1524414

3181. By Kevin DuBois

reprivatize headers from revert

3182. By Kevin DuBois

revert changes to vt option passing. reverts rev 3098, and fixes u8 desktop session (lp: #1526505)

3183. By Kevin DuBois

readd fix and regressions introduced in 3098

3184. By Kevin DuBois

merge in lp:~andreas-pokorny/mir/bandaid-probing-kms-when-nested, which hopefully leaves the fix for 1506707 without reintroducing the regressions

3185. By Kevin DuBois

capture release signature for 0.18

3186. By Andreas Pokorny

Never encode more than one action per event

Android InputTransport has only one action parameter per event. Within that the contact that caused the action is also encoded. So until we replace or extend the input transport protocol, we have to split up MirEvents, to not lose touch up/down changes.
Additionally in this version of the fix. also a recent lp:mir cleanup that affected the tool type encoding of pointer events.

3187. By Andreas Pokorny

* New upstream release 0.18.1 (https://launchpad.net/mir/+milestone/0.18.1)
  - No ABI changes. Bug fix release only.
  - Bug fixed:
    . [regression] pinch to zoom not working reliably (LP: #1531517)

3188. By Andreas Pokorny

resolve changelog conflicts

3189. By Daniel van Vugt

Avoid choosing graphics-dummy (or no driver at all) over mesa-kms on a
desktop with DRM/Intel graphics. (LP: #1528082)

The right choice is obviously mesa-kms even if it fails to initialize
DRM/VT things. If however mesa-x11 or another driver can be used instead,
it will be.

3190. By Cemil Azizoglu

Fix buffer leak causing server crashes after repeated screencasts.

The workaround for LP: #1454201 caused LP: #1523900. This fixes the former
properly, and hence avoids the latter.

3191. By Daniel van Vugt

Update the changelog

3192. By Daniel van Vugt

Correct the package version string

3193. By Daniel van Vugt

No change. Just waking Jenkins up.

Unmerged revisions

3193. By Daniel van Vugt

No change. Just waking Jenkins up.

3192. By Daniel van Vugt

Correct the package version string

3191. By Daniel van Vugt

Update the changelog

3190. By Cemil Azizoglu

Fix buffer leak causing server crashes after repeated screencasts.

The workaround for LP: #1454201 caused LP: #1523900. This fixes the former
properly, and hence avoids the latter.

3189. By Daniel van Vugt

Avoid choosing graphics-dummy (or no driver at all) over mesa-kms on a
desktop with DRM/Intel graphics. (LP: #1528082)

The right choice is obviously mesa-kms even if it fails to initialize
DRM/VT things. If however mesa-x11 or another driver can be used instead,
it will be.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2015-11-17 11:16:06 +0000
3+++ debian/changelog 2015-12-01 12:36:49 +0000
4@@ -1,8 +1,70 @@
5 mir (0.18.0-0ubuntu1) UNRELEASED; urgency=medium
6
7+ [ kdub ]
8 * New upstream release 0.18.0 (https://launchpad.net/mir/+milestone/0.18.0)
9+ - ABI summary: Only servers need rebuilding;
10+ . Mirclient ABI unchanged at 9
11+ . Mirserver ABI bumped to 36
12+ . Mircommon ABI unchanged at 5
13+ . Mirplatform ABI unchanged at 11
14+ . Mirprotobuf ABI unchanged at 3
15+ . Mirplatformgraphics ABI bumped to 7
16+ . Mirclientplatform ABI unchanged at 3
17+ . Mirinputplatform ABI added. Current version is 4
18+ - Enhancements:
19+ . Use libinput by default, and remove the android input stack
20+ . Add x11 input probing
21+ . Add alternative buffer swapping mechanism internally, available with
22+--nbuffers 0
23+ . Automatic searching and selection of input platforms
24+ . Better support for themed cursors
25+ . Add demo client that uses multiple buffer streams in one surface
26+ . Improve fingerpaint demo to use touch pressure
27+ . Allow for configuring cursor acceleration, scroll speed and left or
28+right handed mice
29+ . Allow for setting a base display configuration via client api
30+ . Various nested server multimonitor fixes and stability improvements
31+ . Remove DepthId from the SurfaceStack
32+ - Bug fixes:
33+ . Unit test failures in Display.* on Android (LP: #1519276)
34+ . Build failure due to missing dependency of client rpc code on mir protobuf (LP: #1518372)
35+ . Test failure in NestedServer.display_configuration_reset_when_application_exits (LP: #1517990)
36+ . CI test failures in various NesterServer tests (LP: #1517781)
37+ . FTBFS with -DMIR_PLATFORM=android (LP: #1517532)
38+ . Nesting Mir servers with assorted display configs causes lockup (LP: #1516670)
39+ . [testsfail] RaiseSurfaces.motion_events_dont_prevent_raise (LP: #1515931)
40+ . CI test failures in GLMark2Test (LP: #1515660)
41+ . Shells that inject user input events need to agree with the system compositor on the clock to use (LP: #1515515)
42+ . mircookie-dev is missing nettle-dev dependency (LP: #1514391)
43+ . Segmentation fault on server shutdown with mesa-kms (LP: #1513901)
44+ . mircookie requires nettle but libmircookie-dev doesn't depend on it (LP: #1513792)
45+ . libmircookie1 package does not list libnettle as dependency (LP: #1513225)
46+ . display configuration not reset when application exits (LP: #1511798)
47+ . unplugging external monitor causes nested server to throttle client (LP: #1511723)
48+ . 1/2 screen on external monitor (LP: #1511538)
49+ . unity-system-compositor crash, no interaction on windowed mode (LP: #1511095)
50+ . [regression] arm64/powerpc cross compile doesn't build any more (LP: #1510778)
51+ . mir_connection_get_egl_pixel_format() crashes if libEGL is loaded RTLD_LAZY (LP: #1510218)
52+ . [multimonitor] nested server surface positioning incorrect (LP: #1506846)
53+ . unity-system-compositor fails to build against lp:mir r3027 (LP: #1506537)
54+ . [regression] Resampled touch events are slightly less regular than they used to be (LP: #1506331)
55+ . [testsfail] Segmentation fault mir_demo_server --test-client /usr/bin/mir_demo_client_basic (LP: #1506137)
56+ . [regression] Can't move/resize windows any more using Alt+left/middle buttons (LP: #1505114)
57+ . CI failure on some 32-bit targets in ServerSignal.terminate_handler_is_called_for_SIGTERM and others (LP: #1504579)
58+ . multibufferstreams use surface size instead of stream size (LP: #1503317)
59+ . CI segfault in mir-mediumtests-runner-mako in client tests (LP: #1502896)
60+ . CI segfault in mir-mediumtests-runner-mako after AndroidHardwareSanity tests (LP: #1502782)
61+ . compositing never stops when external monitor is connected (LP: #1499039)
62+ . mir_demo_server crashes with ERROR: Dynamic exception type: std::out_of_range - std::exception::what: map::at when an Xmir rootless app is closed by its File menu. (LP: #1497128)
63+ . Nested servers don't apply their display configuration at startup (LP: #1492269)
64+ . mir fails to open the right mouse device in kvm/qemu (LP: #1489522)
65+ . nexus4 & nexus7 hotplug survival (LP: #1488863)
66+ . Android uses mir_display_output_invalid_id (0) as an output id value (LP: #1463873)
67+ . DemoRenderer: GL_BLEND is really always enabled even when not required (also causes RGBX discolouration in mir_proving_server) (LP: #1423462)
68+ . Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android (LP: #1406725)
69+ . [enhancement] Ubuntu needs a way to set mouse scrolling speed (LP: #124440)
70
71- -- Alexandros Frantzis <alexandros.frantzis@canonical.com> Tue, 17 Nov 2015 13:14:36 +0200
72+ -- Kevin DuBois <kevin.dubois@canonical.com> Mon, 30 Nov 2015 14:09:31 -0500
73
74 mir (0.17.1+16.04.20151105.1-0ubuntu1) xenial; urgency=medium
75
76
77=== modified file 'debian/mir-client-platform-mesa-dev.install'
78--- debian/mir-client-platform-mesa-dev.install 2015-09-24 22:30:09 +0000
79+++ debian/mir-client-platform-mesa-dev.install 2015-12-01 12:36:49 +0000
80@@ -1,2 +1,3 @@
81 usr/include/mirplatform/mir_toolkit/mesa
82+usr/lib/*/pkgconfig/mir-client-platform-mesa-dev.pc
83 usr/lib/*/pkgconfig/mir-client-platform-mesa.pc
84
85=== modified file 'src/platforms/mesa/CMakeLists.txt'
86--- src/platforms/mesa/CMakeLists.txt 2015-09-24 22:30:09 +0000
87+++ src/platforms/mesa/CMakeLists.txt 2015-12-01 12:36:49 +0000
88@@ -1,6 +1,12 @@
89 set(INCLUDEDIR "${CMAKE_INSTALL_PREFIX}/include")
90
91 configure_file(
92+ ${CMAKE_CURRENT_SOURCE_DIR}/mir-client-platform-mesa-dev.pc.in
93+ ${CMAKE_CURRENT_BINARY_DIR}/mir-client-platform-mesa-dev.pc
94+ @ONLY
95+)
96+
97+configure_file(
98 ${CMAKE_CURRENT_SOURCE_DIR}/mir-client-platform-mesa.pc.in
99 ${CMAKE_CURRENT_BINARY_DIR}/mir-client-platform-mesa.pc
100 @ONLY
101@@ -20,6 +26,9 @@
102 )
103
104 install(
105- FILES ${CMAKE_CURRENT_BINARY_DIR}/mir-client-platform-mesa.pc
106+ FILES
107+ ${CMAKE_CURRENT_BINARY_DIR}/mir-client-platform-mesa-dev.pc
108+ ${CMAKE_CURRENT_BINARY_DIR}/mir-client-platform-mesa.pc
109+
110 DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
111 )
112
113=== renamed file 'src/platforms/mesa/mir-client-platform-mesa.pc.in' => 'src/platforms/mesa/mir-client-platform-mesa-dev.pc.in'
114--- src/platforms/mesa/mir-client-platform-mesa.pc.in 2015-10-07 12:53:33 +0000
115+++ src/platforms/mesa/mir-client-platform-mesa-dev.pc.in 2015-12-01 12:36:49 +0000
116@@ -1,6 +1,6 @@
117 includedir=@INCLUDEDIR@/mirplatform
118
119-Name: mir-client-platform-mesa
120+Name: mir-client-platform-mesa-dev
121 Description: Mir Mesa client platform development files
122 Version: @MIR_VERSION@
123 Requires.private: mirclient
124
125=== added file 'src/platforms/mesa/mir-client-platform-mesa.pc.in'
126--- src/platforms/mesa/mir-client-platform-mesa.pc.in 1970-01-01 00:00:00 +0000
127+++ src/platforms/mesa/mir-client-platform-mesa.pc.in 2015-12-01 12:36:49 +0000
128@@ -0,0 +1,7 @@
129+includedir=@INCLUDEDIR@/mirplatform
130+
131+Name: mir-client-platform-mesa
132+Description: Mir Mesa client platform development files
133+Version: @MIR_VERSION@
134+Requires.private: mirclient
135+Cflags: -I${includedir}
136
137=== modified file 'src/server/scene/surface_stack.cpp'
138--- src/server/scene/surface_stack.cpp 2015-11-05 11:51:04 +0000
139+++ src/server/scene/surface_stack.cpp 2015-12-01 12:36:49 +0000
140@@ -168,12 +168,16 @@
141 auto const tracker = rendering_trackers.find(surface.get());
142 if (tracker != rendering_trackers.end() && tracker->second->is_exposed_in(id))
143 {
144- // Note that we ask the surface and not a Renderable.
145- // This is because we don't want to waste time and resources
146- // on a snapshot till we're sure we need it...
147- int ready = surface->buffers_ready_for_compositor(id);
148- if (ready > result)
149- result = ready;
150+ auto const tracker = rendering_trackers.find(surface.get());
151+ if (tracker != rendering_trackers.end() && tracker->second->is_exposed_in(id))
152+ {
153+ // Note that we ask the surface and not a Renderable.
154+ // This is because we don't want to waste time and resources
155+ // on a snapshot till we're sure we need it...
156+ int ready = surface->buffers_ready_for_compositor(id);
157+ if (ready > result)
158+ result = ready;
159+ }
160 }
161 }
162 }

Subscribers

People subscribed via source and target branches