Find a file
Enrico Weigelt, metux IT consult 905a14820d xkb: fix GetKbdByName()
This request is a bit tricky: it has some variable length parameters
(made of an CARD8 length field and payload bytes). Using separate list
parameters won't work here, as this would pad them to 4-byte boundaries,
which is _not_ the case here.

Compromising by just adding one byte list and let the caller take care
of assembling the correct payload.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2024-08-14 11:25:13 +02:00
doc Add element to specify expression that defines length of a struct 2021-09-02 19:32:13 +03:00
src xkb: fix GetKbdByName() 2024-08-14 11:25:13 +02:00
xcbgen Fix python version check from 65169c1af7 2021-10-04 12:37:55 +01:00
.gitignore Add py-compile to .gitignore 2009-09-22 16:08:11 -04:00
.gitlab-ci.yml gitlab CI: add a basic build test 2022-07-23 11:02:54 -07:00
autogen.sh autogen: add default patch prefix 2022-07-24 14:39:55 -07:00
configure.ac xcb-proto 1.17.0 2024-04-12 12:40:38 -04:00
COPYING Fix the year in the other COPYING. 2006-04-27 17:58:37 -07:00
HACKING Add note on pretty patches and src/.gitattributes 2013-11-14 20:23:24 +09:00
INSTALL Remove xcl and CVSROOT. 2006-02-18 16:49:41 -08:00
Makefile.am Install xcb-proto to $(datarootdir) 2022-06-17 09:44:23 -04:00
NEWS xcb-proto 1.14.1 2020-10-08 15:29:51 -07:00
README.md Update README for gitlab migration 2019-02-17 10:54:09 -08:00
TODO Add test program for XFree86-DRI extension to xcb-demo. Mark XFree86-DRI extension as tested and working. 2006-04-27 14:14:54 -07:00
xcb-proto.pc.in Remove libdir from xcb-proto.pc 2022-06-17 09:44:20 -04:00

About xcb-proto

xcb-proto provides the XML-XCB protocol descriptions that libxcb uses to generate the majority of its code and API. We provide them separately from libxcb to allow reuse by other projects, such as additional language bindings, protocol dissectors, or documentation generators.

This separation between the XCB transport layer and the automatically-generated protocol layer also makes it far easier to write new extensions. With the Xlib infrastructure, client-side support for new extensions requires significant duplication of effort. With XCB and the XML-XCB protocol descriptions, client-side support for a new extension requires only an XML description of the extension, and not a single line of code.

Python libraries: xcb-proto also contains language-independent Python libraries that are used to parse an XML description and create objects used by Python code generators in individual language bindings. These libraries are installed into $(prefix)/lib/pythonX.X/site-packages. If this location is not on your system's Python path, scripts that import them will fail with import errors. In this case you must add the install location to your Python path by creating a file with a `.pth' extension in a directory that is on the Python path, and put the path to the install location in that file. For example, on my system there is a file named 'local.pth' in /usr/lib/python2.5/site-packages, which contains '/usr/local/lib/python2.5/site-packages'. Note that this is only necessary on machines where XCB is being built.

Please report any issues you find to the freedesktop.org bug tracker at:

https://gitlab.freedesktop.org/xorg/proto/xcbproto/issues

Discussion about XCB occurs on the XCB mailing list:

https://lists.freedesktop.org/mailman/listinfo/xcb

You can obtain the latest development versions of xcb-proto using GIT from the xcbproto code repository at:

https://gitlab.freedesktop.org/xorg/proto/xcbproto

For anonymous checkouts, use:

git clone https://gitlab.freedesktop.org/xorg/proto/xcbproto.git

For developers, use:

git clone git@gitlab.freedesktop.org:xorg/proto/xcbproto.git