Re: [PATCH xkbcomp 2/2] Fix incorrect processing of char(0xff) in comments

2011-01-17 Thread Michel Dänzer
On Son, 2011-01-16 at 12:27 +0100, Dirk Wallenstein wrote: On Sun, Jan 16, 2011 at 01:26:10AM +0500, Alexandr Shadchin wrote: If type readBuf is char, then scanchar() return -1 for char(0xFF) and EOF. If type readBuf is unsigned char, then scanchar() return 0xFF for char(0xFF) and -1 for

Re: [PATCH xkbcomp 2/2] Fix incorrect processing of char(0xff) in comments

2011-01-17 Thread Dirk Wallenstein
On Mon, Jan 17, 2011 at 10:40:18AM +0100, Michel Dänzer wrote: On Son, 2011-01-16 at 12:27 +0100, Dirk Wallenstein wrote: On Sun, Jan 16, 2011 at 01:26:10AM +0500, Alexandr Shadchin wrote: If type readBuf is char, then scanchar() return -1 for char(0xFF) and EOF. If type readBuf is

Re: [PATCH 4/4] xf86/xv: Only register PostValidateTree hook when there is work to do

2011-01-17 Thread Pauli Nieminen
On 16/01/11 23:34 -0500, ext Adam Jackson wrote: On Jan 14, 2011, at 8:44 AM, Pauli wrote: @@ -1151,8 +1149,7 @@ xf86XVPostValidateTree(WindowPtr pWin, WindowPtr pLayerWin, VTKind kind) if (ScreenPriv-PostValidateTree) { pScreen-PostValidateTree = ScreenPriv-PostValidateTree;

[PATCH 0/6] Move main() from DIX to DDXen

2011-01-17 Thread Jon TURNEY
This is more in the nature of a RFC, but this is the least-bad approach I have managed to come up with. Why do I want to do this? This set of changes lets me untie a few knots that XWin finds itself in at the moment: * libdix comes in 2 different flavours, depending on if it's built with

[PATCH 2/6] Replace DDXBEFORERESET with a more general way of doing DDX-specific hooks

2011-01-17 Thread Jon TURNEY
Replace DDXBEFORERESET, which was introduced for the sole benefit of XWin in commit 048045a9, with a slightly more general way of doing DDX-specific hooks, still for the sole benefit of XWin :-) Use a structure of function pointers, which can be initialized as required by the specific DDX during

[PATCH 3/6] Add a DDX specific GLX provider push hook

2011-01-17 Thread Jon TURNEY
This is needed to give DDX which are statically linked with extensions a chance to install DDX specific GLX providers before the GLX extension is initialized The the swrast provider is installed just before GLX extension is initialized. The GLX extension asks providers if they can support a

[PATCH 4/6] Add a DDX specific hook into miPaintWindow for DDXen which support the rootless extension

2011-01-17 Thread Jon TURNEY
Add a DDX specific hook into miPaintWindow, so DDXs which have the rootless extension can install the the neccesary checking which rootless needs to do DDXs which don't support rootless won't install the hook, but the DIX remains compatible with them, so they can be built at the same time. XXX:

[PATCH 6/6] Revert libmain.a

2011-01-17 Thread Jon TURNEY
libmain is no longer needed to permit test harness to link to dix without including main, as dix no longer includes a main This partially reverts commit c2c515ead38d9a6c9eae0b83aa7a82208f177b7e. Signed-off-by: Jon TURNEY jon.tur...@dronecode.org.uk --- configure.ac| 11

Re: [PATCH 0/6] Move main() from DIX to DDXen

2011-01-17 Thread zt.t...@gmail.com
On Jan 17, 2011 9:20 AM, Jon TURNEY jon.tur...@dronecode.org.uk wrote: This is more in the nature of a RFC, but this is the least-bad approach I have managed to come up with. Why do I want to do this? This set of changes lets me untie a few knots that XWin finds itself in at the moment: *

Re: [PATCH 0/6] Move main() from DIX to DDXen

2011-01-17 Thread Mikhail Gusarov
Twas brillig at 14:20:35 17.01.2011 UTC+00 when jon.tur...@dronecode.org.uk did gyre and gimble: JT Jon TURNEY (6): JT Move main() from dix to ddx JT Replace DDXBEFORERESET with a more general way of doing DDX-specific JT hooks JT Add a DDX specific GLX provider push hook JT

Re: [PATCH xkbcomp 2/2] Fix incorrect processing of char(0xff) in comments

2011-01-17 Thread Dirk Wallenstein
On Sun, Jan 16, 2011 at 12:27:30PM +0100, Dirk Wallenstein wrote: On Sun, Jan 16, 2011 at 01:26:10AM +0500, Alexandr Shadchin wrote: If type readBuf is char, then scanchar() return -1 for char(0xFF) and EOF. If type readBuf is unsigned char, then scanchar() return 0xFF for char(0xFF) and -1

Re: [PATCH 3/3] exa/mixed: Exclude frontbuffer from deferred pixmap handling.

2011-01-17 Thread Maarten Maathuis
2010/12/20 Michel Dänzer mic...@daenzer.net: On Mon, 2010-12-20 at 15:54 +0100, Maarten Maathuis wrote: 2010/12/20 Michel Dänzer mic...@daenzer.net: On Mon, 2010-12-20 at 15:46 +0100, Maarten Maathuis wrote: 2010/12/14 Michel Dänzer mic...@daenzer.net: On Mon, 2010-12-13 at 19:42 +0100,

Re: Dynamic Plug and unplug of display link devices

2011-01-17 Thread Dave Airlie
On Tue, Jan 18, 2011 at 1:43 AM, PRASANNA KUMAR prasanna_tsm_ku...@yahoo.co.in wrote: Hi, I have heard of display link usb to vga adaptor working with X. I have some doubt regarding the usage. If i dynamically plug in or un plug the usb from the port will X recognize and do things

Re: [PATCH 0/6] Move main() from DIX to DDXen

2011-01-17 Thread Adam Jackson
On Jan 17, 2011, at 9:20 AM, Jon TURNEY wrote: This is more in the nature of a RFC, but this is the least-bad approach I have managed to come up with. I don't really have a problem with this series, but your motivations seem odd: * libdix comes in 2 different flavours, depending on if it's

[PATCH xinput 0/3] Add different formats for --list option

2011-01-17 Thread Peter Hutterer
When using XI2, the output of xinput list shows the device hierarchy including attachment, device type and a few others. This is useful for humans but hard to parse for scripts who usually only care about a device name or about the device ID. Add two more flags to xinput list to display name or

[PATCH xinput 1/3] Switch list to use an enum of printing formats.

2011-01-17 Thread Peter Hutterer
Currently long and short, same as before. No functional changes, preparation for further formats. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/list.c | 48 +++- 1 files changed, 31 insertions(+), 17 deletions(-) diff --git

[PATCH xinput 2/3] Add --name-only flag for 'xinput list'.

2011-01-17 Thread Peter Hutterer
The default output of xinput list is hard to parse by scripts. Provide a --name-only option to print the device name only, without any other information. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- man/xinput.man |5 - src/list.c | 31 +--

[PATCH xinput 3/3] Add --id-only flag for 'xinput list'.

2011-01-17 Thread Peter Hutterer
The default output of xinput list is hard to parse by scripts. Provide a --id-only option to print the device ID only, without any other information. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- man/xinput.man |5 - src/list.c | 13 - 2 files changed, 16

[PATCH xinput 4/3] Fix broken xinput list devicename.

2011-01-17 Thread Peter Hutterer
Default behaviour for --list is to list --short if no device is given and --long if a device is given. Restore this behaviour. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- sorry, noticed this a minute after the patch series was out. src/list.c | 12 +--- 1 files

[PATCH xf86-input-aiptek] Address compiler warning.

2011-01-17 Thread Trevor Woerner
From: Trevor Woerner twoer...@gmail.com When compiling gcc warns: 'rc' may be used uninitialized in this function which is plausible if none of the if/else cases are matched. Signed-off-by: Trevor Woerner twoer...@gmail.com --- src/xf86Aiptek.c |2 +- 1 files changed, 1 insertions(+),

[PATCH xf86-input-acecad] Address compiler warnings - uninitialized use.

2011-01-17 Thread Trevor Woerner
From: Trevor Woerner twoer...@gmail.com When compiling prior to this patch, the following warnings are produced: 'report_x' may be used uninitialized in this function 'report_y' may be used uninitialized in this function Signed-off-by: Trevor Woerner twoer...@gmail.com --- I don't

[PATCH xf86-input-acecad 2/2] Compiler warning: defined but not used.

2011-01-17 Thread Trevor Woerner
From: Trevor Woerner twoer...@gmail.com The function, 'ReverseConvertProc()', is no longer needed with the new XINPUT ABI. Signed-off-by: Trevor Woerner twoer...@gmail.com --- src/acecad.c |2 ++ src/acecad.h |2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git