Commit graph

254 commits

Author SHA1 Message Date
Daniel Stone
f17598c1be Mostly typographical
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2011-05-03 17:21:44 +01:00
Daniel Stone
2d5294cb0b Further cleanups and clarifications
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2011-04-28 12:02:43 +01:00
Daniel Stone
7579069170 Reword touch introduction, labels for all
Reword the introduction to the multitouch section to try to be a bit
clearer, and go on a mad section-labelling spree.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2011-04-26 20:30:13 +01:00
Daniel Stone
400365a9bf typo fix
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2011-04-26 19:51:41 +01:00
Daniel Stone
416f077d87 Add FIXME sidebars, remove single-grab stipulation
Add very visible FIXME sections to more clearly mark what's broken; also
remove the stipulation that only one grab may be active at a time.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2011-04-22 16:14:54 +01:00
Daniel Stone
a500bc990b Add inline references, fix usecase bulleting
Replace 'see section x.y.z' with better inline links; fix nested
bulleting of XI 2.1 usecases.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2011-04-22 15:42:09 +01:00
Daniel Stone
3a89a5a300 Doc note: No seriously, this is WIP
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2011-04-22 15:31:52 +01:00
Daniel Stone
b46a3bafd9 Formatting fixups and minor rewording
No semantic changes.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2011-04-22 15:23:01 +01:00
Daniel Stone
e19eaef83d Require configure flag to build this proto version.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-04-22 14:10:26 +01:00
Peter Hutterer
ca39f67c2a Put a #warning and #error in to avoid unsuspecting XI 2.1 users.
The #warning directive is intentionally outside the define to disable the
error. Early adopters of the protocol can't see this warning often enough.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-04-22 14:10:25 +01:00
Peter Hutterer
ed840d79d3 specs: rewrite pointer emulation section
plus a fixme

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-03-18 16:20:12 +10:00
Peter Hutterer
15e76dd365 specs: rewrite pointer emulation for indirect devices
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-03-18 16:20:12 +10:00
Peter Hutterer
9c2817fd76 specs: Rewrite Touch events delivery section
And add a fixme

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-03-18 16:20:12 +10:00
Peter Hutterer
c883261f2b specs: Add a fixme for using raw events instead of GrabModeObserve
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-03-18 16:20:12 +10:00
Peter Hutterer
3571092495 specs: clean/rewrite touch grab and ownership bits
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-03-18 16:20:12 +10:00
Peter Hutterer
f24c9ae749 spec: Move ClientPointer up again.
Prep work to have a separate first-class headline for touch processing

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-03-18 16:20:12 +10:00
Peter Hutterer
0e4a782339 specs: move warning about out-of-band processing up a bit.
The out-of-band processing is really only important for pointer emulation.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-03-18 16:20:12 +10:00
Peter Hutterer
1d720b30c9 specs: move touch sequence handling (owner-only) up a bit.
This is to restructure to get the simple cases clarified up first before
explaining more complex changes.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-03-18 16:20:09 +10:00
Peter Hutterer
a4583dcd3e specs: move from "init move destroy" to "begin update end"
And rewrite that paragraph a bit.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-03-18 12:03:26 +10:00
Peter Hutterer
fe19202c22 specs: add a linebreak for asciidoc parsing
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-03-17 16:29:08 +10:00
Peter Hutterer
f9fa8f9a7d Merge branch 'master' into chase-multitouch
Conflicts:
	specs/XI2proto.txt

Fixed up (added) asciidoc for touch proto.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-03-17 16:29:03 +10:00
Gaetan Nadon
47901cd142 XIproto.txt: fix whitespace issues
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-03-16 13:02:40 -04:00
Gaetan Nadon
5f43b8b19e XI2proto.txt: fix whitespace issues
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-03-16 13:02:37 -04:00
Gaetan Nadon
0ac450f47c specs: convert XI2proto.txt to html using asciidoc
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-03-16 13:02:32 -04:00
Peter Hutterer
f21f00bd9b Add minimal asciidoc syntax
Though this protocol description is mainly to be viewed as textfile, a few
minor changes make it parsable for asciidoc to spit out reasonably
nicely-formatted html code.

Changes include:
- underline section headers with the matching lines
- add linebreaks before lists to parse them as lists
- change indentation level for normal text to be left-marging aligned and
  for <pre> text to be indented
- comment out section dividers

It's possible to run asciidoc XI2proto.txt and get some nice html output
now.

Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
2011-03-16 12:59:19 -04:00
Chase Douglas
a02566ca7f Many more updates to the XI 2.1 protocol
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
2011-03-10 15:43:47 -05:00
Chase Douglas
db7c0eccc7 Updates for pointer emulation and more touch device modes
Also includes resolutions for dependent devices and implicit grabs and
how to handle slave touch device attachment and touch selections.

Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
2011-02-22 09:47:02 -05:00
Daniel Stone
99f15a2346 Add touch classes and events, bump to 2.1
Introduce multitouch support through a new TouchClass, as well as new
TouchBegin, TouchEnd, TouchOwnership, TouchUpdate, and TouchUpdateUnowned
events.  Bump to version 2.1.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Co-authored-by: Chase Douglas <chase.douglas@canonical.com>
Co-authored-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-02-15 14:24:08 +00:00
Fernando Carrijo
13baef91f0 Fix typos in XIproto.txt
Signed-off-by: Fernando Carrijo <fcarrijo@freedesktop.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-01-31 13:09:50 +10:00
Chase Douglas
5c2d5fd99d Include stdint.h
I'm now getting build failures due to missing stdint.h. It seems we
should include it explicitly in XI2proto.h anyways.

Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-12-22 11:26:57 +10:00
Peter Hutterer
56ffb56471 inputproto 2.0.1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-11-11 14:10:26 +10:00
Peter Hutterer
52e92f280c Typo fix: GrabTypeFocusIn -> GrabtypeFocusIn
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-08-06 10:11:43 +10:00
Peter Hutterer
3dc8e70f76 Spell out event types for XIDeviceEvent.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-08-06 10:11:43 +10:00
Peter Hutterer
993ca70d7e Define the error cases for XSetDeviceMode better.
Take the error codes as described in the man page for XSetDeviceMode. This
is more likely to be what clients expect, especially since the protocol spec
doesn't actually define when BadMode is to be reported.

This behaviour is the same as specified in the XSetDeviceMode man page.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
2010-08-06 10:11:43 +10:00
Peter Hutterer
617c4a2db4 XI2proto.txt: fix up some request names.
Leftovers from previous versions of the spec before the requests were
renamed.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-08-06 10:11:43 +10:00
Gaetan Nadon
b2e8bd74f0 config: update AC_PREREQ statement to 2.60
Unrelated to the previous patches, the new value simply reflects
the reality that the minimum level for autoconf to configure
all x.org modules is 2.60 dated June 2006.

ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-28 19:25:52 -04:00
Gaetan Nadon
5e22edcb54 config: remove the pkgconfig pc.in file from EXTRA_DIST
Automake always includes it in the tarball.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-28 19:00:31 -04:00
Gaetan Nadon
33bab5091b config: install and distribute XI2proto.txt XIproto.txt
It will now be installed in $docdir in addition
to being distributed in the tarball.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-28 17:46:57 -04:00
Gaetan Nadon
0746aed42e Add Red Had Copyright in the COPYING file.
Refer to XI2.h and XI2proto.h

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-12-22 16:45:54 -05:00
Gaetan Nadon
e0ec5c81ee Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
Now that the INSTALL file is generated.
Allows running make maintainer-clean.
2009-11-22 19:24:48 -05:00
Gaetan Nadon
30c2e87594 README: file created or updated #24206
Contains a set of URLs to freedesktop.org.
2009-11-16 11:13:30 -05:00
Gaetan Nadon
7ddcd9b428 Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
ChangeLog filename is known to Automake and requires no further
coding in the makefile.
2009-11-15 19:45:26 -05:00
Gaetan Nadon
ee09bc24ce Makefile.am: INSTALL file is missing or incorrect #24206
The standard GNU file on building/installing  tarball is copied
using the XORG_INSTALL macro contained in XORG_DEFAULT_OPTIONS
Add INSTALL target
2009-11-15 18:31:28 -05:00
Gaetan Nadon
2ee03af19d configure.ac: 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.
2009-11-15 18:11:36 -05:00
Gaetan Nadon
bf66af595c configure.ac: AM_MAINTAINER_MODE missing #24238
This turns off maintainer mode build rules in tarballs.
Works in conjunction with autogen.sh --enable-maintainer-mode
2009-11-15 13:55:25 -05:00
Gaetan Nadon
9ad88d954d .gitignore: use common defaults with custom section # 24239
Using common defaults will reduce errors and maintenance.
Only the very small or inexistent custom section need periodic maintenance
when the structure of the component changes. Do not edit defaults.
2009-11-15 13:22:55 -05:00
Peter Hutterer
34a9ab1151 inputproto 2.0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-10-02 11:38:12 +10:00
Peter Hutterer
0470d29c1e Add XIproto.txt
This is the XI protocol specification document that used to be in xorg-docs.
It's now moved here, and if it ever sees updates, the updates will only
apply to here.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-10-02 11:31:24 +10:00
Peter Hutterer
bda99e7e5a Require macros 1.3 for XORG_DEFAULT_OPTIONS
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-10-02 11:31:23 +10:00
Peter Hutterer
472309905a inputproto 1.9.99.902 (RC 2)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-25 10:04:25 +10:00