[PULL] XI 2.1 - raw events and smooth scrolling

Peter Hutterer peter.hutterer at who-t.net
Sun Oct 2 15:56:49 PDT 2011


I've added Alan's compiler warning fix to this branch.
New tip: 524e5445c0b6df5247d4aac5368470bb89ef4080

On Fri, Sep 30, 2011 at 09:51:38AM +1000, Peter Hutterer wrote:
> This is the now finally reviewed smooth scrolling branch and the raw events,
> along with the new input ABI changes (which are spread over a set of commits
> but at least this way they're in one merge only)
> 
> Commit f32c827d513c44f07e1d0fbcc0c96cef18c9a4d9
> 
> 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:
> 
>   git://people.freedesktop.org/~whot/xserver.git next
> 
> Cyril Brulebois (3):
>       xkb: Fix case checks for Latin 1.
>       xkb: Fix case checks for Latin 2.
>       xkb: Fix case checks for Latin 4.
> 
> Daniel Stone (25):
>       Input: Add flags to DeviceEvent
>       Input: Add flags to RawDeviceEvent
>       Input: Convert ValuatorMask to double-precision internally
>       Input: Add double-precision valuator_mask API
>       Input: Store clipped absolute axes in the mask
>       Input: Prepare moveAbsolute for conversion to double
>       Input: Prepare moveRelative for conversion to double
>       Input: Convert clipAxis, moveAbsolute and moveRelative to double
>       Input: Convert transformAbsolute to work on doubles
>       Input: Set fractional member in set_raw_valuators
>       Input: Use trunc instead of lrintf in acceleration code
>       Input: Widen pointer acceleration types to double
>       Input: Convert acceleration code to using ValuatorMask
>       Input: Remove x and y from moveAbsolute/moveRelative
>       Input: Convert rescaleValuatorAxis to double
>       Input: Don't call positionSprite for non-pointer devices
>       Input: Convert positionSprite and GetPointerEvents to double
>       Input: Modify mask in-place in positionSprite
>       Input: Make RawDeviceEvent use doubles internally
>       Input: Make DeviceEvent use doubles internally
>       Input: Convert DeviceIntRec::last to use doubles
>       Input: Set last valuators in GetPointerEvents only
>       Input: Split GetPointerEvents body into a helper function
>       Input: Add vertical and horizontal scroll axes
>       Input: Add POINTER_EMULATED flag to GetPointerEvents
> 
> Max Schwarz (1):
>       Input: Fix frac calculation on [Raw]DeviceEvent conversion
> 
> Peter Hutterer (13):
>       input: switch InitValuatorAxisStruct to return Bool
>       input: allow for max < min for relative axes on  InitValuatorAxisStruct
>       dix: split client list retrieval out of DeliverEventToClients
>       dix: rename DeliverEventsToClients to DeliverEventsToWindowMask
>       dix: split DeliverEventToWindowMask up a bit more.
>       Xi: use temporary variable for filter.
>       dix: rename ProcessRawEvents to dix/events.c:DeliverRawEvent
>       Support (and require) XI 2.1
>       input: deliver raw events unconditionally for XI 2.1 clients.
>       dix: use 'rc' for return code in DeliverRawEvent
>       Merge branch 'raw-events' into next
>       Input: Add smooth-scrolling support to GetPointerEvents
>       Merge branch 'smooth-scrolling' into next
> 
>  Xi/exevents.c                     |   64 ++++-
>  Xi/xiproperty.c                   |    5 +
>  Xi/xiquerydevice.c                |   73 +++++-
>  Xi/xiquerydevice.h                |    1 +
>  Xi/xiwarppointer.c                |    2 -
>  configure.ac                      |    2 +-
>  dix/devices.c                     |   12 +
>  dix/eventconvert.c                |   22 +-
>  dix/events.c                      |   92 +++++-
>  dix/getevents.c                   |  618 ++++++++++++++++++++++---------------
>  dix/inpututils.c                  |   32 ++-
>  dix/ptrveloc.c                    |  259 +++++++---------
>  hw/xfree86/common/xf86Module.h    |    2 +-
>  hw/xfree86/common/xf86Xinput.c    |    8 +-
>  hw/xfree86/common/xf86Xinput.h    |    2 +-
>  include/eventstr.h                |   11 +-
>  include/exevents.h                |   25 ++-
>  include/input.h                   |    6 +
>  include/inputstr.h                |   23 ++-
>  include/inpututils.h              |    2 +-
>  include/protocol-versions.h       |    2 +-
>  include/ptrveloc.h                |   32 +-
>  include/xserver-properties.h      |    2 +
>  test/input.c                      |   78 +++++-
>  test/xi2/protocol-common.c        |   63 ++++-
>  test/xi2/protocol-eventconvert.c  |   40 ++-
>  test/xi2/protocol-xiquerydevice.c |   49 +++-
>  27 files changed, 1031 insertions(+), 496 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20111003/baf441aa/attachment.pgp>


More information about the xorg-devel mailing list