Commit graph

82 commits

Author SHA1 Message Date
Josh Triplett
3f45ca8861 Add attributions in debian/changelog entry for 0.9.92-1 2006-10-08 02:45:47 -07:00
Jamey Sharp
b5d4b5374a Ignore the deletion of debian/ from master. 2006-10-08 01:12:59 -07:00
Jamey Sharp
ae2ac93618 Update Debian packaging for 1.0 RC2 release.
* New upstream release.
  * No longer installs files to /usr/include/X11, so remove Pre-Depends on
    x11-common.
  * Update to Standards-Version 3.7.2 (no changes required).
  * Point specifically to http://xcb.freedesktop.org/dist in copyright file,
    rather than http://xcb.freedesktop.org .
  * Add debian/watch file.
  * Drop Depends line, which only contained empty substitution variables.
  * Add debian/xcb-proto.install, to install the pkgconfig file to /usr/share
    rather than /usr/lib.  Add DEB_DH_INSTALL_SOURCEDIR and DEB_DESTDIR to
    debian/rules, pointing to debian/tmp, to allow use of dh_install for
    renaming files.

Authors: Josh Triplett <josh@freedesktop.org>, Jamey Sharp <jamey@minilop.net>
2006-10-08 01:12:03 -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
TORRI Vincent
fad63e7641 add flags for Alarm Attributes 2006-07-24 17:24:13 +02:00
Jamey Sharp
ee75a58733 Add a useful assertion message if a type gets multiply declared. 2006-06-15 10:27:40 -07:00
Jamey Sharp
1bd636fd64 Bugfix: Make type shadowing go the right way in type.py. 2006-06-15 10:25:46 -07:00
Josh Triplett
ab4393d3a6 Remove arbitrary division between xcb_types and xproto by merging
xcb_types.xml into xproto.xml.
2006-06-15 03:03:13 -07:00
Jamey Sharp
4f1ff61d79 Bugfix for size.py: count padding in struct size. 2006-06-14 16:45:24 -07:00
Jamey Sharp
7aee7e35d3 type.py qualifies all type names with the header in which they are defined.
Update size.py to quit doing a bad job at the same task.
Suggested usage is now:
  ./import.py extensions/composite.xml | ./type.py | ./size.py
2006-06-14 14:18:49 -07:00
Jamey Sharp
b09b5306f2 Process <import> directives with a new import.py tool.
Update size.py to accept all the data it needs in one file or stdin.
2006-06-13 17:23:03 -07:00
Jamey Sharp
1855f0671e Simpler implementation of AttributesUnion for XML processing. 2006-06-13 17:11:56 -07:00
Jamey Sharp
7691c6e835 New tool to annotate XML-XCB <field>s with their size in bytes. 2006-06-13 01:58:53 -07:00
Ian Osgood
8be539c492 Update Shape extension to version 1.1 2006-06-06 15:25:24 -07:00
Ian Osgood
ea11c03594 Screen saver: wrong reply field sizes. 2006-06-06 13:33:10 -07:00
Ian Osgood
76e0c3ca05 Update Composite to version 0.3 2006-06-06 12:40:01 -07:00
Ian Osgood
7703293f18 Update Render to version 0.10
Renamed previous type TRAP -> TRAPEZOID to make room for new TRAP type.
Use <bit> construct for masks.
2006-06-06 12:36:20 -07:00
Ian Osgood
851a57b615 Update screen saver protocol to version 1.1
Fix type names, field sizes, and padding.
2006-06-06 11:26:31 -07:00
Ian Osgood
356cf013ec Update XFixes to protocol version 4.
Use <bit> construct for mask enums.
2006-06-06 10:02:16 -07:00
Jeremy Kolb
a2cf7b7378 num_props is a stupid name, changing to num_properties, it's a bit clearer and matches fields such as "num_visuals". 2006-05-09 15:36:47 -04:00
Josh Triplett
0ebc4ad4d3 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb 2006-04-29 11:00:01 -07:00
Josh Triplett
a342706947 Set distribution to experimental. 2006-04-29 10:58:23 -07:00
Josh Triplett
592a3d116a Remove Bugs field in debian/control, so bugs go to the Debian BTS. 2006-04-29 10:56:56 -07:00
Jeremy Kolb
5462c08a22 Get rid of the value list/mask in requests. 2006-04-29 10:58:50 -04:00
Ian Osgood
fb118062c5 Move the remainder of the constants in X.h into XML enumerations.
Fix xcb_auth to use one of the new enumerations.
2006-04-28 15:27:09 -07:00
Alp Toker
9128f32f4d Fix incorrect extension xname 2006-04-28 00:13:33 -07:00
Josh Triplett
d35df7cbf6 Fix the year in the other COPYING. 2006-04-27 17:58:37 -07:00
Josh Triplett
26900ee380 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
Josh Triplett
675983fa17 Add some additional extensions from xdpyinfo to the TODO list. 2006-04-27 12:14:55 -07:00
Josh Triplett
efaa93a5c1 Fix typo in TODO. 2006-04-27 12:08:24 -07:00
Josh Triplett
e4b9bde090 Update TODO for XTEST implementation. 2006-04-27 12:07:50 -07:00
Jamey Sharp
97afdc623e Rename ConnSetup* to Setup*, Setup*Rep to Setup*, and SetupSuccess* to Setup*. Provide deprecated backwards-compatability functions and typedefs for the old names, to be removed before 1.0. 2006-04-26 23:19:16 -07:00
Ian Osgood
8400c84760 Changes to makefile to build libXCBxtest 2006-04-26 10:50:31 -07:00
Ian Osgood
ab86b41cfd Implement XTest extension and xte demo 2006-04-24 14:16:38 -07:00
Ian Osgood
f52c9b1bc8 Merge branch 'master' of git+ssh://iano@git.freedesktop.org/git/xcb 2006-04-19 20:45:31 -07:00
Josh Triplett
0e15e3d9fe * Validate the protocol descriptions during the build:
* Set DEB_MAKE_CHECK_TARGET=check in debian/rules.
    * Add Build-Depends on libxml2-utils for xmllint.
2006-04-16 13:05:21 -07:00
Josh Triplett
999cf2a810 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb 2006-04-16 11:23:52 -07:00