lp:~darxus/weston/trunk

Created by Darxus on 2012-09-28 and last modified on 2016-08-12
Get this branch:
bzr branch lp:~darxus/weston/trunk

Related bugs

Related blueprints

Branch information

Owner:
Darxus
Project:
Weston
Status:
Development

Import details

Import Status: Failed

This branch is an import of the HEAD branch of the Git repository at git://anongit.freedesktop.org/wayland/weston.

The import has been suspended because it failed 5 or more times in succession.

Last successful import was on 2016-08-14.

Import started on 2016-08-18 on pear and finished on 2016-08-18 taking 20 seconds — see the log
Import started on 2016-08-16 on pear and finished on 2016-08-16 taking 20 seconds — see the log
Import started on 2016-08-15 on pear and finished on 2016-08-15 taking 20 seconds — see the log
Import started on 2016-08-14 on pear and finished on 2016-08-14 taking 20 seconds — see the log

Recent revisions

5310. By Armin Krezović <email address hidden> on 2016-08-12

fullscreen-shell: Ensure that fs surface is presented on all outputs

When no outputs are present, and no output resource is given,
a fullscreen surface won't get configured. This code ensures
that surface is properly presented on all outputs that get
connected after a surface has been created, but only if no
output resource was previously given.

Signed-off-by: Armin Krezović <email address hidden>
Reviewed-by: Pekka Paalanen <email address hidden>

5309. By Armin Krezović <email address hidden> on 2016-08-12

libweston: fix animation crash when a view has no output assigned

This fixes a crash in animation related code where weston
would crash in weston_view_animation_create when the
view had no output assigned.

This makes sure that animation gets created and released
immediately, so done and reset callbacks still get called
properly.

Signed-off-by: Armin Krezović <email address hidden>
[Pekka: put a '{' on the right line.]
Reviewed-by: Pekka Paalanen <email address hidden>

5308. By Pekka Paalanen <email address hidden> on 2016-08-11

configure: bump Wayland requirement to 1.11.90

Commit 4ef719c416c4e455b6b29b7c1e60df1d3fa26fe4
"libweston: Implement wl_output version 3 (release request)"
depends on the Wayland commit bad9dc5186e46ab92e1680d1f0ea4a4d4f0f7211
"protocol: Add release (destructor) request to wl_output"

Reported-by: Armin Krezović <email address hidden>
Signed-off-by: Pekka Paalanen <email address hidden>

5307. By Quentin Glidic <email address hidden> on 2016-08-11

libweston: Implement wl_output version 3 (release request)

Signed-off-by: Quentin Glidic <email address hidden>
Reviewed-by: Emre Ucan <email address hidden>
Reviewed-by: Pekka Paalanen <email address hidden>

5306. By Armin Krezović <email address hidden> on 2016-08-11

gl-renderer: Make dummy surface current after all outputs are gone

When all outputs are gone, there are no current read/write
surfaces associated with a context. This makes the previously
created dummy surface current until an output gets attached
to avoid any potential crashes.

v2:

- Remove unnecessary objects

Signed-off-by: Armin Krezović <email address hidden>
Reviewed-by: Pekka Paalanen <email address hidden>

5305. By Armin Krezović <email address hidden> on 2016-08-11

compositor: Mark all views as dirty when a new output is assigned

When all outputs are gone and views were created before they
were gone, such views would have no output object assigned and
nothing would assign it later. This makes sure all views are
set as dirty, so they can get an output assigned when an
output gets plugged in, if they didn't have any output assigned.

This change also works when a new output is added even if there already
are outputs in use. A view may be partly off-screen. If the new output
appears at a position where it overlaps an existing view, that view
should get updated.

It is enough to process only the main view_list, because views not on
that list are not shown for the moment and so do not need an immediate
update. Instead, they will get updated later as needed because making an
off-list view to go on-list inherently requires calling
weston_view_geometry_dirty().

Signed-off-by: Armin Krezović <email address hidden>
[Pekka: addes commit msg paragrapha 2 and 3.]
Reviewed-by: Pekka Paalanen <email address hidden>
Reviewed-by: Quentin Glidic <email address hidden>

5304. By Armin Krezović <email address hidden> on 2016-08-08

compositor-drm: Use non-cast functions to retrieve backend and output objects

This uses container_of instead of explicit cast to retrieve
backend and output objects from generic weston_backend and
weston_output pointers.

v2:

- Remove unneeded cast
- Remove unneeded line breaks

Signed-off-by: Armin Krezović <email address hidden>
Reviewed-by: Pekka Paalanen <email address hidden>

5303. By Bryce Harrington <email address hidden> on 2016-08-07

Switch to use safe_strtoint instead of strtol

Signed-off-by: Bryce Harrington <email address hidden>
Reviewed-by: Eric Engestrom <email address hidden>
Reviewed-by: Peter Hutterer <email address hidden>

5302. By Bryce Harrington <email address hidden> on 2016-08-07

Add safe_strtoint() helper

Adds a safe strtol helper function, modeled loosely after Wayland
scanner's strtouint. This encapsulates the various quirks of strtol
behavior, and streamlines the interface to just handling base-10 numbers
with a simple true/false error indicator and a uint32_t return by
reference.

Test cases are loosely derived from an earlier patch by Imran Zaman.

Signed-off-by: Bryce Harrington <email address hidden>
Reviewed-by: Thiago Macieira <email address hidden>
Reviewed-by: Eric Engestrom <email address hidden>
Reviewed-by: Peter Hutterer <email address hidden>

5301. By Bryce Harrington <email address hidden> on 2016-08-07

option-parser: Improve error checking for strtol call

Make the error checking consistent with other strtol() calls.

Note that since strtol(nptr, &endptr) sets endptr == nptr if there were
no digits, this catches the case where the string was blank, so there's
no need to test *value != '\0'.

Signed-off-by: Bryce Harrington <email address hidden>
Reviewed-by: Eric Engestrom <email address hidden>
Reviewed-by: Peter Hutterer <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers