Commit graph

115 commits

Author SHA1 Message Date
Eamon Walsh
d1f2610692 Remove some stray padding from an XInput request. 2008-04-14 14:42:39 -04:00
Eamon Walsh
72877f45f5 Xinerama GetScreenSize screen field is a CARD32, not an xproto screen struct. 2008-04-14 14:40:47 -04:00
Eamon Walsh
8e71c3348c Use multiword attribute instead of oneword in XSELinux description.
Fixes validation.
2008-04-03 17:58:41 -04:00
Eamon Walsh
ebf1c9dd1b xcb-xselinux: Revisions to xselinux extension protocol. 2008-03-05 12:51:41 -05:00
Eamon Walsh
28a7cd06af xcb-xselinux: Remove an errant padding statement.
Bug reported by Xavier Toth.
2008-02-25 19:33:15 -05:00
Eamon Walsh
442371b6b5 Add XML description for SELinux extension. 2008-01-24 15:48:07 -05:00
Eamon Walsh
d4daeb1dcc Add XML description for XInput extension.
Some requests and replies are not yet implemented.
2008-01-24 15:46:59 -05:00
Peter Harris
4ebc84c750 Use <bit> instead of <value> where appropriate 2007-12-15 22:51:16 -08:00
Bart Massey
ffbac5d94f fixed xv SelectPortNotify argument; bug reported by Julien Cristau <jcristau@debian.org> 2007-12-10 14:34:40 -08:00
Peter Harris
5e266db51e Change the protocol definition of X-Resource to use ATOMs. 2007-12-07 14:23:53 -08:00
Jamey Sharp
480d3bd8c0 Bugfix: GetKeyboardMapping's keysyms list had the wrong length. 2007-12-01 12:33:51 -08:00
Jamey Sharp
6caf9bd625 Release xcb-proto 1.1 2007-11-04 14:17:52 -08:00
Rob Taylor
6d21e886f2 fix XSync Initialize call
Initialize takes two CARD8 fields for desired Xsync version.
2007-11-04 11:05:36 -08:00
Matthias Hopf
cb188ab9d7 Update autogen.sh to one that does objdir != srcdir. 2007-04-11 17:23:44 +02:00
Eamon Walsh
ea93d1b25b Modifies new attribute from previous patch so that it need only be used
on extensions with split names.
2007-04-10 11:56:43 -04:00
Eamon Walsh
35ea50bc6a Introduces attribute to schema and modifies currently special-cased
protocol descriptions to use it.
2007-03-29 12:26:28 -07:00
Jeremy Kolb
dc8737707e Update DAMAGE to 1.1 2007-02-12 19:49:12 -05:00
Ian Osgood
e7f9e65036 Use lowercase for field names. 2006-12-02 08:54:14 -08:00
Ian Osgood
0561900cfe Fix ListOutputProperties protocol. 2006-12-02 08:42:24 -08:00
Ian Osgood
37b681288c Update RandR to version 1.2 2006-11-30 12:01:22 -08:00
Josh Triplett
701dec0259 Release xcb-proto 1.0 2006-11-24 00:00:41 -08:00
Vincent Torri
1df54ae21a Bug #8990: randr type fixes 2006-11-21 21:57:38 -08:00
Patrick Guimond
186c797742 Estethic change for attribute parameter name
Changed num_attributes parameter of QueryContext request to num_attribs
for consistency with other requests
2006-11-21 21:48:29 -08:00
Patrick Guimond
a4681227e8 fixed screen parameter type in requests
For the following requests, fixed the paramater type to be CARD32 instead
of SCREEN structure

Requests: - CreateNewContext
          - CreatePbuffer
          - CreateWindow
2006-11-21 21:47:27 -08:00
Patrick Guimond
015b2696af Changed valueparam arguments for attribute lists
For following request and replies, substitutes attribute list passing
to a parameter list instead of valuemask/values

Requests: - CreatePixmap
          - QueryContext
          - CreatePbuffer
          - ChangeDrawableAttributes
          - CreateWindow
Reply:    - GetDrawableAttributes
2006-11-21 21:46:13 -08:00
Jamey Sharp
854d08c824 Remove support for the <localfield> tag: nothing needs it.
Only one use of <localfield> remained, for a list length expression in
xv.xml. List length parameters that don't actually appear in the
protocol should be left implicit: if no length expression is given, then
a localfield will be automatically created by c-client.xsl.
2006-11-19 20:12:43 -08:00
Jamey Sharp
36134f4823 Bug #8973: In UngrabKey, the 'key' field is of type KEYCODE, not the more general CARD8.
Thanks to Vincent Torri for pointing out the error.
2006-11-11 16:14:45 -08:00
Jamey Sharp
38ded00024 Release xcb-proto 1.0 RC3 (0.9.93). 2006-11-02 16:49:43 -08:00
Ian Osgood
372f3b46ec Fix cap style enumeration (bug #8857). 2006-11-01 21:35:24 -08:00
Jeremy Kolb jkolb@brandeis.edu
db02bf21d9 Update the record extension. Type in the version.
Updated xcb.xsd for major-version and minor-version attributes of the xcb tag.
2006-10-30 18:10:20 -05:00
Jeremy Kolb jkolb@brandeis.edu
2df1bbfa95 Added major-version and minor-version attributes to the xcb tag. 2006-10-29 19:27:53 -05:00
Ian Osgood
c10a77848f Fix GrabMode enumeration (reported by Yang JianJun) 2006-10-20 07:41:42 -07:00
Josh Triplett
b3423e6784 Move extension descriptions out of extensions/ subdirectory
Now that the extensions do not get installed to an extensions/ subdirectory,
move them out of the extensions/ subdirectory in the source as well.
2006-10-15 12:39:04 -07:00
Jeremy Kolb
39a5892968 Oops. keithp told me to forget about videmode. 2006-10-12 23:54:51 -04:00
Jeremy Kolb
01c0c9eda8 The Xinerama extension 1.1. 2006-10-12 23:51:18 -04:00
Ian Osgood
790dd5c68b Add REPEAT enumeration to fix bug #8535. 2006-10-08 08:57:30 -07:00
Jamey Sharp
2f065ed8c9 Move debian/ directory to new branch "debian". 2006-10-07 22:49:45 -07:00
Jamey Sharp
4b738b87b2 Release xcb-proto 1.0 RC2 (0.9.92). 2006-10-07 19:46:15 -07:00
Jamey Sharp
4e5e08b325 Make CompositeGlyphs* usable.
render.xml no longer describes the CompositeGlyphs* requests as taking
lists of complicated unions of structures of lists: it says instead that
they take a LISTofBYTE. The caller is responsible for constructing an
appropriate sequence of glyph elements. Previously, the requests could
not actually be used because XCB did not correctly compute the length of
the provided data.
2006-10-07 19:37:54 -07:00
Josh Triplett
b8071b0fa5 Add <import>xproto</import> explicitly to extensions that use xproto. 2006-10-07 01:26:48 -07:00
Josh Triplett
62668fb2e2 Change "union" to "xidunion" for XID unions like DRAWABLE and FONTABLE 2006-10-07 00:14:11 -07:00
Josh Triplett
25550af738 KEYCODE and BUTTON should become typedefs of CARD8, not CARD32 2006-10-06 21:16:27 -07:00
Josh Triplett
036019dcab Replace structures attempting to provide C type safety with CARD32 typedefs 2006-10-06 21:13:22 -07:00
Jamey Sharp
bc21baeace Release xcb-proto 1.0 RC1 (0.9.91). 2006-09-25 05:11:57 -07:00
Josh Triplett
7f0d92bba3 Stop installing the protocol descriptions for extensions to an extensions/
subdirectory
2006-09-25 05:10:37 -07:00
Jamey Sharp
0608038f12 Move XML protocol descriptions to $datadir/xcb (generally $prefix/share/xcb). 2006-09-25 03:27:27 -07:00
Josh Triplett
5f14bbec75 Integrate top-level .gitignore into .gitignore for each subdirectory
In preparation for the repository split, move the relevant contents of the
top-level .gitignore into the .gitignore for each immediate subdirectory.
2006-09-24 03:19:54 -07:00
Josh Triplett
42b647d43a The Great XCB Renaming
Rename API to follow a new naming convention:
* XCB_CONSTANTS_UPPERCASE_WITH_UNDERSCORES
* xcb_functions_lowercase_with_underscores
* xcb_types_lowercase_with_underscores_and_suffix_t
* expand all abbreviations like "req", "rep", and "iter"

Word boundaries for the names in the protocol descriptions fall:
* Wherever the protocol descriptions already have an underscore
* Between a lowercase letter and a subsequent uppercase letter
* Before the last uppercase letter in a string of uppercase letters followed
  by a lowercase letter (such as in LSBFirst between LSB and First)
* Before and after a string of digits (with exceptions for sized types like
  xcb_char2b_t and xcb_glx_float32_t to match the stdint.h convention)

Also fix up some particular naming issues:
* Rename shape_op and shape_kind to drop the "shape_" prefix, since otherwise
  these types end up as xcb_shape_shape_{op,kind}_t.
* Remove leading underscores from enums in the GLX protocol description,
  previously needed to ensure a word separator, but now redundant.

This renaming breaks code written for the previous API naming convention.  The
scripts in XCB's tools directory will convert code written for the old API to
use the new API; they work well enough that we used them to convert the
non-program-generated code in XCB, and when run on the old program-generated
code, they almost exactly reproduce the new program-generated code (modulo
whitespace and bugs in the old code generator).

Authors: Vincent Torri, Thomas Hunger, Josh Triplett
2006-09-23 12:22:22 -07:00
TORRI Vincent
453b1ae69b XCBButton -> XCBButtonIndex. XCBHost -> XCBHostMode. XCBSetupReq -> XCBSetupRequest 2006-09-18 21:28:24 +02:00
Jamey Sharp
0275e428b7 Remove combine-adjacent tag on PolyPoint: it will not work for some forms of the request. 2006-08-07 14:28:08 -07:00