summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-11-11Implement support for XI 2.2multitouchPeter Hutterer6-5/+233
Adds support for the new TouchClass for multitouch-capable servers/devices. Since the protocol (and thus the API) is not stable, this requires --enable-unstable-protocol at configure time (same as the inputproto) New events: XITouchOwnershipEvent New functions: XIGrabTouchBegin ... passive grabs on touches XIUngrabTouchBegin XIAllowTouchEvents ... Allow/reject touch event sequences New XIQueryDevice classes: XITouchClassInfo Requires libX11 1.5 for GetReqSized Currently missing man pages. Co-authored by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-11-11Bump to 1.5.99.1Peter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-11-11Include config.h from source filesPeter Hutterer52-0/+179
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-11-11Stop unnecessary calls to size_classesPeter Hutterer1-1/+3
Xmalloc is a macro evaluating its argument twice. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-11-11Add some () to shut up coverityPeter Hutterer1-1/+1
Yes, this is an array of *nclasses pointers. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-11-11man: passive grabs return the number of failed modifier combinationsPeter Hutterer2-2/+18
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-10-21man: XIGrabButton returns error codes, not status codesPeter Hutterer1-2/+2
Reword slightly that the returned value is the error code for this particular grab. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-10-21man: fix #include for XIGrabButtonPeter Hutterer1-1/+1
Reported-by: Matthias Clasen <mclasen@redhat.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-10-10Bump to 1.4.99.1Peter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-10-10Remove superfluous assignment of lib->classes in XIQueryDevices.Peter Hutterer1-1/+0
A few lines south from here we malloc lib->classes, this assignment is a leftover from 225071e2e67fb65a0258397212f9826c9b25e078. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
2011-10-03 1 - fix the capitalization of the ID attriutes to match either theMatt Dew2-224/+224
<title> or <funcdef> string it goes with. 2 - fix any <linkend>'s that were affected by 1. 3 - any <function> in the docs that has an actual funcdef, will become an olink. Signed-off-by: Matt Dew <marcoz@osource.org>
2011-09-28Use a separate nclasses variable in XIQueryDevicePeter Hutterer1-3/+6
No functional changes, just clarifying the code. If we skip over unknown classes, lib->num_classes != wire->num_classe. Use a separate variable to make that change more explicit and align the code closer with wireToDeviceChangedEvent. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2011-09-22Make shadow man pages generated by asciidoc work with Solaris manAlan Coopersmith1-0/+3
Solaris man requires .so entries in man pages include the man section directory, not just the man page filename, even when it's in the same directory, so use sed to add it in. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> This may be a temporary fix only. See http://lists.freedesktop.org/archives/xorg-devel/2011-September/025219.html Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-09-20specs: refactor and complete copyright legal textGaetan Nadon1-12/+15
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-18Use AM_CPPFLAGS to use in tree headers before installed headersJeremy Huddleston1-4/+5
This addresses a build failure found by the tinderbox. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-17Merge branch 'smooth-scrolling'Peter Hutterer4-3/+89
Conflicts: src/XExtInt.c
2011-09-17Support XI 2.1 XIScrollClassPeter Hutterer3-1/+86
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-09-17Support XI 2.1 internallyPeter Hutterer2-2/+3
Add the required constants to pretend to support XI 2.1. Having named constants for 2.1 seems a bit pointless, so let's just use the numbers directly. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-09-17Require inputproto 2.0.99.1 or laterPeter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-09-17man: update property and grab man pages for new constantsPeter Hutterer4-14/+43
Suggest the use of the new XIGrabModeAsync, etc. defines instead of the core defines. Add a BUGS section to each man page explaining backwards-compatibility. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2011-09-17man: fix typo in XIQueryDevice man pagePeter Hutterer1-1/+1
struct name is XIValuatorClassInfo. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-09-17Handle unknown device classes.Peter Hutterer2-11/+23
If the server sends an unknown device class in response to an XIQueryDevice call, no memory is allocated for these classes but we still write type and sourceid as well as setting to->classes[i]. The latter causes multiple classes to point to the same memory field. Move the common code of assigning these three into the respective class type handlers so to automatically skip any unknown classes. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-09-15inputlib: restore original title "X Input Device Extension Library"Gaetan Nadon1-1/+1
Somehow the title got changed during troff to docbook conversion. Latest troff version: ftp://www.x.org/pub/X11R7.0/doc/PDF/XiLib.pdf Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-15inputlib: prefix 1.0 with the word VersionGaetan Nadon1-1/+1
To be consistent with all other docs Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-15inputlib: fix copyright statementsGaetan Nadon1-9/+9
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-12docs: use the &fullrelvers; entity to set X11 release informationGaetan Nadon1-2/+5
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-11docs: remove <productnumber> which is not used by defaultGaetan Nadon1-1/+0
This element is not rendered by default on the title. A template customization is required to display it. X Window System does not have a product number. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-08docbook.am: embed css styles inside the HTML HEAD elementGaetan Nadon1-2/+0
Rather than referring to the external xorg.css stylesheet, embed the content of the file in the html output produced. This is accomplished by using version 1.10 of xorg-xhtml.xsl. This makes the whole html docs tree much more relocatable. In addition, it eliminates xorg.css as a runtime file which makes xorg-sgml-doctools a build time only package. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-07docbook.am: global maintenance update - entities, images and olinkingGaetan Nadon1-52/+62
Adding support in libX11 for html chunking caused a reorg of docbook.am as well as the xorg-sgml-doctools masterdb for olinking. The parameter img.src.path is added for pdf images. A searchpath to the root builddir is added for local entities, if present. The docbook.am makefile hides all the details and is identical for all 22 modules having DocBook documentation. It is included by a thin Makefile.am which requires no docbook knowledge. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-08-22man: update property and grab man pages for new constantsPeter Hutterer4-14/+43
Suggest the use of the new XIGrabModeAsync, etc. defines instead of the core defines. Add a BUGS section to each man page explaining backwards-compatibility. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2011-08-22man: fix typo in XIQueryDevice man pagePeter Hutterer1-1/+1
struct name is XIValuatorClassInfo. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-19Handle unknown device classes.Peter Hutterer2-11/+23
If the server sends an unknown device class in response to an XIQueryDevice call, no memory is allocated for these classes but we still write type and sourceid as well as setting to->classes[i]. The latter causes multiple classes to point to the same memory field. Move the common code of assigning these three into the respective class type handlers so to automatically skip any unknown classes. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-12Don't use the protocol defines for 2.0 versioning.Peter Hutterer1-1/+1
Otherwise we run into the old problem again: recompiling libXi against newer inputproto headers will appear to change the version support, potentially causing errors or other misbehaviours. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-08-02Fix the FIXME output in man page .TH macros generated by asciidocAlan Coopersmith1-0/+4
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02Add XI2 library-internal array offsets to XIint.hPeter Hutterer1-0/+15
These defines are currently defined in XI.h and XI2.h. Their only use is as offset into a library-internal array. Add them to XIint.h to have them where they belong. These defines do not have any effect on the protocol. They are simply offsets into an array for libXi-specific version checking. The defines are added to this header for readability, given that we cannot remove them from the protocol without potentially breaking clients (who should never use these anyway, but...) means they will never get hit. Future defines for these offsets will only be added to libXi, not the protocol. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02man: Fix formatting in XGetFeedbackControlPeter Hutterer1-27/+28
Indent structs to make them more readable, make "Structures" header an actual header. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-06-12Install xml versions of specs even if HAVE_XMLTO is falseGaetan Nadon2-2/+2
DocBook/XML input source is also a usefull output format that can be viewed with an XML viewer or editor and by some O/S help system. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-06-11Install target dbs alongside generated documentsGaetan Nadon2-3/+3
This matches a change in xorg-sgml-docs whereby the masterdb will look for the target dbs into the same location as the generated documents. The target dbs are now installed alongside the generated documents. Previously they are installed in $prefix/sgml/X11/dbs alongside masterdb which has the potential of installing outside the package prefix and cause distcheck to fail when user does not have write permission in this package. Requires XORG_CHECK_SGML_DOCTOOLS(1.8) which was released 2011-06-11
2011-06-10make: use AM_V_at rather than AM_V_GEN to prefix the mv commandGaetan Nadon1-2/+2
This will prevent outputting a "GEN" prefix. Moving and removing files is not "generating" anything. Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-06-10make: remove unneeded AM_V_GEN silent rule directive.Gaetan Nadon1-2/+2
It happens to be in the middle of the script statement and cause this incorrect output: rm XCloseDevice.man && make GEN XOpenDevice.3 /bin/bash: line 1: @echo: command not found /bin/bash: line 2: @echo: command not found [...] Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-06-07Bump to 1.4.99Peter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-06-07man: Fix typo in XIChangePropertyPeter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-06-07man: Fix wrong event names in XIGrabButton.Peter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-06-04Add id attributes to funcsynopsis to allow other docs to olink to them.Matt Dew1-39/+39
Signed-off-by: Matt Dew <marcoz@osource.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
2011-06-03Use Data, not Data32 in XIPassiveGrabDevicePeter Hutterer1-2/+2
Data32 takes and iterates over an array of longs, thus skipping every 4 bytes on LP64. Here we only have arrays of ints, use the normal Data macro instead. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-02man: fix missing comma in XIGrabEnter man pagePeter Hutterer1-1/+1
2011-05-19Silence compiler warning due to differnent event conversion procsPeter Hutterer2-4/+11
XExtInt.c:161:5: warning: initialization from incompatible pointer type XSndExEv.c: In function 'XSendExtensionEvent': XSndExEv.c:84:8: warning: assignment from incompatible pointer type Xlib and libXi differ in the conversion functions. libXi takes an xEvent** and a num_events parameter since it may split an event into multiple xEvents. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-05-19Silence compiler warning in XListDProp.cPeter Hutterer1-1/+1
XListDProp.c: In function 'XListDeviceProperties': XListDProp.c:72:9: warning: pointer targets in passing argument 2 of '_XRead32' differ in signedness /usr/include/X11/Xlibint.h:652:13: note: expected 'long int *' but argument is of type 'Atom *' Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-05-19man: fix typo, layout in XGetExtensionVersion.manPeter Hutterer1-5/+6
Fix a typo and move from MPX to XI2. Add a linebreak to make the depreciation separate from the function description. Changes in the second paragraph are just realignment due to the linebreak. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-05-08Move Xinput server API documentation from libXi to xserverAlan Coopersmith5-1231/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>