Alan Coopersmith
f717637569
Strip trailing whitespace from source files
...
Performed with: `git ls-files | xargs perl -i -p -e 's{[ \t]+$}{}'`
`git diff -w` & `git diff -b` show no diffs from this change
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/99 >
2025-08-02 14:39:03 -07:00
Alan Coopersmith
912e050d8d
DBE spec: make titles more consistent in Encoding section
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-06-08 17:13:05 -07:00
Alan Coopersmith
1535e95315
DBE spec: define j in DBEGetVisualInfo reply encoding
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-06-08 17:03:12 -07:00
Povilas Kanapickas
d9518ce279
specs: Specify XI 2.4 as released
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-09-15 18:55:34 +03:00
Povilas Kanapickas
b492f7c932
specs: Fix type of GESTURECLASS num_touches member
...
This was a copy-paste error from TOUCHCLASS. The protocol structs use
uint8_t for num_touches.
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-05-17 14:53:26 +03:00
Povilas Kanapickas
b67e10871e
specs: Fix type of TOUCHCLASS num_touches member
...
The actual protocol structs use uint8_t.
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-05-17 14:53:25 +03:00
Povilas Kanapickas
4c3242b00d
specs: Specify XI 2.4 as unreleased
...
TODO, while useful for grepping, does not actually mean anything, so
completely useless.
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-05-15 22:59:39 +03:00
Povilas Kanapickas
2498b13d92
specs: Add support for gesture events as XI 2.4
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-05-11 01:45:36 +03:00
Povilas Kanapickas
2e18c08aca
specs: Make links between XI2 enum and event names explicit
2020-08-18 09:36:39 +00:00
Povilas Kanapickas
49720c7548
specs: Improve description of detail field in XIPassiveGrabDevice
2020-08-18 09:36:39 +00:00
Povilas Kanapickas
97b47b5065
specs: Improve description of detail field in DeviceEvent
2020-08-18 09:36:39 +00:00
Povilas Kanapickas
5371f0d4f8
specs: Fix example of touch event processing
2020-08-18 09:36:39 +00:00
Povilas Kanapickas
31aa0990d6
specs: Use non-hyphenated spelling of nonzero
2020-08-18 09:36:39 +00:00
Povilas Kanapickas
8936fcea33
specs: Improve consistency of grammar in a list
2020-08-18 09:36:39 +00:00
Povilas Kanapickas
b93a47beb5
specs: Only key code can be grabbed, not key symbol
2020-08-18 09:36:39 +00:00
Povilas Kanapickas
0f72d2d0b9
specs: Fix incorrect wording for ignored parameter
2020-08-18 09:36:39 +00:00
Povilas Kanapickas
2e7276469c
specs: Fix grammar (duplicate word)
2020-08-18 09:36:39 +00:00
Alan Coopersmith
09602b2130
Fix spelling/wording issues
...
Found by using:
codespell --builtin clear,rare,usage,informal,code,names
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2020-08-08 10:33:56 -07:00
Adam Jackson
4e2faa0093
automake: Fix install and dist for the new markdown docs
2020-04-14 11:20:29 -04:00
Ashok Arora
da9d1cb7a5
Replaces text formatted protocol documentation with Markdown
...
Protocol documentation under /specs/SIAddresses has been formatted
with Markdown.
Signed-off-by: Ashok Arora <arora8715@gmail.com>
2020-03-26 23:36:51 +05:30
Alexander Volkov
564d18c8e5
Add DPMSInfoNotify event
...
This will allow applications to respond to changes of power level
of a monitor, e.g. an application may stop rendering and related
calculations when the monitor is off.
Bump DPMS version to 1.2, install dpmsproto.pc.
Signed-off-by: Alexander Volkov <a.volkov@rusbitech.ru>
2020-02-26 15:44:33 +03:00
Alan Coopersmith
4feff33159
Restore generation of specs from docbook in autotools builds
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-02-23 15:22:32 -08:00
Alan Coopersmith
eb2c0108e4
Update URLs for protocol specs to use xorgproto repo now
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-02-17 16:15:18 -08:00
Keith Packard
3927057b3d
Move common xextproto files out of the way
2017-12-13 15:12:27 -08:00
Keith Packard
8ce4bff36c
Merge xextproto
2017-12-13 15:12:27 -08:00
Keith Packard
eabbf0369b
Move common xcmiscproto files out of the way
2017-12-13 15:12:27 -08:00
Keith Packard
db68f377c4
Merge xcmiscproto
2017-12-13 15:12:27 -08:00
Keith Packard
6f372d3a31
Move common scrnsaverproto files out of the way
2017-12-13 15:12:27 -08:00
Keith Packard
4b013530b8
Merge scrnsaverproto
2017-12-13 15:12:26 -08:00
Keith Packard
3662c88bca
Move common recordproto files out of the way
2017-12-13 15:12:26 -08:00
Keith Packard
fe2a091949
Merge recordproto
2017-12-13 15:12:26 -08:00
Keith Packard
dc2028a003
Merge printproto
2017-12-13 15:12:26 -08:00
Keith Packard
4602922373
Move common kbproto files out of the way
2017-12-13 15:12:26 -08:00
Keith Packard
ec2a6f2047
Merge kbproto
2017-12-13 15:12:26 -08:00
Keith Packard
8a0e2f194e
Move common inputproto files out of the way
2017-12-13 15:12:26 -08:00
Keith Packard
9d789aad0c
Merge inputproto
2017-12-13 15:12:25 -08:00
Keith Packard
28e2a8ca62
Move common fontsproto files out of the way
2017-12-13 15:12:25 -08:00
Keith Packard
47f7a02d68
Merge fontsproto
2017-12-13 15:12:25 -08:00
Keith Packard
5ab5f011ad
Move common bigreqsproto files out of the way
2017-12-13 15:12:25 -08:00
Keith Packard
fbabd35278
Merge bigreqsproto
2017-12-13 15:12:25 -08:00
Keith Packard
a47194ddb3
Move common x11proto files out of the way
2017-12-13 15:12:15 -08:00
Andreas Boll
1dbdc297d9
specs: Set TZ=UTC before calling asciidoc
...
Set TZ=UTC before calling asciidoc to make the embedded dates invariant
to timezones in order to make the package build reproducibly.
Fixes bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=795981
v2: Set TZ=UTC after $(AM_V_GEN) (fixes non-verbose build)
Suggested-by: Eduard Sanou <dhole@openmailbox.org>
Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-04-01 12:42:02 +10:00
Peter Hutterer
7c7c2c1886
specs: rename EVENTMASK to EVTYPEMASK
...
EVENTMASK was used twice in the spec, once as the actual bitmask for events,
once as the set of deviceid, mask length and mask.
The libXi public API uses XIEventMask for the latter data triplet, so leave
EVENTMASK, and rename the pure bitmask to EVTYPEMASK.
Reported-by: Gabriel Laskar <gabriel@lse.epita.fr>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2014-10-28 09:29:50 +10:00
Peter Hutterer
81378a1e71
specs: note the (unused) time field in XIPassiveGrabDevice
...
We don't actually use it either in libXi or in the server, it's a copy/paste
error that never got noticed and removed.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-08-25 11:09:26 +10:00
Alan Coopersmith
7f951a3b8a
spec: Make alignment of columns in Encoding section more consistent
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-01-22 09:55:51 -08:00
Alan Coopersmith
73308e73ae
spec: use <parameter> markup for elements of requests & replies
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-01-22 09:55:51 -08:00
Alan Coopersmith
f481910132
spec: Remove <!- .LP --> comments leftover from nroff migration
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-01-22 09:55:51 -08:00
Alan Coopersmith
710892b2ad
spec: Make links to data types, requests, events & errors
...
Extracted each set of section ids to file and converted to a perl script:
next if m{^\d}; # skip over encoding section body lines
next if m{^[adfmnpv] }; # skip over encoding section body lines
s{<type>ACCESSCONTEXT</type>}{<link linkend="Data_Types:ACCESSCONTEXT">$&</link>}g;
[...]
s{<type>XFONTINFO</type>}{<link linkend="Data_Types:XFONTINFO">$&</link>}g;
s{<type>LISTofACCESSCONTEXT</type>}{<link linkend="Data_Types:ACCESSCONTEXT">$&</link>}g;
[...]
s{<type>LISTofXFONTINFO</type>}{<link linkend="Data_Types:XFONTINFO">$&</link>}g;
s{<function>NoOp</function>}{<link linkend="Requests:NoOp">$&</link>}g;
[...]
s{<function>CloseFont</function>}{<link linkend="Requests:CloseFont">$&</link>}g;
s{<errorname>Request</errorname>}{<link linkend="Errors:Request">$&</link>}g;
[...]
s{<errorname>Extensions</errorname>}{<link linkend="Errors:Extensions">$&</link>}g;
s{<function>KeepAlive</function>}{<link linkend="Events:KeepAlive">$&</link>}g;
[...]
s{<function>Extensions</function>}{<link linkend="Events:Extensions">$&</link>}g;
s{<title><link linkend="[^"]+">(.*?)</link></title>}{<title>$1</title>}g;
s{<row><entry><link linkend="[^"]+"><type>(.*?)</type></link>}{<row><entry><type>$1</type>}g;
s{<row><entry morerows=([\d'"]+)><link linkend="[^"]+"><type>(.*?)</type></link>}{<row><entry morerows=$1><type>$2</type>}g;
s{<link linkend="([^"]+)"><emphasis role="bold"><link linkend="\1">(.*?)</link></emphasis></link>}{<link linkend="$1"><emphasis role="bold">$2</emphasis></link>}g;
if ($_ =~ m{ id=['"]([^"]+)['"]}) { $sectionid = $1; }
s{<link linkend="$sectionid">(.*?)</link>}{$1}g;
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-01-22 09:55:51 -08:00
Alan Coopersmith
c7d49c2407
spec: markup enumerated constant names with <constant>
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-01-22 09:55:51 -08:00
Alan Coopersmith
01d7bd6117
spec: add enumerated constants to index
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-01-22 09:55:51 -08:00