Commit Graph

9 Commits

Author SHA1 Message Date
3e9ed4eac6
xgbgen: process <doc> elements
Most of XCB documentation now ends up in Go sources,
although the end result is of mixed quality.
2018-09-30 17:34:26 +02:00
aarzilli
1c01d79ba1
Changed xgbgen to support xcb-proto 1.12
* Added minimal support for switch fields.
* Changed the way Size is calculated to accomodate for lists inside structs
  (added to randr)
* Removed heuristic to place alignment gaps, they are now explicitly
  described in xml
2018-09-08 16:49:26 +02:00
aarzilli
a548d9d0f7
Fix Issue #21: automatic calculation of alignment padding after lists 2018-09-08 16:49:22 +02:00
Andrew Gallant
4b20ffaf4f
Updated to work with new xproto XML files.
Namely, the "doc" element is ignored. Also, I've sorted everything
before output so that diff isn't completely useless.
2018-09-08 16:49:17 +02:00
Andrew Gallant
3658686aee
gofmt 2018-09-08 16:49:16 +02:00
Andrew Gallant (Ocelot)
0c50dc6241 a huge commit. splitting extensions into their own sub-packages. 2012-05-10 17:01:42 -04:00
Andrew Gallant (Ocelot)
dc48249e1a lots of docs and examples 2012-05-07 04:09:19 -04:00
Andrew Gallant (Ocelot)
6d545e723a add more extension cruft. make extension checking more uniform. 2012-05-06 17:48:40 -04:00
Andrew Gallant (Ocelot)
18b2d420b0 added documentation and did some slight restructuring. it's party time. 2012-05-06 02:21:31 -04:00