summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-01-05Add X.Org's standard C warning flags to AM_CFLAGSHEADmasterAlan Coopersmith3-2/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-08xf86-input-vmmouse 13.2.0xf86-input-vmmouse-13.2.0Matt Turner1-1/+1
Signed-off-by: Matt Turner <mattst88@gmail.com>
2022-08-23tools: Fix declaration of xf86EnableIO()Matt Turner1-8/+9
/usr/include/xorg/xf86_OSproc.h:115:23: error: type of 'xf86EnableIO' does not match original declaration [-Werror=lto-type-mismatch] 115 | extern _X_EXPORT Bool xf86EnableIO(void); | ^ vmmouse_iopl.c:125:6: note: return value type mismatch 125 | bool xf86EnableIO(void) | ^
2022-07-18gitlab CI: add a basic build testAlan Coopersmith1-0/+98
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-16Build xz tarballs instead of bzip2Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-25Update configure.ac bug URL for gitlab migrationAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-03-25Update "See Also" list in vmmouse_detect man pageAlan Coopersmith1-1/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
2017-01-26autogen: add default patch prefixMihail Konev1-0/+3
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26autogen.sh: use quoted string variablesEmil Velikov1-4/+4
Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent fall-outs, when they contain space. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-01-26autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer1-1/+1
Syncs the invocation of configure with the one from the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2017-01-26autogen.sh: Implement GNOME Build APIColin Walters1-1/+3
http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Adam Jackson <ajax@redhat.com>
2017-01-26Drop maintainer mode from autogen.shPeter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-06-26Add NetBSD/amd64 support for iopl calls.Thomas Klausner2-43/+20
While here, correct AC_DEFINE usage. Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
2015-06-26Replace unportable test(1) operator.Thomas Klausner1-1/+1
Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
2015-06-25Bump version number for releasexf86-input-vmmouse-13.1.0Thomas Hellstrom1-1/+1
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Trivial.
2015-04-08vmmouse: Bump version number for releasexf86-input-vmmouse-13.0.99Thomas Hellstrom1-1/+1
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2015-04-08vmmouse: Fix vmmouse_detect build on BSDThomas Hellstrom2-3/+37
Tested with FreeBSD, but changes affect also OpenBSD and NetBSD to fix compiling and linking with the relevant system libraries. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Sinclair Yeh <syeh@vmware.com>
2015-04-08vmmouse: Add support for the access restrict commandThomas Hellstrom3-0/+15
The access restrict command, if implemented, restricts vmmouse port access to the indicated level. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Michael Banack <banackm@vmware.com>
2015-04-07vmmouse: Run vmmouse_detect as an io privileged processThomas Hellstrom4-7/+273
Many distros already include patches to do this in various more or less hackish ways. Since VMware now is about to restrict access to the VMmouse backdoor, let's try to support it officially. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Acked-by: Sinclair Yeh <syeh@vmware.com>
2014-10-08vmmouse_client.h: Include xorg-server.h before xf86_OSproc.hStefan Dirsch1-0/+1
xf86_OSproc.h cannot be included without first including xorg-server.h. Without this the build fails on systems with the latest glibc, throwing this error: In file included from /usr/include/string.h:634:0, from /usr/include/xorg/os.h:53, from /usr/include/xorg/misc.h:115, from /usr/include/xorg/window.h:50, from /usr/include/xorg/globals.h:7, from /usr/include/xorg/opaque.h:34, from /usr/include/xorg/xf86_OSproc.h:127, from vmmouse_client.h:42, from vmmouse_client.c:38: /usr/include/xorg/os.h:579:1: error: expected identifier or '(' before '__extension__' strndup(const char *str, size_t n); This is caused by HAVE_STRNDUP not being set (it is set from xorg-server.h), causing os.h to redefine it. Signed-off-by: Stefan Dirsch <sndirsch@suse.de> Reviewed-by: Daniel Stone <daniels@collabora.com> Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
2014-10-08Back off if we detect a vmmouse kernel driver v3Thomas Hellstrom4-2/+128
If a vmmouse kernel driver is active, vmmouse input is handled by the Xorg evdev driver and not by the vmmouse driver, so make sure the vmmouse_detect utility doesn't detect a vmmouse if a kernel driver is active. v2: Change the vmmouse kernel device name, fix comment. v3: Fix up libudev error handling. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com>
2014-07-14Fix wheel button labelsLoïc Yhuel1-4/+4
Wheel is using buttons 4/5, but btn_labels array is 0-based. It matches mouse and evdev drivers, and fixes wheel in Qt5.3. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-11-28Always include config.h firstJeremy Huddleston Sequoia4-9/+12
This fixes some build warnings about CSRG_BASED being redefined due to incorrect header include ordering. Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2013-10-21tools: make install fails when user has no write permission in /libGaetan Nadon1-9/+6
The location of the udevdir is obtained from pkg-config. This is generally /lib/udev. Most people run their build scripts as non-root and do not want to overwrite or add files on their workstation system. This was not the behaviour in release 12.8.0. The code in configure.ac set udevdir based on common installation prefixes /usr or /usr/local for which the user would probably have root permission anyway. Other prefixes would be assigned a udevdir value under the given $prefix. The patch proposes the default location $libdir/udev/rules.d and no longer seeking it's value from pkg-config, just like what was done for hal. The expectation is that the xorg source tree can be built from top to bottom out of the box without tweaks or workarounds. A developer need to manually install a rule under development and run an admin command for it to take effect. Unlike binaries or libraries, there is no "path" style variable to append a rule in development from a different location. Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2013-10-21Drop AM_MAINTAINER_MODEPeter Hutterer1-2/+0
Long writeup: http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/ Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-10-21Don't de-reference pMse if it hasn't been initialised yetPeter Hutterer1-2/+4
If the device fails PreInit, UnInit is still called by pMse may be NULL. Dereferencing it is a bad idea. Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-10-21Handle DEVICE_ABORT on ABI 19.1Peter Hutterer1-0/+9
Called on server abort, so let's just do the absolute minimum. Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2013-09-24"make dist" fails when workstation has no udev packageGaetan Nadon1-1/+1
Unable to create a tar file for the vmmouse package or run distcheck for that matter. In tools, when the dev package is not installed, the makefile code under HAS_UDEV_RULES_DIR is commented out. That leaves $(udev_DATA) empty which causes EXTRA_DIST to be missing a file. The solution is to spell out the file name. The name can never change as the content of the tarball must be the same for everyone creating a tar file from git, regardless of their workstation configuration. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2013-09-24Autoconf: Fix deprecated use of AC_OUTPUTGaetan Nadon1-1/+8
Use AC_CONFIG_FILES (once or more) and then AC_OUTPUT. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2013-09-24Autoconf: minimum level required is 2.60Gaetan Nadon1-1/+1
The minimum for all X.Org modules. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2013-09-24Autoconf: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon1-6/+6
Just a macro name change. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2013-09-24Autoconf: remove AC_PROG_CC which overrides AC_PROG_CC_C99 from util-macrosGaetan Nadon1-1/+0
All other X.Org modules and mainly the server are using C99 compiler. Currently the compiler gets initialized twice, once to C99 from util-macros and once to C89 from configure.ac. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2013-02-07Free the vmmouse data on UnInitPeter Hutterer1-0/+7
xf86DeleteInput() will free pInfo->private, but not the one hanging off that. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Tested-by: Zack Rusin <zackr@vmware.com>
2013-01-15vmmouse release 13.0.0xf86-input-vmmouse-13.0.0Zack Rusin1-1/+1
Signed-off-by: Zack Rusin <zackr@vmware.com>
2012-12-06vmmouse 12.9.99.901Zack Rusin1-1/+1
Internal release for QE testing Signed-off-by: Zack Rusin <zackr@vmware.com>
2012-11-23Fix compiler warnings about unused variablesPeter Hutterer1-14/+0
vmmouse.c: In function 'MouseCommonOptions': vmmouse.c:732:16: warning: variable 'from' set but not used [-Wunused-but-set-variable] vmmouse.c: In function 'MouseCommonOptions': vmmouse.c:733:8: warning: variable 'origButtons' set but not used [-Wunused-but-set-variable] vmmouse.c: In function 'VMMouseDeviceControl': vmmouse.c:838:19: warning: variable 'mPriv' set but not used [-Wunused-but-set-variable] Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
2012-11-23Use sigsafe logging in ReadInput pathPeter Hutterer1-2/+6
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
2012-08-07Fetch the udev dir from udev.pc instead of guessing based on prefixPeter Hutterer3-15/+6
Reviewed-by: Gaetan Nadon<memsize@videotron.ca> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2012-08-07Reset ps2buttons to avoid button messages from being discarded.Stephen Brooks1-1/+1
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Stephen Brooks <nightbikeman@gmail.com>
2012-05-22vmmouse 12.8.0xf86-input-vmmouse-12.9.0Jakob Bornecrantz1-1/+1
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2012-05-10Revert "Adjust the kernel name in the udev file."Zack Rusin1-1/+1
This reverts commit 189dc266a66485d48303acbc1a4fbe4642c75e9f. It seems that for some reason the device routing is breaking with this. Possibly related to Win7 x64 hosts because it's not reproducible on GNU/Linux hosts. Semantially we'd still like to match only on mouse kernel but for the time being this seems to cause more problems than it solves. Hence the revert.
2012-05-03config: replace obsolete AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon1-2/+2
Moved up in the autoconf init section. It has been removed from Automake 1.12. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Zack Rusin <zackr@vmware.com>
2012-05-03Enable hardware access during vmmouse preinit.Michal Srb1-0/+21
Vmmouse driver uses outl calls but never requests hardware access. In case there are no other drivers that requests it, vmmouse initialization will fail. (Found on KVM virtual machine with fbdev graphics driver and vmmouse input driver.) Request hardware access in same way xf86-input-keyboard does. Signed-off-by: Zack Rusin <zackr@vmware.com>
2012-03-08vmmouse 12.8.0xf86-input-vmmouse-12.8.0Zack Rusin1-1/+1
bump the version number for the new release Signed-off-by: Zack Rusin <zackr@vmware.com>
2012-03-08Adjust the kernel name in the udev file.Zack Rusin1-1/+1
Some distros (most notable OpenSuSE) are unable to match on the 'event' devices, since we should be using 'mouse' kernel anyway (because that's what the 'udevadm info' reports) switch to it in the rules file. Signed-off-by: Zack Rusin <zackr@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2012-01-12Deal with opaque InputOption types in ABI 14Peter Hutterer1-15/+34
Tested-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2011-04-06Make the fdi script work with FreeBSDThomas Hellstrom1-0/+3
The key "input.originating_device" is not present on FreeBSD. Use "freebsd.driver" instead. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Michel Dänzer <daenzer@vmware.com>
2011-03-02vmmouse 12.7.0xf86-input-vmmouse-12.7.0Thomas Hellstrom1-1/+1
Remove trailing zero from version number. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2011-03-02vmmouse 12.7.0.0Thomas Hellstrom1-1/+1
VMware internal testing completed. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-12-08vmmouse 12.6.99.901xf86-input-vmmouse-12.6.99.901Thomas Hellstrom1-1/+1
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>