Commit Graph

113 Commits

Author SHA1 Message Date
Alan Coopersmith
f7633b7ebb gitlab CI: stop requiring Signed-off-by in commits
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-08 15:53:56 -08:00
Alan Coopersmith
6ca7e1c3dc config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES
Fix Automake warning: AC_OUTPUT should be used without arguments.
www.gnu.org/software/autoconf/manual/autoconf.html#Configuration-Files

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-24 11:28:23 -07:00
Alan Coopersmith
8eccd06a76 config: upgrade to util-macros 1.8 for additional man page support
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
The value of MAN_SUBST is the same for all X.Org packages.

Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS
The existing statement can now be removed from the configuration file.

Use automake provided $(AM_V_GEN) and XORG_DEFAULT_OPTIONS provided $(SED)
Enables silent rule and use platform appropriate version of sed.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-24 11:22:55 -07:00
Mihail Konev
92fe170ff0 autogen: add default patch prefix
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-24 11:22:22 -07:00
Emil Velikov
052c6677c6 autogen.sh: use quoted string variables
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>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-24 11:22:22 -07:00
Peter Hutterer
1ccb7b4b46 autogen.sh: use exec instead of waiting for configure to finish
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>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-24 11:22:22 -07:00
Alan Coopersmith
df78cd556e autogen.sh: Honor NOCONFIGURE=1
See http://people.gnome.org/~walters/docs/build-api.txt

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-24 11:22:22 -07:00
Alan Coopersmith
95d15d40b8 configure: Drop AM_MAINTAINER_MODE
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-24 11:22:22 -07:00
Gaetan Nadon
5c2cb76dd3 Deploy the new XORG_DEFAULT_OPTIONS #24242
This macro aggregate a number of existing macros that sets commmon
X.Org components configuration options. It shields the configuration file from
future changes.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-24 11:22:16 -07:00
Alan Coopersmith
82691c8d93 config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Regroup AC statements under the Autoconf initialization section.
Regroup AM statements under the Automake initialization section.
update AC_PREREQ statement to 2.60

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-24 11:08:16 -07:00
Alan Coopersmith
2578d274b9 Fix spelling/wording issues
Found by using:
    codespell --builtin clear,rare,usage,informal,code,names

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-16 10:24:07 -08:00
Alan Coopersmith
e6d878e0ab gitlab CI: add a basic build test
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-16 10:15:09 -08:00
Alan Coopersmith
2c9f095acc Build xz tarballs instead of bzip2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-16 09:38:37 -08:00
Matt Turner
0f927a2167 elographics 1.4.2
Signed-off-by: Matt Turner <mattst88@gmail.com>
xf86-input-elographics-1.4.2
2019-06-09 11:46:09 -07:00
Alan Coopersmith
a4dafa6b3b Add README.md to EXTRA_DIST
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-03-10 13:58:27 -07:00
Alan Coopersmith
eb4f69a71d Update configure.ac bug URL for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-03-10 11:17:35 -07:00
Alan Coopersmith
a01b79bd08 Update README for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-03-10 11:17:21 -07:00
Peter Hutterer
c666c78c76 Handle DEVICE_ABORT on input ABI 19.1
Don't do anything, but don't print a warning either.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-01-30 11:51:42 +10:00
Jaska Kivela
0d3ec2e97c Added axis inversion functionality.
The module would previously log a message if min > max, but not do anything
about it. Keep the original min/max around, swap on-the-fly.

Signed-off-by: Jaska Kivela <jaska@kivela.net>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-01-17 08:18:10 +10:00
Peter Hutterer
9fc73c9d03 elographics 1.4.1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
xf86-input-elographics-1.4.1
2012-08-20 11:11:41 +10:00
Søren Holm
3f5e814114 Added correct scaling of axes.
Signed-off-by: Søren Holm <sh@sgh.dk>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-08-17 15:12:11 +10:00
Peter Hutterer
948e472fb1 Don't force pInfo->flags to 0 (#40870)
The server uses the flags to decide if a device comes up as attached or
floating slave. Overwriting the flag after the server has processed the
CorePointer/AlwaysCore/Floating/etc options results in the device always
coming up as floating slave. This again makes the device appear
unresponsive.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-08-17 15:12:08 +10:00
Peter Hutterer
c65d8e4c33 elographics 1.4.0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
xf86-input-elographics-1.4.0
2012-07-30 14:03:43 +10:00
Peter Hutterer
ad74c47b0a Constify a few strings
xf86Elo.c:74:5: warning: initialization discards 'const' qualifier from
pointer target type [enabled by default]

several of:
xf86Elo.c:915:3: warning: initialization discards 'const' qualifier from
pointer target type [enabled by default]
(input ABI 18 only)

xf86Elo.c:1012:9: warning: assignment discards 'const' qualifier from
pointer target type [enabled by default]

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-07-30 13:56:12 +10:00
Peter Hutterer
461d74ba17 Swap calls to Error() to ErrorF
Error doesn't exist anymore, removed in xorg-server-1.11.0-182-g09dbfcb

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-07-30 13:43:39 +10:00
Peter Hutterer
1bdc3c58e7 Test the device in PreInit and fail if it cannot be opened.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-19 11:32:27 +10:00
Peter Hutterer
de753ac308 Don't free on init failure, let UnInit take care of it.
Avoid double-frees when the server calls Uninit.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-19 11:32:27 +10:00
Peter Hutterer
d743407c0e Use xf86SetStrOption for Option Device
Let the device be printed in the logs

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-19 11:32:24 +10:00
Terry Lambert
38bcc4322a Return proper default for unknown values in pInfo->device_control.
Signed-off-by: Terry Lambert <tlambert@chromium.org>
Reviewed-by: Stephane Marchesin <marcheu@chromium.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-18 11:49:27 +10:00
Peter Hutterer
55f337f61f Fix name and type_name for elographics
Don't overwrite the user-assigned name and use XI_TOUCHSCREEN for type_name.
Don't allow Option "DeviceName", use Identifier instead.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-08 15:04:03 +10:00
Peter Hutterer
7c324ede65 elographics 1.3.0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
xf86-input-elographics-1.3.0
2011-06-27 14:48:11 +10:00
Peter Hutterer
6c9a801a5c Require server 1.10
And remove the manual input ABI check.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-06-27 14:47:32 +10:00
Peter Hutterer
6fd22a9d64 Support input ABI 12
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
2010-12-06 10:18:52 +10:00
Peter Hutterer
3dac6ffa77 Remove refcount field, dropped from the server
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
2010-12-03 09:35:15 +10:00
Peter Hutterer
447f547fbb Drop close_proc, conversion_proc, reverse_conversion_proc
All three are not called by the server anymore.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
2010-12-03 09:35:15 +10:00
Peter Hutterer
61b249e75e Drop driver-specific motion history size handling.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
2010-12-03 09:35:15 +10:00
Peter Hutterer
8d90c97158 Require server 1.9, drop earlier ABI support
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
2010-12-03 09:35:15 +10:00
Peter Hutterer
7f35fe7d26 Replace LocalDevicePtr with InputInfoPtr
Both describe the same struct, LocalDevicePtr has been removed from the
server.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
2010-12-03 09:35:15 +10:00
Peter Hutterer
0f3df8923d unifdef XFree86LOADER
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
2010-12-03 09:35:15 +10:00
Peter Hutterer
787c1a94de Bump to 1.2.99
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-12-03 09:35:15 +10:00
Peter Hutterer
607aed7602 elographics 1.2.4
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
xf86-input-elographics-1.2.4
2010-06-09 12:18:14 +10:00
Peter Hutterer
ac31d3e2d1 Remove libcwrappers for malloc and free.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-06-09 12:17:16 +10:00
Peter Hutterer
ac5366d6e1 Added support for GeneralTouch serial touchscreens.
Signed-off-by: Ivan Afonichev <ivan.afonichev@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-12-18 08:43:11 +10:00
Michael Smith
b9531248d1 xf86EloReadInput(): fix xserver unresponsiveness during touch
The fix for bug #14109 ensures all bytes are emptied from the OS buffer
by looping until xf86WaitForInput returns 0.  This patch just changes
the timeout from 1 millisecond to 0: we don't want the X server to block
if there's no more serial data.

It also removes the Vmin and Vtime options, which were making the calls
to read() block until a complete 10-byte packet buffer could be filled.
At 9600 bps, this could pause the X server for up to 9 ms. The code can
already handle partial buffers, so all we have to do is get rid of the
Vmin.

Also, if xf86EloGetPacket() returns !Success, we should continue rather
than break so the xf86WaitForInput call can decide whether to exit, in
case there's more data in the buffer.

Before the fix, glxgears was giving me about 390 FPS normally and down
to 140 FPS when dragging an empty area of the touchscreen. Now it's
basically unchanged when the touchscreen is in use (390 -> 385 FPS).

X.Org Bug 14109 <https://bugs.freedesktop.org/show_bug.cgi?id=14109>

Signed-off-by: Michael Smith <msmith@cbnco.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-12-16 08:53:55 +10:00
Peter Hutterer
60927fee86 Remove unused bits from configure.ac
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-11-20 09:12:22 +10:00
Peter Hutterer
36d6b8efe2 Reset local->private to NULL to avoid double-frees. (#23239)
X.Org Bug 23239 <http://bugs.freedesktop.org/show_bug.cgi?id=23239>

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-24 16:17:14 +10:00
Peter Hutterer
a18af14b1d Cope with XINPUT ABI 7.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-17 14:45:01 +10:00
Paulo Cesar Pereira de Andrade
c97c9f4706 Janitor: make distcheck, .gitignore. 2009-02-02 19:06:55 -02:00
Alan Coopersmith
8230f8bb1f Add README with pointers to mailing list, bugzilla & git repos 2009-01-30 20:18:17 -08:00
Matthieu Herrb
e98045e810 Fix InputDriverRec allocation and freeing.
This caused X server to access free()'d memory on exit path.
Thanks to msys.ch for providing a test machine.
2009-01-29 17:19:42 +01:00