Commit Graph

22 Commits

Author SHA1 Message Date
139c50b748
nexgb: update to xcb-proto 1.13 2018-09-30 17:34:27 +02:00
e6e4e94436
nexgb: regenerate from xcb-proto 1.12
To refresh documentation.
2018-09-30 17:34:27 +02:00
7aa2601e66
nexgb: rewrite import paths 2018-09-21 08:37:59 +02:00
aarzilli
3906399e7c
Regenerated from xcb-proto 1.12 2018-09-08 16:49:27 +02:00
aarzilli
becaf43dcb
Read/Write mutex for Extensions map 2018-09-08 16:49:24 +02:00
aarzilli
a548d9d0f7
Fix Issue #21: automatic calculation of alignment padding after lists 2018-09-08 16:49:22 +02:00
Andrew Gallant
33509dbeb0
It appears that the "Str" type (which is built into the core X protocol)
doesn't specify any padding. So it has to be treated as a special case.

Close #12.
2018-09-08 16:49:21 +02:00
Andrew Gallant
2dc9914b5e
When writing, don't pad the length of bytes produced from inner
structs/unions. Each type should take care of its own padding.

Close #14.
2018-09-08 16:49:20 +02:00
Andrew Gallant
f0385db3a7
Regenerate xgb with latest XML descriptions. 2018-09-08 16:49:20 +02:00
Andrew Gallant
5a07ac7108
Fix fmt'd output for union list writing. 2018-09-08 16:49:19 +02:00
Andrew Gallant
38b293e74d
Padding on a list is on the length of the list.
There was a bug where padding was being computed on each element of the
list. Close #5.
2018-09-08 16:49:18 +02:00
Andrew Gallant
b06a8ca976
Don't needlessly change source files every time. 2018-09-08 16:49:18 +02:00
Andrew Gallant
0685fb57e1
Update to latest xproto XML. 2018-09-08 16:49:17 +02:00
Andrew Gallant
3658686aee
gofmt 2018-09-08 16:49:16 +02:00
Andrew Gallant (Ocelot)
a9eae45cb3
Refresh build. Eh. 2018-09-08 16:49:14 +02:00
Andrew Gallant (Ocelot)
4ea94ca0fe Bug fix in the generator that was outputting %(MISSING) crud. 2012-05-26 18:24:52 -04:00
Andrew Gallant (Ocelot)
7abc9c6455 added some docs and removed some extraneous code 2012-05-12 21:44:53 -04:00
Andrew Gallant (Ocelot)
29942bf078 panic when an extension request is issued before an extension has been initialized. but give a nice error message for the happy people. 2012-05-11 23:58:52 -04:00
Andrew Gallant (Ocelot)
3e6b354493 add a little more docs for errors 2012-05-11 01:58:52 -04:00
Andrew Gallant (Ocelot)
c00652934e better docs 2012-05-10 23:57:34 -04:00
Andrew Gallant (Ocelot)
a3363755cd adding package header comments 2012-05-10 20:06:22 -04:00
Andrew Gallant (Ocelot)
0c50dc6241 a huge commit. splitting extensions into their own sub-packages. 2012-05-10 17:01:42 -04:00