Re: [PATCH keyboard 3/3] Remove support for X input ABI < 12

2015-11-26 Thread Alexandr Shadchin
On Wed, Nov 25, 2015 at 07:19:48AM +1000, Peter Hutterer wrote: > On Tue, Nov 24, 2015 at 12:46:44PM +0500, Alexandr Shadchin wrote: > > Signed-off-by: Alexandr Shadchin <alexandr.shadc...@gmail.com> > > do you have follow-up patches that require these changes? I'm

[PATCH keyboard 1/3] Remove empty function xf86KbdUnplug

2015-11-23 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin <alexandr.shadc...@gmail.com> --- src/kbd.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/kbd.c b/src/kbd.c index 189adca..4db2e0a 100644 --- a/src/kbd.c +++ b/src/kbd.c @@ -452,11 +452,6 @@ PostKbdEvent(InputInfoPtr pInfo, un

Re: [PATCH vesa 2/2] Fix check function in VESASaveRestore

2012-08-21 Thread Alexandr Shadchin
On Mon, Aug 20, 2012 at 6:00 AM, Peter Hutterer peter.hutte...@who-t.net wrote: On Sat, Aug 18, 2012 at 08:53:34PM +0600, Alexandr Shadchin wrote: Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/vesa.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[PATCH vesa 1/2] Remove unneeded AM_CONDITIONAL

2012-08-18 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- configure.ac |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 6317acd..08e0571 100644 --- a/configure.ac +++ b/configure.ac @@ -60,9 +60,11 @@ XORG_DRIVER_CHECK_EXT

[PATCH vesa 2/2] Fix check function in VESASaveRestore

2012-08-18 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/vesa.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/vesa.c b/src/vesa.c index 8ac77da..11cd26c 100644 --- a/src/vesa.c +++ b/src/vesa.c @@ -1626,7 +1626,7 @@ VESASaveRestore(ScrnInfoPtr pScrn

Re: [PATCH:xf86-input-keyboard] Set XI_PROP_DEVICE_NODE property to string from Device option

2012-04-29 Thread Alexandr Shadchin
Reviewed-by: Alexandr Shadchin alexandr.shadc...@gmail.com small comment see below On Fri, Apr 27, 2012 at 05:53:09PM -0700, Alan Coopersmith wrote: Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- man/kbd.man |2 +- src/kbd.c | 19 +++ 2 files

Re: [PATCH:xf86-input-mouse 1/4] sun_mouse.c: Remove redundant option checks

2012-04-29 Thread Alexandr Shadchin
-by: Alexandr Shadchin alexandr.shadc...@gmail.com -- Alexandr Shadchin ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel

Re: [PATCH:xf86-input-mouse 2/4] Set XI_PROP_DEVICE_NODE property to string from Device option

2012-04-29 Thread Alexandr Shadchin
On Fri, Apr 27, 2012 at 05:43:50PM -0700, Alan Coopersmith wrote: Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- man/mousedrv.man |3 ++- src/mouse.c | 23 +++ 2 files changed, 25 insertions(+), 1 deletion(-) Reviewed-by: Alexandr Shadchin

Re: [PATCH:xf86-input-mouse 3/4] Set button axis labels

2012-04-29 Thread Alexandr Shadchin
On Fri, Apr 27, 2012 at 05:43:51PM -0700, Alan Coopersmith wrote: Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- src/mouse.c | 42 +- 1 file changed, 41 insertions(+), 1 deletion(-) Reviewed-by: Alexandr Shadchin alexandr.shadc

Re: [PATCH:xf86-input-mouse] Avoid NULL pointer dereference in autoprobe if proto == PROT_UNSUP

2011-12-03 Thread Alexandr Shadchin
checking tool. For more information see http://labs.oracle.com/projects/parfait/ ] Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com Reviewed-by: Alexandr Shadchin alexandr.shadc...@gmail.com -- Alexandr Shadchin ___ xorg-devel@lists.x.org

[PATCH xserver 1/8] xfree86: Remove 386BSD

2011-11-26 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/os-support/xf86_OSlib.h |7 +-- 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/hw/xfree86/os-support/xf86_OSlib.h b/hw/xfree86/os-support/xf86_OSlib.h index 0a5861f..a754f23 100644 --- a/hw

[PATCH xserver 2/8] bsd: Remove LINKKIT

2011-11-26 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/os-support/xf86_OSlib.h |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/hw/xfree86/os-support/xf86_OSlib.h b/hw/xfree86/os-support/xf86_OSlib.h index a754f23..557a287 100644 --- a/hw/xfree86/os

[PATCH xserver 3/8] bsd: Fix indentation in xf86_OSlib.h

2011-11-26 Thread Alexandr Shadchin
Also add check definition PCCONS_SUPPORT for CONSOLE_X_* Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/os-support/xf86_OSlib.h | 147 +++- 1 files changed, 77 insertions(+), 70 deletions(-) diff --git a/hw/xfree86/os-support

[PATCH xserver 4/8] bsd: Remove old code for FreeBSD 5.0

2011-11-26 Thread Alexandr Shadchin
I think that no sense have this code, because no one engaged building (porting) new xserver on FreeBSD 5.0 Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/os-support/bsd/bsd_init.c | 64 +- hw/xfree86/os-support/xf86_OSlib.h | 15

[PATCH xserver 5/8] bsd: Remove definition XF86PM for OpenBSD (not uses)

2011-11-26 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- configure.ac | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/configure.ac b/configure.ac index e4fcba4..18259f6 100644 --- a/configure.ac +++ b/configure.ac @@ -1632,17 +1632,7 @@ if test x$XORG

[PATCH xserver 6/8] bsd: Remove xf86OSPMOpen and etc for *BSD (not uses)

2011-11-26 Thread Alexandr Shadchin
Now do not for one *BSD is not defined X86PM. Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- configure.ac |9 -- hw/xfree86/os-support/bsd/Makefile.am | 12 +-- hw/xfree86/os-support/bsd/bsd_apm.c| 139 --- hw

[PATCH xserver 7/8] bsd: Remove memrange.h (not need)

2011-11-26 Thread Alexandr Shadchin
NetBSD work with own code MTRR (define HAS_MTRR_BUILTIN) Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/os-support/bsd/Makefile.am |4 -- hw/xfree86/os-support/bsd/i386_video.c |4 -- hw/xfree86/os-support/bsd/memrange.h | 69

[PATCH xserver 8/8] xfree86: Don't export variable VTSwitchEnabled

2011-11-26 Thread Alexandr Shadchin
Use function xf86EnableVTSwitch() instead direct access to VTSwitchEnabled. Keyboard driver no longer uses this variable. Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/common/xf86.h |2 -- hw/xfree86/common/xf86Events.c |2 +- 2 files changed, 1

[PATCH xserver 1/4] bsd: Remove bsd_pci.c

2011-10-29 Thread Alexandr Shadchin
bsd_pci.c have only one function osPciInit(). osPciInit() is equivalent call xf86InitVidMem(). xf86InitVidMem() is needed only for OpenBSD (see commit 06c0372c3a1b45005eb6d50406f77f4e93f1de1e) For OpenBSD is defined osPciInit() = xf86InitVidMem() Signed-off-by: Alexandr Shadchin alexandr.shadc

[PATCH xserver 2/4] xfree86: Remove Pci.h

2011-10-29 Thread Alexandr Shadchin
into a separate function makes no sense. Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/common/xf86pciBus.c|8 +- hw/xfree86/os-support/bus/Makefile.am |7 +-- hw/xfree86/os-support/bus/Pci.c | 140 - hw/xfree86

[PATCH xserver 4/4] xfree86: Remove odd check definition PCI_DOM_MASK

2011-10-29 Thread Alexandr Shadchin
PCI_DOM_MASK is already defined (see above). Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/os-support/bus/Pci.h |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/hw/xfree86/os-support/bus/Pci.h b/hw/xfree86/os-support/bus/Pci.h index 90713bc

[PULL] xfree86 cleanup

2011-10-29 Thread Alexandr Shadchin
The following changes since commit 91131037a2d2e07079de5d222d8a8c95300750cc: Fix position _X_EXPORT (2011-10-28 13:10:07 -0700) are available in the git repository at: git://g...@github.com:Koba/xserver.git reviewed Alexandr Shadchin (7): Remove unused VT_SYSREQ_DEFAULT Remove

Re: [PATCH xserver 2/4] xfree86: Remove Pci.h

2011-10-29 Thread Alexandr Shadchin
Pci.c. Thanks. -- -Alan Coopersmith-alan.coopersm...@oracle.com Oracle Solaris Platform Engineering: X Window System -- Alexandr Shadchin ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg

Re: [PATCH xserver 1/4] bsd: Remove bsd_pci.c

2011-10-29 Thread Alexandr Shadchin
On Sat, Oct 29, 2011 at 10:13:48AM -0700, Alan Coopersmith wrote: On 10/29/11 08:54, Alexandr Shadchin wrote: bsd_pci.c have only one function osPciInit(). osPciInit() is equivalent call xf86InitVidMem(). xf86InitVidMem() is needed only for OpenBSD (see commit

[PATCH xserver 2/2] Fix position _X_EXPORT

2011-10-28 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- include/dix.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/dix.h b/include/dix.h index b1bf9ed..34661f3 100644 --- a/include/dix.h +++ b/include/dix.h @@ -571,8 +571,8 @@ typedef struct

[PATCH xserver 1/7] Remove unused VT_SYSREQ_DEFAULT

2011-10-15 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/os-support/xf86_OSlib.h |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/hw/xfree86/os-support/xf86_OSlib.h b/hw/xfree86/os-support/xf86_OSlib.h index 1d59060..2a4d079 100644 --- a/hw/xfree86

[PATCH xserver 2/7] Remove BSDi support

2011-10-15 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/os-support/xf86_OSlib.h | 19 ++- 1 files changed, 2 insertions(+), 17 deletions(-) diff --git a/hw/xfree86/os-support/xf86_OSlib.h b/hw/xfree86/os-support/xf86_OSlib.h index 2a4d079..34b8669 100644

[PATCH xserver 3/7] Remove odd definition DEV_MEM

2011-10-15 Thread Alexandr Shadchin
DEV_MEM defined in xf86_OSlib.h Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/os-support/bsd/alpha_video.c|1 - hw/xfree86/os-support/bsd/arm_video.c |2 -- hw/xfree86/os-support/bsd/i386_video.c |1 - hw/xfree86/os-support/bsd/ppc_video.c

[PATCH xserver 4/7] Move check definition MAP_FAILED in xf86_OSlib.h

2011-10-15 Thread Alexandr Shadchin
Also remove odd definition MAP_FAILED. Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/os-support/bsd/alpha_video.c |4 hw/xfree86/os-support/bsd/arm_video.c |5 - hw/xfree86/os-support/bsd/i386_video.c|4 hw/xfree86/os-support/bsd

[PATCH xserver 5/7] bsd: alpha_video: Function sethae() need only for FreeBSD

2011-10-15 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/os-support/bsd/alpha_video.c | 51 -- 1 files changed, 14 insertions(+), 37 deletions(-) diff --git a/hw/xfree86/os-support/bsd/alpha_video.c b/hw/xfree86/os-support/bsd/alpha_video.c index

[PATCH xserver 6/7] bsd: alpha_video: Simplify #include

2011-10-15 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/os-support/bsd/alpha_video.c | 10 -- 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/hw/xfree86/os-support/bsd/alpha_video.c b/hw/xfree86/os-support/bsd/alpha_video.c index 1a3736b..ed1adca

[PATCH xserver 7/7] bsd: alpha_video: Remove unused variables

2011-10-15 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/os-support/bsd/alpha_video.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/hw/xfree86/os-support/bsd/alpha_video.c b/hw/xfree86/os-support/bsd/alpha_video.c index ed1adca..882fb3b 100644

[PULL] some cleanups

2011-10-02 Thread Alexandr Shadchin
The following changes since commit afb1fe695d197187a301c19863a128a65389b15c: Merge remote-tracking branch 'whot/next' (2011-09-26 20:24:15 -0700) are available in the git repository at: g...@github.com:Koba/xserver.git reviewed Alexandr Shadchin (8): bsd: Remove unused macros KBD_FD

Re: [PATCH] Add a 'wscons' autoconf mechanism to configure input devices on BSD.

2011-09-18 Thread Alexandr Shadchin
Three small notes: * Remove part USE_XKEYBOARD_CONFIG (Now this not used). * Is it correct to use priv_open_device() ? This is our local change. * Style, see below. Reviewed-by: Alexandr Shadchin alexandr.shadc...@gmail.com On Sun, Sep 18, 2011 at 12:49:51PM +0200, Matthieu Herrb wrote

Re: [PATCH xserver 8/8] Remove unused vtSysreq

2011-09-17 Thread Alexandr Shadchin
. Option VTSysReq read only in configServerFlags() and this place will be removed. Unknown options will be ignored, as correctly noted Jamey. Also I tested on 1.11, started up fine. -- Alexandr Shadchin ___ xorg-devel@lists.x.org: X.Org development Archives

[PATCH xserver 2/8] bsd: Replacement screenFd on consoleFd because they are equivalent

2011-09-15 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/common/xf86Globals.c |1 - hw/xfree86/common/xf86Privstr.h |2 -- hw/xfree86/os-support/bsd/alpha_video.c |2 +- hw/xfree86/os-support/bsd/arm_video.c |6 +++--- hw/xfree86/os

[PATCH xserver 3/8] bsd: Variable devConsoleFd need only if defined PCCONS_SUPPORT

2011-09-15 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/os-support/bsd/bsd_init.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/hw/xfree86/os-support/bsd/bsd_init.c b/hw/xfree86/os-support/bsd/bsd_init.c index e5c8495..84c6b3d 100644 --- a/hw

[PATCH xserver 4/8] bsd: Remove dead code

2011-09-15 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/os-support/bsd/bsd_init.c | 23 --- 1 files changed, 0 insertions(+), 23 deletions(-) diff --git a/hw/xfree86/os-support/bsd/bsd_init.c b/hw/xfree86/os-support/bsd/bsd_init.c index 84c6b3d..1825672

[PATCH xserver 5/8] bsd: Some clean up

2011-09-15 Thread Alexandr Shadchin
OpenBSD and NetBSD does not support syscons Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/os-support/bsd/bsd_init.c |4 hw/xfree86/os-support/xf86_OSlib.h | 20 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/hw

[PATCH xserver 6/8] bsd: OpenBSD and NetBSD not need extra headers in PCVT_SUPPORT

2011-09-15 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/os-support/xf86_OSlib.h | 12 +++- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git a/hw/xfree86/os-support/xf86_OSlib.h b/hw/xfree86/os-support/xf86_OSlib.h index cf92821..fddde8a 100644 --- a/hw

[PATCH xserver 7/8] bsd: ioctl KDENABIO/KDDISABIO do not matter for OpenBSD

2011-09-15 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/os-support/bsd/bsd_init.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/xfree86/os-support/bsd/bsd_init.c b/hw/xfree86/os-support/bsd/bsd_init.c index a0caee3..c8a4e05 100644 --- a/hw

[PATCH xserver 8/8] Remove unused vtSysreq

2011-09-15 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/common/xf86Config.c | 13 - hw/xfree86/common/xf86Globals.c|1 - hw/xfree86/common/xf86Privstr.h|1 - hw/xfree86/man/xorg.conf.man | 12 hw/xfree86/os-support

Re: [PATCH 1/4] xfree86: move -novtswitch -sharevts argument handling up to common layer

2011-08-27 Thread Alexandr Shadchin
@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel a small comment above Reviewed-by: Alexandr Shadchin alexandr.shadc...@gmail.com -- Alexandr Shadchin ___ xorg

[PATCH synaptics v2 1/2] On/Off hooks to return boolean so we can bail out of the caller

2011-08-26 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- s/RetValue/rc/ src/eventcomm.c |5 - src/ps2comm.c |4 +++- src/synaptics.c | 13 - src/synproto.h |4 ++-- 4 files changed, 17 insertions(+), 9 deletions(-) diff --git a/src/eventcomm.c b/src

[PATCH synaptics v2 2/2] The correct maximum values for pressure and finger width

2011-08-26 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- Fix evaluation range in set_default_parameters() (suggestion Chris Bagwell) src/synaptics.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/synaptics.c b/src/synaptics.c index c043b5d..cbdd74d

Re: [PATCH synaptics v2 2/2] The correct maximum values for pressure and finger width

2011-08-26 Thread Alexandr Shadchin
On Fri, Aug 26, 2011 at 03:02:46PM +0200, walter harms wrote: Am 26.08.2011 14:42, schrieb Alexandr Shadchin: Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- Fix evaluation range in set_default_parameters() (suggestion Chris Bagwell) src/synaptics.c |8

[PATCH synaptics 1/2] On/Off hooks to return boolean so we can bail out of the caller

2011-08-25 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/eventcomm.c |5 - src/ps2comm.c |4 +++- src/synaptics.c | 13 - src/synproto.h |4 ++-- 4 files changed, 17 insertions(+), 9 deletions(-) diff --git a/src/eventcomm.c b/src/eventcomm.c index

[PATCH synaptics 2/2] The correct maximum values for pressure and finger width

2011-08-25 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/synaptics.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/synaptics.c b/src/synaptics.c index 3c08b18..6918330 100644 --- a/src/synaptics.c +++ b/src/synaptics.c @@ -246,7 +246,7

Re: [PATCH synaptics] Adding support for OpenBSD

2011-08-23 Thread Alexandr Shadchin
On Tue, Aug 23, 2011 at 01:20:10PM +1000, Peter Hutterer wrote: On Fri, Aug 19, 2011 at 09:13:33PM +0600, Alexandr Shadchin wrote: Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- configure.ac |8 ++ src/Makefile.am |5 + src/synaptics.c |3 + src

Re: [PATCH synaptics] Adding support for OpenBSD

2011-08-23 Thread Alexandr Shadchin
On Wed, Aug 24, 2011 at 5:57 AM, Peter Hutterer peter.hutte...@who-t.net wrote: On Tue, Aug 23, 2011 at 09:34:58PM +0600, Alexandr Shadchin wrote: On Tue, Aug 23, 2011 at 01:20:10PM +1000, Peter Hutterer wrote: +static void +WSConsDeviceOnHook(InputInfoPtr pInfo, SynapticsParameters *para

[PATCH mouse v3] Fix wrong read Protocol and Device from xorg.conf

2011-08-19 Thread Alexandr Shadchin
Add call xf86CollectInputOptions() before using pInfo-options. The bug is seeing by ABI 12. Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- Sorry for the late answer, entirely lost sight of this bug. Change: * move COLLECT_INPUT_OPTIONS() in old PreInit (make sense only

[PATCH synaptics] Adding support for OpenBSD

2011-08-19 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- configure.ac |8 ++ src/Makefile.am |5 + src/synaptics.c |3 + src/synproto.h |3 + src/wsconscomm.c | 278 ++ 5 files changed, 297 insertions(+), 0

[PATCH mouse v2] Fix wrong read Protocol and Device from xorg.conf

2011-06-14 Thread Alexandr Shadchin
Add call xf86CollectInputOptions() before using pInfo-options. Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/mouse.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/mouse.c b/src/mouse.c index c3498ea..e3d3d9f 100644 --- a/src/mouse.c +++ b

[PATCH mouse] Fix wrong read Protocol and Device from xorg.conf

2011-06-13 Thread Alexandr Shadchin
Before call xf86CollectInputOptions(): pInfo-options - empty Need use pInfo-conf_idev-commonOptions instead pInfo-options Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/mouse.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mouse.c b

[PATCH xserver] Simplify auto-detect mouse for WSCONS_SUPPORT

2011-04-09 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- hw/xfree86/common/xf86Configure.c | 13 +++-- 1 files changed, 3 insertions(+), 10 deletions(-) diff --git a/hw/xfree86/common/xf86Configure.c b/hw/xfree86/common/xf86Configure.c index c712df7..9752669 100644 --- a/hw

[PATCH v2 synaptics 01/11] Fix typo (resx - resy)

2011-02-28 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- Changes to v2: patch [PATCH synaptics 1/8] United functions of SynapticsDefaultDimensions() and ReadDevDimensions() split into three patch 1-3 src/synaptics.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH v2 synaptics 09/11] Remove extra definition CommData

2011-02-28 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com Reviewed-by: Peter Hutterer peter.hutte...@who-t.net --- src/synproto.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/synproto.h b/src/synproto.h index 3fe70b9..4b37df0 100644 --- a/src/synproto.h +++ b

[PATCH v2 synaptics 03/11] Renamed SynapticsDefaultDimensions in SanitizeDimensions

2011-02-28 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/synaptics.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/synaptics.c b/src/synaptics.c index 1f5b68c..ab7a463 100644 --- a/src/synaptics.c +++ b/src/synaptics.c @@ -130,7 +130,7 @@ static

[PATCH v2 synaptics 02/11] Simplified mechanism for determining default size

2011-02-28 Thread Alexandr Shadchin
Now SynapticsDefaultDimensions() called only once Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/alpscomm.c |2 +- src/ps2comm.c |2 +- src/psmcomm.c |2 +- src/synaptics.c|6 -- src/synapticsstr.h |3 --- 5 files changed, 7

[PATCH v2 synaptics 04/11] Removing extra call SetDeviceAndProtocol()

2011-02-28 Thread Alexandr Shadchin
SetDeviceAndProtocol() calling in SynapticsPreInit(), extra calling in DeviceOn() unnecessary. Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com Reviewed-by: Peter Hutterer peter.hutte...@who-t.net --- src/synaptics.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff

[PATCH v2 synaptics 06/11] Move definition struct SynapticsHwInfo in ps2comm.h

2011-02-28 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- Changes to v2: add next patch (Rename SynapticsHwInfo) src/ps2comm.c |7 --- src/ps2comm.h |8 ++-- src/psmcomm.c |7 --- src/synproto.h |1 - 4 files changed, 6 insertions(+), 17 deletions(-) diff

[PATCH v2 synaptics 07/11] Renamed SynapticsHwInfo in PS2SynapticsHwInfo

2011-02-28 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/ps2comm.c | 24 src/ps2comm.h |4 ++-- src/psmcomm.c |8 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/ps2comm.c b/src/ps2comm.c index 1ea09c9..6991d22 100644

[PATCH v2 synaptics 10/11] Rewrite mechanisn to detect Protocol and Device

2011-02-28 Thread Alexandr Shadchin
-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- Changes to v2: - reorder protocol - remove unneeded typedef (SynapticsProtocolRec) - correct SetDeviceAndProtocol (more clearer) - correct commit message (most difficult :) src/alpscomm.c |8 + src/ps2comm.c |8 + src/psmcomm.c

[PATCH v2 synaptics 11/11] Now ps2comm and alpscomm backend optional

2011-02-28 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com Reviewed-by: Peter Hutterer peter.hutte...@who-t.net --- configure.ac| 20 +++- src/Makefile.am |8 ++-- src/synaptics.c |2 ++ src/synproto.h |5 +++-- 4 files changed, 26 insertions(+), 9

[PATCH synaptics 1/8] United functions of SynapticsDefaultDimensions() and ReadDevDimensions()

2011-02-26 Thread Alexandr Shadchin
There is no point doing the same thing in different places Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/alpscomm.c |2 +- src/ps2comm.c |2 +- src/psmcomm.c |2 +- src/synaptics.c| 96 --- src

[PATCH synaptics 2/8] Removing extra call SetDeviceAndProtocol()

2011-02-26 Thread Alexandr Shadchin
SetDeviceAndProtocol() calling in SynapticsPreInit(), extra calling in DeviceOn() unnecessary. Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/synaptics.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/synaptics.c b/src/synaptics.c index daa0542

[PATCH synaptics 4/8] Move definition struct SynapticsHwInfo in ps2comm.h

2011-02-26 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/ps2comm.c |7 --- src/ps2comm.h |8 ++-- src/psmcomm.c |7 --- src/synproto.h |1 - 4 files changed, 6 insertions(+), 17 deletions(-) diff --git a/src/ps2comm.c b/src/ps2comm.c index a34613e

[PATCH synaptics 6/8] Remove extra definition CommData

2011-02-26 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/synproto.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/synproto.h b/src/synproto.h index 3fe70b9..4b37df0 100644 --- a/src/synproto.h +++ b/src/synproto.h @@ -79,7 +79,6 @@ enum SynapticsProtocol

[PATCH synaptics 7/8] Rewrite mechanisn detect Protocol and Device

2011-02-26 Thread Alexandr Shadchin
It is now easier to add new backends Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/alpscomm.c |8 +- src/ps2comm.c |8 +- src/psmcomm.c |7 + src/synaptics.c | 80 --- src/synproto.h | 16

[PATCH synaptics 8/8] Now ps2comm and alpscomm backend optional

2011-02-26 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- OpenBSD don't support this backends. Backend for OpenBSD I'll add later. configure.ac| 20 +++- src/Makefile.am |8 ++-- src/synaptics.c |2 ++ src/synproto.h |5 +++-- 4 files changed, 26

Re: [PATCH xserver] Removing unused code

2011-02-24 Thread Alexandr Shadchin
Push, please (yet not forgotten :-) On Wed, Dec 01, 2010 at 08:27:50AM +0100, Matthieu Herrb wrote: On Tue, Nov 30, 2010 at 09:17:19PM +0500, Alexandr Shadchin wrote: In OpenBSD removed support PCCONS in 2002 year http://marc.info/?l=openbsd-cvsm=102435816424294w=2 Signed-off

[PULL xserver] Removing unused code support PCCONS (OpenBSD)

2011-02-24 Thread Alexandr Shadchin
The following changes since commit 93a73993708b1345c86ec3ec06b02ed236595673: test: write some event → XI1 conversion tests. (2011-02-22 08:08:55 +1000) are available in the git repository at: git://github.com/Koba/xserver.git master Alexandr Shadchin (1): Removing unused code support

[PATCH setxkbmap 1/2] Removed unused arg subdir in function findFileInPath()

2011-02-21 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- setxkbmap.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/setxkbmap.c b/setxkbmap.c index 0c43be5..1c9c89e 100644 --- a/setxkbmap.c +++ b/setxkbmap.c @@ -178,7 +178,7 @@ Bool setOptString(int

[PATCH setxkbmap 2/2] Removed unneeded arg name in applyConfig()

2011-02-21 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- setxkbmap.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/setxkbmap.c b/setxkbmap.c index 1c9c89e..6c678ff 100644 --- a/setxkbmap.c +++ b/setxkbmap.c @@ -181,7 +181,7 @@ Bool getServerValues(void

[PATCH v2 keyboard 2/3] Removed useless leds (member structure KbdDevRec)

2011-02-20 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/kbd.c |8 ++-- src/xf86OSKbd.h |1 - 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/kbd.c b/src/kbd.c index 86b5be5..e0d55e5 100644 --- a/src/kbd.c +++ b/src/kbd.c @@ -220,14 +220,12

[PATCH v2 keyboard 3/3] Rewrote code to set initial state LEDS

2011-02-20 Thread Alexandr Shadchin
Saved only initial state CapsLock and NumLock Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/kbd.c | 105 - 1 files changed, 27 insertions(+), 78 deletions(-) diff --git a/src/kbd.c b/src/kbd.c index e0d55e5

[PATCH v2 keyboard 1/3] Removed option XLeds

2011-02-20 Thread Alexandr Shadchin
IMHO nobody needs because it works not correctly and still not fixed Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- man/kbd.man |7 --- src/kbd.c | 19 +-- src/xf86OSKbd.h |1 - 3 files changed, 1 insertions(+), 26 deletions(-) diff

Re: [PATCH keyboard 2/5] Removed function InitKBD

2011-02-18 Thread Alexandr Shadchin
Shadchin wrote: Before calling InitKBD called KbdCtrl, which sets the LEDS in accordance with the ctrl-leds. Therefore, further manipulation InitKBD do not matter. Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/kbd.c | 53

[PATCH keyboard 2/2] Removed unnecessary code, since ABI_XINPUT_VERSION = 2

2011-02-17 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/kbd.c | 44 1 files changed, 0 insertions(+), 44 deletions(-) diff --git a/src/kbd.c b/src/kbd.c index e0f0d33..d89d234 100644 --- a/src/kbd.c +++ b/src/kbd.c @@ -276,51 +276,7

[PATCH keyboard 1/2] Require server 1.4 or later

2011-02-17 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- configure.ac |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index f6ebb96..f6fdf26 100644 --- a/configure.ac +++ b/configure.ac @@ -45,7 +45,7 @@ XORG_MACROS_VERSION(1.8

[PATCH keyboard 1/5] Removed option XLeds

2011-02-17 Thread Alexandr Shadchin
IMHO nobody needs because it works not correctly and still not fixed Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- man/kbd.man |7 --- src/kbd.c | 19 +-- src/xf86OSKbd.h |1 - 3 files changed, 1 insertions(+), 26 deletions(-) diff

[PATCH keyboard 2/5] Removed function InitKBD

2011-02-17 Thread Alexandr Shadchin
Before calling InitKBD called KbdCtrl, which sets the LEDS in accordance with the ctrl-leds. Therefore, further manipulation InitKBD do not matter. Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/kbd.c | 53 + 1 files

[PATCH keyboard 3/5] Removed useless leds and keyLeds (members structure KbdDevRec)

2011-02-17 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/kbd.c | 31 --- src/xf86OSKbd.h |2 -- 2 files changed, 4 insertions(+), 29 deletions(-) diff --git a/src/kbd.c b/src/kbd.c index bb1a177..283c0f1 100644 --- a/src/kbd.c +++ b/src/kbd.c

[PATCH keyboard 4/5] Removed useless defines (CAPSFLAG etc.)

2011-02-17 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/kbd.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/src/kbd.c b/src/kbd.c index 283c0f1..5f2aa80 100644 --- a/src/kbd.c +++ b/src/kbd.c @@ -41,12 +41,6 @@ #include xkbstr.h #include xkbsrv.h

[PATCH keyboard 5/5] Removed no longer needed GetLeds

2011-02-17 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/bsd_kbd.c | 39 --- src/hurd_kbd.c |7 --- src/lnx_kbd.c | 16 src/sun_kbd.c | 15 --- src/xf86OSKbd.h |2 -- 5 files changed, 0

[PATCH keyboard v2] Cleanup set the value of CustomKeycodes

2011-02-16 Thread Alexandr Shadchin
Also, do not print values of variables CustomKeycodes twice. Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/bsd_kbd.c |1 - src/hurd_kbd.c |1 - src/kbd.c | 15 ++- src/sun_kbd.c |2 -- 4 files changed, 2 insertions(+), 17 deletions(-) diff

Re: [PATCH keyboard 2/4] Cleanup set the value of CustomKeycodes

2011-02-16 Thread Alexandr Shadchin
On Thu, Feb 17, 2011 at 08:32:31AM +1000, Peter Hutterer wrote: On Mon, Feb 14, 2011 at 12:45:39PM +0500, Alexandr Shadchin wrote: On Mon, Feb 14, 2011 at 10:11:02AM +1000, Peter Hutterer wrote: On Fri, Feb 11, 2011 at 03:32:58PM +0500, Alexandr Shadchin wrote: Also, do not print values

Re: [PATCH setxkbmap] Eliminate limitations on path length.

2011-02-15 Thread Alexandr Shadchin
); } } if (!rules) -- 1.7.4 ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel -- Alexandr Shadchin

Re: [PATCH setxkbmap] Eliminate limitations on path length.

2011-02-15 Thread Alexandr Shadchin
carefuly, and issue appropriate error message (using errno and strerror). On Wed, 2011-02-16 at 02:56 +0500, Alexandr Shadchin wrote: Also fopen() can not open path greater than PATH_MAX. Path still need to verify that it was less than PATH_MAX. On Wed, Feb 16, 2011 at 12:15:52AM +0300

Re: [PATCH keyboard 2/4] Cleanup set the value of CustomKeycodes

2011-02-13 Thread Alexandr Shadchin
On Mon, Feb 14, 2011 at 10:11:02AM +1000, Peter Hutterer wrote: On Fri, Feb 11, 2011 at 03:32:58PM +0500, Alexandr Shadchin wrote: Also, do not print values of variables CustomKeycodes twice. Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/bsd_kbd.c |1

[PATCH keyboard 1/4] lnx: Fix detect CustomKeycodes for __powerpc__

2011-02-11 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/lnx_kbd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/lnx_kbd.c b/src/lnx_kbd.c index 63b51d9..5292f77 100644 --- a/src/lnx_kbd.c +++ b/src/lnx_kbd.c @@ -233,7 +233,7 @@ xf86OSKbdPreInit

[PATCH keyboard 2/4] Cleanup set the value of CustomKeycodes

2011-02-11 Thread Alexandr Shadchin
Also, do not print values of variables CustomKeycodes twice. Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/bsd_kbd.c |1 - src/hurd_kbd.c |1 - src/kbd.c | 13 ++--- src/sun_kbd.c |2 -- 4 files changed, 2 insertions(+), 15 deletions(-) diff

[PATCH keyboard 3/4] Remove unused XQUEUE

2011-02-11 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/kbd.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/src/kbd.c b/src/kbd.c index f5cecbb..26e8e5d 100644 --- a/src/kbd.c +++ b/src/kbd.c @@ -81,11 +81,7 @@ _X_EXPORT InputDriverRec KEYBOARD

[PATCH keyboard 4/4] Do not print values of Protocol twice

2011-02-11 Thread Alexandr Shadchin
Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/bsd_kbd.c |1 - src/lnx_kbd.c |1 - 2 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/bsd_kbd.c b/src/bsd_kbd.c index 1e432fd..710470a 100644 --- a/src/bsd_kbd.c +++ b/src/bsd_kbd.c @@ -357,7 +357,6

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

2011-01-16 Thread Alexandr Shadchin
On Sun, Jan 16, 2011 at 4:27 PM, Dirk Wallenstein hals...@t-online.de 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

[PATCH xkbcomp 1/2] Removing unnecessary and unsafe code in scanchar()

2011-01-15 Thread Alexandr Shadchin
If readBufLen == BUFSIZE and feof() != 0, then go outside the boundaries of buffer. Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- xkbscan.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/xkbscan.c b/xkbscan.c index 03193e2..6d3678e 100644

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

2011-01-15 Thread Alexandr Shadchin
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 EOF. Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- xkbscan.c |2 +- 1 files changed, 1 insertions(+), 1

Re: [PATCH keyboard] Remove random History comment and OS_KBD_VERSION_CURRENT

2011-01-09 Thread Alexandr Shadchin
On Mon, Jan 10, 2011 at 5:01 AM, Peter Hutterer peter.hutte...@who-t.net wrote: On Sat, Jan 08, 2011 at 05:08:41PM +0500, Alexandr Shadchin wrote: In xf86-input-mouse similar cleanup already done, can also make for keyboard? Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com

Re: [PATCH keyboard] Fix detect CustomKeycodes = True for Linux ifdef __powerpc__

2011-01-09 Thread Alexandr Shadchin
On Mon, Jan 10, 2011 at 4:59 AM, Peter Hutterer peter.hutte...@who-t.net wrote: On Sat, Jan 08, 2011 at 05:42:18PM +0500, Alexandr Shadchin wrote: either to remove the block ifdef __powerpc__ in lnx_kbd.c because it is meaningless. why not just replace the one instance where CustomKeycodes

[PATCH keyboard] Fix detect CustomKeycodes = True for Linux ifdef __powerpc__

2011-01-08 Thread Alexandr Shadchin
either to remove the block ifdef __powerpc__ in lnx_kbd.c because it is meaningless. Signed-off-by: Alexandr Shadchin alexandr.shadc...@gmail.com --- src/kbd.c |8 +--- src/lnx_kbd.c |2 ++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/kbd.c b/src/kbd.c index

  1   2   >