[PATCH 2/2] hashtabletest: Fix warning: format ‘%ld’ expects argument of type ...

2014-03-03 Thread Hans de Goede
This fixes the following compiler warning: hashtabletest.c: In function ‘print_xid’: hashtabletest.c:15:5: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘XID’ [-Wformat=] printf(%ld, *x); ^ Signed-off-by: Hans de Goede hdego...@redhat.com ---

[PATCH 1/2] xf86Config: Fix warning: declaration of 'Pointer' shadows a global

2014-03-03 Thread Hans de Goede
This fixes the following compiler warning: xf86Config.c: In function 'checkCoreInputDevices': xf86Config.c:1136:18: warning: declaration of 'Pointer' shadows a global declaration [-Wshadow] InputInfoPtr Pointer, Keyboard; ^ In file included from xf86Xinput.h:57:0,

Re: [PATCH 1/2] xf86Config: Fix warning: declaration of 'Pointer' shadows a global

2014-03-03 Thread Mark Kettenis
From: Hans de Goede hdego...@redhat.com Date: Mon, 3 Mar 2014 09:53:12 +0100 This fixes the following compiler warning: xf86Config.c: In function 'checkCoreInputDevices': xf86Config.c:1136:18: warning: declaration of 'Pointer' shadows a global declaration [-Wshadow] InputInfoPtr

Re: [PATCH 1/2] xf86Config: Fix warning: declaration of 'Pointer' shadows a global

2014-03-03 Thread Hans de Goede
Hi, On 03/03/2014 11:23 AM, Mark Kettenis wrote: From: Hans de Goede hdego...@redhat.com Date: Mon, 3 Mar 2014 09:53:12 +0100 This fixes the following compiler warning: xf86Config.c: In function 'checkCoreInputDevices': xf86Config.c:1136:18: warning: declaration of 'Pointer' shadows a

[PULL] systemd-logind integration series

2014-03-03 Thread Hans de Goede
Hi Keith et al, Please pull my systemd-logind integration series, which will allow the Xserver to run without root rights on systems which use systemd-logind. With this in place I can start sending out the necessary driver changes for review. The following changes since commit

Re: [PATCH v2 1/4] xkb: factor out the StateNotify flag check

2014-03-03 Thread Daniel Stone
Hi, On 3 March 2014 05:44, Peter Hutterer peter.hutte...@who-t.net wrote: +static int +_XkbWantStateNotify(XkbSrvInfoPtr xkbi) +{ +Bool genStateNotify; + +/* The state may change, so if we're not in the middle of sending a state + * notify, prepare for it */ +if

Re: [PATCH libxtrans] configure: under glibc define _GNU_SOURCE rather then _BSD_SOURCE

2014-03-03 Thread Daniel Stone
Hi, On 3 March 2014 07:56, Hans de Goede hdego...@redhat.com wrote: The latest glibc considers _BSD_SOURCE deprecated, leading to the following warning being issued for pretty much every C-file in the xserver: In file included from /usr/include/stdint.h:25:0, from

Re: [PATCH v2 4/4] xkb: push locked modifier state down to attached slave devices

2014-03-03 Thread Daniel Stone
Hi, On 3 March 2014 05:44, Peter Hutterer peter.hutte...@who-t.net wrote: Whenever the master changes, push the locked modifier state to the attached slave devices, then update the indicators. This way, when NumLock or CapsLock are hit on any device, the LED will light up on all devices.

[PULL] hw/xwin patches

2014-03-03 Thread Jon TURNEY
Hi Keith, Please consider pulling into master. Thanks. The following changes since commit caf1dec2a76fbbd21259fe4cc809e24a55ff79b4: V2: Add check for link from output to crtc before optimizing out a CrtcSet call (2014-02-24 16:33:35 -0800) are available in the git repository at:

[PATCH 3/2] Build fbcmap_mi.c once, rather than for each DDX

2014-03-03 Thread Jon TURNEY
Build fbcmap_mi.c once, rather than for each DDX, and make it part of libfb or libwfb convenience library. Since 84e8de1271bb11b5b4b9747ae4647f47333a8ab7 we don't have fbcmap.c This is a sort of revert of 7ecc2d526c4ea5db2589644a2fec0daf71df36da Signed-off-by: Jon TURNEY

[PATCH 1/3] config_odev_add*_attribute: Don't add the attribute to the list twice

2014-03-03 Thread Hans de Goede
Don't do the xorg_list_append a 2nd time when updating existing attributes. Signed-off-by: Hans de Goede hdego...@redhat.com --- config/config.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/config/config.c b/config/config.c index 7971b87..28dac86 100644 ---

[PATCH 2/3] xf86platformBus: Make doPlatformProbe accept a NULL gdev argument

2014-03-03 Thread Hans de Goede
And use it from xf86platformAddDevice too, instead of directly calling drvp-platformProbe. Signed-off-by: Hans de Goede hdego...@redhat.com --- hw/xfree86/common/xf86platformBus.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git

[PATCH 3/3] Require video drivers to report that they support server managed fds

2014-03-03 Thread Hans de Goede
This makes how we handle video drivers identical to what we do for input drivers, and this should make live easier for old non kms drivers. Signed-off-by: Hans de Goede hdego...@redhat.com --- hw/xfree86/common/xf86platformBus.c | 14 +- hw/xfree86/common/xf86str.h | 3 ++-

Re: [PATCH 3/3] Require video drivers to report that they support server managed fds

2014-03-03 Thread Alan Coopersmith
On 03/ 3/14 08:26 AM, Hans de Goede wrote: This makes how we handle video drivers identical to what we do for input drivers, and this should make live easier for old non kms drivers. Signed-off-by: Hans de Goede hdego...@redhat.com --- hw/xfree86/common/xf86platformBus.c | 14 +-

Re: [PULL] hw/xwin patches

2014-03-03 Thread Keith Packard
Jon TURNEY jon.tur...@dronecode.org.uk writes: Colin Harrison (5): hw/xwin: Align parameter names in prototypes with definition hw/xwin: Fix typo in comment hw/xwin: Silence bell when volume is zero hw/xwin: Add missing FORCEEXIT token to XWin configuration file lexer

Re: [PATCH v2 4/4] xkb: push locked modifier state down to attached slave devices

2014-03-03 Thread Peter Hutterer
On Mon, Mar 03, 2014 at 02:18:29PM +, Daniel Stone wrote: Hi, On 3 March 2014 05:44, Peter Hutterer peter.hutte...@who-t.net wrote: Whenever the master changes, push the locked modifier state to the attached slave devices, then update the indicators. This way, when NumLock or

[PATCH v3 1/4] xkb: factor out the StateNotify flag check

2014-03-03 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- Changes to v2: - rename to _XkbEnsureStateChange - drop unwieldly if/else xkb/xkbActions.c | 27 ++- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/xkb/xkbActions.c b/xkb/xkbActions.c index

Student interested in gsoc at xorg

2014-03-03 Thread lazaro E Lespes
Hello All, The last February 26, I sent and introduction mail to mesa-dev@ lists.freedesktop.org because I'm interested in participate in gsoc at xorg. I did not get any feedback so I don't know if my mail arrived to the list. Below, I send the mail again. Thanks and regards. Hello All, I'm a