profile/ivi/weston.git
10 years agoUpdate package changelog. 2.0alpha-wayland accepted/2.0alpha-wayland/20130521.144920 submit/2.0alpha-wayland/20130520.233936
Ossama Othman [Mon, 20 May 2013 23:38:01 +0000 (16:38 -0700)]
Update package changelog.

Change-Id: I500ba5114eff8131b5e203429ccd1999b6c668aa
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agorc.weston: Do not enable screensaver for IVI (TIVI-933).
Ossama Othman [Mon, 20 May 2013 23:37:12 +0000 (16:37 -0700)]
rc.weston: Do not enable screensaver for IVI (TIVI-933).

Change-Id: I5588c03d0861a1582f7a3cb7f98a73a93fb1c69c
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoUpdate package changelog. accepted/2.0alpha-wayland/20130520.092756 submit/2.0alpha-wayland/20130514.222845
Ossama Othman [Tue, 14 May 2013 22:25:01 +0000 (15:25 -0700)]
Update package changelog.

Change-Id: I769d6f264e3abe204aa5bcd9a39972c696eb9118
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoCreate /etc/xdg/weston config directory during installation.
Ossama Othman [Tue, 14 May 2013 22:18:13 +0000 (15:18 -0700)]
Create /etc/xdg/weston config directory during installation.

Change-Id: Ie85b7e77e801ddb1272051c051bff7228785d270
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoconfig-parser: Honor XDG_CONFIG_DIRS.
Ossama Othman [Fri, 10 May 2013 20:13:11 +0000 (13:13 -0700)]
config-parser: Honor XDG_CONFIG_DIRS.

This set of changes adds support for searching for a given config file
in the directories listed in $XDG_CONFIG_DIRS if it wasn't found in
$XDG_CONFIG_HOME or ~/.config.  This allows packages to install custom
config files in /etc/xdg/weston, for example, thus allowing them to
avoid dealing with home directories.

To avoid a TOCTOU race the config file is actually open()ed during the
search.  Its file descriptor is returned and stored in the compositor
for later use when performing subsequent config file parses.

Change-Id: If473edf71839434eb0de88061a3ceca593a934ad
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoUpdated packaging change log.
Ossama Othman [Thu, 9 May 2013 16:28:18 +0000 (09:28 -0700)]
Updated packaging change log.

Change-Id: Iadaf5ecb5b8425bed354f7629a7bbc985409d449
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agobug fix previous commit 11/3511/1
Wang Quanxian [Wed, 8 May 2013 03:21:29 +0000 (11:21 +0800)]
bug fix previous commit

10 years agoBug fix TIVI-782, the x moves oppsite direction. 96/3496/3
Wang Quanxian [Tue, 7 May 2013 04:08:39 +0000 (12:08 +0800)]
Bug fix TIVI-782, the x moves oppsite direction.

When move finger to left, the mouse will move to right.
Signed-Off-By Quanxian Wang <quanxian.wang@intel.com>

11 years agoUpdated package changelog. accepted/2.0alpha-wayland/20130501.003450 submit/2.0alpha-wayland/20130430.213158
Ossama Othman [Tue, 30 Apr 2013 21:31:06 +0000 (14:31 -0700)]
Updated package changelog.

Change-Id: I6875fb7fb51ef692c247029a2789ce1f3c5c6c47
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
11 years agoAdded missing weston-devel package dependencies.
Ossama Othman [Tue, 30 Apr 2013 21:28:47 +0000 (14:28 -0700)]
Added missing weston-devel package dependencies.

Change-Id: Ie84a475288624ffd9c97d8fe945403d79aa11ded
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
11 years agoAdded note about wayland-devel dependency fix to package changelog. accepted/2.0alpha-wayland/20130424.214608 submit/2.0alpha-wayland/20130424.221457
Ossama Othman [Wed, 24 Apr 2013 22:11:47 +0000 (15:11 -0700)]
Added note about wayland-devel dependency fix to package changelog.

Signed-off-by: Ossama Othman <ossama.othman@intel.com>
11 years agoAdded missing wayland-devel dependency for weston-devel package.
Ossama Othman [Wed, 24 Apr 2013 22:10:06 +0000 (15:10 -0700)]
Added missing wayland-devel dependency for weston-devel package.

Signed-off-by: Ossama Othman <ossama.othman@intel.com>
11 years agoUpdated package changelog.
Ossama Othman [Fri, 19 Apr 2013 23:09:41 +0000 (16:09 -0700)]
Updated package changelog.

Signed-off-by: Ossama Othman <ossama.othman@intel.com>
11 years agoBumped package version to 1.0.6.
Ossama Othman [Fri, 19 Apr 2013 23:08:31 +0000 (16:08 -0700)]
Bumped package version to 1.0.6.

Signed-off-by: Ossama Othman <ossama.othman@intel.com>
11 years agoAdded key binding to toggle task manager
Jimmy Huang [Mon, 11 Mar 2013 22:20:51 +0000 (15:20 -0700)]
Added key binding to toggle task manager

Added key binding to the Windows key (left meta key) to toggle the taskmanager,
launching it or kill it if it's running, since there's no mechanism to bring
up the task manager now.

Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
11 years agoFixed typo in #endif
Jimmy Huang [Thu, 7 Mar 2013 21:40:08 +0000 (13:40 -0800)]
Fixed typo in #endif

Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
11 years agoUpdated package changelog.
Ossama Othman [Thu, 28 Feb 2013 19:57:33 +0000 (11:57 -0800)]
Updated package changelog.

Change-Id: Ife8d804ccea4484927ae98f6352adabaa3d5be09
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
11 years agoAllow clicking on top panel to return to home screen
Jimmy Huang [Thu, 28 Feb 2013 00:06:39 +0000 (16:06 -0800)]
Allow clicking on top panel to return to home screen

This is a work-around solution to allow us to return to the home screen in wayland since
there's no home button.

1. Defined new 'show_homescreen' request in desktop shell protocol.
2. Added handling in weston-shell to handle when show_homesreen is called, it raises
the surface belongs to the home screen (which is the org.tizen.menu-screen).
3. Registered click event when you click on the top launcher panel in the desktop shell,
it will return to the home screen, since the top launcher panel is always present in the
desktop shell client.

Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
11 years agoAdded handling for the new shell_surface_raise request in compositor
Jimmy Huang [Wed, 27 Feb 2013 23:59:50 +0000 (15:59 -0800)]
Added handling for the new shell_surface_raise request in compositor

Added implementation for raise request for the shell surface interface in wayland
client protocol.  It will call activate to raise the shell surface to the top
of the window stack.

Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
11 years agoUpdated package changelog.
Ossama Othman [Fri, 15 Feb 2013 21:46:45 +0000 (13:46 -0800)]
Updated package changelog.

Change-Id: I37c31fdd2c1abc9b39aa9db601c8e44e892f5aea
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
11 years agoUpdate to 1.0.5 release.
Ossama Othman [Fri, 15 Feb 2013 21:23:34 +0000 (13:23 -0800)]
Update to 1.0.5 release.

Change-Id: Ie9be8670d0115120db6be76498fdf5adb129b68c
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
11 years agoELM/VAS engine env vars should be 'wayland_egl'. Removed unused env vars.
Ossama Othman [Fri, 15 Feb 2013 21:03:45 +0000 (13:03 -0800)]
ELM/VAS engine env vars should be 'wayland_egl'.  Removed unused env vars.

Change-Id: Ib4ff7b1f1795758147e26c9ed42f58976210b1aa
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
11 years agoPrefer '%{?_smp_mflag' to '%{?jobs:-j%jobs}' in spec file.
Ossama Othman [Fri, 15 Feb 2013 21:00:54 +0000 (13:00 -0800)]
Prefer '%{?_smp_mflag' to '%{?jobs:-j%jobs}' in spec file.

Change-Id: I78ba6612dd7b19e00f00e4115362e1707e2ebaec
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
11 years agoCorrected option passed to autogen RPM macro. s/-disable/--disable/
Ossama Othman [Fri, 15 Feb 2013 20:58:59 +0000 (12:58 -0800)]
Corrected option passed to autogen RPM macro.  s/-disable/--disable/

Change-Id: Ide5d79d32379dcfb0c2b7dd673b9bd5b80cf0b6c
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
11 years agoUpdated packaging changelog.
Ossama Othman [Wed, 6 Feb 2013 23:15:37 +0000 (15:15 -0800)]
Updated packaging changelog.

Change-Id: I8ecad022ef2074bcc6fdd6dc51b756eeed4ac28d
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
11 years agoWait for existence of wayland socket before changing its permissions.
Ossama Othman [Wed, 6 Feb 2013 23:07:12 +0000 (15:07 -0800)]
Wait for existence of wayland socket before changing its permissions.

Change-Id: If0128ac1b1ec533d7112692f5ce1a35da3099392
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
11 years agoTighten up permissions on Weston run-time dir.
Ossama Othman [Wed, 6 Feb 2013 23:05:00 +0000 (15:05 -0800)]
Tighten up permissions on Weston run-time dir.

Change-Id: Ief1afb71efcad7df12897d8797f8017e8c1a9df4
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
11 years agoUpdated packaging change log.
Ossama Othman [Wed, 30 Jan 2013 07:00:03 +0000 (23:00 -0800)]
Updated packaging change log.

Change-Id: I5d1e0ec048a57eabf5e40d52fbd6da8352db876e
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
11 years agoUse Wayland EGL as ELM and e-core evas engine, not Wayland SHM.
Ossama Othman [Wed, 30 Jan 2013 00:07:11 +0000 (16:07 -0800)]
Use Wayland EGL as ELM and e-core evas engine, not Wayland SHM.

Change-Id: Ia28a7473c1c441fd96c91f9f38dd3e651de08490
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
11 years agoWork around insufficient access permissions for unprivileged users.
Ossama Othman [Sat, 26 Jan 2013 00:55:11 +0000 (16:55 -0800)]
Work around insufficient access permissions for unprivileged users.

Change-Id: I35f6693316cbd5b68c4695607210b25aa087bca4
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
11 years agoEnable Weston to start at boot.
Ossama Othman [Fri, 25 Jan 2013 00:27:17 +0000 (16:27 -0800)]
Enable Weston to start at boot.

Change-Id: I87f849b1ef510edea4f6cf81a34dc8a72faedd89
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
11 years agoUpdate packaging to 1.0.2
Rob Bradford [Thu, 6 Dec 2012 18:59:11 +0000 (18:59 +0000)]
Update packaging to 1.0.2

11 years agoDisable weston-launch (requires pam which we don't have)
Rob Bradford [Thu, 15 Nov 2012 17:38:11 +0000 (17:38 +0000)]
Disable weston-launch (requires pam which we don't have)

11 years agoDisable vpx support
Rob Bradford [Thu, 15 Nov 2012 17:33:45 +0000 (17:33 +0000)]
Disable vpx support

11 years agoUpdate to 1.0.0 packaging
Rob Bradford [Thu, 15 Nov 2012 17:29:32 +0000 (17:29 +0000)]
Update to 1.0.0 packaging

11 years agoRelease mechanics for TIVI-107 udev rules
Rob Bradford [Tue, 18 Sep 2012 17:36:38 +0000 (18:36 +0100)]
Release mechanics for TIVI-107 udev rules

11 years agopackaging: Add udev rule to quirk the touchscreen on VTC1000
Rob Bradford [Tue, 18 Sep 2012 16:51:15 +0000 (17:51 +0100)]
packaging: Add udev rule to quirk the touchscreen on VTC1000

11 years agoRelease to include changes needed for TIVI-107
Rob Bradford [Tue, 18 Sep 2012 15:50:20 +0000 (16:50 +0100)]
Release to include changes needed for TIVI-107

11 years agocompositor-drm: Add quirk loading from udev
Rob Bradford [Mon, 17 Sep 2012 17:07:00 +0000 (18:07 +0100)]
compositor-drm: Add quirk loading from udev

Look at udev properties and then set the quirk flags based on the udev
properties that are set on the device node.

11 years agoevdev: Add support for device quirks and implement axes swapping
Rob Bradford [Mon, 17 Sep 2012 17:02:22 +0000 (18:02 +0100)]
evdev: Add support for device quirks and implement axes swapping

This quirk is designed for hardware that has the X and Y axes swapped for
absolute events.

11 years agoupdate the changelog
Rusty Lynch [Mon, 17 Sep 2012 23:49:30 +0000 (16:49 -0700)]
update the changelog

11 years agoAdd HOME to the list of env varialbes set in the systemd config
Rusty Lynch [Mon, 17 Sep 2012 23:47:41 +0000 (16:47 -0700)]
Add HOME to the list of env varialbes set in the systemd config

11 years agoIntroduce patch to fix TIVI-191
Rob Bradford [Fri, 14 Sep 2012 22:10:02 +0000 (23:10 +0100)]
Introduce patch to fix TIVI-191

11 years agocompositor-drm: Don't try and scan out a SHM buffer directly
Rob Bradford [Fri, 14 Sep 2012 22:02:47 +0000 (23:02 +0100)]
compositor-drm: Don't try and scan out a SHM buffer directly

gbm_bo_import will fail to produce a valid bo since the buffer is an SHM
buffer. This cause a crash when the NULL bo returned by gbm_bo_import is
dereferenced later.

Signed-off-by: Rob Bradford <rob@linux.intel.com>
11 years agoAdd manpage to spec file
Rob Bradford [Thu, 13 Sep 2012 17:55:25 +0000 (18:55 +0100)]
Add manpage to spec file

11 years agoUpdate snapshot
Rob Bradford [Thu, 13 Sep 2012 17:46:00 +0000 (18:46 +0100)]
Update snapshot

11 years agoUpdate to force rebuild
Rob Bradford [Thu, 16 Aug 2012 17:22:22 +0000 (18:22 +0100)]
Update to force rebuild

11 years agoUpdate snapshot
Rob Bradford [Thu, 16 Aug 2012 08:56:48 +0000 (09:56 +0100)]
Update snapshot

11 years agoAdd new installed file - weston-info
Rob Bradford [Thu, 16 Aug 2012 08:56:33 +0000 (09:56 +0100)]
Add new installed file - weston-info

11 years agoUpdate snapshot
Rob Bradford [Thu, 16 Aug 2012 08:47:38 +0000 (09:47 +0100)]
Update snapshot

11 years agoRemove file from .spec
Rob Bradford [Thu, 16 Aug 2012 08:45:42 +0000 (09:45 +0100)]
Remove file from .spec

11 years agoUpdate snapshot
Rob Bradford [Thu, 16 Aug 2012 08:39:09 +0000 (09:39 +0100)]
Update snapshot

11 years agoDisable xwayland
Rob Bradford [Tue, 14 Aug 2012 17:30:10 +0000 (18:30 +0100)]
Disable xwayland

11 years agoBump .changes and spec for update
Rob Bradford [Tue, 14 Aug 2012 15:51:32 +0000 (16:51 +0100)]
Bump .changes and spec for update

11 years agoFix some lint errors in the spec file
Rob Bradford [Tue, 14 Aug 2012 15:53:51 +0000 (16:53 +0100)]
Fix some lint errors in the spec file

11 years agobuild: Disable the X11 compositor
Rob Bradford [Mon, 13 Aug 2012 13:43:04 +0000 (14:43 +0100)]
build: Disable the X11 compositor

Fixes: https://bugs.tizen.org/jira/browse/TIVI-76

11 years agoUpdate changelog and bump version
Rob Bradford [Fri, 3 Aug 2012 15:23:12 +0000 (16:23 +0100)]
Update changelog and bump version

11 years agodelete weston-mode patch from packaging dir
Wang Quanxian [Tue, 24 Jul 2012 02:19:43 +0000 (10:19 +0800)]
delete weston-mode patch from packaging dir

Signed-Off-By Quanxian Wang <quanxian.wang@intel.com>

11 years agoAdd PATH to weston.service
Rusty Lynch [Wed, 11 Jul 2012 22:23:04 +0000 (15:23 -0700)]
Add PATH to weston.service

11 years agoUse SHM backend for Ecore & Elementary
Rob Bradford [Mon, 9 Jul 2012 17:34:59 +0000 (18:34 +0100)]
Use SHM backend for Ecore & Elementary

11 years agoUpdate changelog & spec version
Rob Bradford [Mon, 9 Jul 2012 10:49:12 +0000 (11:49 +0100)]
Update changelog & spec version

11 years agoTIZEN: Add logging to the weston.service file to facilitate debugging
Rob Bradford [Mon, 9 Jul 2012 10:45:41 +0000 (11:45 +0100)]
TIZEN: Add logging to the weston.service file to facilitate debugging

11 years agoBug fix CrownBay resolution issue
Wang Quanxian [Fri, 6 Jul 2012 11:25:50 +0000 (19:25 +0800)]
Bug fix CrownBay resolution issue

  Use the first mode as preferred mode in weston

Signed-Off-By Quanxian Wang <quanxian.wang@intel.com>

11 years agoAdd default mode for NexCom and Crossiville
Wang Quanxian [Fri, 6 Jul 2012 09:04:27 +0000 (17:04 +0800)]
Add default mode for NexCom and Crossiville

The platform has no EDID information. The mode could not be gotten
from emgd driver interfaces.

Signed-Off-By Wang Quanxian <quanxian.wang@intel.com>

11 years agoUpdate to latest snapshot
Rob Bradford [Wed, 4 Jul 2012 11:37:39 +0000 (12:37 +0100)]
Update to latest snapshot

11 years agoUpdate .changes
Graydon, Tracy [Mon, 2 Jul 2012 17:59:18 +0000 (10:59 -0700)]
Update .changes

11 years agoupdate service untis to be installed in /usr/lib vs /lib
Chris E Ferron [Mon, 2 Jul 2012 17:55:19 +0000 (10:55 -0700)]
update service untis to be installed in /usr/lib vs /lib

11 years agoRemove the --with-cairo-glesv2 argument since we do not build cairo with gl or gles...
Rusty Lynch [Thu, 21 Jun 2012 17:51:54 +0000 (10:51 -0700)]
Remove the --with-cairo-glesv2 argument since we do not build cairo with gl or gles support

11 years agoAdd packaging files for Tizen
Rusty Lynch [Wed, 13 Jun 2012 00:26:06 +0000 (17:26 -0700)]
Add packaging files for Tizen

11 years agoconfigure.ac: Bump version to 1.0.6 upstream
Kristian Høgsberg [Fri, 22 Mar 2013 14:53:14 +0000 (10:53 -0400)]
configure.ac: Bump version to 1.0.6

11 years agoweston-egl: Allow compilation against older EGL stack
Rob Bradford [Fri, 22 Mar 2013 14:15:49 +0000 (14:15 +0000)]
weston-egl: Allow compilation against older EGL stack

Provide a definition of EGL_BUFFER_AGE_EXT so that you can compile against an
EGL stack that may not yet support that extension.

11 years agoweston.man: Document the way to disable idle timeout
Scott Moreau [Sat, 9 Mar 2013 18:55:40 +0000 (11:55 -0700)]
weston.man: Document the way to disable idle timeout

11 years agoRevert "weston.ini: Use 'modeline' key for modeline example"
Scott Moreau [Sun, 10 Mar 2013 15:30:16 +0000 (09:30 -0600)]
Revert "weston.ini: Use 'modeline' key for modeline example"

This reverts commit 97a56145636316fdb431b91ec64adff217287cd9.

The current code detects the mode key, not modeline. Reference:
http://cgit.freedesktop.org/wayland/weston/tree/src/compositor-drm.c#n2464

11 years agosrc/Makefile.am: Fix git-version.h for out of tree builds
Andre Heider [Fri, 1 Mar 2013 14:38:23 +0000 (15:38 +0100)]
src/Makefile.am: Fix git-version.h for out of tree builds

Use --git-dir instead of --work-tree, see
http://marc.info/?l=git&m=120390208721287&w=2

Signed-off-by: Andre Heider <a.heider@gmail.com>
11 years agoevdev: Wait for SYN event before sending events over to the client
Satyeshwar Singh [Wed, 27 Feb 2013 20:26:23 +0000 (15:26 -0500)]
evdev: Wait for SYN event before sending events over to the client

The issue was that touch::down event from the compositor to client apps
would send the previous motion events coordinates and this obviously made
the client do the wrong thing. This happened because we were not waiting
for a SYN event to come from evdev before sending down, motion or up events.

https://bugs.freedesktop.org/show_bug.cgi?id=51909

11 years agoconfigure.ac: Lower version back to 1.0.5
Kristian Høgsberg [Tue, 26 Feb 2013 19:41:58 +0000 (14:41 -0500)]
configure.ac: Lower version back to 1.0.5

It was bumped to 1.0.90 by accident when I picked the SDK patch.

11 years agocompositor-drm: Fix a crash with a fullscreen surface with driver mode
Ander Conselvan de Oliveira [Tue, 26 Feb 2013 11:44:58 +0000 (13:44 +0200)]
compositor-drm: Fix a crash with a fullscreen surface with driver mode

If there was a fullscreen surface using driver mode when a vt switch is
triggered, but something caused it to be gone when switching back (such
as the client being killed), a call to drm_output_switch_mode() is made
to restore the old mode, and that sets the output's current drm_fb to
NULL, so that the new mode is set drm_output_repaint(). This led to a
crash in vt_func(), because it tried to access output->current for
restoring the old mode.

Fix this by not setting the mode if there's no current fb. Instead,
schedule a repaint so that the mode is set in drm_output_repaint().

https://bugs.freedesktop.org/show_bug.cgi?id=60675

11 years agoMakefile.am: Distribute weston.ini sample
Kristian Høgsberg [Mon, 25 Feb 2013 18:03:15 +0000 (13:03 -0500)]
Makefile.am: Distribute weston.ini sample

https://bugs.freedesktop.org/show_bug.cgi?id=61388

11 years agoMove weston-egl-ext.h include to gles2-renderer.c
U. Artie Eoff [Sun, 24 Feb 2013 03:22:50 +0000 (19:22 -0800)]
Move weston-egl-ext.h include to gles2-renderer.c

The weston-egl-ext.h include in compositor.h is not needed.  Rather,
it is only needed by gles2-renderer.c.  This also fixes external
module compile error since weston-egl-ext.h is not part of the
Weston SDK:

weston/compositor.h:39:28: fatal error: weston-egl-ext.h:
No such file or directory

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agocompositor: Don't set DPMS state on start up
Ander Conselvan de Oliveira [Mon, 25 Feb 2013 16:06:38 +0000 (18:06 +0200)]
compositor: Don't set DPMS state on start up

Assume the backend sets the outputs to on state. This improves start up
time when using the drm backend by avoiding a GetConnectors() call that
can take up to a few hundred milliseconds because of DDC.

11 years agoAdd missing builddir includes for version.h
Kristian Høgsberg [Wed, 20 Feb 2013 19:47:43 +0000 (14:47 -0500)]
Add missing builddir includes for version.h

af4f2aaf198522b51cf2afc2f25f9189c2432887 broke this

11 years agoweston.ini: Use 'modeline' key for modeline example
Kristian Høgsberg [Tue, 19 Feb 2013 01:10:35 +0000 (20:10 -0500)]
weston.ini: Use 'modeline' key for modeline example

When specifying a modeline, use the modeline key.  Make the example
weston.ini do that.

11 years agosrc/Makefile.am: Use $(libdir) instead of @libdir@
Kristian Høgsberg [Mon, 18 Feb 2013 20:26:28 +0000 (15:26 -0500)]
src/Makefile.am: Use $(libdir) instead of @libdir@

This allows overriding prefix and libdir at make time.  Noticed
by David Herrmann.

11 years agoInstall header files and pkg-config file for external modules
Kristian Høgsberg [Sat, 16 Feb 2013 01:53:20 +0000 (20:53 -0500)]
Install header files and pkg-config file for external modules

This patch installs the three header files that define the compositor
plugin interface as well as a pkg-config file.  This allows
building weston plugins outside the weston tree.  We currently don't make
any guarantees about the plugin API/ABI except that within a stable
branch we won't break it.

Conflicts:
configure.ac
src/compositor.h

11 years agocompositor-drm: Remember to drop master in drm error handling
Kristian Høgsberg [Mon, 18 Feb 2013 20:02:27 +0000 (15:02 -0500)]
compositor-drm: Remember to drop master in drm error handling

Otherwise we'll kill whatever other display sever we're switching back to.
The tricky thing here is that we never explicitly set drm master in the
startup path, we get that implicitly from being the first to open the
drm device.  Even so, we need to drop it before switching VTs.

11 years agocompositor: Use libunwind if available for better backtraces
Marcin Slusarz [Mon, 18 Feb 2013 18:27:22 +0000 (13:27 -0500)]
compositor: Use libunwind if available for better backtraces

libunwind has a dwarf parser and automatically queries the dlinfo
for location of dlopened modules.  The resulting backtrace is much
better and includes stack frames in dynamically loaded modules.

krh: Originally submitted for Xorg, adapted for weston:

  http://lists.x.org/archives/xorg-devel/2013-February/035493.html

Note this require libunwind at least 1.1 to get the pkg-config files.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Conflicts:
configure.ac

11 years agoxwm: Don't leak pending.input region
Kristian Høgsberg [Fri, 15 Feb 2013 03:01:58 +0000 (22:01 -0500)]
xwm: Don't leak pending.input region

It's not really a leak, since the region is always a rectangle, but let's
play by the rules.

Conflicts:
src/xwayland/window-manager.c

11 years agoshell: Do not hang when mapping a popup twice
Giulio Camuffo [Mon, 18 Feb 2013 21:26:01 +0000 (22:26 +0100)]
shell: Do not hang when mapping a popup twice

When calling shell_map_popup() more than one time on the same shell_surface
the parent transform was getting added more than one time to the transform
list, resulting in an infinite loop when going through the list with
wl_list_for_each in weston_surface_update_transform_enable().
This commit removes the old transform before adding it again.

11 years agocompositor: set data_device keyboard focus in seat_get_keyboard
Rafal Mielniczuk [Sun, 17 Feb 2013 14:55:55 +0000 (15:55 +0100)]
compositor: set data_device keyboard focus in seat_get_keyboard

Because seat_get_keyboard is called after initial
weston_surface_activate, wl_data_device_set_keyboard_focus
fails to send data offer for newly connected client due to
wl_seat.focus_resource being NULL.

This patch calls wl_data_device_set_keyboard_focus
in seat_get_keyboard, so it can send data offer for
newly created client (when wl_keyboard.resource_list
and wl_seat.focus_resource are properly set up).

https://bugs.freedesktop.org/show_bug.cgi?id=60617

11 years agoxkb: Don't call exit on failure in weston_compositor_xkb_init()
Kristian Høgsberg [Sat, 16 Feb 2013 19:29:24 +0000 (14:29 -0500)]
xkb: Don't call exit on failure in weston_compositor_xkb_init()

This will exit without cleaning vt modes and leave the system stuck.

https://bugs.freedesktop.org/show_bug.cgi?id=60817

11 years agoshell: Set the DPMS state if the screensaver fails to launch or dies
Ander Conselvan de Oliveira [Fri, 15 Feb 2013 16:44:19 +0000 (18:44 +0200)]
shell: Set the DPMS state if the screensaver fails to launch or dies

The lock hook in desktop-shell only changes the DPMS state the second
time it is called, because during the first time it launches the
screensaver and wakes the compositor again when the screensaver surface
is configured. However, if the screensaver fails to launch, the output
is left in an enabled state, even thought there's no content being
displayed on the screen.

Fix this by disabling the outputs when the screensaver dies if the
shell is still locked.

https://bugs.freedesktop.org/show_bug.cgi?id=60084

11 years agoxwm: Fix silly region math
Kristian Høgsberg [Fri, 15 Feb 2013 03:01:04 +0000 (22:01 -0500)]
xwm: Fix silly region math

We were setting up the opaque region to be the window size and then
intersecting with the opaque rectange that's always contained in the window
rectangle.  Just initialize to the opaque rectangle.

11 years agoxwm: Fix input region regression from commit changes
Kristian Høgsberg [Fri, 15 Feb 2013 02:56:32 +0000 (21:56 -0500)]
xwm: Fix input region regression from commit changes

This must be the last regression from the surface commit changes.  We
need to set the pending.input region, otherwise the region will be
overwritten on commit.

https://bugs.freedesktop.org/show_bug.cgi?id=60610

11 years agoshell: Fix bug when input panel is shown twice
Jan Arne Petersen [Mon, 11 Feb 2013 14:10:11 +0000 (15:10 +0100)]
shell: Fix bug when input panel is shown twice

Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
11 years agoshell: Add back ability to rotate unresponsive surfaces
Kristian Høgsberg [Fri, 15 Feb 2013 02:31:44 +0000 (21:31 -0500)]
shell: Add back ability to rotate unresponsive surfaces

When a surface in deemed unresponsive and we trigger the busy cursor, it's
no longer possible to rotate the surface.  This is clearly unacceptable.
This patch adds handling of right clicks to the busy grab so that we can
continue to rotate a surface even if the client is sleeping.

https://bugs.freedesktop.org/show_bug.cgi?id=60609

11 years agoconfigure.ac: Bump version to 1.0.5
Kristian Høgsberg [Fri, 25 Jan 2013 01:32:30 +0000 (20:32 -0500)]
configure.ac: Bump version to 1.0.5

11 years agowindow.c: Don't allow moving a maximized window
Kristian Høgsberg [Thu, 14 Feb 2013 21:31:42 +0000 (16:31 -0500)]
window.c: Don't allow moving a maximized window

Ideally the shell would send an unmaximize event to the client when
we try to move a maximized window, but for now, let's just prevent
moving maximized windows.

https://bugs.freedesktop.org/show_bug.cgi?id=56296

11 years agoshell: Bypass fullscreen scaling if surface width and height match output
Rob Bradford [Tue, 12 Feb 2013 11:53:47 +0000 (11:53 +0000)]
shell: Bypass fullscreen scaling if surface width and height match output

If our surface has width and height set to the same dimensions as the output
then we can bypassing the scale factor calculation and addition of the
transformation.

The use case that led to this optimisation is the playback of video using
gstreamer-vaapi with the "scale" method. The video is the same dimensions as
the output (1080p.)

11 years agoweston-launcher: Add missing newline in error message
Martin Andersson [Tue, 12 Feb 2013 23:11:12 +0000 (00:11 +0100)]
weston-launcher: Add missing newline in error message

11 years agoconfigure.ac: Add version to bug URL as well
Kristian Høgsberg [Thu, 14 Feb 2013 17:09:41 +0000 (12:09 -0500)]
configure.ac: Add version to bug URL as well