xf86-input-mouse: Changes to 'master'

Peter Hutterer whot at kemper.freedesktop.org
Tue Oct 26 18:38:44 PDT 2010


 src/Makefile.am   |    1 
 src/bsd_mouse.c   |   28 ++--
 src/hurd_mouse.c  |    8 -
 src/lnx_mouse.c   |   14 +-
 src/mouse.c       |  346 ++++++++++++++++++------------------------------------
 src/mouse.h       |  255 +++++++++++++++++++++++++++++++++++++++
 src/pnp.c         |    1 
 src/sun_mouse.c   |   36 ++---
 src/xf86OSmouse.h |  274 ------------------------------------------
 9 files changed, 404 insertions(+), 559 deletions(-)

New commits:
commit f3f405db5603ecca5bc14dba23628ea56a0f5202
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 16:08:49 2010 +1000

    Remove write-only field mouseFlags.
    
    The flags were used to store ClearDTS and ClearRTR, but those options only
    resulted in log messages.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 23308a251e16c4a6ab3c89c0505b0d8900c9cdff
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 13:51:59 2010 +1000

    Rename xf86OSMouseInit to OSMouseInit.
    
    This isn't a DDX function anymore.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 9263c949df6cbbb8e42ec4f0d6337206f684d0f5
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 13:49:23 2010 +1000

    Remove random History comment.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit ecc3d28fa488f186896d714b8872b8875f8eccfd
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 13:46:13 2010 +1000

    Rename xf86OSmouse.h to mouse.h
    
    The driver-internal mouse.h header was only an include command for
    xf86OSmouse.h anyway.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit a92175888885ac77c87d52309cba87f1e9c96e73
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 13:43:47 2010 +1000

    Remove a bunch of unused fields from the MouseRec.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit a48e8ce9434837d649eb88058aa9406f1bf9dce9
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 13:41:26 2010 +1000

    Move a statement down to have all allocations close together.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit f3ac92a41b9e85a0cfba011812b637b1f3ae2529
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 13:35:55 2010 +1000

    Remove convoluted do { } while loop.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit fac47e7df6f719b1fce5341b343cabcbe150b52f
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 13:34:21 2010 +1000

    Move protocol ID detection into a separate function.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 859b8f2c4d964cd9b40dcbc64bd28fc98e129387
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 12:17:19 2010 +1000

    Use single exit path for PreInit.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 11f94120035d1c4e2d1d299d9fa19f79ca3ed75e
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 12:13:00 2010 +1000

    De-duplicate Option "Device" handling.
    
    Move the warning messages and the OS-specific autoprobing calls into a new
    function. This will change the order log messages appear in but functional
    changes should be identical.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 0b1920abf72664765f7dab4a487839a3d29267a1
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 11:59:17 2010 +1000

    Remove unused branch from if 1 condition.
    
    This has been in since 2003 or earlier, let's pretend it works.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 008906b855f05be4d1942d2a3e1afcb8a7ee4b14
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 11:56:36 2010 +1000

    Remove a bunch of unnecessary log prints.
    
    xf86SetFooOption will print to the log anyway, no need to print twice.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 9d6723303216e7b6de583716768d0dc972f03d03
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 11:53:21 2010 +1000

    Remove if 0'd out model.
    
    If 0 since at least 2003 is enough to pretend we don't need this block.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 6f227252af6458fbf6cbeee43e3f739fd2f03c67
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 15:38:57 2010 +1000

    Remove includes for protocol headers.
    
    The driver shouldn't need those.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 3b39dd7ca3a4055e63a8ca55b614912fe47215a6
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 11:49:51 2010 +1000

    Remove unused define NEED_X86_TYPES.
    
    Not needed for 1.6 and later.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit ef4fad4d823d46be4538daeca0ee3e014efc73c2
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 11:39:42 2010 +1000

    Assume ABI_XINPUT_VERSION 4 or higher.
    
    We require server 1.6 in configure.ac to build, so let's assume that's the
    minimal ABI version we support. Purge the rest.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Acked-by: Gaetan Nadon <memsize at videotron.ca>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit f7b426ef2a6bc181ec700f74b59b39c2e695bf6b
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 11:34:41 2010 +1000

    Remove refcnt field from InputDriverRec.
    
    Wasn't used in the server and is now removed.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit b5fc405451d8fa01b9e5fb6f2da74a6e03d50174
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 11:31:23 2010 +1000

    Don't try to call conversion_proc anymore.
    
    This hasn't been called since at least server 1.5 or so (ABI 2), possibly
    longer.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit bb2d63df99457de1e5c06be501a03b5629fc52c8
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 11:10:25 2010 +1000

    Replace LocalDevicePtr with InputInfoPtr.
    
    No functional changes.
    The typedef has been removed from the server but was an alias for
    InputInfoPtr since the dawn of, well, at least git.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit b5f4fc652cf5999045ff9006a55cf75edaba65c0
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 10:57:58 2010 +1000

    XI86_POINTER_CAPABLE is gone from the server.
    
    And was a write-only flag before that anyway, no ifdef needed.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 4eefb5bfa837aae2201769360745edcaad4ea8d8
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 10:54:41 2010 +1000

    Remove out-of-date comment.
    
    /*
     * XXX This should be done by a function in the core server since the
     * MouseDevRec is defined in the os-support layer.
     */
    
    no, it shouldn't and it isn't, in exactly that order.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit fdd5d5c77d05c7f085e6f62c66b31b66087d195d
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 10:46:35 2010 +1000

    Remove unused declaration of MouseUnInit.
    
    To not have an UnInit function one needs to explicitly not define an UnInit
    function that is then not used, so that definitely no UnInit is performed
    with the function that is not defined. Philosophically speaking, this may be
    true. Meanwhile, over here in reality, well... meh.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit abc107eeb8847b9bf2f303abefde5adaab9331bf
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 25 10:45:27 2010 +1000

    Replace libc wrappers to xcalloc and friends with libc calls.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list