[PULL] valuator double work

Peter Hutterer peter.hutterer at who-t.net
Tue Jun 28 22:37:43 PDT 2011


This is admittedly a larger-than-usual pull request but I'd like this to be
in 1.11. The main chunk of this work is the switch to use double valuators
which will eventually enable smooth scrolling. Note that no new feature is
introduced with this part, it's simply the underlying changes. Smooth
scrolling will be in 1.12.

The other parts of this request are grab/window tree debugging plus a few
misc fixes.

The following changes since commit 9d568450b1319e9057319ebb37e76003bcba447d:

  Create sdksyms.dep in the right place at configure time (2011-06-28 09:33:25 -0700)

are available in the git repository at:
  git://people.freedesktop.org/~whot/xserver.git for-keith

Daniel Stone (30):
      DIX: Make PrintWindowTree actually useful
      XKB: Add debug key actions for grabs & window tree
      XWin: Remove executable bit from headers
      DMX: Remove useless miPointerUpdateSprite call
      KDrive: Remove useless miPointerUpdateSprite call
      Test: Ensure libxservertest gets relinked when necessary
      Test: Input: Only ever set up to MAX_VALUATORS valuators
      Input: Add flags to DeviceEvent
      Input: Add flags to RawDeviceEvent
      Input: Reset SD remainder when copying co-ords from MD
      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

Marcin Slusarz (1):
      dri2: restore Screen->ConfigNotify on close

Matěj Cepl (1):
      Fix UTF-8 encoding

Peter Hutterer (5):
      input: add POINTER_NORAW to avoid generation of raw events (#30068)
      input: free the EQ allocated memory on shutdown (#38634)
      xfree86: Remove devices that failed to enable on startup
      input: add POINTER_NORAW to avoid generation of raw events (#30068)
      Merge branch 'for-peter' of git://people.freedesktop.org/~daniels/xserver

Scott James Remnant (1):
      dix: avoid calling deleted block and wakeup handlers

 Xext/xtest.c                            |    9 +-
 Xi/exevents.c                           |    5 +-
 Xi/xiwarppointer.c                      |    2 -
 dix/dixutils.c                          |   10 +-
 dix/eventconvert.c                      |   20 +-
 dix/getevents.c                         |  387 +++++++++++++-----------------
 dix/grabs.c                             |  112 +++++++++
 dix/inpututils.c                        |   32 ++-
 dix/ptrveloc.c                          |  259 +++++++++------------
 dix/window.c                            |  139 +++++++++--
 exa/exa.c                               |    4 +-
 exa/exa_accel.c                         |    6 +-
 exa/exa_classic.c                       |    2 +-
 exa/exa_driver.c                        |    2 +-
 exa/exa_migration_classic.c             |    4 +-
 exa/exa_migration_mixed.c               |    2 +-
 exa/exa_mixed.c                         |    2 +-
 exa/exa_unaccel.c                       |    2 +-
 hw/dmx/dmxinput.c                       |    1 +
 hw/dmx/input/dmxinputinit.c             |    3 -
 hw/kdrive/ephyr/ephyr.c                 |    2 +-
 hw/kdrive/ephyr/ephyr.h                 |    2 +-
 hw/kdrive/ephyr/ephyr_draw.c            |    2 +-
 hw/kdrive/ephyr/ephyrinit.c             |    3 +-
 hw/kdrive/ephyr/hostx.c                 |    2 +-
 hw/kdrive/ephyr/hostx.h                 |    2 +-
 hw/kdrive/ephyr/os.c                    |    2 +-
 hw/kdrive/fake/fakeinit.c               |    1 +
 hw/kdrive/fake/kbd.c                    |    2 +-
 hw/kdrive/fbdev/fbdev.c                 |    2 +-
 hw/kdrive/fbdev/fbdev.h                 |    2 +-
 hw/kdrive/fbdev/fbinit.c                |    3 +-
 hw/kdrive/linux/keyboard.c              |    8 +-
 hw/kdrive/linux/linux.c                 |    2 +-
 hw/kdrive/linux/mouse.c                 |    2 +-
 hw/kdrive/linux/ps2.c                   |    2 +-
 hw/kdrive/linux/tslib.c                 |   10 +-
 hw/kdrive/src/kcmap.c                   |    2 +-
 hw/kdrive/src/kdrive.h                  |    4 +-
 hw/kdrive/src/kinfo.c                   |    2 +-
 hw/kdrive/src/kinput.c                  |   11 +-
 hw/kdrive/src/kshadow.c                 |    2 +-
 hw/vfb/InitInput.c                      |    1 +
 hw/xfree86/common/xf86Init.c            |    1 +
 hw/xfree86/common/xf86Module.h          |    2 +-
 hw/xfree86/common/xf86Xinput.c          |    1 +
 hw/xfree86/dixmods/xkbPrivate.c         |   15 ++
 hw/xfree86/dri2/dri2.c                  |    1 +
 hw/xfree86/exa/examodule.c              |    2 +-
 hw/xfree86/modes/xf86Modes.h            |    2 +-
 hw/xfree86/modes/xf86cvt.c              |    4 +-
 hw/xfree86/os-support/solaris/sun_agp.c |    4 +-
 hw/xnest/Init.c                         |    1 +
 hw/xquartz/darwin.c                     |    4 +
 hw/xquartz/darwinEvents.c               |    4 +
 hw/xquartz/darwinEvents.h               |    1 +
 hw/xquartz/darwinXinput.c               |    5 -
 hw/xwin/InitInput.c                     |    1 +
 include/dixgrabs.h                      |    3 +
 include/eventstr.h                      |   11 +-
 include/input.h                         |   14 +-
 include/inputstr.h                      |    3 +-
 include/inpututils.h                    |    2 +-
 include/ptrveloc.h                      |   32 ++--
 include/window.h                        |    2 +
 mi/mipointer.c                          |    2 +-
 miext/shadow/shadow.c                   |    2 +-
 test/Makefile.am                        |    1 +
 test/input.c                            |   21 ++-
 test/xi2/protocol-eventconvert.c        |   40 ++--
 70 files changed, 722 insertions(+), 533 deletions(-)
 mode change 100755 => 100644 hw/xwin/xlaunch/resources/resources.h
 mode change 100755 => 100644 hw/xwin/xlaunch/window/dialog.h
 mode change 100755 => 100644 hw/xwin/xlaunch/window/window.h
 mode change 100755 => 100644 hw/xwin/xlaunch/window/wizard.h
Cheers,
  Peter


More information about the xorg-devel mailing list