commit 82a631263ef4e6f46c1f33748089db8bf603b095
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Dec 21 15:33:17 2011 +1000

    libXi 1.5.0
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit fa6505f0a86b296e8f12f0fb8f472ef17b501fdb
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Mon Dec 19 09:36:34 2011 +1000

    man: minor formatting fix in XIGrabButton

commit 49408e39e4b084fe362e9ee197bfa0aa1c55384d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Fri Nov 11 15:32:21 2011 +1000

    Include config.h from source files
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit ba83a1e58592e41f207524f106ba26dd71fe4171
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Oct 26 08:55:35 2011 +1000

    Stop unnecessary calls to size_classes
    
    Xmalloc is a macro evaluating its argument twice.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 6d6ae8fc8b9620bf864ac7dff8d818573eee3e4f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Oct 26 08:54:53 2011 +1000

    Fix duplicate sizeof in copy_classes
    
    sizeof(bla * sizeof()) is'nt right.
    
    Plus add some () to the next_block call too to emphasise that *nclasses is
    the multiplicator.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 323730f7fa70190d2ea00e62c6964fee524ca430
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu Oct 27 10:27:49 2011 +1000

    man: passive grabs return the number of failed modifier combinations
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 5189df57e18c79327848fb117a8ede59868c8fdb
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Fri Oct 21 08:49:31 2011 +1000

    man: XIGrabButton returns error codes, not status codes
    
    Reword slightly that the returned value is the error code for this
    particular grab.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 05aaf65b3b6b7dc7268137ce4ee516f08eefb62f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Fri Oct 21 08:07:45 2011 +1000

    man: fix #include for XIGrabButton
    
    Reported-by: Matthias Clasen <mclasen@redhat.com>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit c25debae73be50b9a77454ed4d72ffeaab726846
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Mon Oct 10 10:24:38 2011 +1000

    Bump to 1.4.99.1
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 7ca05f3094958c04e8f78a786061124c58f8e1f3
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Sep 28 11:16:42 2011 +1000

    Remove superfluous assignment of lib->classes in XIQueryDevices.
    
    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>

commit e97c3dd00369b47af067e30e910335b199a2f147
Author: Matt Dew <marcoz@osource.org>
Date:   Mon Oct 3 22:05:51 2011 -0600

        1 - fix the capitalization of the ID attriutes to match either the
            <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>

commit 5f9df47340e192d095127e3c7da180b0fb3dc286
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Fri Sep 23 09:04:21 2011 +1000

    Use a separate nclasses variable in XIQueryDevice
    
    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>

commit 2eb34db82dbd8429594c7ce1d361cabf3571edf1
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Sep 16 21:00:19 2011 -0700

    Make shadow man pages generated by asciidoc work with Solaris man
    
    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>

commit a43c0a5d2a6cf80df314c96e0b58804dd87868be
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Sep 20 15:11:13 2011 -0400

    specs: refactor and complete copyright legal text
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 552f60789263ad2a1d983cf5b479af63d90f7591
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sun Sep 18 00:53:56 2011 -0700

    Use AM_CPPFLAGS to use in tree headers before installed headers
    
    This addresses a build failure found by the tinderbox.
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit 69f2580fd47cfe24105892e9ffb79cd046954b7d
Merge: fc5d478 3ed1b46
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Sat Sep 17 06:41:30 2011 +1000

    Merge branch 'smooth-scrolling'
    
    Conflicts:
    	src/XExtInt.c

commit 3ed1b463205295a5ebba7d570a4cb8dfade51a38
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Aug 17 14:50:39 2011 +1000

    Support XI 2.1 XIScrollClass
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 00382417331d0b38373796fd31757be9fd3e9971
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu Jun 2 13:23:32 2011 +1000

    Support XI 2.1 internally
    
    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>

commit fc5d47895c1361763aa7f088b6d8cb3859e3fda8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Sat Sep 17 06:40:01 2011 +1000

    Require inputproto 2.0.99.1 or later
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 4dcbad7e10289317edc22113c1f451d79df221e1
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Fri Jun 3 15:46:47 2011 +1000

    man: update property and grab man pages for new constants
    
    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>

commit 14f674296bc23b3cd50f6d302c3064250132c2c1
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Mon Aug 22 13:55:56 2011 +1000

    man: fix typo in XIQueryDevice man page
    
    struct name is XIValuatorClassInfo.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 91f928a70246c26cbee00bf59a8e318e9317142e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Aug 17 15:20:48 2011 +1000

    Handle unknown device classes.
    
    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>

commit f5b4ff2b4bbac5477af337ed63d019b1f1bc21c9
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Sep 15 11:58:31 2011 -0400

    inputlib: restore original title "X Input Device Extension Library"
    
    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>

commit 5174411eb67ff672abb3301268bd4fe06851ce3e
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Sep 15 11:57:12 2011 -0400

    inputlib: prefix 1.0 with the word Version
    
    To be consistent with all other docs
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit b695f07ac85e76c7502a743343aacb2c93318ac5
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Sep 15 11:56:33 2011 -0400

    inputlib: fix copyright statements
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit d8aea9731674ecb4e313051f866966113473e395
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Sep 12 16:54:45 2011 -0400

    docs: use the &fullrelvers; entity to set X11 release information
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit b4690e1d9d0a27e04c7204614c0e88edef210ba7
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Sep 11 19:49:54 2011 -0400

    docs: remove <productnumber> which is not used by default
    
    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>

commit 83a3f9d1b06391d5c25602c0b6a3dba63e7abc81
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Sep 8 20:00:00 2011 -0400

    docbook.am: embed css styles inside the HTML HEAD element
    
    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>

commit bd4c9c82e889d737f3488c234659216a218d8eb2
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Sep 7 10:31:04 2011 -0400

    docbook.am: global maintenance update - entities, images and olinking
    
    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>

commit 942dd55eb370e0acea3184de78619766a09f7670
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Fri Jun 3 15:46:47 2011 +1000

    man: update property and grab man pages for new constants
    
    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>

commit eb5039859810a0fc4e4e594a4a1ccd99c5fecf85
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Mon Aug 22 13:55:56 2011 +1000

    man: fix typo in XIQueryDevice man page
    
    struct name is XIValuatorClassInfo.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 635c2c029b1e73311c3f650bcaf7eeb9e782134b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Aug 17 15:20:48 2011 +1000

    Handle unknown device classes.
    
    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>

commit ca73cd3b7630e7eb7d26c61c4af10d35dbce5465
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Fri Aug 12 14:24:26 2011 +1000

    Don't use the protocol defines for 2.0 versioning.
    
    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>

commit 5a299d1731d3db16ccdd3a66246c81ca522f1702
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Aug 1 16:47:38 2011 -0700

    Fix the FIXME output in man page .TH macros generated by asciidoc
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit e8531dd6a981c6cf19a1d256c29e886e34e8f51a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Sep 7 15:21:31 2010 +1000

    Add XI2 library-internal array offsets to XIint.h
    
    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>

commit 653b45b7cc275a560c1ea213216a908c125e443d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Fri Jun 24 10:09:10 2011 +1000

    man: Fix formatting in XGetFeedbackControl
    
    Indent structs to make them more readable, make "Structures" header an
    actual header.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 809c9e936b9f5234de03148376d389fdcfa6d40a
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Jun 12 18:39:46 2011 -0400

    Install xml versions of specs even if HAVE_XMLTO is false
    
    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>

commit 94f585af88a6486148ad6514f1f74eb83ce547ef
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Jun 5 16:27:37 2011 -0400

    Install target dbs alongside generated documents
    
    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

commit 2d2581479c64b8b44ab91e90ecb04acd5d106ea2
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Jun 9 15:59:23 2011 -0400

    make: use AM_V_at rather than AM_V_GEN to prefix the mv command
    
    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>

commit f4bdafebaf123c584e1b5e4ff1bc48f7cf4c5b26
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Jun 9 15:49:23 2011 -0400

    make: remove unneeded AM_V_GEN silent rule directive.
    
    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>

commit f4930482c24a22c8cdf9da3c96516936ddd1f7b9
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Jun 7 14:12:08 2011 +1000

    Bump to 1.4.99
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 938ef832b892fdefe0d5c2bb4510c91bbbccca9f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Fri Jun 3 15:10:27 2011 +1000

    man: Fix typo in XIChangeProperty
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 597a6a51721d30c4354d1133bb6da6bd2e12446e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Fri Jun 3 15:02:35 2011 +1000

    man: Fix wrong event names in XIGrabButton.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 7736957fa2598800c14a88cae1dd7809b184d743
Author: Matt Dew <marcoz@osource.org>
Date:   Tue May 31 20:03:23 2011 -0600

    Add id attributes to funcsynopsis to allow other docs to olink to them.
    
    Signed-off-by: Matt Dew <marcoz@osource.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit 9faab2bc0bdd4d98a04e572a7a5201bfcd3bdc70
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu Jun 2 16:21:59 2011 +1000

    Use Data, not Data32 in XIPassiveGrabDevice
    
    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>

commit 67441d30df756eb715a262d3439865dedd4055e8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu Jun 2 14:17:44 2011 +1000

    man: fix missing comma in XIGrabEnter man page

commit 4a694b3f4f5c92d62526ea1c5461c59df86c13db
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu May 5 09:30:21 2011 +1000

    Silence compiler warning due to differnent event conversion procs
    
    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>

commit fd680f025b1db22b1069aed2f142f670181574e5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu May 5 09:20:23 2011 +1000

    Silence compiler warning in XListDProp.c
    
    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>

commit aa2432240ad02c54280f2d11c007969c3eb9b79f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu May 5 09:43:32 2011 +1000

    man: fix typo, layout in XGetExtensionVersion.man
    
    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>

commit f148a6279f07f029fc6a5b0a6556ff6622e6686a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Feb 2 17:01:52 2011 -0800

    Move Xinput server API documentation from libXi to xserver
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit 4cc2b17a3d069b296837edbd6e81af5bbf9821b4
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue May 3 14:51:12 2011 +1000

    Remove a few unused assignments.
    
    Found by static analyzer.
    
    Reported-by: Jeremy Huddleston <jeremyhu@apple.com>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit cc6feecae23b321952921cf927bc965386844c8c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue May 3 14:34:22 2011 +1000

    XIChangeHierarchy: Return Success early if no actual changes are requested.
    
    Do the same for negative num_changes.
    
    Found by static analyzer.
    
    Reported-by: Jeremy Huddleston <jeremyhu@apple.com>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit af65475b1f6b7209750220a74aaad9968d54aaf7
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue May 3 13:21:02 2011 +1000

    Allocate enough memory for raw events + extra data.
    
    Necessary space was calculated, but not actually used to allocate memory. As
    a result, valuator data would overwrite the allocated memory.
    
    ==4166== Invalid write of size 1
    ==4166==    at 0x4C29F04: memcpy (mc_replace_strmem.c:497)
    ==4166==    by 0x8F39180: ??? (in /usr/lib/libXi.so.6.1.0)
    ==4166==    by 0x7433D48: _XCopyEventCookie (in /usr/lib/libX11.so.6.3.0)
    ==4166==    by 0x7425166: XPeekEvent (in /usr/lib/libX11.so.6.3.0)
    ==4166==    by 0x49C3E3: process_key (x11_be.c:1065)
    ==4166==    by 0x49EA5C: event_key_release (x11_be.c:2201)
    ==4166==    by 0x49DD6E: x11_be_process_events (x11_be.c:1892)
    ==4166==    by 0x4A38F4: x11_be_main_loop (x11_be.c:4353)
    ==4166==    by 0x4A39E1: x11_be_thread_main (x11_be.c:4385)
    ==4166==    by 0x87549C9: start_thread (pthread_create.c:300)
    ==4166==    by 0x8A516FC: clone (clone.S:112)
    ==4166==  Address 0x168afe80 is 0 bytes after a block of size 96 alloc'd
    ==4166==    at 0x4C284A8: malloc (vg_replace_malloc.c:236)
    ==4166==    by 0x8F390BD: ??? (in /usr/lib/libXi.so.6.1.0)
    ==4166==    by 0x7433D48: _XCopyEventCookie (in /usr/lib/libX11.so.6.3.0)
    ==4166==    by 0x7425166: XPeekEvent (in /usr/lib/libX11.so.6.3.0)
    ==4166==    by 0x49C3E3: process_key (x11_be.c:1065)
    ==4166==    by 0x49EA5C: event_key_release (x11_be.c:2201)
    ==4166==    by 0x49DD6E: x11_be_process_events (x11_be.c:1892)
    ==4166==    by 0x4A38F4: x11_be_main_loop (x11_be.c:4353)
    ==4166==    by 0x4A39E1: x11_be_thread_main (x11_be.c:4385)
    ==4166==    by 0x87549C9: start_thread (pthread_create.c:300)
    
    Reported-by: Roger Cruz <roger.cruz@virtualcomputer.com>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
    Reviewed-by: Daniel Stone <daniel@fooishbar.org>

commit 18177afd4fb3934d0a9083c599fb96701eec2ad9
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date:   Fri Apr 1 22:49:09 2011 +0200

    Fix XISelectEvents on 64 bits, strict alignement architectures.
    
    Use Data() to send the struct xXIEventMask on the wire instead of
    Data32() which expects a pointer to a 64bits value on LP64
    architectures.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 75dc4029316c321d8f09fae584024f36c5c85c7f
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Feb 27 15:06:18 2011 -0500

    Documentation: add Docbook external references support
    
    When writing technical documentation, it is often necessary to cross
    reference to other information. When that other information is not in the
    current document, additional support is needed, namely <olink>.
    
    A new feature with version 1.7 of xorg-sgml-doctools adds references to
    other documents within or outside this package.
    
    This patch adds technical support for this feature but does not change
    the content of the documentation as seen by the end user.
    
    Each book or article must generate a database containing the href
    of sections that can be referred to from another document. This database
    is installed in DATAROOTDIR/sgml/X11/dbs. There is a requirement that
    the value of DATAROOTDIR for xorg-sgml-doctools and for the package
    documentation is the same. This forms a virtual document tree.
    
    This database is consulted by other documents while they are being generated
    in order to fulfill the missing information for linking.
    Refer to the xorg-sgml-doctools for further technical information.
    
    Co-authored-by: Matt Dew <marcoz@osource.org>
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 32236a7779f721d252d633d06ade306f246421a3
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Fri Mar 18 16:30:13 2011 -0700

    configure.ac: 1.4.2
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 2d638fc37b0dbf28e5c826f74f68ada83a8c3e2b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Mar 15 10:55:10 2011 +1000

    Force alignment with sizeof(Atom) for XIButtonClassInfo
    
    The memory layout of an XIButtonClassInfo is
    [struct XIButtonClassInfo][mask][labels]
    
    With the mask being currently 4-byte aligned and labels a list of Atoms. On
    LP64, Atoms are 8 byte, leading to unaligned access for some mask lengths.
    Force the alignment to be sizeof(Atom).
    
    Reported-by: Christian Weisgerber <naddy@mips.inka.de>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Tested-by: Christian Weisgerber <naddy@mips.inka.de>
    Reviewed-by: Adam Jackson <ajax@redhat.com>

commit 477f922fb07eea629f16c55b0a022e836ede6d41
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Mar 8 14:44:10 2011 +1000

    Don't discard extra data for passive grabs.
    
    Failed modifier data was discarded, causing assertions inside xcb.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit f0a352412920d9989323c7d33ca75c3646ee3f35
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Mar 8 14:01:35 2011 +1000

    man: describe return value for XI2 passive grabbing calls.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 11b1e8ea7bc160cf9a42231742eedb0e7fefa222
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu Sep 9 14:43:03 2010 +1000

    Rename XSetCPtr.c to XISetCPtr.c.
    
    XISetClientPointer is an XI2.0 call and should be named accordingly.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Daniel Stone <daniel@fooishbar.org>

commit 19ac7ef23e7ff07068a63d1553159e7cb3ad2576
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu Sep 9 14:43:02 2010 +1000

    Require XI 2 for all XI 2 calls.
    
    Each XI2 call should check _XiCheckExtInit for XI version 2.0 or higher.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Daniel Stone <daniel@fooishbar.org>

commit 536bd44c513ede7e61e112c82a80fb9197f261f7
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Feb 23 10:53:21 2011 +1000

    Fix typo in comment.
    
    Reported-by: Julien Cristau <jcristau@debian.org>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 4ca8be9f3ffbafe9515e50d784f4ff83f6993be0
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Feb 23 09:30:59 2011 +1000

    Fix invalid read in XIGrabDevice.
    
    Miscalculation of length caused Data() to memcpy too many bytes.
    
    ==2865== Invalid read of size 1
    ==2865==    at 0x4A07480: memcpy (mc_replace_strmem.c:602)
    ==2865==    by 0x544271E: XIGrabDevice (XIGrabDevice.c:69)
    ==2865==    by 0x400B0A: main (gnome642481.c:56)
    ==2865==  Address 0x642f614 is 0 bytes after a block of size 20 alloc'd
    ==2865==    at 0x4A04896: calloc (vg_replace_malloc.c:418)
    ==2865==    by 0x54425D3: XIGrabDevice (XIGrabDevice.c:65)
    ==2865==    by 0x400B0A: main (gnome642481.c:56)
    
    SetReqLen() expects 4-byte units.
    Data() expects bytes.
    
    Gnome Bug 642481 <https://bugzilla.gnome.org/show_bug.cgi?id=642481>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 4db3db2b38d8eb9024170633d3bf7c5050272dd0
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Mon Feb 14 08:48:07 2011 +1000

    Mark sourceid in Raw events as bug and force to 0..
    
    The protocol does not provide a source ID for raw events, so this value is
    always 0. It shouldn't really be there, but the past is so hard to change.
    
    Reported-by:  Mark Dokter <dokter@icg.tugraz.at>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit d79a9b174a79e89ca2507a61f2e12af25102313f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Feb 1 07:36:08 2011 +1000

    man: note that callers of XIQueryPointer must free the button mask.
    
    buttons_return->mask is allocated by the library and must be freed by the
    caller to avoid leaking.
    
    Reported-by: Matthias Clasen <mclasen@redhat.com>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 1b376f371c2f866cd1cdf047e50210a5c69772b9
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Feb 2 11:43:43 2011 -0500

    config: comment, minor upgrade, quote and layout configure.ac
    
    Group statements per section as per Autoconf standard layout
    Quote statements where appropriate.
    Autoconf recommends not using dnl instead of # for comments
    
    Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters.
    Use AC_PROG_LIBTOOL to replace the deprecated AM_PROG_LIBTOOL
    Remove redundant AC_SUBST(*_CFLAGS) and/or *_LIBS
    Remove redundant AC_PROG_MAKE_SET included with AM_INIT_AUTOMAKE
    Remove redundant AC_CANONICAL_HOST included in XORG_DEFAULT_OPTIONS
    Add AC_CONFIG_SRCDIR([Makefile.am]) where missing
    Update minimum version of util-macros to at least 1.8.
    
    One or more of the above actions were applied
    No functional configuration changes
    
    This helps automated maintenance and release activities.
    Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit faff510fed9733b2860e14490d5a40d70b840eae
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Jan 28 19:41:37 2011 -0500

    config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 3776075264024af7eca93f689305d46302e88536
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Jan 28 12:07:46 2011 -0500

    config: remove already included AC_PROG_SED statement
    
    Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS
    Use the appropriate platform version of sed
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 5283e87ca909304d3e1820ef877bf3587a9c8724
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Jan 27 18:50:15 2011 -0500

    config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
    
    XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
    AC_PROG_C_C99. This sets gcc with -std=gnu99.
    If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit be2a1b33c9394dcab52622bde53c83f1dd840ea0
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Jan 26 07:42:53 2011 +1000

    libXi 1.4.1
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit e0c95ce2348a9c9afaa4862368c7a5ae6913457c
Author: Carlos Garnacho <carlosg@gnome.org>
Date:   Mon Jan 24 12:35:04 2011 +0100

    Fill in mods/group->effective in XIQueryPointer()
    
    the other XIModifierState/XIGroupState fields are being set correctly,
    but the "effective" field was being left as undefined memory.
    
    Signed-off-by: Carlos Garnacho <carlosg@gnome.org>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit a5961a8459614fcaa801a47cda07d3ee8246b16f
Author: Philipp Reh <sefi@s-e-f-i.de>
Date:   Mon Jan 10 17:35:57 2011 +0100

    Fix passive grabs.
    
    _XIPassiveGrabDevice, which is called by alle the passive grab functions,
    wrongly returns an error when it shouldn't.
    The attached patch adds the missing "not" to properly test the error
    condition of _XReply.
    
    Signed-off-by: Philipp Reh <sefi@s-e-f-i.de>
    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 408db9e86a92c897390129ef27a804d7cf6ba6fb
Author: Paulo Zanoni <pzanoni@mandriva.com>
Date:   Thu Dec 16 14:10:05 2010 -0200

    Use docbookx.dtd version 4.3 for all docs
    
    Signed-off-by: Paulo Zanoni <pzanoni@mandriva.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 9419fe9f0b21232d342885a693fbf9222b5844e4
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Mon Dec 13 19:49:58 2010 +0000

    WireToEvent: Set display member of all events as well
    
    All events were getting random uninitialised garbage for display; fix
    that.
    
    Signed-off-by: Daniel Stone <daniel@fooishbar.org>

commit 549dd5f470148df74e65ce7bb1af316a2848a71d
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Nov 9 13:04:55 2010 -0500

    config: HTML file generation: use the installed copy of xorg.css
    
    Currenlty the xorg.css file is copied in each location
    where a DocBook/XML file resides. This produces about
    70 copies in the $(docdir) install tree.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit ea7e12eaf84ada28f4933e85ecf51a47c9db0b93
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Nov 2 14:26:34 2010 +1000

    libXi 1.4
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 556246beaffb42e1f58d816542d91e360ea02080
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Nov 2 11:22:01 2010 +1000

    man: XGetDeviceProperty(3) has no parameter 'pending'.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Julien Cristau <jcristau@debian.org>

commit ccbebb111fb2084716fce67cb44b5bd8b86adbbc
Author: Jesse Adkins <jesserayadkins@gmail.com>
Date:   Tue Sep 28 13:30:03 2010 -0700

    Purge cvs tags.
    
    Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f237427f897d1dc527494653735d4bb93d740546
Author: Carlos Garnacho <carlosg@gnome.org>
Date:   Wed Oct 6 11:04:21 2010 +0200

    Fix typo when converting raw events from the wire.
    
    The raw values were being miscalculated, containing only the integral part
    of the FP3232, meanwhile normal valuators were mistakenly added the fractional
    part of its corresponding raw value.
    
    Signed-off-by: Carlos Garnacho <carlosg@gnome.org>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit abc26c71b6032683b89085a7ebcd40ca81cdf3f2
Author: Julien Cristau <jcristau@debian.org>
Date:   Sun Oct 3 17:04:57 2010 +0200

    man: fix typo in XIQueryDevice doc
    
    Don't pretend this is XIQueryPointer.
    
    Debian bug#598964
    Reported-by: Joachim Breitner <nomeata@debian.org>
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit a00926cd16a0b6ddb9f7b074dce88e3fb840831c
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date:   Wed Aug 25 22:21:55 2010 +0200

    Fix build with gcc 2.95
    
    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
    Reviewed-by: Matt Turner <mattst88@gmail.com>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 3f2814a0f9193cb33b44ef53059a4b349cf4cabc
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Mon Aug 2 15:40:32 2010 +1000

    man: improve readability of XAllowDeviceEvents.
    
    Parse the options to event-mode as a list. This requires un-indenting the
    rest, otherwise the asciidoc/xmlto conversion will indent the trailing
    paragraphs more than the list
