Processed: Re: Bug#525546: libxi-dev: manpage bugs in XInput.h related manpages

2009-05-14 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 tag 525546 fixed-upstream
Bug#525546: libxi-dev: manpage bugs in XInput.h related manpages
There were no tags set.
Tags added: fixed-upstream

 kthxbye
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#525546: libxi-dev: manpage bugs in XInput.h related manpages

2009-05-14 Thread Julien Cristau
tag 525546 fixed-upstream
kthxbye

On Tue, Apr 28, 2009 at 18:41:56 +0200, Bernhard R. Link wrote:

 * Julien Cristau jcris...@debian.org [090428 16:43]:
   XInput related manpages have same inaccuraties in their SYNTAX lines:
 
  any chance you could look whether these still apply to
  http://cgit.freedesktop.org/xorg/lib/libXi/tree/man/XI.xml
 
 seems to still have the same issues.
 
  and send patches for that file?
 
 attached patch might fix it. Totally untested and done without
 understanding of the format of that file.
 
Thanks, applied upstream with minor edit.

commit 279a8c3a6466d885fa618cccb0b12f6c45608982
Author: Bernhard R. Link brl...@debian.org
Date:   Tue Apr 28 19:45:52 2009 +0200

man: fix a number of return/parameter types

Debian bug#525546 http://bugs.debian.org/525546

[jcristau: also fixed the window parameter of
 X{Change,Get}DeviceDontPropagateList]
Signed-off-by: Julien Cristau jcris...@debian.org

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#525546: libxi-dev: manpage bugs in XInput.h related manpages

2009-04-28 Thread Julien Cristau
On Sat, Apr 25, 2009 at 13:18:20 +0200, Bernhard R. Link wrote:

 XInput related manpages have same inaccuraties in their SYNTAX lines:
 
Hi Bernhard,

any chance you could look whether these still apply to
http://cgit.freedesktop.org/xorg/lib/libXi/tree/man/XI.xml and send
patches for that file?

TIA,
Julien



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#525546: libxi-dev: manpage bugs in XInput.h related manpages

2009-04-28 Thread Bernhard R. Link
* Julien Cristau jcris...@debian.org [090428 16:43]:
  XInput related manpages have same inaccuraties in their SYNTAX lines:

 any chance you could look whether these still apply to
 http://cgit.freedesktop.org/xorg/lib/libXi/tree/man/XI.xml

seems to still have the same issues.

 and send patches for that file?

attached patch might fix it. Totally untested and done without
understanding of the format of that file.

Hochachtungsvoll,
Bernhard R. Link
--- XI.xml	2009-04-28 18:30:23.0 +0200
+++ XI.xml.patched	2009-04-28 18:39:26.0 +0200
@@ -256,7 +256,7 @@
 funcdefint functionXChangeDeviceDontPropagateList/function/funcdef
 paramdefDisplay *parameterdisplay/parameter/paramdef
 paramdefWindow*parameterwindow/parameter/paramdef
-paramdefint *parametercount/parameter/paramdef
+paramdefint parametercount/parameter/paramdef
 paramdefXEventClass *parameterevent_list/parameter/paramdef
 paramdefintparametermode/parameter/paramdef
 /funcprototype
@@ -637,9 +637,9 @@
 funcdefStatus functionXDeviceBell/function/funcdef
 paramdefDisplay *parameterdisplay/parameter/paramdef
 paramdefXDevice *parameterdevice/parameter/paramdef
-paramdefXID *parameterfeedbackclass/parameter/paramdef
-paramdefXID *parameterfeedbackid/parameter/paramdef
-paramdefint *parameterpercent/parameter/paramdef
+paramdefXID parameterfeedbackclass/parameter/paramdef
+paramdefXID parameterfeedbackid/parameter/paramdef
+paramdefint parameterpercent/parameter/paramdef
 /funcprototype
 /funcsynopsis
 /refsynopsisdiv
@@ -759,7 +759,7 @@
 funcdefXDeviceControl *functionXGetDeviceControl/function/funcdef
 paramdefDisplay *parameterdisplay/parameter/paramdef
 paramdefXDevice*parameterdevice/parameter/paramdef
-paramdefint *parametercontrolType/parameter/paramdef
+paramdefint parametercontrolType/parameter/paramdef
 /funcprototype
 funcprototype
 funcdefint functionXChangeDeviceControl/function/funcdef
@@ -3326,7 +3326,7 @@
 funcsynopsis
 funcsynopsisinfo#include lt;X11/extensions/XInput.hgt;/funcsynopsisinfo
 funcprototype
-funcdefint functionXQueryDeviceState/function/funcdef
+funcdefXDeviceState *functionXQueryDeviceState/function/funcdef
 paramdefDisplay *parameterdisplay/parameter/paramdef
 paramdefXDevice *parameterdevice/parameter/paramdef
 /funcprototype
@@ -3460,20 +3460,20 @@
 funcsynopsis
 funcsynopsisinfo#include lt;X11/extensions/XInput.hgt;/funcsynopsisinfo
 funcprototype
-funcdeffunctionXSelectExtensionEvent/function/funcdef
+funcdefint functionXSelectExtensionEvent/function/funcdef
 paramdefDisplay *parameterdisplay/parameter/paramdef
 paramdefWindow parameterw/parameter/paramdef
 paramdefXEventClass *parameterevent_list/parameter/paramdef
 paramdefint parameterevent_count/parameter/paramdef
 /funcprototype
 funcprototype
-funcdeffunctionXGetSelectedExtensionEvents/function/funcdef
+funcdefint functionXGetSelectedExtensionEvents/function/funcdef
 paramdefDisplay *parameterdisplay/parameter/paramdef
 paramdefWindow parameterw/parameter/paramdef
-paramdefint parameterthis_client_event_count_return/parameter/paramdef
-paramdefXEventClass *parameterthis_client_event_list_return/parameter/paramdef
-paramdefint parameterall_clients_event_count_return/parameter/paramdef
-paramdefXEventClass *parameterall_clients_event_list_return/parameter/paramdef
+paramdefint *parameterthis_client_event_count_return/parameter/paramdef
+paramdefXEventClass **parameterthis_client_event_list_return/parameter/paramdef
+paramdefint *parameterall_clients_event_count_return/parameter/paramdef
+paramdefXEventClass **parameterall_clients_event_list_return/parameter/paramdef
 /funcprototype
 /funcsynopsis
 /refsynopsisdiv
@@ -4009,7 +4009,7 @@
 funcsynopsis
 funcsynopsisinfo#include lt;X11/extensions/XInput.hgt;/funcsynopsisinfo
 funcprototype
-funcdeffunctionXSetDeviceFocus/function/funcdef
+funcdefint functionXSetDeviceFocus/function/funcdef
 paramdefDisplay *parameterdisplay/parameter/paramdef
 paramdefXDevice *parameterdevice/parameter/paramdef
 paramdefWindow 

Bug#525546: libxi-dev: manpage bugs in XInput.h related manpages

2009-04-25 Thread Bernhard R. Link
Package: libxi-dev
Version: 2:1.1.4-1
Severity: minor

XInput related manpages have same inaccuraties in their SYNTAX lines:

XDeviceBell.3.gz:
  feedbackclass, feedbackid and percent are numbers and not pointers
  as claimed by the SYNTAX line.

XQueryDeviceState.3.gz:
 as the manpage correctly states, it returns an XDeviceState.
 But the prototype in the SYNTAX header lists int.

XGetDeviceControl.3.gz:
 controlType is listed as pointer, put is int.

XSelectExtensionEvent.3.gz:
 other way around, last four arguments of XGetSelectedExtensionEvents
 all miss an *. (and both are old KR syntax, as some others are)

XChangeDeviceDontPropagateList.3.gz:
 count is listed as pointer but should not.

Hochachtungsvoll,
Bernhard R. Link
-- 
Never contain programs so few bugs, as when no debugging tools are available!
Niklaus Wirth



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org