ChangeLog revision 245c37e9
1commit 7e0f166579672d71efd819c81f0c932b0acd542c
2Author: Daniel Stone <daniels@collabora.com>
3Date:   Wed Feb 28 01:26:55 2018 +0000
4
5    Release libxcb 1.13
6    
7    Signed-off-by: Daniel Stone <daniels@collabora.com>
8
9commit a3e9821bec08a69b355b46b0655562b9df61bb21
10Author: Daniel Stone <daniels@collabora.com>
11Date:   Wed Apr 26 17:55:54 2017 +0200
12
13    c_client: Add support for lists of FDs
14    
15    Matching xcbgen changes, add support having a ListType which contains
16    file descriptors. Use this to send a variable number of FDs to the
17    server, including when the list size is not fixed.
18    
19    Signed-off-by: Daniel Stone <daniels@collabora.com>
20
21commit c7aa4e682fdc7f0035f928af6eafd052e38cc15a
22Author: Daniel Stone <daniels@collabora.com>
23Date:   Wed Apr 26 17:54:01 2017 +0200
24
25    c_client: Don't serialise non-wire fields
26    
27    For when we have a variable-sized field followed by a fixed field, make
28    sure we do not serialise non-wire fields.
29    
30    Signed-off-by: Daniel Stone <daniels@collabora.com>
31
32commit d10194a321c3db851b3ede9a98cdc95e951943aa
33Author: Christian Linhart <chris@demorecorder.com>
34Date:   Sat Mar 11 22:03:34 2017 +0100
35
36    enable xinput by default
37    
38    Support for the xinput extension is complete now,
39    as far as I can tell.
40    
41    According to our discussion on the list, we enable it now.
42    
43    Signed-off-by: Christian Linhart <chris@demorecorder.com>
44
45commit fad81b63422105f9345215ab2716c4b804ec7986
46Author: David McFarland <corngood@gmail.com>
47Date:   Tue Apr 18 23:58:59 2017 -0300
48
49    read from connection when polling special events and replies
50    
51    Using the mesa vulkan driver, if you acquire an image from a
52    swapchain using a finite timeout (x11_acquire_next_image_poll_x11),
53    it will occasionally lock, calling xcb_poll_for_special_event in
54    a loop until the timeout expires.
55    
56    Call _xcb_in_read() once from the polling functions for special
57    events and replies, in the same way as xcb_poll_for_event.
58    
59    Signed-off-by: David McFarland <corngood@gmail.com>
60    Signed-off-by: Uli Schlachter <psychon@znc.in>
61
62commit f830eb93c9c38b2c6c7ea2971af3bc6a61e92277
63Author: Tobias Stoeckmann <tobias@stoeckmann.org>
64Date:   Sun Mar 26 15:41:12 2017 +0200
65
66    Check strdup for NULL return value.
67    
68    _xcb_open does not check strdup's return value for NULL if launchd suport
69    was configured.
70    
71    Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
72    Signed-off-by: Uli Schlachter <psychon@znc.in>
73
74commit ee9dfc9a7658e7fe75d27483bb5ed1ba4d1e2c86
75Author: Christian Linhart <chris@demorecorder.com>
76Date:   Wed Jan 25 10:21:05 2017 +0100
77
78    add support for eventstruct
79    
80    eventstruct allows to use events as part of requests.
81    This is, e.g., needed by xcb_input_send_extension_event.
82    
83    Signed-off-by: Christian Linhart <chris@demorecorder.com>
84
85commit 0c2c5d50f8670da3e7601feb6a29b53509513da5
86Author: Christian Linhart <chris@demorecorder.com>
87Date:   Fri Jan 20 20:14:57 2017 +0100
88
89    optionally build the GE extension
90    
91    xcb contains an xml-definition for the GenericEvent extension
92    but this extension was neither generated nor built.
93    
94    This patch enables optional building of the GenericEvent extension
95    with configure option --enable-ge
96    
97    By default, the GenericEvent extension is not built.
98    Normally this is not needed by application programs
99    because there is implicit support for the GE-extension
100    for the specific events built with this extension.
101    
102    But it may be useful for X-protocol analyzers and stuff like that.
103    
104    Signed-off-by: Christian Linhart <chris@demorecorder.com>
105
106commit 9bce1f72e329cb407b7a95589b9675a08129b65d
107Author: Christian Linhart <chris@demorecorder.com>
108Date:   Fri Jan 20 14:40:25 2017 +0100
109
110    move symbol lookup of sumof expr to the parser
111    
112    replace the complicated symboltable lookup for sumof expr
113    by accessing the lenfield of the expr-object.
114    
115    This requires the corresponding patch for xcb/proto
116    which sets the lenfield accordingly.
117    
118    This should be OK because for official releases we define
119    that dependency in the build system.
120    
121    For getting versions off the HEAD of the git repo, it should
122    be obvious that xcb/proto and xcb/libxcb have to be updated together.
123    
124    I have tested this patch and it generates exactly the same code
125    as before.
126    
127    Tested-by: Christian Linhart <chris@demorecorder.com>
128    Signed-off-by: Christian Linhart <chris@demorecorder.com>
129
130commit 65b298c7ca317d7e4316aa2b9e0499e13047c65c
131Author: Alan Coopersmith <alan.coopersmith@oracle.com>
132Date:   Sat Feb 6 12:26:21 2016 -0800
133
134    Correct @param "e" to "error" in xcb_poll_for_reply*()
135    
136    Found by clang -Wdocumentation:
137    
138    ./xcbext.h:271:11: warning: parameter 'e' not found in the function
139          declaration [-Wdocumentation]
140     * @param e Location to store errors in, or NULL. Ignored for un...
141              ^
142    ./xcbext.h:271:11: note: did you mean 'error'?
143     * @param e Location to store errors in, or NULL. Ignored for un...
144              ^
145              error
146    
147    ./xcbext.h:283:11: warning: parameter 'e' not found in the function
148          declaration [-Wdocumentation]
149     * @param e Location to store errors in, or NULL. Ignored for un...
150              ^
151    ./xcbext.h:283:11: note: did you mean 'error'?
152     * @param e Location to store errors in, or NULL. Ignored for un...
153              ^
154              error
155    
156    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
157    Signed-off-by: Uli Schlachter <psychon@znc.in>
158
159commit 32a9084546add979115a686f9a167e70b8967149
160Author: Alan Coopersmith <alan.coopersmith@oracle.com>
161Date:   Sat Feb 6 12:26:20 2016 -0800
162
163    Remove : from @param names in manually written headers
164    
165    Makes style match the @param names in autogenerated headers and makes
166    clang -Wdocumentation stop complaining about all of them:
167    
168    ./xcb.h:523:11: warning: parameter 'display:' not found in the function
169          declaration [-Wdocumentation]
170     * @param display: A pointer to the display number.
171              ^~~~~~~~
172    ./xcb.h:523:11: note: did you mean 'display'?
173     * @param display: A pointer to the display number.
174              ^~~~~~~~
175              display
176    
177    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
178    Signed-off-by: Uli Schlachter <psychon@znc.in>
179
180commit 8740a288ca468433141341347aa115b9544891d3
181Author: Thomas Klausner <wiz@NetBSD.org>
182Date:   Thu May 19 17:31:18 2016 +0200
183
184    Fix inconsistent use of tabs vs. space.
185    
186    Needed for at least python-3.5.x.
187    
188    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
189    Signed-off-by: Uli Schlachter <psychon@znc.in>
190
191commit d34785a34f28fa6a00f8ce00d87e3132ff0f6467
192Author: Uli Schlachter <psychon@znc.in>
193Date:   Sat May 14 10:36:54 2016 +0200
194
195    Release libxcb 1.12
196    
197    Signed-off-by: Uli Schlachter <psychon@znc.in>
198
199commit b11fca06f75b26b94e3f1d3e3c3954d365f80759
200Author: Uli Schlachter <psychon@znc.in>
201Date:   Sat May 14 10:33:54 2016 +0200
202
203    Bump xcb-proto requirement to 1.12
204    
205    This is needed due to various changes that were done to the XML schema.
206    
207    Signed-off-by: Uli Schlachter <psychon@znc.in>
208
209commit 095353ff1a4f611922dfc4c98b0c4bd55d9f6d4f
210Author: Mark Kettenis <kettenis@openbsd.org>
211Date:   Sat Jan 23 17:29:32 2016 +0100
212
213    Increase unix socket send buffer to at least 64KB
214    
215    Some systems (e.g. OpenBSD) have a rather small default socket send buffer
216    size of 4KB.  The result is that sending requests with a largish payload
217    requires serveral writev(2) system calls.  Make sure the socket send buffer
218    is at least 64KB such that we're likely to succeed with a single system
219    call for most requests.  A similar change was made to the xtrans code
220    some time ago.
221    
222    Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
223    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
224
225commit b3516102b4469df99db39e0e354deae496867f35
226Author: Christian Linhart <chris@demorecorder.com>
227Date:   Mon Jan 18 06:56:39 2016 +0100
228
229    do not serialize pads by default anymore
230    
231    Pads should not be serialized/deserialized to maintain
232    ABI compatibility when adding explicit align pads.
233    
234    Therefore this pad switches off serialization of pads
235    unless it is enforced by serialize=true in the xml-definition
236    of that pad
237    
238    Signed-off-by: Christian Linhart <chris@demorecorder.com>
239
240commit c03388ff9e253b86e4b41fb77034ca6007fe47e9
241Author: Jaya Tiwari <tiwari.jaya18@gmail.com>
242Date:   Wed Nov 11 01:02:09 2015 +0100
243
244    calculate lengthless list
245    
246    Some rework done by Christian Linhart
247    
248    Signed-off-by: Jaya Tiwari <tiwari.jaya18@gmail.com>
249    Signed-off-by: Christian Linhart <chris@demorecorder.com>
250
251commit 775825756714eb6b8467e099cda73a03b782ea0e
252Author: Christian Linhart <chris@demorecorder.com>
253Date:   Tue Nov 10 12:53:04 2015 +0100
254
255    Fix handling of align-pads in end-iterators
256    
257    If a list is preceded by an align-pad, then
258    accessor for the end-iterator returned a wrong
259    value.
260    
261    Reason: the length of the align-iterator was added
262    to a pointer of list-member type. Therefore, the length
263    was multiplied by the size of the list-member type,
264    due to C pointer arithmetic rules.
265    
266    This has looked like the following, e.g., in
267    xcb_randr_get_crtc_transform_pending_params_end:
268    
269    i.data = ((xcb_render_fixed_t *) prev.data) + ((-prev.index) & (4 - 1)) + (R->pending_nparams);
270    
271    This bug was introduced with the following commit:
272    http://cgit.freedesktop.org/xcb/libxcb/commit/?id=4033d39d4da21842bb1396a419dfc299591c3b1f
273    
274    The fix handles this by casting to char* before adding the align,
275    and then casting the result to the member type.
276    
277    Signed-off-by: Christian Linhart <chris@demorecorder.com>
278
279commit 32a2189183696e942b002efcbca823a416fe5f6a
280Author: Christian Linhart <chris@demorecorder.com>
281Date:   Sun Nov 1 18:35:35 2015 +0100
282
283    set the align-offset as provided by proto
284    
285    instead of using the lower bits of the pointer address.
286    This fixes a bug reported by Peter Hutterer in off-list communication
287    back in June 2015.
288    
289    This requires the alignment-checker patches in xcb/proto.
290    
291    Signed-off-by: Christian Linhart <chris@demorecorder.com>
292
293commit 6e0378ebbf5f842992e37c93ad60b960427849ac
294Author: Adam Jackson <ajax@redhat.com>
295Date:   Mon Sep 21 15:27:52 2015 -0400
296
297    Bump version to 1.11.90
298    
299    We've released 1.11.1 and new libX11 wants that or better.  git master
300    will suffice, so bump the version number ahead of 1.11 branch.
301    
302    Signed-off-by: Adam Jackson <ajax@redhat.com>
303
304commit 4033d39d4da21842bb1396a419dfc299591c3b1f
305Author: Christian Linhart <chris@demorecorder.com>
306Date:   Fri Sep 19 13:44:38 2014 +0200
307
308    make lists after align-pads work
309    
310    Handle align-pads when generating an end-function
311    in the same way as handling them when generating
312    an accessor or iterator function.
313    
314    Signed-off-by: Christian Linhart <chris@demorecorder.com>
315
316commit b15c96f9507119e5d38a61d92b4dbcd479ea2099
317Author: Christian Linhart <chris@demorecorder.com>
318Date:   Thu Jun 11 18:58:38 2015 +0200
319
320    make support for server side stuff optional
321    
322    and make it disabled by default with an EXPERIMENTAL warning
323    
324    reason: this feature is unfinished and we want to have flexibility for
325    ABI/API changes, while still being able to make a release soon
326    
327    Signed-off-by: Christian Linhart <chris@demorecorder.com>
328
329commit c5d923d8ff4a9b9fc1aef1c6c6918bab15098d34
330Author: Jon TURNEY <jon.turney@dronecode.org.uk>
331Date:   Tue Mar 17 17:49:14 2015 +0000
332
333    Link with winsock library for socket functions on MinGW
334    
335    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
336
337commit 5b40681c887192307f3ae147d2158870aa79c05f
338Author: Uli Schlachter <psychon@znc.in>
339Date:   Fri Jun 12 15:13:05 2015 +0200
340
341    Fix a thread hang with xcb_wait_for_special_event()
342    
343    Consider the following:
344    
345    - Two threads are calling xcb_wait_for_special_event() and xcb_wait_for_reply()
346      concurrently.
347    - The thread doing xcb_wait_for_reply() wins the race and poll()s the socket for
348      readability.
349    - The other thread will be put to sleep on the special_event_cond of the special
350      event (this is done in _xcb_conn_wait() via the argument
351      xcb_wait_for_special_event() gives it).
352    - The first thread gets its reply, but does not yet receive any special event.
353    
354    In this case, the first thread will return to its caller. On its way out, it
355    will call _xcb_in_wake_up_next_reader(), but that function cannot wake up
356    anything since so far it did not handle xcb_wait_for_special_event().
357    
358    Thus, the first thread stays blocked on the condition variable and no thread
359    tries to read from the socket.
360    
361    A test case demonstrating this problem is available at the bug report.
362    
363    Fix this similar to how we handle this with xcb_wait_for_reply():
364    
365    The function wait_for_reply() adds an entry into a linked list of threads that
366    wait for a reply. Via this list, _xcb_in_wake_up_next_reader() can wake up this
367    thread so that it can call _xcb_conn_wait() again and then poll()s the socket.
368    
369    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84252
370    Signed-off-by: Uli Schlachter <psychon@znc.in>
371    Tested-by: Michel Dänzer <michel.daenzer@amd.com>
372
373commit f85661c3bca97faa72431df92a3867be39a74e23
374Author: Michel Dänzer <michel.daenzer@amd.com>
375Date:   Mon Jun 1 11:04:18 2015 +0900
376
377    Call _xcb_wake_up_next_reader from xcb_wait_for_special_event
378    
379    All functions calling _xcb_conn_wait() must make sure that waiting
380    readers are woken up when we read a reply or event that they are waiting
381    for. xcb_wait_for_special_event() did not do so. This adds the missing
382    call to_xcb_in_wake_up_next_reader().
383    
384    Fixes deadlock when waiting for a special event and concurrently
385    processing the display connection queue in another thread.
386    
387    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84252
388    Tested-by: Thomas Daede <bztdlinux@gmail.com>
389    Tested-by: Clément Guérin <geecko.dev@free.fr>
390    Reviewed-by: Uli Schlachter <psychon@znc.in>
391    Signed-off-by: Michel Dänzer <michel@daenzer.net>
392    Signed-off-by: Uli Schlachter <psychon@znc.in>
393
394commit 8584c0e09573a29d8ba7050e3d5afd925b4d8d80
395Author: Uli Schlachter <psychon@znc.in>
396Date:   Thu May 14 09:44:05 2015 +0200
397
398    send_fds(): Handle too many outstanding FDs to send
399    
400    Before this patch, the following code caused an endless loop in send_fds(),
401    because the queue of FDs to send was eventually full, but _xcb_out_flush_to()
402    didn't make any progress, since there was no request to send:
403    
404       while (1) { xcb_send_fd(conn, dup(some_fd)); }
405    
406    Fix this by sending a sync when flushing didn't make any progress. That way we
407    actually have something to send and can attach the pending FDs.
408    
409    Because send_fds() can now send requests, the code in
410    xcb_send_request_with_fds64() has to be changed. It has to call send_fds()
411    before it establishes a good sequence number for the request it wants to send.
412    
413    Signed-off-by: Uli Schlachter <psychon@znc.in>
414
415commit 658fb4a5f0050db68fdf092936afe596412ef5f7
416Author: Uli Schlachter <psychon@znc.in>
417Date:   Wed Apr 22 09:26:05 2015 +0200
418
419    Code generator: Use xcb_send_request_with_fds()
420    
421    Signed-off-by: Uli Schlachter <psychon@znc.in>
422
423commit b15aa6bd4efde784e546d168bb23b8a8e816e85b
424Author: Uli Schlachter <psychon@znc.in>
425Date:   Wed Apr 22 09:23:47 2015 +0200
426
427    Add xcb_send_request_with_fds() and *_with_fds64()
428    
429    Doing xcb_send_fd(), xcb_send_request() is racy. If two threads do this at the
430    same time, they could mix up their file descriptors. This commit makes it
431    possibly to fix this race by providing a single function which does everything
432    that is needed.
433    
434    Signed-off-by: Uli Schlachter <psychon@znc.in>
435
436commit cc04cfb41bece6ec239f57d83822286b507f4482
437Author: Uli Schlachter <psychon@znc.in>
438Date:   Mon May 18 21:40:34 2015 +0200
439
440    send_fds(): Make sure no other thread interrupts us
441    
442    Two threads trying to send fds at the same time could interfere. To guarantee a
443    correct ordering, we have to use correct locking. The code in send_fds() missed
444    one case: If there was another thread already writing requests, we slept on the
445    "done with writing" condition variable (c->out.cond). This would allow other
446    threads to re-acquire the iolock before us and could cause fds to be sent out of
447    order.
448    
449    To fix this, at the beginning of send_fds() we now make sure that no other
450    thread is already writing requests. This is what prepare_socket_request() does.
451    Additionally, it gets the socket back in case xcb_take_socket() was called,
452    which is a good thing, too, since fds are only sent with corresponding requests.
453
454commit 25f9e7e45a7652b35b71c7941beef774a39f0d86
455Author: Uli Schlachter <psychon@znc.in>
456Date:   Wed Apr 22 09:20:38 2015 +0200
457
458    xcb_send_fd(): Always close fds
459    
460    The API docs for xcb_send_fd() says "After this function returns, the file
461    descriptor given is owned by xcb and will be closed eventually".
462    
463    Let the implementation live up to its documentation. We now also close fds if fd
464    passing is unavailable (!HAVE_SENDMSG) and when the connection is in an error
465    state.
466    
467    (This also does sneak in some preparatory functions for follow-up commits and
468    thus does things in a more complicated way than really necessary.)
469    
470    Signed-off-by: Uli Schlachter <psychon@znc.in>
471
472commit bbdf1d133f7bd979c6ff3bf44ec3d0c2d2b9dbfe
473Author: Ran Benita <ran234@gmail.com>
474Date:   Wed Mar 18 12:27:32 2015 +0200
475
476    c_client.py: don't generate useless empty /** < */ comments
477    
478    (This does not change doxygen's output or warnings).
479    
480    Signed-off-by: Ran Benita <ran234@gmail.com>
481    Reviewed-by: Christian Linhart <chris@demorecorder.com>
482
483commit ff6cb3913b64a4aa29cb5e65168ea49d77195296
484Author: Ran Benita <ran234@gmail.com>
485Date:   Wed Mar 18 12:27:31 2015 +0200
486
487    c_client.py: use pattern matching with enumerate()
488    
489    Signed-off-by: Ran Benita <ran234@gmail.com>
490
491commit cb621341a62e6d2233db3e337611f6fdd4f675a6
492Author: Christian Linhart <chris@demorecorder.com>
493Date:   Wed Apr 29 09:11:37 2015 +0200
494
495    expose 64-bit sequence numbers for XLib
496    
497    While XCB uses 64-bit sequence number internally, it only exposes
498    "unsigned int" so that, on 32-bit architecture, Xlib based applications
499    may see their sequence number wrap which causes the connection to the X
500    server to be lost.
501    
502    Expose 64-bit sequence number from XCB API so that Xlib and others can
503    use it even on 32-bit environment.
504    
505    This implies the following API addition:
506    
507      xcb_send_request64()
508      xcb_discard_reply64()
509      xcb_wait_for_reply64()
510      xcb_poll_for_reply64()
511    
512    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71338
513    
514    Reviewed-by: Uli Schlachter <psychon@znc.in>
515    Signed-off-by: Christian Linhart <chris@demorecorder.com>
516    Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
517
518commit c49aa985941112be05599032b9bb45b2652301ce
519Author: Alan Coopersmith <alan.coopersmith@oracle.com>
520Date:   Wed Apr 29 23:23:05 2015 -0700
521
522    Escape \n to display properly in xcb-requests man page
523    
524    In nroff, \n is a macro that "Interpolates number register x" (where x
525    is the character following the \n sequence), thus the man page currently
526    prints 0 instead of \n" in several lines, leading to output such as:
527    
528     printf("The _NET_WM_NAME atom has ID %u0, reply-⁠>atom);
529    
530    It needs to be escaped here, as \\n, as is done in other examples in
531    this man page already.
532    
533    https://bugs.freedesktop.org/show_bug.cgi?id=90231
534    
535    Reported-by: Stefan Merettig
536    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
537
538commit a90be9955d2c5a635f791d44db1154633b9d3322
539Author: Ran Benita <ran234@gmail.com>
540Date:   Sun Oct 12 21:58:20 2014 +0300
541
542    c_client.py: make condition easier to follow in _c_complex()
543    
544    Signed-off-by: Ran Benita <ran234@gmail.com>
545    Reviewed-by: Christian Linhart <chris@demorecorder.com>
546
547commit f9f925107e37e0c9a0ed8220ee3a23f584e3b2ec
548Author: Ran Benita <ran234@gmail.com>
549Date:   Sun Oct 12 21:58:14 2014 +0300
550
551    c_client.py: don't add /* <name> */ before references to 'S'
552    
553    The name can be understood from the type of S already.
554    
555    For examples, look for 'S->' in xkb.c or xinput.c.
556    
557    Signed-off-by: Ran Benita <ran234@gmail.com>
558    Reviewed-by: Christian Linhart <chris@demorecorder.com>
559    Reviewed-by: Rémi Cardona <remi@gentoo.org>
560
561commit 17f9bda6c291a8b9ccc98b22c241b64880b80621
562Author: Ran Benita <ran234@gmail.com>
563Date:   Sun Oct 12 21:58:19 2014 +0300
564
565    c_client.py: remove duplicated `cookie_type` argument for requests
566    
567    It is implied already inside the function by the `void` argument.
568    
569    Signed-off-by: Ran Benita <ran234@gmail.com>
570    Reviewed-by: Christian Linhart <chris@demorecorder.com>
571
572commit c65005e9d0ce60524d2e883c13c027a5f1f7914c
573Author: Ran Benita <ran234@gmail.com>
574Date:   Sun Oct 12 21:58:18 2014 +0300
575
576    c_client.py: spell out keyword arguments in c_request() for clarity
577    
578    Signed-off-by: Ran Benita <ran234@gmail.com>
579    Reviewed-by: Christian Linhart <chris@demorecorder.com>
580
581commit 6872e925828e615e2c1d4a0bbcc6be6a32fa4e7a
582Author: Ran Benita <ran234@gmail.com>
583Date:   Sun Oct 12 21:58:17 2014 +0300
584
585    c_client.py: simplify _c_reply_has_fds()
586    
587    Signed-off-by: Ran Benita <ran234@gmail.com>
588    Reviewed-by: Christian Linhart <chris@demorecorder.com>
589
590commit 8bf8b62316a3066b61243d797d22c2100fd173f5
591Author: Ran Benita <ran234@gmail.com>
592Date:   Sun Oct 12 21:58:16 2014 +0300
593
594    c_client.py: remove commented debug statements
595    
596    Signed-off-by: Ran Benita <ran234@gmail.com>
597    Reviewed-by: Christian Linhart <chris@demorecorder.com>
598
599commit ec435aebd6ed0523de2d341e6aff5ae66f230b10
600Author: Ran Benita <ran234@gmail.com>
601Date:   Sun Oct 12 21:58:15 2014 +0300
602
603    c_client.py: use C99 initializers instead of comments
604    
605    Signed-off-by: Ran Benita <ran234@gmail.com>
606    Reviewed-by: Christian Linhart <chris@demorecorder.com>
607
608commit 89498d1d450d0e6e476f6b24908ecae857863386
609Author: Ran Benita <ran234@gmail.com>
610Date:   Sun Oct 12 21:58:11 2014 +0300
611
612    c_client.py: remove end-of-function comments
613    
614    Signed-off-by: Ran Benita <ran234@gmail.com>
615    Reviewed-by: Christian Linhart <chris@demorecorder.com>
616
617commit 2871d4b1b8736044ba50df2f7dacfcc65d820fa9
618Author: Ran Benita <ran234@gmail.com>
619Date:   Sun Oct 12 21:58:10 2014 +0300
620
621    c_client.py: no need to compare bools to True/False
622    
623    Signed-off-by: Ran Benita <ran234@gmail.com>
624    Reviewed-by: Christian Linhart <chris@demorecorder.com>
625
626commit 30976e5255a25117d17d4d8162e29b84913953cd
627Author: Ran Benita <ran234@gmail.com>
628Date:   Sun Oct 12 21:58:09 2014 +0300
629
630    c_client.py: use "foo".join() instead of reduce
631    
632    Signed-off-by: Ran Benita <ran234@gmail.com>
633    Reviewed-by: Christian Linhart <chris@demorecorder.com>
634
635commit 0ab52cbcc630ff8ddfa6f6b245c6b3071867b291
636Author: Ran Benita <ran234@gmail.com>
637Date:   Sun Oct 12 21:58:08 2014 +0300
638
639    c_client.py: fix indentation
640    
641    (Also remove unnecessary parens around the condition).
642    
643    Signed-off-by: Ran Benita <ran234@gmail.com>
644    Reviewed-by: Christian Linhart <chris@demorecorder.com>
645
646commit 80341d5df3e30e2cfc3066d05256af9e513e4500
647Author: Ran Benita <ran234@gmail.com>
648Date:   Sun Oct 12 21:58:07 2014 +0300
649
650    c_client.py: use comprehensions instead of map/filter
651    
652    Signed-off-by: Ran Benita <ran234@gmail.com>
653    Reviewed-by: Christian Linhart <chris@demorecorder.com>
654
655commit 86ea6645d9e388112670cf88da1fe3b350953789
656Author: Ran Benita <ran234@gmail.com>
657Date:   Sun Oct 12 21:58:06 2014 +0300
658
659    c_client.py: use print as a function for python3 compatibility
660    
661    This works for all python>=2.6, which is what configure requires.
662    
663    Signed-off-by: Ran Benita <ran234@gmail.com>
664    Reviewed-by: Christian Linhart <chris@demorecorder.com>
665
666commit 70d32ce7d8ef3ce9490d9a51b189829c8bcdb5c4
667Author: Ran Benita <ran234@gmail.com>
668Date:   Sun Oct 12 21:58:05 2014 +0300
669
670    c_client.py: fix pyflakes errors
671    
672    c_client.py:2: 'from xml.etree.cElementTree import *' used; unable to detect undefined names
673    c_client.py:3: 'basename' imported but unused
674    c_client.py:9: 'time' imported but unused
675    c_client.py:1437: local variable 'list_obj' is assigned to but never used
676    c_client.py:1745: local variable 'varfield' is assigned to but never used
677    c_client.py:2050: local variable 'length' is assigned to but never used
678    c_client.py:2416: local variable 'R_obj' is assigned to but never used
679    c_client.py:2441: local variable 'S_obj' is assigned to but never used
680    
681    Signed-off-by: Ran Benita <ran234@gmail.com>
682    Reviewed-by: Christian Linhart <chris@demorecorder.com>
683
684commit 12d23b934f189607ad77667834205dfcf89a41f0
685Author: Ran Benita <ran234@gmail.com>
686Date:   Sun Oct 12 21:58:04 2014 +0300
687
688    c_client.py: simplify maximum expression
689    
690    Signed-off-by: Ran Benita <ran234@gmail.com>
691    Reviewed-by: Christian Linhart <chris@demorecorder.com>
692
693commit 1b37d6ad3a37a9d0201e3b2caee6cd53b7b4b3dc
694Author: Ran Benita <ran234@gmail.com>
695Date:   Sun Oct 12 21:58:03 2014 +0300
696
697    c_client.py: remove unneeded call to get_serialize_params()
698    
699    The results are not used, and the function doesn't have side effects.
700    
701    Signed-off-by: Ran Benita <ran234@gmail.com>
702    Reviewed-by: Christian Linhart <chris@demorecorder.com>
703
704commit e3ec1f74637237ce500dfd0ca59f2e422da4e019
705Author: Jaya Tiwari <tiwari.jaya18@gmail.com>
706Date:   Thu Jan 22 12:16:33 2015 -0500
707
708    Adding accessors for requests
709    
710    Added accessor functions for requests the same way they were added for
711    structs,events and replies.
712    Lists for replies have accessor functions now.
713    
714    Signed-off-by: Jaya Tiwari <tiwari.jaya18@gmail.com>
715    Reviewed-by: Christian Linhart <chris@demorecorder.com>
716    
717    Comment from the Reviewer Christian Linhart:
718    I have tested your patch after fixing the issues with the patch-format.
719    It looks good:
720    * only adds new functions, and does not modify existing functions.
721      Therefore it is API and ABI compatible.
722    
723    * adds accessors for varsized-stuff in requests.
724      This is needed for server-side XCB and may be useful for implementing X11-protocol proxies.
725
726commit 5353c0216e091b64d01a43e6580e6d69b2ac16c7
727Merge: bbca7b8 c6f3fb2
728Author: Christian Linhart <chris@demorecorder.com>
729Date:   Tue Feb 10 10:13:04 2015 +0100
730
731    Merge http://git.demorecorder.com/git/free-sw/xcb/libxcb
732    branch 'ParametrizedStruct-V7'
733
734commit c6f3fb2529a6211221e8254f58c85fd67c1d8844
735Author: Christian Linhart <chris@DemoRecorder.com>
736Date:   Mon Nov 3 09:57:59 2014 +0100
737
738    generator: support parametrized structs
739    
740    Parametrized structs contain paramref expressions which
741    refer to the value of a field defined in the context
742    where the struct is used.
743    
744    Implementing the parametrized structs turned out
745    to be somewhat easier than previously thought
746    because the generator already had some support for type-parametrization
747    because this is needed when case or bitcase refers to fields outside
748    of the switch.
749    
750    So I decided to go with the flow and to implement the solution
751    which best fits the current implementation.
752    
753    I did the following:
754    * I provided a way to specify fieldref with an explicitely given type:
755      This resulted in <paramref type="CARD8>fieldname</paramref>
756      A paramref is just a fieldref with an explicit type.
757      The type is necessary because there is no local field of that
758      name where the type can be derived from.
759    
760    * then I tested it and made several changes in the generator
761      such that it really works.
762    
763    Basically the generated code is as follows:
764    * The parameter appears on the parameter list of the
765      sizeof-function of the parametrized struct.
766      When that function gets called, an appropriate argument is supplied.
767    
768    * The parameter also appears as an additional member of the iterator-struct
769      for the iterator of lists of that parametrized struct.
770      This way, the next-function can get the value of that parameter from the iterator.
771      When the iterator is created, this iterator-member is set accordingly.
772    
773    * When the paramref appears in the length-expression of a list, then
774      the parameter appears on the parameterlist of the "length" and "end" functions.
775      When these functions get called, an appropriate argument is supplied.
776    
777    Some comments:
778    * I did not implement inline structs.
779      This would probably have been more complicated, and at least some additional effort.
780      But that can be implemented later if needed.
781      (Inline structs could probably use some code from switch-case/bitcase which is already kind of
782      an inlined struct but one has to be careful not to break the functionality
783      of switch-case/bitcase. Support for inline structs inside lists must probably
784      be implemented from scratch...)
785    
786    * The paramref expression refers to a field of the same name in the struct/request/...
787      where it is used.
788      So it is not possible to pass the value of arbitrary fields or even expressions
789      to the parametrized struct.
790      This would have been possible with the previously discussed <typearg>.
791      That can be added later, if needed.
792      ( Wont be too complicated )
793    
794    * So this is pretty much like the proposal from Ran Benita.
795    
796    changes for V2 of this patch, according to suggestions from Ran Benita:
797    * replace map with list comprehension
798      because map returns an iterator instead of a list from Python 3 on,
799      so it cannot be added to a list anymore.
800    
801    * removed "self" parameter of function additional_params_to_str
802      and accessed the variable additional_params from the outer
803      function directly.
804    
805    changes for V2 of this patch:
806    * adapt to revision 2 of patchset ListInputDevices
807    * style fixes for similar things that Ran Benita has found in my previous patches
808    
809    Message-ID: <54574397.4060000@DemoRecorder.com>
810    Patch-Thread-Subject: [Xcb] parametrized structs implemented
811    Patch-Set: ParametrizedStruct
812    Patch-Number: libxcb 1/1
813    Patch-Version: V3
814    Signed-off-by: Christian Linhart <chris@DemoRecorder.com>
815
816commit 912cd97a6dd019e9e7ecf09c82c4577dd2ad7529
817Author: Christian Linhart <chris@DemoRecorder.com>
818Date:   Mon Nov 3 09:58:08 2014 +0100
819
820    generator: support listelement-ref
821    
822    Support for listelement-ref needs the following three changes
823    (in the order as they appear in the patch):
824    
825    * making the current list-element accessible with the variable
826      xcb_listelement which is a pointer to the list-element
827    
828    * supporting lists of simple-type for sumof with a nested expression
829    
830    * using the variable for resolving a listelement-ref expression
831    
832    Changes for V2 of this patch:
833    - adapt to removal of patch "libxcb 2/6" from patchset "ListInputDevices".
834    
835    Changes for V3 of this patch:
836    - adapt to V2 of patch "libxcb 5/6" from patchset "ListInputDevices"
837    
838    Changes for V4 of this patch:
839    - adapt to revision 2 of the patchset "ListInputDevices"
840    
841    Message-ID: <545743A0.50907@DemoRecorder.com>
842    Patch-Thread-Subject: [Xcb] support popcount of a list and associated xml changes
843    Patch-Set: PopcountList
844    Patch-Number: libxcb 4/4
845    Patch-Version: V4
846    Signed-off-by: Christian Linhart <chris@DemoRecorder.com>
847
848commit 422458b66380e4103c4937f0e2e8bb93e31f273a
849Author: Christian Linhart <chris@demorecorder.com>
850Date:   Thu Sep 4 17:50:50 2014 +0200
851
852    generator: _c_accessor_get_length: remove buggy special case
853    
854    The function _c_accessor_get_length had a special case handling
855    for intermixed var and fixed size fields.
856    
857    However:
858    * The implementation of that special case was buggy:
859      It tried to call a python-dict as a function which causes
860      Python to abort the program with a stacktrace and error message.
861      So this code was never used.
862    
863    * The case it tried to handle is handeled elsewhere in the
864      meantime: in _c_helper_absolute_name by previous patches
865      made by me.
866    
867    Message-ID: <1409845851-38950-3-git-send-email-chris@demorecorder.com>
868    Patch-Thread-Subject: [Xcb] support popcount of a list and associated xml changes
869    Patch-Set: PopcountList
870    Patch-Number: libxcb 3/4
871    Patch-Version: V1
872    Signed-off-by: Christian Linhart <chris@DemoRecorder.com>
873
874commit b1e4a3bbd8194d12d7fcd9705fcbbe0deb59bcba
875Author: Christian Linhart <chris@demorecorder.com>
876Date:   Thu Sep 4 17:50:49 2014 +0200
877
878    generator: generate accessors for events, too
879    
880    Accessors are generally needed for var-sized fields
881    and fields after var-sized fields.
882    
883    Generic events can have ver-sized fields.
884    Therefore they need accessors.
885    
886    Message-ID: <1409845851-38950-2-git-send-email-chris@demorecorder.com>
887    Patch-Thread-Subject: [Xcb] support popcount of a list and associated xml changes
888    Patch-Set: PopcountList
889    Patch-Number: libxcb 2/4
890    Patch-Version: V1
891    Signed-off-by: Christian Linhart <chris@DemoRecorder.com>
892
893commit 6234225b4be862c5882bf547d066c5a3885906dd
894Author: Christian Linhart <chris@demorecorder.com>
895Date:   Thu Sep 4 17:50:48 2014 +0200
896
897    generator: no type-setup for eventcopies anymore
898    
899    _c_type_setup is not called for eventcopies anymore:
900    Reasons:
901    * the type-setup of an eventcopy would overwrite members of the original
902      event object such as c_type, ...
903    * it is needed for the next patch, i.e., generating accessors:
904      type_setup would create sizeof-etc funtions which called
905      undefined accessor functions.
906    
907    Sizeof-functions are generated for compatibility:
908    Reason:
909    * Type-setup of eventcopies has previously generated
910      sizeof-functions for eventcopies.
911      So, we still need to generate these functions.
912      These new sizeof-functions simply call the sizeof-function
913      of the defining event of the eventcopy.
914    
915    Message-ID: <1409845851-38950-1-git-send-email-chris@demorecorder.com>
916    Patch-Thread-Subject: [Xcb] support popcount of a list and associated xml changes
917    Patch-Set: PopcountList
918    Patch-Number: libxcb 1/4
919    Patch-Version: V1
920    Signed-off-by: Christian Linhart <chris@DemoRecorder.com>
921
922commit 18ff453edd42712ea4d1e7218bbe8829f9f4caba
923Author: Christian Linhart <chris@DemoRecorder.com>
924Date:   Sun Nov 2 13:46:58 2014 +0100
925
926    _c_helper_fieldaccess_expr: remove handling for empty sep
927    
928    The loop-variable "sep" is never empty in function
929    "_c_helper_fieldaccess_expr", after a fix elsewhere.
930    Therefore I removed the handling of the case of "sep" being empty.
931    
932    Thanks to Ran Benita for the hint that this can be removed.
933    
934    Signed-off-by: Christian Linhart <chris@demorecorder.com>
935    Reviewed-by: Ran Benita <ran234@gmail.com>
936    
937    Message-ID: <545627C2.3050608@DemoRecorder.com>
938    Patch-Thread-Subject: [Xcb] [PATCHSET] ListInputDevices revision 2
939    Patch-Set: ListInputDevices
940    Patch-Number: libxcb 9/9
941    Patch-Version: V1
942
943commit d905b886185fd8e0d9d7f70e0d112cb58ab86f98
944Author: Christian Linhart <chris@DemoRecorder.com>
945Date:   Sun Nov 2 13:46:50 2014 +0100
946
947    function _c_helper_fieldaccess_expr: improve description
948    
949    Signed-off-by: Christian Linhart <chris@demorecorder.com>
950    Reviewed-by: Ran Benita <ran234@gmail.com>
951    
952    Message-ID: <545627BA.1000909@DemoRecorder.com>
953    Patch-Thread-Subject: [Xcb] [PATCHSET] ListInputDevices revision 2
954    Patch-Set: ListInputDevices
955    Patch-Number: libxcb 8/9
956    Patch-Version: V1
957
958commit 17f6e04493c93014beaf3a704c8cc4d050cb13bf
959Author: Christian Linhart <chris@DemoRecorder.com>
960Date:   Sun Nov 2 13:46:38 2014 +0100
961
962    rename _c_helper_absolute_name to _c_helper_fieldaccess_expr
963    
964    The function _c_helper_absolute_name was named in
965    a misleading way.
966    It computes a C-expression for accessing a field of an xcb-type.
967    
968    Therefore the name _c_helper_fieldaccess_expr is more appropriate.
969    
970    Note: Patch 6 of this series has been removed during the review process.
971    
972    Signed-off-by: Christian Linhart <chris@demorecorder.com>
973    Reviewed-by: Ran Benita <ran234@gmail.com>
974    
975    Message-ID: <545627AE.2040200@DemoRecorder.com>
976    Patch-Thread-Subject: [Xcb] [PATCHSET] ListInputDevices revision 2
977    Patch-Set: ListInputDevices
978    Patch-Number: libxcb 7/9
979    Patch-Version: V1
980
981commit 51a0d57acc6ec0c9487d2dbc2dda806f05c49884
982Author: Christian Linhart <chris@DemoRecorder.com>
983Date:   Sun Nov 2 13:46:16 2014 +0100
984
985    generator: sumof with nested expression
986    
987    Support sumof with a nested expression.
988    The nested expression is computed for every list-element
989    and the result of the computation is added to the sum.
990    
991    This way, sumof can be applied to a list of structs,
992    and, e.g., compute the sum of a specific field of that struct.
993    
994    example:
995    <struct name="SumofTest_Element">
996       <field type="CARD16" name="foo" />
997       <field type="CARD16" name="bar" />
998    </struct>
999    
1000    <struct name="SumofTest_FieldAccess">
1001       <field type="CARD32" name="len" />
1002       <list type="SumofTest_Element" name="mylist1">
1003               <fieldref>len</fieldref>
1004       </list>
1005       <list type="CARD16" name="mylist2">
1006            <sumof ref="mylist1">
1007                    <fieldref>bar</fieldref>
1008            </sumof>
1009       </list>
1010    </struct>
1011    
1012    generated tmpvar:
1013        int xcb_pre_tmp_1; /* sumof length */
1014        int xcb_pre_tmp_2; /* sumof loop counter */
1015        int64_t xcb_pre_tmp_3; /* sumof sum */
1016        const xcb_input_sumof_test_element_t* xcb_pre_tmp_4; /* sumof list ptr */
1017    
1018    generated code:
1019        /* mylist2 */
1020        /* sumof start */
1021        xcb_pre_tmp_1 = _aux->len;
1022        xcb_pre_tmp_3 = 0;
1023        xcb_pre_tmp_4 = xcb_input_sumof_test_field_access_mylist_1(_aux);
1024        for ( xcb_pre_tmp_2 = 0; xcb_pre_tmp_2 < xcb_pre_tmp_1; xcb_pre_tmp_2++) {
1025            xcb_pre_tmp_3 += xcb_pre_tmp_4->bar;
1026            xcb_pre_tmp_4++;
1027        }
1028        /* sumof end. Result is in xcb_pre_tmp_3 */
1029        xcb_block_len += xcb_pre_tmp_3 * sizeof(uint16_t);
1030    
1031    changes for V2 of this patch:
1032    * explicitely set the member access operator in the prefix-tuple
1033      passed to function _c_helper_field_mapping.
1034      This enables us to simplify function "_c_helper_absolute_name"
1035      (which will be renamed "_c_helper_fieldaccess_expr" soon)
1036    
1037    V3: Changed style and formatting according to suggestions from Ran Benita
1038    
1039    Signed-off-by: Christian Linhart <chris@DemoRecorder.com>
1040    Reviewed-by: Ran Benita <ran234@gmail.com>
1041    
1042    Message-ID: <54562798.8040500@DemoRecorder.com>
1043    Patch-Thread-Subject: [Xcb] [PATCHSET] ListInputDevices revision 2
1044    Patch-Set: ListInputDevices
1045    Patch-Number: libxcb 5/9
1046    Patch-Version: V3
1047
1048commit 4a915c0dbadf326ea61349e29a0029d29f4bd339
1049Author: Christian Linhart <chris@DemoRecorder.com>
1050Date:   Sun Nov 2 13:45:40 2014 +0100
1051
1052    generator: sumof: support any type, generate explicit code
1053    
1054    A sumof-expression now generates explicit code ( for-loop etc )
1055    instead of calling xcb_sumof.
1056    
1057    This way, it supports any type which can be added.
1058    Previously, only uint_8 was supported.
1059    
1060    Here's an example and the generated code:
1061    
1062    xml:
1063    <struct name="SumofTest">
1064       <field type="CARD32" name="len" />
1065       <list type="CARD16" name="mylist1">
1066               <fieldref>len</fieldref>
1067       </list>
1068       <list type="CARD8" name="mylist2">
1069               <sumof ref="mylist1"/>
1070       </list>
1071    </struct>
1072    
1073    declaration of tempvars at the start of enclosing function:
1074        int xcb_pre_tmp_1; /* sumof length */
1075        int xcb_pre_tmp_2; /* sumof loop counter */
1076        int64_t xcb_pre_tmp_3; /* sumof sum */
1077        const uint16_t* xcb_pre_tmp_4; /* sumof list ptr */
1078    
1079    code:
1080        /* mylist2 */
1081        /* sumof start */
1082        xcb_pre_tmp_1 = _aux->len;
1083        xcb_pre_tmp_3 = 0;
1084        xcb_pre_tmp_4 = xcb_input_sumof_test_mylist_1(_aux);
1085        for ( xcb_pre_tmp_2 = 0; xcb_pre_tmp_2 < xcb_pre_tmp_1; xcb_pre_tmp_2++) {
1086            xcb_pre_tmp_3 += *xcb_pre_tmp_4;
1087            xcb_pre_tmp_4++;
1088        }
1089        /* sumof end. Result is in xcb_pre_tmp_3 */
1090        xcb_block_len += xcb_pre_tmp_3 * sizeof(uint8_t);
1091    
1092    This patch is also a preparation for sumof which can access
1093    fields of lists of struct, etc.
1094    
1095    V2: Changed style and formatting according to suggestions from Ran Benita
1096    
1097    Signed-off-by: Christian Linhart <chris@DemoRecorder.com>
1098    Reviewed-by: Ran Benita <ran234@gmail.com>
1099    
1100    Message-ID: <54562774.8030306@DemoRecorder.com>
1101    Patch-Thread-Subject: [Xcb] [PATCHSET] ListInputDevices revision 2
1102    Patch-Set: ListInputDevices
1103    Patch-Number: libxcb 4/9
1104    Patch-Version: V2
1105
1106commit fda1fb4ed47a705744677a0074d83464af7aa4eb
1107Author: Christian Linhart <chris@DemoRecorder.com>
1108Date:   Sun Nov 2 13:45:29 2014 +0100
1109
1110    generator: expressions can generate pre-code
1111    
1112    This patch provides a mechanism for generating
1113    preparatory code for expressions.
1114    
1115    This is e.g. necessary when an expression needs computations
1116    which cannot be done in a C-Expression, like for-loops.
1117    
1118    This will be used for sumof expressions but may be useful
1119    elsewhere.
1120    
1121    Note: Patch 2 of this series has been removed during the review process.
1122    
1123    V2: adapt to changes in previous patches
1124    
1125    V3: some style and formatting changes according to suggestions from Ran Benita.
1126    
1127    Signed-off-by: Christian Linhart <chris@DemoRecorder.com>
1128    Reviewed-by: Ran Benita <ran234@gmail.com>
1129    
1130    Message-ID: <54562769.3090405@DemoRecorder.com>
1131    Patch-Thread-Subject: [Xcb] [PATCHSET] ListInputDevices revision 2
1132    Patch-Set: ListInputDevices
1133    Patch-Number: libxcb 3/9
1134    Patch-Version: V3
1135
1136commit 265d38882cffce597367cc8bb2160b9e2482a80f
1137Author: Christian Linhart <chris@DemoRecorder.com>
1138Date:   Sun Nov 2 13:45:12 2014 +0100
1139
1140    generator: fix absname for fields with only accessor function
1141    
1142    Fix _c_helper_absolute_name for fields which cannot be accessed
1143    as a struct/union member but which can be accessed by an
1144    accessor function.
1145    
1146    The fix generates calls to the accessor function in these cases.
1147    
1148    Example:
1149    <struct name="AbsnameTest">
1150    <field type="CARD32" name="len" />
1151    <list type="CARD8" name="mylist1">
1152       <fieldref>len</fieldref>
1153    </list>
1154    <list type="CARD8" name="mylist2">
1155       <sumof ref="mylist1"/>
1156    </list>
1157    </struct>
1158    
1159    The sumof-expression ( <sumof ref="mylist1"/> ) refers to mylist1
1160    which is only acessible by an accessor function.
1161    
1162    Previously, sumof was only used inside bitcases,
1163    where such lists are accessible by members of the
1164    deserialized parent struct.
1165    (there is a difference between deserialization of switches
1166    and structs.)
1167    
1168    V2 of this patch:
1169    * replaced "!= None" with "is not None" because that's more pythonic.
1170    (according to suggestion from Ran Benita)
1171    
1172    V3 of this patch: simplification:
1173    * fixed the recursion in _c_type_setup
1174      so that _c_helper_absolute_name does not need check
1175      a gazillion things as a workaround anymore.
1176    
1177    * simplified _c_helper_absolute_name
1178      - remove unneeded check for empty string before
1179        append of last_sep to prefix_str
1180    
1181      - removed those if-conditions which are not
1182        needed anymore after fixing the recursion
1183        in _c_type_setup.
1184    
1185      - extract functionality for checking whether a field
1186        needs an accessor ( and which type of accessor )
1187        in functions.
1188        (also extracted from _c_accessors)
1189    
1190      - rearrange the condition branches and actions for
1191        more readability.
1192    
1193    V3 generates exactly the same *.c and *.h files as V2.
1194    
1195    V4 of this patch:
1196    * improve formatting as per suggestions of Ran
1197    
1198    Signed-off-by: Christian Linhart <chris@DemoRecorder.com>
1199    Reviewed-by: Ran Benita <ran234@gmail.com>
1200    
1201    Message-ID: <54562758.5090107@DemoRecorder.com>
1202    Patch-Thread-Subject: [Xcb] [PATCHSET] ListInputDevices revision 2
1203    Patch-Set: ListInputDevices
1204    Patch-Number: libxcb 1/9
1205    Patch-Version: V4
1206
1207commit bbca7b82f803fa13fd30a2891ec06f2a213a28c2
1208Merge: 382d306 fdb291b
1209Author: Peter Harris <pharris@opentext.com>
1210Date:   Thu Oct 30 11:51:57 2014 -0400
1211
1212    Merge branch 'NestedStructTypenames-V5' of http://infra-srv1.demorecorder.com/git/free-sw/xcb/libxcb
1213
1214commit fdb291b414a7afc2c2326124b8ca11d6846cd7b9
1215Author: Christian Linhart <chris@demorecorder.com>
1216Date:   Wed Sep 3 10:10:49 2014 +0200
1217
1218    no typename for nested structs
1219    
1220    Nested structs which are generated for named case and bitcase
1221    do not get a typename anymore, i.e., they are anonymous structs.
1222    
1223    Reasons for this change:
1224    * Prior typenames have caused nameclashes
1225    * Prior typenames introduced names in the global namespace which
1226      did not start with the xcb prefix.
1227    
1228    This change is safe with respect to API compatibility because:
1229    I have searched for instances of named bitcases and there's only one place
1230    where they are used, and that's in xkb.xml: reply GetKbdByName.
1231    ( no need to search for <case> because it was introduced after the last release )
1232    
1233    The reply GetKbdByName is broken in its current form in the xkb.xml anyways,
1234    so it is most probably not used anywhere.
1235    
1236    So, my conclusion is that we can safely omit named types for nested structs.
1237    No need for an attribute.
1238    
1239    Message-ID: <1409731849-51897-1-git-send-email-chris@demorecorder.com>
1240    Patch-Thread-Subject: Re: [Xcb] names of nested structs of named bitcase/case are prone to nameclashes. Solution?
1241    Patch-Set: NestedStructTypenames
1242    Patch-Number: libxcb 1/1
1243    Patch-Version: V1
1244    Signed-off-by: Christian Linhart <chris@DemoRecorder.com>
1245    Reviewed-By: Ran Benita <ran234@gmail.com>
1246
1247commit a7c75be5b1e2da32f7ce2c255972178e7d4b7598
1248Author: Christian Linhart <chris@DemoRecorder.com>
1249Date:   Tue Sep 9 23:26:40 2014 +0200
1250
1251    generator: fix align-pads for switches which start at unaligned pos
1252    
1253    Fix the alignment computation inside switches which start at
1254    an unaligned pos.
1255    This affects both explicit and implicit align pads.
1256    
1257    The alignment offset is derived from the lowest 3 bits of
1258    the pointer to the protocol-data at the start of the switch.
1259    This is sufficient for correcting all alignments up to 8-byte alignment.
1260    As far as I know there is no bigger alignment than 8-byte for the
1261    X-protocol.
1262    
1263    Example:
1264    struct InputState, where the switch starts after two 1-byte fields,
1265    which is a 2 byte offset for 4-byte and 8-byte alignment.
1266    
1267    The previous problem can be demonstrated when adding a
1268    <pad align="4"/> at the end of case "key".
1269    
1270    (Or when finding a testcase which reports the case "valuator" not
1271    at the last position of the QueryDeviceState-reply.
1272    I didn't find such a testcase, so I have used the pad align
1273    as described above.)
1274    
1275    V2: patch modified in order to fix bugs which I found when working on the
1276    next issue:
1277    * xcb_padding_offset has to be set 0 when xcb_block_len is set 0
1278    * xcb_padding_offset cannot be "const" therefore
1279    * for unpack and unserialize, the padding_offset must computed
1280      from _buffer instead of from the aux_var.
1281    
1282    V3: patch revised according to suggestion by Ran Benita:
1283    * only create and use xcb_padding_offset for switch
1284    
1285    Message-ID: <1410298000-24734-1-git-send-email-chris@demorecorder.com>
1286    Patch-Thread-Subject: [Xcb] xinput:QueryDeviceState: full-support: generator and xml-changes
1287    Patch-Set: QueryDeviceState
1288    Patch-Number: libxcb 4/4
1289    Patch-Version: V3
1290    Signed-off-by: Christian Linhart <chris@DemoRecorder.com>
1291    Reviewed-By: Ran Benita <ran234@gmail.com>
1292
1293commit 277ea629def6728c9d826ff88e95b31c3e25915f
1294Author: Christian Linhart <chris@demorecorder.com>
1295Date:   Thu Aug 21 22:35:55 2014 +0200
1296
1297    generator: support lists of structs which contain a switch
1298    
1299    This essentially requires to have a correct sizeof-function
1300    for the struct.
1301    This in turn requires a sizeof-function for the switch, too.
1302    
1303    Making a sizeof-function for the switch is triggered by
1304    replacing "elif" by "if" in the first change of this patch.
1305    This way, c_need_sizeof is also set to True for switches if appropriate.
1306    
1307    The _c_serialize_helper_switch_field function has to support
1308    the context "sizeof":
1309    This is done in the second change of this patch
1310    
1311    The third change of this patch fixes an alignment error:
1312    It does not make sense to base the padding on the struct-type
1313    which is generated for switch because this struct does not
1314    represent the protocol. Rather it is the output of deserialization.
1315    ( The implicit padding for var-sized fields has other issues, IMHO,
1316    but I am not touching these now...)
1317    
1318    The effect on the generated code for the current xml-files
1319    is as follows:
1320    * several additional sizeof-functions are generated
1321    * the fix of the alignment error only changes one place
1322      in the XKB-extension for the GetKbdByName-reply.
1323      This is no problem because that reply in its current form
1324      is broken/unfinished anyways.
1325    
1326    Note:
1327    This patch also fixes a problem in the generator when
1328    a fixed-size list is the last field of a case or bitcase.
1329    
1330    Message-ID: <1408653356-21191-2-git-send-email-chris@demorecorder.com>
1331    Patch-Thread-Subject: [Xcb] xinput:QueryDeviceState: full-support: generator and xml-changes
1332    Patch-Set: QueryDeviceState
1333    Patch-Number: libxcb 2/3
1334    Patch-Version: V1
1335    Signed-off-by: Christian Linhart <chris@DemoRecorder.com>
1336    Reviewed-By: Ran Benita <ran234@gmail.com>
1337
1338commit 382d306d6c44a9ece5551c210a932773b5cb94a5
1339Author: Emil Velikov <emil.l.velikov@gmail.com>
1340Date:   Fri Sep 5 01:46:40 2014 +0100
1341
1342    Move internal/private dependencies to Requires.private
1343    
1344    Program using the xcb sub-modules has indirect compile and runtime
1345    dependency of core xcb. To ensure this out we currently list xcb in
1346    the Requires field of the pkg-config files. While this provides all
1347    the required dependencies for successful compilation this causes
1348    over-linking and hides potential linking miss-use against the xcb modules.
1349    
1350    By moving to Requires.private we retain the compilation and runtime
1351    compatibility and avoids any runtime problems.
1352    
1353    Cc: Keith Packard <keithp@keithp.com>
1354    Cc: Alan Coopersmith <alan.coopersmith@oracle.com>
1355    References: http://people.freedesktop.org/~dbn/pkg-config-guide.html#faq
1356    References: https://wiki.mageia.org/en/Overlinking_issues_in_packaging
1357    References: http://err.no/personal/blog/2008/Mar/25
1358    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
1359    Reviewed-by: Julien Cristau <jcristau@debian.org>
1360    Signed-off-by: Uli Schlachter <psychon@znc.in>
1361
1362commit d74d066949dbbbbbcb03bf7764e63f4347f99974
1363Author: Christian Linhart <chris@DemoRecorder.com>
1364Date:   Sat Sep 6 20:06:15 2014 +0200
1365
1366    generator: support fixed size lists in var-sized structs
1367    
1368    V2: patch revised according to suggestions from Ran Benita:
1369    * removed blanks before an after parentheses of function-calls or tuples
1370    * replaced if by elif in "if field.type.is_list". ( this fixes old code )
1371    
1372    Message-ID: <540B4D17.1080908@DemoRecorder.com>
1373    Patch-Thread-Subject: [Xcb] xinput:QueryDeviceState: full-support: generator and xml-changes
1374    Patch-Set: QueryDeviceState
1375    Patch-Number: libxcb 1/3
1376    Patch-Version: V2
1377    Signed-off-by: Christian Linhart <chris@DemoRecorder.com>
1378    Reviewed-By: Ran Benita <ran234@gmail.com>
1379
1380commit b0e6c2de09c7474868dd7185674fa113a5c2e0aa
1381Author: Uli Schlachter <psychon@znc.in>
1382Date:   Mon Aug 18 10:38:48 2014 +0200
1383
1384    xcb_get_setup(): Never return NULL
1385    
1386    The documentation doesn't mention it and it's unlikely that a lot of code out
1387    there handles this case correctly. So, instead of returning NULL, let
1388    xcb_get_setup() return a pointer to a static, invalid, all-zero setup
1389    information structure.
1390    
1391    Signed-off-by: Uli Schlachter <psychon@znc.in>
1392
1393commit c4e40f646b8da4fd112ea54a612c880be5e942a8
1394Author: Uli Schlachter <psychon@znc.in>
1395Date:   Mon Aug 18 10:38:41 2014 +0200
1396
1397    Make some functions also work on error connections
1398    
1399    There is no technical reason why xcb_get_setup() and xcb_get_file_descriptor()
1400    shouldn't work on non-static error connections. They cannot be used for many
1401    useful things, but at least they work.
1402    
1403    This works around bugs in lots of programs out there which assume that
1404    xcb_get_setup() does not return NULL and which just happily dereference the
1405    results. Since xcb_connect() never returns NULL, it's a bit weird that
1406    xcb_get_setup() can do so. xcb_get_file_descriptor() is just modified since this
1407    can be done here equally easily and because the fd isn't closed until the final
1408    xcb_disconnect() on the error connection.
1409    
1410    Non-static error connections are connections which entered an error state after
1411    xcb_connect() succeeded. If something goes wrong in establishing a connection,
1412    xcb_connect() will return a static error connection which doesn't have the
1413    fields used here.
1414    
1415    Signed-off-by: Uli Schlachter <psychon@znc.in>
1416
1417commit 355d4d6ab9f5c12c2ee4a91e8cf6eb4a2854d73c
1418Author: Christian Linhart <chris@demorecorder.com>
1419Date:   Tue Aug 19 15:57:34 2014 +0200
1420
1421    support switch case in the generator
1422    
1423    The implementation is rather simple:
1424    When a <case> is used instead of a <bitcase>
1425    then operator "==" is used instead of "&" in the if-condition.
1426    
1427    So it creates a series of "if" statements
1428    (instead of a switch-case statement in C )
1429    
1430    In practice this does not matter because a good
1431    optimizing compiler will create the same code
1432    as for a switch-case.
1433    
1434    With this simple implementation we get additional
1435    flexibility in the following forms:
1436    * a case value may appear in multiple case branches.
1437      for example:
1438            case C1 will be selected by values 1, 4, or 5
1439            case C2 will be selected by values 3, 4, or 7
1440    
1441    * mixing of bitcase and case is possible
1442            (this will usually make no sense but there may
1443            be protocol specs where this is needed)
1444    
1445    details of the impl:
1446    * replaced "is_bitcase" with "is_case_or_bitcase" in all places
1447      so that cases are treated like bitcases.
1448    
1449    * In function "_c_serialize_helper_switch": write operator "=="
1450      instead of operator "&" if it is a case.
1451
1452commit 966fba6ba4838949d0727dfa45eeb9392d1f85d9
1453Author: Daniel Martin <consume.noise@gmail.com>
1454Date:   Tue Jul 29 22:48:44 2014 +0200
1455
1456    Disable Xevie and Xprint by default
1457    
1458    Both extensions have been dropped from the X-Server in 2008:
1459        http://cgit.freedesktop.org/xorg/xserver/commit/?id=1c8bd31
1460        http://cgit.freedesktop.org/xorg/xserver/commit/?id=f4036f6
1461    
1462    Don't build them by default.
1463    
1464    Reviewed-by: Julien Cristau <jcristau@debian.org>
1465    Signed-off-by: Daniel Martin <consume.noise@gmail.com>
1466    Signed-off-by: Uli Schlachter <psychon@znc.in>
1467
1468commit a5e90ae6a1543a681d95b831dc5c44e9c6e78610
1469Author: Gaetan Nadon <memsize@videotron.ca>
1470Date:   Wed Mar 26 15:40:57 2014 -0400
1471
1472    help text: do not report the insanly long list of Warning flags.
1473    
1474    Originally there was just one. Now that XCB has been integrated with X and
1475    uses the same compiler flags, it is a different story.
1476    
1477      Used CFLAGS:
1478        CPPFLAGS............:
1479        CFLAGS..............: -g -O2
1480        Warning CFLAGS......:  -Wall -Wpointer-arith AND SO ON FOR 8 lines...
1481    
1482    It completely defaces the otherwise excellent output.
1483    
1484    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
1485    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1486    Signed-off-by: Uli Schlachter <psychon@znc.in>
1487
1488commit 529e3bfc2088dcd35e68a0a8394d0e9bff7c978b
1489Author: Gaetan Nadon <memsize@videotron.ca>
1490Date:   Wed Mar 26 15:40:56 2014 -0400
1491
1492    Add ChangeLog and INSTALL using xorg macros
1493    
1494    Same as all other X modules. The one in libxcb git is removed.
1495    
1496    Those files are created during 'make dist'
1497    
1498    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
1499    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1500    Signed-off-by: Uli Schlachter <psychon@znc.in>
1501
1502commit 74f552c1b39eb6a1ab64451477a492a2b22d9d7a
1503Author: Gaetan Nadon <memsize@videotron.ca>
1504Date:   Wed Mar 26 15:24:46 2014 -0400
1505
1506    sendmsg: remove --enable-sendfds as it is superceeded by --enable-dri3
1507    
1508    DRI3 requires sendmsg support which is auto-detected. A builder can enable
1509    or disable dri3 feature. If sendmsg function is not available, dri3 cannot
1510    be enabled.
1511    
1512    This reverts af8067cbf4856 which was done at a time where --enable-dri3
1513    had not been added yet.
1514    
1515    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
1516    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1517    Signed-off-by: Uli Schlachter <psychon@znc.in>
1518
1519commit 23f57ac8bf0812bbc851ec9a815e50a640b97db5
1520Author: Gaetan Nadon <memsize@videotron.ca>
1521Date:   Wed Mar 26 15:24:45 2014 -0400
1522
1523    config: issue an error if DRI3 is requested, but sendfds is not available
1524    
1525    When a user issues the --enable-dri3 option and sendfds is not available
1526    on the system, the configuration will abort with an error message.
1527    
1528    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
1529    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1530    Signed-off-by: Uli Schlachter <psychon@znc.in>
1531
1532commit 7f07b57be587a2ebe0cadceba3fe67ed4a1e79db
1533Author: Gaetan Nadon <memsize@videotron.ca>
1534Date:   Wed Mar 26 15:24:44 2014 -0400
1535
1536    config: default option for enable-dri3 is not implemented
1537    
1538    The first symptom is the help text:
1539    
1540      --enable-dri3     Build XCB DRI3 Extension (default: "$sendfds")
1541    
1542    The implementation variable $sendfds leaked into the user interface.
1543    Testing the various user inputs:
1544      <nothing>                DRI3 is enabled     PASS
1545      --enable-dri3            DRI3 is enabled     PASS
1546      --enable-dri3=yes        DRI3 is enabled     PASS
1547      --enable-dri3=no         DRI3 is disabled    PASS
1548      --disable-dri3           DRI3 is disabled    PASS
1549      --enable-dri3=$sendfds   DRI3 is disabled    FAIL
1550    
1551    This patch implements the usual idiom for features that are enabled by
1552    default if the various conditions are met (sendfds is available).
1553    New help text:
1554    
1555      --enable-dri3     Build XCB DRI3 Extension (default: auto)
1556    
1557    With the additional user input:
1558    
1559      --enable-dri3=auto
1560    
1561    which is equivalent to providing no input at all.
1562    
1563    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
1564    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1565    Signed-off-by: Uli Schlachter <psychon@znc.in>
1566
1567commit d1e8ec96fca4862f37ec9f0e9407bb989c4c161a
1568Author: Uli Schlachter <psychon@znc.in>
1569Date:   Fri Aug 1 15:56:52 2014 +0200
1570
1571    Release libxcb 1.11
1572
1573commit c5c6cfa4d2a27d0f9e139a1856d866433b6046bc
1574Author: Uli Schlachter <psychon@znc.in>
1575Date:   Fri Aug 1 16:03:24 2014 +0200
1576
1577    Bump xcb-proto requirement to 1.11
1578    
1579    This is needed for the new direct_imports field that we need from xcb-proto.
1580    
1581    Signed-off-by: Uli Schlachter <psychon@znc.in>
1582
1583commit 70ea5da64b34336bb0916f6c325545cb50746159
1584Author: Alexander Mezin <mezin.alexander@gmail.com>
1585Date:   Sun Jun 29 17:33:48 2014 +0700
1586
1587    xcb.h: add 'struct' before xcb_setup_t, xcb_query_extension_reply_t
1588    
1589    These structs are typedef'ed in xproto.h, so in xcb.h these types
1590    (without 'struct') are actually undefined.
1591    
1592    GCC reports this as error when building precompiled header.
1593    
1594    Signed-off-by: Alexander Mezin <mezin.alexander@gmail.com>
1595    Reviewed-by: Peter Harris <pharris@opentext.com>
1596
1597commit 7e6af51b4e984f661fe4f21596cab5cb8ee15ea0
1598Author: Ran Benita <ran234@gmail.com>
1599Date:   Tue Feb 25 14:11:35 2014 +0200
1600
1601    c_client.py: remove more trailing space from generated files
1602    
1603    Signed-off-by: Ran Benita <ran234@gmail.com>
1604    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
1605    Reviewed-by: Daniel Martin <consume.noise@gmail.com>
1606
1607commit 8221d249b77131b338e3b35ce2229193f129e514
1608Author: Ran Benita <ran234@gmail.com>
1609Date:   Sun Feb 23 22:55:21 2014 +0200
1610
1611    c_client.py: remove trailing whitespace from generated files
1612    
1613    Signed-off-by: Ran Benita <ran234@gmail.com>
1614    Reviewed-by: Daniel Martin <consume.noise@gmail.com>
1615
1616commit e3c728ee3d9a2fd7478d5f57830c3483b774a16e
1617Author: Ran Benita <ran234@gmail.com>
1618Date:   Sun Feb 23 22:55:20 2014 +0200
1619
1620    c_client.py: remove useless generated comments
1621    
1622    They are bloated, don't add anything over the signature, in some cases
1623    duplicate the doxygen comments, and are not integrated with the <doc>
1624    tags in any way. Remove them and cut the generated LOC by half.
1625    
1626    Signed-off-by: Ran Benita <ran234@gmail.com>
1627    Reviewed-by: Daniel Martin <consume.noise@gmail.com>
1628
1629commit cae2e398563841c5b814596fd1f1c64354dcac71
1630Author: Ran Benita <ran234@gmail.com>
1631Date:   Sun Feb 23 22:55:19 2014 +0200
1632
1633    c_client.py: make the man page output deterministic
1634    
1635    Some parts of the man pages (SEE ALSO and ERRORS) are generated by
1636    iterating a Python dict. But the iteration order in a dict is random,
1637    so each build the output is ordered differently. Avoid that by iterating
1638    in sorted order.
1639    
1640    Signed-off-by: Ran Benita <ran234@gmail.com>
1641    Reviewed-by: Daniel Martin <consume.noise@gmail.com>
1642
1643commit bfbf83b1d8113ac398b57c2738706792946d1c03
1644Author: Ran Benita <ran234@gmail.com>
1645Date:   Sun Feb 23 22:55:18 2014 +0200
1646
1647    c_client.py: prefix all monkey-patched fields with c_
1648    
1649    The script adds many fields to the objects coming from xcbgen. To
1650    distinguish them, a c_ prefix is used, but for some it was missing.
1651    
1652    Signed-off-by: Ran Benita <ran234@gmail.com>
1653    Reviewed-by: Daniel Martin <consume.noise@gmail.com>
1654
1655commit 285d566a5c11c6edd3665beb42312e24bde77d16
1656Author: Ran Benita <ran234@gmail.com>
1657Date:   Sun Feb 23 22:55:17 2014 +0200
1658
1659    c_client.py: remove trailing whitespace
1660    
1661    These are extra annoying in python code.
1662    
1663    Signed-off-by: Ran Benita <ran234@gmail.com>
1664    Reviewed-by: Daniel Martin <consume.noise@gmail.com>
1665
1666commit 285838cfe41c212a2453d903497757d2392fd0ce
1667Author: Ran Benita <ran234@gmail.com>
1668Date:   Sun Feb 23 22:55:16 2014 +0200
1669
1670    c_client.py: remove useless 'today' variable
1671    
1672    Signed-off-by: Ran Benita <ran234@gmail.com>
1673    Reviewed-by: Daniel Martin <consume.noise@gmail.com>
1674
1675commit 49a61c8b459ab19c7f39e653bbb0d0339ea8f00f
1676Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1677Date:   Fri Jul 11 20:41:15 2014 -0700
1678
1679    Fix typos & awkward wording in tutorial
1680    
1681    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1682
1683commit 125135452a554e89e49448e2c1ee6658324e1095
1684Author: Michael Haubenwallner <michael.haubenwallner@salomon.at>
1685Date:   Fri Jun 13 16:18:34 2014 +0200
1686
1687    bug#79986: include system headers early
1688    
1689    AIX <sys/poll.h> does redefine 'events' to 'reqevents' eventually.
1690    To not have this cause compilation errors, need to include the local
1691    header files after any system header file.
1692    
1693    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1694    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1695
1696commit bc5a1047548b578624cfbc44ca192cde7664ed78
1697Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1698Date:   Fri Jun 13 21:26:21 2014 -0700
1699
1700    Document failure modes of xcb_connect*() functions
1701    
1702    Documentation was previously unclear that these always return a non-NULL
1703    pointer, and that callers need to check it for error values, instead of
1704    checking for a NULL return value.
1705    
1706    Triggered by having to dig through code to answer a user's question on
1707    the #xcb irc channel, since neither of us found it covered in the docs.
1708    
1709    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1710    Reviewed-by: Uli Schlachter <psychon@znc.in>
1711
1712commit 72e45969ff71204cee2dde3502841736cfd41c8a
1713Author: Daniel Martin <consume.noise@gmail.com>
1714Date:   Mon Jun 9 17:55:04 2014 +0200
1715
1716    Handle <pad align="n" /> between lists
1717    
1718    Without this patch we end up with invalid C code if we've a
1719    <pad align="n" /> between two variadic lists. Check for such a condition
1720    and take the alignment pad into account.
1721    
1722    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79808
1723    
1724    Signed-off-by: Daniel Martin <consume.noise@gmail.com>
1725    Signed-off-by: Peter Harris <pharris@opentext.com>
1726
1727commit d978a4f69b30b630f28d07f1003cf290284d24d8
1728Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
1729Date:   Sat Apr 5 20:54:59 2014 -0700
1730
1731    xcb_open: Improve abstraction for launchd secure sockets
1732    
1733    This changes away from hard-coding the /tmp/launch-* path to now
1734    supporting a generic <path to unix socket>[.<screen>] format for
1735    $DISPLAY.
1736    
1737    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
1738
1739commit 29e419c5840a1eeda3336a0802686ee723dcaab3
1740Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
1741Date:   Sat Apr 5 21:09:42 2014 -0700
1742
1743    xcb_open: Minor code cleanup for better readability
1744    
1745    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
1746    Reviewed-by: Uli Schlachter <psychon@znc.in>
1747
1748commit be0fe56c3bcad5124dcc6c47a2fad01acd16f71a
1749Author: Keith Packard <keithp@keithp.com>
1750Date:   Mon Dec 23 21:15:20 2013 -0800
1751
1752    Ensure xcb owns socket and no other threads are writing before send_request
1753    
1754    send_request may only write to out.queue if no other thread is busy
1755    writing to the network (as that thread may be writing from out.queue).
1756    
1757    send_request may only allocate request sequence numbers if XCB owns
1758    the socket.
1759    
1760    Therefore, send_request must make sure that both conditions are true
1761    when it holds iolock, which can only be done by looping until both
1762    conditions are true without having dropped the lock waiting for the
1763    second condition.
1764    
1765    We choose to get the socket back from Xlib first as get_socket_back
1766    has a complicated test and checking for other threads writing is a
1767    simple in-lined check.
1768    
1769    This also changes the sequence number checks (64k requests with no
1770    reply, 4M request wrapping) to ensure that both conditions are true
1771    before queueing the request.
1772    
1773    Signed-off-by: Keith Packard <keithp@keithp.com>
1774    Reviewed-by: Uli Schlachter <psychon@znc.in>
1775
1776commit e2813e1cde893f384fa620ff3c13493beebabe0c
1777Author: Keith Packard <keithp@keithp.com>
1778Date:   Wed Feb 12 14:15:46 2014 -0800
1779
1780    Update .pc file Requires lines to express full dependencies
1781    
1782    Some xcb libraries depend on others; make these dependencies explicit
1783    in the .pc files that are installed.
1784    
1785    This change was generated automatically by running 'check-pc-requires -fix'
1786    
1787    Signed-off-by: Keith Packard <keithp@keithp.com>
1788    Signed-off-by: Uli Schlachter <psychon@znc.in>
1789
1790commit 32de4c4213a49c61127c6957ea05fef3e5355291
1791Author: Keith Packard <keithp@keithp.com>
1792Date:   Wed Feb 12 14:15:45 2014 -0800
1793
1794    Validate .pc file Requires lines
1795    
1796    This walks through the .pc.in files and makes sure all of the Requires
1797    lines express sufficient dependency information.
1798    
1799    Signed-off-by: Keith Packard <keithp@keithp.com>
1800    Signed-off-by: Uli Schlachter <psychon@znc.in>
1801
1802commit 1f6cd9f1fcd3c07d323b678292c9cb00ae1f7504
1803Author: Keith Packard <keithp@keithp.com>
1804Date:   Wed Feb 12 14:15:44 2014 -0800
1805
1806    Only #include directly referenced module header files
1807    
1808    This avoids having the nested header files also included at the top
1809    level, which is more efficient.
1810    
1811    Signed-off-by: Keith Packard <keithp@keithp.com>
1812    Signed-off-by: Uli Schlachter <psychon@znc.in>
1813
1814commit cb686b576739deea00180c54697c8b62b8419ae0
1815Author: Uli Schlachter <psychon@znc.in>
1816Date:   Tue Feb 25 15:50:50 2014 +0100
1817
1818    Add doxygen documentation to functions in xcbext.h
1819    
1820    Signed-off-by: Uli Schlachter <psychon@znc.in>
1821    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
1822
1823commit 2fb14e5883f2ea2f01d248674cfcc26ccb704753
1824Author: Uli Schlachter <psychon@znc.in>
1825Date:   Tue Dec 31 15:18:01 2013 +0100
1826
1827    Make xcb_disconnect(NULL) safe
1828    
1829    Code can be simplified if the deallocation functions can always be called in
1830    cleanup code. So if you have some code that does several things that can go
1831    wrong, one of which is xcb_connect(), after this change, the xcb_connection_t*
1832    variable can be initialized to NULL and xcb_disconnect() can always be called on
1833    the connection object.
1834    
1835    References: http://lists.freedesktop.org/archives/xcb/2013-September/008659.html
1836    
1837    Signed-off-by: Uli Schlachter <psychon@znc.in>
1838    Reviewed-by: Julien Cristau <jcristau@debian.org>
1839
1840commit 4dcbfd77b78ca6b016ce815af26235501f6cd75a
1841Author: Uli Schlachter <psychon@znc.in>
1842Date:   Tue Dec 31 15:05:36 2013 +0100
1843
1844    xcb_disconnect(): Fix leak with error connections
1845    
1846    There are two kind of error connections in XCB. First, if something goes wrong
1847    while the connection is being set up, _xcb_conn_ret_error() is used to return a
1848    static connection in an error state. If something goes wrong later,
1849    _xcb_conn_shutdown() is used to set c->has_error.
1850    
1851    This is important, because the static object that _xcb_conn_ret_error() returns
1852    must not be freed, while the dynamically allocated objects that go through
1853    _xcb_conn_shutdown() must obviously be properly deallocated.
1854    
1855    This used to work correctly, but in 769acff0da8, xcb_disconnect() was made to
1856    ignore all connections in an error state completely. Fix this by only ignoring
1857    the few static error connections that we have.
1858    
1859    This was tested with the following hack:
1860    
1861        xcb_connection_t *c = xcb_connect(NULL, NULL);
1862        close(xcb_get_file_descriptor(c));
1863        xcb_discard_reply(c, xcb_get_input_focus(c).sequence);
1864        xcb_flush(c);
1865        xcb_disconnect(c);
1866    
1867    Valgrind confirms that xcb has a memory leak before this patch that this patch
1868    indeed fixes.
1869    
1870    Signed-off-by: Uli Schlachter <psychon@znc.in>
1871    Reviewed-by: Julien Cristau <jcristau@debian.org>
1872
1873commit d84dd752ef571491b015443fefedca53c7f81282
1874Author: Uli Schlachter <psychon@znc.in>
1875Date:   Mon Sep 9 13:04:11 2013 +0200
1876
1877    Remove tabs and trailing whitespaces
1878    
1879    Signed-off-by: Uli Schlachter <psychon@znc.in>
1880
1881commit 4ffa6f83b92763eb901c7ddb7c20775e24d507ca
1882Author: Ran Benita <ran234@gmail.com>
1883Date:   Sat Jan 18 17:10:53 2014 +0200
1884
1885    Add comments about how _xcb_conn_ret_error() works
1886    
1887    If xcb_connect() fails, it doesn't return NULL. Instead, it always
1888    returns an xcb_connection_t*, and the user should check for errors with
1889    the xcb_connection_has_error() function. What this function does is
1890    check if conn->has_error contains a non-zero error code, and returns it.
1891    
1892    If an error did occur, xcb doesn't actually return a full
1893    xcb_connection_t though, it just returns (xcb_connection_t *)
1894    error_code. Since the 'has_error' field is the first, it is still
1895    possible to check conn->has_error.
1896    
1897    That last trick was not immediately obvious to me, so add some guiding
1898    comments. This also ensures no one obliviously rearranges the struct.
1899    
1900    Signed-off-by: Ran Benita <ran234@gmail.com>
1901    Signed-off-by: Uli Schlachter <psychon@znc.in>
1902
1903commit d7eb0bdf3b5b11ee9f40ee5e73df8fc0bdfa59f3
1904Author: Gaetan Nadon <memsize@videotron.ca>
1905Date:   Tue Jan 7 14:02:21 2014 -0500
1906
1907    generated man pages: use xorg footer and no hard coded extension
1908    
1909    The section number is no longer hard-coded
1910    The left footer is now "X Version 11".
1911    The center footer is the package name with the version, "libxcb 1.9"
1912    The three values above are provided through xorg-macros. They are passed-in
1913    to the python c_client code.
1914    
1915    Example of footer (last line, above dotted line)
1916    
1917    [...]
1918    AUTHOR
1919           Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐
1920           rections and improvements.
1921    
1922    X Version 11                      libxcb 1.9                 xcb_send_event(3)
1923    
1924    ------------------------------------------------------------------------------
1925    
1926    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
1927    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1928
1929commit e4061b8f00d301a51d4c9eef4a07f1e87592fe85
1930Author: Gaetan Nadon <memsize@videotron.ca>
1931Date:   Tue Jan 7 14:02:16 2014 -0500
1932
1933    generated man pages: build without hard coded extension
1934    
1935    The automake MAN primary requires a hard coded extension to build
1936    man pages. Let's avoid that as the extension number may vary by platform.
1937    Take advantage of the fact that the man directory only contains man pages.
1938    Wildcards are not supported by Automake but it happens to work
1939    sufficiently well here.
1940    
1941    Normally xorg build man pages by converting a source .man file to a
1942    target file with the extension number. That would be too many files
1943    in this case.
1944    
1945    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
1946    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1947
1948commit 3cdd524cadc4352ebd9e17b1f73134bec1838b40
1949Author: Gaetan Nadon <memsize@videotron.ca>
1950Date:   Tue Jan 7 14:02:05 2014 -0500
1951
1952    man: build static man pages using xorg patterns
1953    
1954    The section number is no longer hard-coded, supplied by xorg-macros.
1955    The left footer is now "X Version 11".
1956    The center footer is the package name with the version, "libxcb 1.9"
1957    The man directory is a sibbling to the doc directory. One can build
1958    or clean the man pages without disturbing the library code.
1959    
1960    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
1961    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1962
1963commit c056adcd92daa06f4825d5c85a40e140a3e85b42
1964Author: Gaetan Nadon <memsize@videotron.ca>
1965Date:   Thu Jan 9 14:32:18 2014 -0500
1966
1967    autoconf: replace all tabs with spaces
1968    
1969    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
1970    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1971
1972commit 412928f113c8a5e5b30c03a294a42b0b1cf5f5d7
1973Author: Gaetan Nadon <memsize@videotron.ca>
1974Date:   Tue Jan 7 14:00:44 2014 -0500
1975
1976    autoconf: use default xorg configuration for doxygen documentation
1977    
1978    No content or form changes for the xcb manual or tutorial.
1979    Only the configuration user visible bits change.
1980    
1981    Xcb will now have the same configuration options as the 30 other
1982    xorg modules.
1983    
1984    Xorg classifies documentation as "user", "developer" or "specifications".
1985    The xcb manual falls under the "developer" category. Developers docs
1986    are never installed under $prefix.
1987    
1988    A builder can selectively turn on/off any or all of the categories. He can
1989    also selectively turn on/off any of the many tools used to generate
1990    documentation such as doxygen, xmlto, etc... Each tool has an environment
1991    variable defined such as DOXYGEN.
1992    
1993    Other features are available, the user interface and the functionality
1994    is the same on all modules.
1995    
1996    --with-doxygen=FILE is replaced with DOXYGEN env variable
1997    --disable-build-docs is replaced with --disable-devel-docs
1998    
1999    The new interface displayed with ./configure --help:
2000    
2001      --enable-devel-docs     Enable building the developer documentation
2002                              (default: yes)
2003      --with-doxygen          Use doxygen to regenerate documentation (default:
2004                              auto)
2005      DOXYGEN     Path to doxygen command
2006      DOT         Path to the dot graphics utility
2007    
2008    The dot tool checking has been added to util-macros in version 1.18.
2009    
2010    Refer to the table of existing docs in xorg.
2011    XCB will be added for the doxygen generated API manual.
2012    
2013    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
2014    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2015
2016commit 9ba6aa759e937e60b231b209b1293a40ad6c7a8a
2017Author: Gaetan Nadon <memsize@videotron.ca>
2018Date:   Tue Jan 7 14:00:43 2014 -0500
2019
2020    autoconf: fix warning by replacing deprecated AC_HELP_STRING
2021    
2022    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
2023    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2024
2025commit 942eabaae3600e7277aa09a179ef10c9a06de62f
2026Author: Gaetan Nadon <memsize@videotron.ca>
2027Date:   Tue Jan 7 14:00:42 2014 -0500
2028
2029    autoconf: require libtool minimum level 2.2
2030    
2031    This is the updated minimum level as referenced in:
2032    http://www.x.org/wiki/Building_the_X_Window_System/#index2h3
2033    
2034    Libtool version 2 has been used for several years now. There should be
2035    no surprises.
2036    
2037    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
2038    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2039
2040commit 517cb0e888eca4030b4bd00c316619db925032ea
2041Author: Gaetan Nadon <memsize@videotron.ca>
2042Date:   Tue Jan 7 14:00:41 2014 -0500
2043
2044    autoconf: comment and layout the initialization section
2045    
2046    No functional changes. Trying to make it clearer.
2047    
2048    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2049    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
2050    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2051
2052commit 0a17b61a8971d3c4600a5c19fa7d753e7196abfb
2053Author: Gaetan Nadon <memsize@videotron.ca>
2054Date:   Tue Jan 7 14:00:40 2014 -0500
2055
2056    autoconf: AC_INIT: add bug url
2057    
2058    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
2059    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2060
2061commit 414b1037c5a9770270022e62aa66fe7a4021a96b
2062Author: Gaetan Nadon <memsize@videotron.ca>
2063Date:   Tue Jan 7 14:00:39 2014 -0500
2064
2065    autoconf: use the warning variables from xorg
2066    
2067    The BASE_CFLAGS variable contains only warnings, just like the XCB
2068    version of CWARNFLAGS. This will result in no changes in the binaries
2069    produced. Xorg was missing -fd for SUNCC so it has been added to util-macros
2070    v 1.18.
2071    
2072    Do not get confused with the xorg deprecated CWARNFLAGS variable which
2073    contains an option that is not a warning, -fno-strict-aliasing. This
2074    option, should it be needed, can be added using the XORG_TESTSET_CFLAG
2075    macro.
2076    
2077    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
2078    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2079
2080commit c4f2c70bc37a592406b7693562c7513f2f99b34d
2081Author: Gaetan Nadon <memsize@videotron.ca>
2082Date:   Tue Jan 7 14:00:38 2014 -0500
2083
2084    autoconf: use XORG_DEFAULT_OPTIONS
2085    
2086    XCB has been part of X.Org for a while now. This patch will harmonize the XCB
2087    configuration, using xorg-macros series of macros. It is already used in the
2088    XCB utils packages and is needed to build xcb-proto.
2089    
2090    The XORG_DEFAULT_OPTIONS already includes the statement for the silent
2091    rules.
2092    
2093    The AC_PROG_CC statement is removed so as not to override AC_PROG_CC_C99
2094    in XORG_DEFAULT_OPTIONS. The effective change is that xcb now uses c99 as
2095    requested.
2096    
2097    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
2098    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2099
2100commit e7263931aff3e3450dc938ad465a7577f943549f
2101Author: Peter Harris <pharris@opentext.com>
2102Date:   Tue Jan 14 14:50:55 2014 -0500
2103
2104    Support <pad align="n" />
2105    
2106    Reviewed-By: Ran Benita <ran234@gmail.com>
2107    Signed-off-by: Peter Harris <pharris@opentext.com>
2108
2109commit 3b72a2c9d1d656c74c691a45689e1d637f669e3a
2110Author: Kenneth Graunke <kenneth@whitecape.org>
2111Date:   Fri Jan 3 15:08:33 2014 -0800
2112
2113    Force XCB event structures with 64-bit extended fields to be packed.
2114    
2115    With the advent of the Present extension, some events (such as
2116    PresentCompleteNotify) now use native 64-bit types on the wire.
2117    
2118    For XGE events, we insert an extra "uint32_t full_sequence" field
2119    immediately after the first 32 bytes of data.  Normally, this causes
2120    the subsequent fields to be shifted over by 4 bytes, and the structure
2121    to grow in size by 4 bytes.  Everything works fine.
2122    
2123    However, if event contains 64-bit extended fields, this may result in
2124    the compiler adding an extra 4 bytes of padding so that those fields
2125    remain aligned on 64-bit boundaries.  This causes the structure to grow
2126    by 8 bytes, not 4.  Unfortunately, XCB doesn't realize this, and
2127    always believes that the length only increased by 4.  read_packet()
2128    then fails to malloc enough memory to hold the event, and the event
2129    processing code uses the wrong offsets.
2130    
2131    To fix this, mark any event structures containing 64-bit extended
2132    fields with __attribute__((__packed__)).
2133    
2134    v2: Use any(...) instead of True in (...), as suggested by
2135        Daniel Martin.
2136    
2137    v3 (Alan Coopersmith): Fix build with Solaris Studio 12.3 by moving the
2138    attribute to after the structure definition.
2139    
2140    Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2141    Reviewed-by: Keith Packard <keithp@keithp.com> [v1]
2142    Reviewed-by: Josh Triplett <josh@joshtriplett.org> [v1]
2143    Reviewed-by: Daniel Martin <consume.noise@gmail.com>
2144    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2145
2146commit 010872f611a044ced4e96b18a7514796b2a443df
2147Author: Uli Schlachter <psychon@znc.in>
2148Date:   Sun Dec 22 15:59:24 2013 +0100
2149
2150    Release libxcb 1.10
2151    
2152    Signed-off-by: Uli Schlachter <psychon@znc.in>
2153
2154commit f653464554469b5767f1c99abced25a76bace047
2155Author: Julien Cristau <jcristau@debian.org>
2156Date:   Sat Dec 14 06:16:37 2013 +0100
2157
2158    Add NEWS for 1.10
2159    
2160    Signed-off-by: Julien Cristau <jcristau@debian.org>
2161
2162commit 9c2a6dc20c64ce93e0acd2fceec6d3cab8fc9134
2163Author: Uli Schlachter <psychon@znc.in>
2164Date:   Fri Nov 15 22:33:12 2013 +0100
2165
2166    Add NEWS entries for releases 1.9.1 to 1.9.3
2167    
2168    libxcb 1.9.1 was released from a branch and thus its NEWS entries never made it
2169    into the master branch. The other releases didn't update NEWS.
2170    
2171    Signed-off-by: Uli Schlachter <psychon@znc.in>
2172    Signed-off-by: Julien Cristau <jcristau@debian.org>
2173
2174commit ea4406a8e0193cad8effe569e7835f8b67894e54
2175Author: Julien Cristau <jcristau@debian.org>
2176Date:   Sat Dec 14 05:54:20 2013 +0100
2177
2178    Bump xcb-proto requirement to 1.10
2179    
2180    Makes sure we generate the new generic event struct.
2181    
2182    Signed-off-by: Julien Cristau <jcristau@debian.org>
2183
2184commit a1299eb2a210b5788a2b827b82a3d825caa1f201
2185Author: PHO <pho@cielonegro.org>
2186Date:   Tue Dec 3 12:43:04 2013 +0900
2187
2188    Test the value of msg_controllen for platforms whose CMSG_FIRSTHDR() does not test it for us
2189    
2190    As RFC 2292 points out, some platforms (e.g. Darwin 9.8.0) provide
2191    CMSG_FIRSTHDR(msg) which just returns msg.msg_control without first
2192    checking if msg.msg_controllen is non-zero. We need a workaround for
2193    such platforms not to let _xcb_in_read() segfault.
2194    
2195    https://bugs.freedesktop.org/show_bug.cgi?id=72253
2196    
2197    Signed-off-by: Julien Cristau <jcristau@debian.org>
2198
2199commit b30b11ac49d934541312b03c41d1ab83047a59f4
2200Author: Uli Schlachter <psychon@znc.in>
2201Date:   Mon Nov 18 20:28:08 2013 +0100
2202
2203    Increment the "current" version info for sync, xinput and xkb
2204    
2205    Sync: Due to commit e6a246e50e62cbcba3 "sync: Change value list param of
2206    CreateAlarm and ChangeAlarm into switch", various symbols disappeared,
2207    for example xcb_sync_{change,create}_alarm_sizeof.
2208    
2209    xinput: This extension was updated from version 1.4 to 2.3. This means
2210    that lots of new things are generated. However, this change is
2211    backwards-compatible and thus age gets set to 1.
2212    
2213    xkb: In commit 37d0f55392d6 "xkb: Work around alignment problems in
2214    GetNames and GetMap replies", some padding fields were introduced into
2215    structures for which an _unpack() function is generated. This changed
2216    the size of the struct and caused offsets into this struct to change.
2217    
2218    https://bugs.freedesktop.org/show_bug.cgi?id=71507
2219    
2220    Signed-off-by: Uli Schlachter <psychon@znc.in>
2221    Signed-off-by: Julien Cristau <jcristau@debian.org>
2222
2223commit ce5395eb4611341ba7c243ed524d023a616f73bb
2224Author: Uli Schlachter <psychon@znc.in>
2225Date:   Mon Nov 18 20:30:18 2013 +0100
2226
2227    Revert "Remove xcb_ge_event_t from xcb.h"
2228    
2229    This reverts commit f4d5b84800f960831e4fbb3ad9848bbb701020be.
2230    
2231    The version of this struct that the code generator produces breaks the API,
2232    because it gives the fields different (albeit better) names. Thus, we need to
2233    restore the old version of this struct.
2234    
2235    Additionally to the revert, this struct is documented as being deprecated. The
2236    replacement was added to xcb-proto.
2237    
2238    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71502
2239    Signed-off-by: Uli Schlachter <psychon@znc.in>
2240    Signed-off-by: Julien Cristau <jcristau@debian.org>
2241
2242commit 18f0afab3f0de68114fe185e89d8b25a8c072a2c
2243Author: Daniel Martin <consume.noise@gmail.com>
2244Date:   Fri Nov 22 23:27:28 2013 +0100
2245
2246    c_client.py: Fix _sizeof() functions
2247    
2248    Currently, it is not possible to correctly iterate over the replies of
2249    some requests. For example, the list of XIDeviceInfo returned by
2250    the XIQueryDevice request from xinput2 is read as garbage starting from
2251    the second entry.
2252    
2253    The culprits are the _sizeof() used by the iterators. In the above case:
2254    
2255        int
2256        xcb_input_xi_device_info_sizeof (const void  *_buffer  /**< */)
2257        {
2258            char *xcb_tmp = (char *)_buffer;
2259            [...]
2260            unsigned int xcb_block_len = 0;
2261            [...]
2262    
2263            xcb_block_len += sizeof(xcb_input_xi_device_info_t);
2264            xcb_tmp += xcb_block_len;
2265            /* name */
2266            xcb_block_len += (((_aux->name_len + 3) / 4) * 4) * sizeof(char);
2267            xcb_tmp += xcb_block_len;
2268            [...]
2269        }
2270    
2271    The problem here is that `xcb_block_len` is not zero'd right above the
2272    `/* name */` comment, causing `xcb_tmp` to be incremented by
2273    `sizeof(xcb_input_xi_device_info_t)` twice. The returned size is too
2274    large.
2275    
2276    https://bugs.freedesktop.org/show_bug.cgi?id=68387
2277    
2278    Tested-by: Ran Benita <ran234@gmail.com>
2279    Reviewed-by: Ran Benita <ran234@gmail.com>
2280    Reviewed-by: Daniel Martin <consume.noise@gmail.com>
2281    Signed-off-by: Ran Benita <ran234@gmail.com>
2282    Signed-off-by: Julien Cristau <jcristau@debian.org>
2283
2284commit 5d1dbb468bb0f834eaa8adea6daf6729808ca429
2285Author: Uli Schlachter <psychon@znc.in>
2286Date:   Mon Nov 18 19:49:41 2013 +0100
2287
2288    Revert "fix deadlock with xcb_take_socket/return_socket v3"
2289    
2290    This reverts commit 9ae84ad187e2ba440c40f44b8eb21c82c2fdbf12.
2291    
2292    After this patch was merged, there were complaints about it not being a good
2293    idea. Revert this for now until we can agree on this.
2294    
2295    References: http://lists.freedesktop.org/archives/xcb/2013-June/008340.html
2296    Signed-off-by: Uli Schlachter <psychon@znc.in>
2297    
2298    Conflicts:
2299            src/xcbint.h
2300
2301commit c7c5b710f2cc0782412c9e159986c96b52aa0d02
2302Author: Mark Kettenis <kettenis@openbsd.org>
2303Date:   Mon Nov 11 23:11:56 2013 +0100
2304
2305    Fix alignment issues in FD passing code
2306    
2307    A char array on the stack is not guaranteed to have more than byte alignment.
2308    This means that casting it to a 'struct cmsghdr' and accessing its members
2309    may result in unaligned access.  This will generate SIGBUS on struct
2310    alignment architectures like OpenBSD/sparc64.  The canonical solution is to
2311    use a union to force proper alignment.
2312    
2313    Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
2314    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
2315    Signed-off-by: Uli Schlachter <psychon@znc.in>
2316
2317commit e8663a935890ff366f49e356211049dfd0d9756a
2318Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2319Date:   Thu Nov 7 20:23:27 2013 -0800
2320
2321    Check if we need to define _XOPEN_SOURCE for struct msghdr.msg_control
2322    
2323    Required to expose the structure members in Solaris headers, since it
2324    was an XPG4/UNIX95 addition to the Solaris ABI.
2325    
2326    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2327
2328commit af8067cbf48561f1e2d43e153292e68e0376a8f9
2329Author: Keith Packard <keithp@keithp.com>
2330Date:   Thu Nov 7 17:36:01 2013 -0800
2331
2332    Add configure option to enable or disable fd passing with sendmsg
2333    
2334    --disable-sendfds or --enable-sendfds
2335    
2336    By default, configure auto-detects based on whether your system
2337    supports sendmsg at all.
2338    
2339    Signed-off-by: Keith Packard <keithp@keithp.com>
2340    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2341    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2342
2343commit 83f28ef8655acff746eab64eabe2e31f8cf0c892
2344Author: Keith Packard <keithp@keithp.com>
2345Date:   Thu Nov 7 17:28:45 2013 -0800
2346
2347    Switch to using the CMSG_* macros for FD passing
2348    
2349    Use these instead of computing the values directly so that it might
2350    work on BSD or other non-Linux systems
2351    
2352    Signed-off-by: Keith Packard <keithp@keithp.com>
2353    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2354    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2355
2356commit cca607409068ad0948e7283fb8d0465cabc51686
2357Author: Keith Packard <keithp@keithp.com>
2358Date:   Thu Jul 11 16:01:02 2013 -0700
2359
2360    Add Present extension
2361    
2362    Signed-off-by: Keith Packard <keithp@keithp.com>
2363    Reviewed-By: Uli Schlachter <psychon@znc.in>
2364
2365commit 7a9373078e69b2cb2753570f91e5c31062ba25f8
2366Author: Keith Packard <keithp@keithp.com>
2367Date:   Tue Apr 9 21:35:52 2013 -0700
2368
2369    Add DRI3 library
2370    
2371    Signed-off-by: Keith Packard <keithp@keithp.com>
2372    Reviewed-By: Uli Schlachter <psychon@znc.in>
2373
2374commit 93d733e85ded5e92292d36fc7025f0c8ff7b1167
2375Author: Keith Packard <keithp@keithp.com>
2376Date:   Thu Nov 7 05:20:06 2013 -0800
2377
2378    Require xcb proto version 1.9
2379    
2380    Signed-off-by: Keith Packard <keithp@keithp.com>
2381
2382commit 79019541e7c56ddfc3828b7bf96e6e5d3cf81c56
2383Author: Keith Packard <keithp@keithp.com>
2384Date:   Fri Apr 12 20:15:41 2013 -0700
2385
2386    Add event queue splitting
2387    
2388    This allows apps to peel off certain XGE events into separate queues
2389    for custom handling. Designed to support the Present extension
2390    
2391    Signed-off-by: Keith Packard <keithp@keithp.com>
2392    Reviewed-By: Uli Schlachter <psychon@znc.in>
2393
2394commit 7983bf0fbdc2725403f9db6154d0f5bc944040e5
2395Author: Keith Packard <keithp@keithp.com>
2396Date:   Fri Jan 18 01:29:40 2013 -0800
2397
2398    Add support for receiving fds in replies
2399    
2400    Requests signal which replies will have fds, and the replies report
2401    how many fds they expect in byte 1.
2402    
2403    Signed-off-by: Keith Packard <keithp@keithp.com>
2404    Reviewed-By: Uli Schlachter <psychon@znc.in>
2405
2406commit 7b53fb0f9bddae77b3ab8823743db57faee4e99b
2407Author: Keith Packard <keithp@keithp.com>
2408Date:   Mon Jan 14 11:23:00 2013 -0800
2409
2410    Add xcb_send_fd API
2411    
2412    This uses sendmsg to transmit file descriptors from the application to
2413    the X server
2414    
2415    Signed-off-by: Keith Packard <keithp@keithp.com>
2416    Reviewed-By: Uli Schlachter <psychon@znc.in>
2417
2418commit 98c227a2222fb5c7ca7e8101b1ed2bc096a33048
2419Author: Keith Packard <keithp@keithp.com>
2420Date:   Fri Jan 18 01:28:56 2013 -0800
2421
2422    -pendantic is too pendantic
2423    
2424    Many system headers have warnings when compiled with this flag.
2425    
2426    Signed-off-by: Keith Packard <keithp@keithp.com>
2427    Reviewed-By: Uli Schlachter <psychon@znc.in>
2428
2429commit d04a4a03a90f2721d507287938c90f1755d9da0e
2430Author: Keith Packard <keithp@keithp.com>
2431Date:   Fri Jul 12 10:32:03 2013 -0700
2432
2433    Make protocol C files depend on protocol XML files
2434    
2435    When new XML files get installed, make sure the C files are regenerated
2436    
2437    Signed-off-by: Keith Packard <keithp@keithp.com>
2438    Reviewed-By: Uli Schlachter <psychon@znc.in>
2439
2440commit f4d5b84800f960831e4fbb3ad9848bbb701020be
2441Author: Keith Packard <keithp@keithp.com>
2442Date:   Wed Nov 6 19:33:53 2013 -0800
2443
2444    Remove xcb_ge_event_t from xcb.h
2445    
2446    xcb proto now publishes this structure from an XML description
2447    
2448    Signed-off-by: Keith Packard <keithp@keithp.com>
2449
2450commit e4e0c6eec861f4c69da12060dc8dbe7a63fa5eb6
2451Author: Daphne Pfister <daphnediane@mac.com>
2452Date:   Sat Sep 14 17:36:22 2013 -0400
2453
2454    Use /usr/spool/sockets/X11/ on HP-UX for UNIX sockets (#69118).
2455
2456commit f1405d9fe4a6ddcae24585ba254389a4c4f4c8c9
2457Author: Daphne Pfister <daphnediane@mac.com>
2458Date:   Sun Sep 8 16:25:11 2013 -0400
2459
2460    Fix poll() if POLLIN == ROLLRDNORM|POLLRDBAND
2461    
2462    It seems like POLLIN is specified as equivalent to POLLRDNORM | POLLRDBAND. Some
2463    systems (e.g. QNX and HP-UX) take this literaly and have POLLIN defined as the
2464    above bit combination. Other systems (e.g. Linux) have POLLIN as just a single
2465    bit.
2466    
2467    This means that if no out-of-band data is available (which should never be the
2468    case), the result of poll() will not fulfil (fd.revents & POLLIN) == POLLIN on
2469    QNX, because the POLLRDBAND bit is not set.
2470    
2471    In other words, even though poll() signaled that the fd is readable, xcb would
2472    not read from the file descriptor.
2473    
2474    Fix this by checking if any bits from POLLIN are set in the result of poll(),
2475    instead of all of them.
2476    
2477    (This change was independently done by seanb@qnx.com as well)
2478    
2479    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=38001
2480    Acked-by: Julien Cristau <jcristau@debian.org>
2481    Signed-off-by: Uli Schlachter <psychon@znc.in>
2482
2483commit ac47e0ecdb46aa91b191a59364437a8f65947467
2484Author: Uli Schlachter <psychon@znc.in>
2485Date:   Sun Sep 8 22:16:39 2013 +0200
2486
2487    Fix documentation of xcb_poll_for_event()
2488    
2489    In commit 8eba8690adac2, the API documentation for xcb_poll_for_event() was
2490    fixed to remove an argument that was previously removed in commit 34168ab549.
2491    
2492    However, that commit only removed the first line of the documentation, leaving
2493    behind a spurious half-sentence. That commit happened seven years ago and now
2494    finally someone noticed...
2495    
2496    Thanks to Benjamin Herr for reporting this on IRC.
2497    
2498    v2: Thanks again to Benjamin Herr for noticing that my commit message blamed the
2499    wrong commit.
2500    
2501    Signed-off-by: Uli Schlachter <psychon@znc.in>
2502
2503commit c52f2891b43ae77008f63700982f800371458f4d
2504Author: Daniel Martin <consume.noise@gmail.com>
2505Date:   Sun Aug 11 13:25:18 2013 +0200
2506
2507    tests: Add files to .gitignore
2508    
2509    Add check_all.log, check_all.trs and test-suite.log to tests/.gitignore.
2510    
2511    Signed-off-by: Daniel Martin <consume.noise@gmail.com>
2512
2513commit a8d11c36edf5c49b718664dd7206f36be150f694
2514Author: Daniel Martin <consume.noise@gmail.com>
2515Date:   Thu Jul 25 11:09:26 2013 +0200
2516
2517    Sort gitignore, adjust pattern for config.h
2518    
2519    Don't ignore the files config.h and config.h.in, adjust the pattern to
2520    ignore config.h*. This matches an additional config.h.in~ too.
2521    
2522    Signed-off-by: Daniel Martin <consume.noise@gmail.com>
2523    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2524    Reviewed-by: Uli Schlachter <psychon@znc.in>
2525    Tested-By: Ran Benita <ran234@gmail.com>
2526
2527commit cbe54c97b3f0e4d40e0ee18796f8077cb4a6c16a
2528Author: Daniel Martin <consume.noise@gmail.com>
2529Date:   Thu Jul 25 10:56:30 2013 +0200
2530
2531    Use m4 directory
2532    
2533    - Follow the suggestion by libtoolize:
2534       "Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
2535        rerunning libtoolize, to keep the correct libtool macros in-tree.
2536        Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am."
2537      and add the macro and define.
2538    
2539    - Create the m4 directory and move acinclude.m4 as xcb.m4 there.
2540    
2541    - Ignore the m4 files libtoolize copies into the m4 directory
2542      (m4/l*.m4).
2543    
2544    Signed-off-by: Daniel Martin <consume.noise@gmail.com>
2545    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2546    Reviewed-by: Uli Schlachter <psychon@znc.in>
2547    Tested-By: Ran Benita <ran234@gmail.com>
2548
2549commit 6746ab1549d34a146c8383ed5acdabf0d48c1889
2550Author: Daniel Martin <consume.noise@gmail.com>
2551Date:   Wed Jul 24 14:13:41 2013 +0200
2552
2553    Use build-aux as autom4te cache directory
2554    
2555    Remove the generated directory ./autom4te.cache by reusing ./build-aux
2556    as cache directory.
2557    
2558    Signed-off-by: Daniel Martin <consume.noise@gmail.com>
2559    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2560    Reviewed-by: Uli Schlachter <psychon@znc.in>
2561    Tested-By: Ran Benita <ran234@gmail.com>
2562
2563commit b6d8c8fe61f25e4eb7b43d3d9b1de81a1f0638a3
2564Author: Daniel Martin <consume.noise@gmail.com>
2565Date:   Wed Jul 24 14:08:38 2013 +0200
2566
2567    Set AC_CONFIG_AUX_DIR to build-aux
2568    
2569    Do not clutter the project directory with generated/copied auxiliary
2570    files, save them in ./build-aux.
2571    
2572    Signed-off-by: Daniel Martin <consume.noise@gmail.com>
2573    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2574    Reviewed-by: Uli Schlachter <psychon@znc.in>
2575    Tested-By: Ran Benita <ran234@gmail.com>
2576
2577commit e3b34ad346efcaf0fd28b95e68d99388276802bc
2578Author: Daniel Martin <consume.noise@gmail.com>
2579Date:   Wed Jul 24 19:22:44 2013 +0200
2580
2581    Remove second AC_PREREQ, require version 2.60
2582    
2583    Remove a second AC_PREREQ and bump the required autoconf version to
2584    2.60.
2585    
2586    Version 2.59c was a testing release, published in April 2006. Version
2587    2.60 was the stable release afterwards, released in June 2006.
2588    
2589    Signed-off-by: Daniel Martin <consume.noise@gmail.com>
2590    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2591    Reviewed-by: Uli Schlachter <psychon@znc.in>
2592    Tested-By: Ran Benita <ran234@gmail.com>
2593
2594commit 50fb3a6312dd0b6b613fc886ffd6827952d1e286
2595Author: Daniel Martin <consume.noise@gmail.com>
2596Date:   Wed Jul 24 12:51:04 2013 +0200
2597
2598    Initialize automake earlier (bugfix for #66413)
2599    
2600    This fixes:
2601        https://bugs.freedesktop.org/show_bug.cgi?id=66413
2602        Bug 66413 - libxcb 1.9.1: Fails to build on Arch Linux: \
2603            /home/<user>/install-sh: No such file or directory
2604    
2605    Without that patch the search path for `install-sh` will become $HOME
2606    and the `install` target will fail, when DESTDIR doesn't exist in
2607    advance. (occured with automake 1.14 and autoconf 2.69)
2608    
2609    Initial patch by: Alain Kalker <a.c.kalker@gmail.com>
2610    Signed-off-by: Daniel Martin <consume.noise@gmail.com>
2611    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2612    Reviewed-by: Uli Schlachter <psychon@znc.in>
2613    Tested-By: Ran Benita <ran234@gmail.com>
2614
2615commit dd01db570c34dd3e2e0f5d07b8d40c837fa51057
2616Author: Daniel Martin <consume.noise@gmail.com>
2617Date:   Mon Dec 31 11:57:49 2012 +0100
2618
2619    Make xsltproc optional
2620    
2621    Fix Bug 23863 - xcb still checks for xsltproc:
2622        https://bugs.freedesktop.org/show_bug.cgi?id=23863
2623    
2624    xsltproc is used to generate the optional html page for `check` results,
2625    only. So, it's not a hard build dependency.
2626    
2627    Additionally, use yes/no instead of true/false in the HTML_CHECK_RESULT
2628    variable for consistent output after a configure run.
2629    
2630    Signed-off-by: Daniel Martin <consume.noise@gmail.com>
2631    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
2632
2633commit 0289348f2c4ed3b1b286c51df19d82c6787c2b36
2634Author: Daniel Martin <consume.noise@gmail.com>
2635Date:   Fri Dec 28 23:25:16 2012 +0100
2636
2637    c_client.py: Do not create pointers in unions
2638    
2639    Do not create pointers in unions for fields of variadic length.
2640    
2641    Signed-off-by: Daniel Martin <consume.noise@gmail.com>
2642    Reviewed-by: Ran Benita <ran234@gmail.com>
2643
2644commit b9efd2a09a45616f6238e4da49b8f2127b6ec6d9
2645Author: Daniel Martin <consume.noise@gmail.com>
2646Date:   Wed Jan 9 12:52:15 2013 +0100
2647
2648    c_client.py: Always initialize xcb_align_to
2649    
2650    to get rid of:
2651        warning: 'xcb_align_to' may be used uninitialized in this function
2652    
2653    Signed-off-by: Daniel Martin <consume.noise@gmail.com>
2654    Reviewed-by: Peter Harris <pharris@opentext.com>
2655
2656commit 5648ddd2b97068f549268284129a438a6845e14c
2657Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2658Date:   Sat Aug 3 20:25:23 2013 -0700
2659
2660    Define _xcb_map_new with explicit void arg list instead of empty one
2661    
2662    Fixes Solaris Studio compiler warning:
2663    "xcb_list.c", line 50: warning: old style function definition
2664    
2665    and gcc warning:
2666    xcb_list.c: In function '_xcb_map_new':
2667    xcb_list.c:50:11: warning: old-style function definition [-Wold-style-definition]
2668    
2669    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2670    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
2671
2672commit cb51f271b26c6abc76d415553f202bc5139273ca
2673Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2674Date:   Sat Aug 3 20:22:25 2013 -0700
2675
2676    Enable warnings for pre-C89 style definitions for gcc & Solaris Studio
2677    
2678    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2679    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
2680
2681commit bc6a4f557ff4e497acdafdcebb006e5a7b4c5b11
2682Author: Michael Stapelberg <michael@stapelberg.de>
2683Date:   Mon Aug 5 22:14:18 2013 +0200
2684
2685    Build xcb-xkb by default
2686    
2687    There have not been any big issues with xcb-xkb recently.
2688    
2689    Also, Wayland is using xcb-xkb actively, making distributions compile
2690    libxcb with xkb support anyway, so let’s reflect reality :).
2691    
2692    Reviewed-by: Jamey Sharp <jamey@minilop.net>
2693    Signed-off-by: Daniel Martin <consume.noise@gmail.com>
2694
2695commit 45619dc71e9411a526d7c69595cf615b1b1206cf
2696Author: Daniel Martin <consume.noise@gmail.com>
2697Date:   Sat Jun 8 11:20:39 2013 +0200
2698
2699    c_client.py: Inject full_sequence into GE events
2700    
2701    The generic event structure xcb_ge_event_t has the full_sequence field
2702    at the 32byte boundary. That's why we've to inject this field into GE
2703    events while generating the structure for them. Otherwise we would read
2704    garbage (the internal full_sequence) when accessing normal event fields
2705    there.
2706    
2707    Signed-off-by: Daniel Martin <consume.noise@gmail.com>
2708    Reviewed-by: Keith Packard <keithp@keithp.com>
2709    Signed-off-by: Peter Harris <pharris@opentext.com>
2710
2711commit a1e67b141a57d39cbcaff1a703d6fc0da1fbb56d
2712Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2713Date:   Mon Jul 8 17:54:35 2013 -0700
2714
2715    Fix "indention" typos in xcb-examples.3 man page
2716    
2717    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2718
2719commit 8b6bb1a71977116d382f45eef803aedd3e313d37
2720Author: Marc Deslauriers <marc.deslauriers@canonical.com>
2721Date:   Wed Jun 5 16:38:00 2013 -0400
2722
2723    Update Makefile.am for newer automake
2724    
2725    Debian Bug #710344
2726    
2727    Reviewed-by: Daniel Martin <consume.noise@gmail.com>
2728
2729commit 9ae84ad187e2ba440c40f44b8eb21c82c2fdbf12
2730Author: Christian König <christian.koenig@amd.com>
2731Date:   Wed May 15 11:21:36 2013 +0200
2732
2733    fix deadlock with xcb_take_socket/return_socket v3
2734    
2735    To prevent different threads from stealing the socket from each other the
2736    caller of "xcb_take_socket" must hold a lock that is also acquired in
2737    "return_socket". Unfortunately xcb tries to prevent calling return_socket
2738    from multiple threads and this can lead to a deadlock situation.
2739    
2740    A simple example:
2741    - X11 has taken the socket
2742    - Thread A has locked the display.
2743    - Thread B does xcb_no_operation() and thus ends up in libX11's return_socket(),
2744      waiting for the display lock.
2745    - Thread A calls e.g. xcb_no_operation(), too, ends up in return_socket() and
2746      because socket_moving == 1, ends up waiting for thread B
2747    => Deadlock
2748    
2749    This patch allows calling return_socket from different threads at the same time
2750    an so resolves the deadlock situation.
2751    
2752    Partially fixes: https://bugs.freedesktop.org/show_bug.cgi?id=20708
2753    
2754    v2: fixes additional pthread_cond_wait dependencies,
2755        rework comments and patch description
2756    
2757    v3: separate pthread_cond_wait dependencies and unrelated whitespace
2758        change into their own patch, use unsigned for socket_seq
2759    
2760    Signed-off-by: Christian König <christian.koenig@amd.com>
2761    Signed-off-by: Uli Schlachter <psychon@znc.in>
2762
2763commit 1b33867fa996034deb50819ae54640be501f8d20
2764Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2765Date:   Wed May 1 17:59:31 2013 -0700
2766
2767    integer overflow in read_packet() [CVE-2013-2064]
2768    
2769    Ensure that when calculating the size of the incoming response from the
2770    Xserver, we don't overflow the integer used in the calculations when we
2771    multiply the int32_t length by 4 and add it to the default response size.
2772    
2773    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2774
2775commit e602b653c191e18cbb63db6526aac77c368ed70b
2776Author: Daniel Martin <consume.noise@gmail.com>
2777Date:   Mon May 13 23:33:04 2013 +0200
2778
2779    c_client.py: Handle multiple expr. in a bitcase
2780    
2781    Adopt a change from xcbgen. With that modification the expression in a
2782    bitcase became a list of expressions to support multiple <enumref> in a
2783    <bitcase>.
2784    
2785    Signed-off-by: Daniel Martin <consume.noise@gmail.com>
2786    Signed-off-by: Peter Harris <pharris@opentext.com>
2787
2788commit 6b6044cb8aacdf1b637da7b5dda392f9ff41ed39
2789Author: Christian König <christian.koenig@amd.com>
2790Date:   Wed May 15 11:21:35 2013 +0200
2791
2792    whitespace fix in xcb_take_socket
2793    
2794    Signed-off-by: Christian König <christian.koenig@amd.com>
2795    Signed-off-by: Jamey Sharp <jamey@minilop.net>
2796
2797commit 0dd8f8d26a758bc385e79d9239bf6ef2e3d7bf13
2798Author: Colin Walters <walters@verbum.org>
2799Date:   Wed Jan 4 17:37:06 2012 -0500
2800
2801    autogen.sh: Implement GNOME Build API
2802    
2803    http://people.gnome.org/~walters/docs/build-api.txt
2804    
2805    Signed-off-by: Adam Jackson <ajax@redhat.com>
2806
2807commit 76a2166de9c80b35f987fdc3f3a228bafa0de94e
2808Author: Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
2809Date:   Thu Oct 11 01:14:12 2012 +0200
2810
2811    c_client.py: Fix python-3 invalid except statement
2812    
2813    Replace except statement with a PEP-3110 compliant one. This fixes a regression
2814    introduced by c3deeaf714630531d693a6a902b8dabf791858b1
2815    https://bugs.freedesktop.org/show_bug.cgi?id=55690
2816    
2817    Reviewed-by: Peter Harris <pharris@opentext.com>
2818    Signed-off-by: Uli Schlachter <psychon@znc.in>
2819
2820commit 9db4517c87f56bb0ac82b647a08db30850ee2b04
2821Author: Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
2822Date:   Thu Oct 11 01:14:11 2012 +0200
2823
2824    c-client.py: Fix python-3 AttributeError: 'dict' object has no attribute 'iteritems'
2825    
2826    This fixes a regression introduced by ea71d7d7e3f5d8189b80747678e9ca9a417b1d37
2827    https://bugs.freedesktop.org/show_bug.cgi?id=55690
2828    
2829    Reviewed-by: Peter Harris <pharris@opentext.com>
2830    Signed-off-by: Uli Schlachter <psychon@znc.in>
2831
2832commit 4ffe54f69049e6792a35a287fd9ff83abbd4fd8d
2833Author: Uli Schlachter <psychon@znc.in>
2834Date:   Fri Oct 5 14:53:37 2012 +0200
2835
2836    Release libxcb 1.9
2837    
2838    Signed-off-by: Uli Schlachter <psychon@znc.in>
2839
2840commit 4f52f884f42b72087f3323f2bab204223664a488
2841Author: Uli Schlachter <psychon@znc.in>
2842Date:   Fri Oct 5 11:23:26 2012 +0200
2843
2844    Include static man pages in "make dist"
2845    
2846    This was found by distcheck. It tried to install src/man/xcb-examples.3 and
2847    src/man/xcb-requests.3, but those files weren't in the distribution.
2848    
2849    Fix this by explicitly telling automake to distribute those files.
2850    
2851    Signed-off-by: Uli Schlachter <psychon@znc.in>
2852
2853commit 23911a707b8845bff52cd7853fc5d59fb0823cef
2854Author: Uli Schlachter <psychon@znc.in>
2855Date:   Mon Sep 24 22:07:51 2012 +0200
2856
2857    Fix a multi-thread deadlock
2858    
2859    This fixes a deadlock which was seen in-the-wild with wine.
2860    
2861    It could happen that two threads tried to read from the socket at the same time
2862    and one of the thread got stuck inside of poll()/select().
2863    
2864    The fix works by making sure that the writing thread doesn't steal the reading
2865    thread's reply.
2866    
2867    Debugged-by: Erich Hoover <ehoover@mines.edu>
2868    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54671
2869    Signed-off-by: Uli Schlachter <psychon@znc.in>
2870
2871commit c16cc5467eb0af7c5cdee16e6efaee54eb53bba6
2872Author: Uli Schlachter <psychon@znc.in>
2873Date:   Mon Sep 24 22:07:30 2012 +0200
2874
2875    Add a .gitignore for src/man/
2876    
2877    Signed-off-by: Uli Schlachter <psychon@znc.in>
2878
2879commit 08cc068ead7b8e678cdb119b38ada5261d5cc3ea
2880Author: Peter Harris <pharris@opentext.com>
2881Date:   Thu Aug 16 11:59:14 2012 -0400
2882
2883    Allow xcb_send_request with >MAX_IOV iovecs
2884    
2885    This allows an application to do a scatter/gather operation on a large
2886    image buffer to avoid the extra memcpy.
2887    
2888    Use autoconf to use UIO_MAXIOV where IOV_MAX is not available (and the
2889    POSIX minimum of 16 where neither are available).
2890    
2891    Reviewed-by: Uli Schlachter <psychon@znc.in>
2892    Signed-off-by: Peter Harris <pharris@opentext.com>
2893
2894commit ff53285ae3f604e9f2cc5f4837255220459b5e44
2895Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2896Date:   Sat Aug 25 13:53:37 2012 -0700
2897
2898    Return connection failure if display string specifies non-existent screen
2899    
2900    Matches the behaviour of Xlib - if you set DISPLAY to :0.1 but only have
2901    one screen, closes connection and returns error.
2902    
2903    This introduces a new connection error code:
2904    XCB_CONN_CLOSED_INVALID_SCREEN
2905    
2906    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2907    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2908    Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2909    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
2910
2911commit 90889794ad882a6847bcffe52c4cc5dfd168f1f4
2912Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2913Date:   Fri Aug 24 23:35:41 2012 -0700
2914
2915    Add AC_USE_SYSTEM_EXTENSIONS to allow use of more system functionality
2916    
2917    Copied from libX11 configure.ac
2918    
2919    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2920
2921commit b52790e8ed4bb077eabdeca803935d2910558acc
2922Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2923Date:   Fri Aug 24 23:32:32 2012 -0700
2924
2925    Always include "config.h" at the start of all C source files.
2926    
2927    Allows configure to set defines such as _POSIX_SOURCE in config.h
2928    that affect functions exposed by system headers and get consistent
2929    results across all the source files.
2930    
2931    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2932
2933commit ed93a6a2a8e23f12380709de6e04b2d833df7e71
2934Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2935Date:   Sat Aug 25 12:33:35 2012 -0700
2936
2937    Fix "sppported" typo in doxygen comment for XCB_CONN_CLOSED_EXT_NOTSUPPORTED
2938    
2939    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2940
2941commit c3deeaf714630531d693a6a902b8dabf791858b1
2942Author: Colin Walters <walters@verbum.org>
2943Date:   Mon Aug 13 15:32:31 2012 -0400
2944
2945    c_client: Fix parallel-make issue creating 'man' directory
2946    
2947    With make -j, it was possible to hit a race condition in the code to
2948    make the 'man' directory.
2949    
2950    Signed-off-by: Julien Danjou <julien@danjou.info>
2951
2952commit 5f8f2ba1c4f9ac74c8f301dcca8566e296e37995
2953Author: Jeremy Huddleston <jeremyhu@apple.com>
2954Date:   Sat Apr 21 22:42:51 2012 -0700
2955
2956    xcb_connect: launchd: Don't fall back on tcp if $DISPLAY is a path to a launchd socket
2957    
2958    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2959
2960commit 71a295082e07ff20d4c4cc97feed03b94cceb251
2961Author: Julien Danjou <julien@danjou.info>
2962Date:   Tue Mar 27 12:10:59 2012 +0200
2963
2964    Move static man to man
2965    
2966    Signed-off-by: Julien Danjou <julien@danjou.info>
2967
2968commit df217bf7c930d4433c991d86f857ecf63cc2d25a
2969Author: Julien Danjou <julien@danjou.info>
2970Date:   Tue Mar 27 12:10:15 2012 +0200
2971
2972    Do not list manpages, use a wildcard
2973    
2974    Signed-off-by: Julien Danjou <julien@danjou.info>
2975
2976commit a4417b1611f0bf02b81b54be90ef3353010da10a
2977Author: Julien Danjou <julien@danjou.info>
2978Date:   Tue Mar 27 12:06:54 2012 +0200
2979
2980    Split manpage list in two (static/built)
2981    
2982    Signed-off-by: Julien Danjou <julien@danjou.info>
2983
2984commit cc7fab2d5e912629d4a2a6adfb7666dc2ba45db2
2985Author: Julien Danjou <julien@danjou.info>
2986Date:   Mon Mar 26 18:29:35 2012 +0200
2987
2988    Allow undocumented code to be built
2989    
2990    Signed-off-by: Julien Danjou <julien@danjou.info>
2991
2992commit ea71d7d7e3f5d8189b80747678e9ca9a417b1d37
2993Author: Michael Stapelberg <michael@stapelberg.de>
2994Date:   Sun Nov 27 10:38:26 2011 +0000
2995
2996    c_client.py: generate manpages
2997    
2998    Signed-off-by: Julien Danjou <julien@danjou.info>
2999
3000commit 57a62e99b1241d5a0e6cf0b72f52090862a9c07d
3001Author: Julien Danjou <julien@danjou.info>
3002Date:   Fri Mar 9 15:38:56 2012 +0100
3003
3004    Release libxcb 1.8.1
3005    
3006    Signed-off-by: Julien Danjou <julien@danjou.info>
3007
3008commit 236f914ea7205f5f74e87fcc1b06d87bd0789a7a
3009Author: Uli Schlachter <psychon@znc.in>
3010Date:   Thu Mar 1 20:26:39 2012 +0100
3011
3012    Fix a busy loop on BSD and Mac OS
3013    
3014    On FreeBSD MSG_WAITALL on a non-blocking socket fails immediately if less bytes
3015    than were asked for are available. This is different than the behavior on linux
3016    where as many bytes as are available are returned in this case. Other OS
3017    apparently follow the FreeBSD behavior.
3018    
3019    _xcb_in_read() is used to fill xcb's read buffer, thus this function will call
3020    recv() with a big length argument (xcb's read buffer is by default 16 KiB
3021    large). That many bytes are highly unlikely to be available in the kernel
3022    buffer.
3023    
3024    This means that _xcb_in_read() always failed on FreeBSD. Since the socket was
3025    still signaled as readable by poll(), this bug even resulted in a busy loop.
3026    
3027    The same issue is present in read_block(), but here it is slightly different.
3028    read_block() is called when we read the first few bytes of an event or a reply,
3029    so that we already know its length. This means that we should be able to use
3030    MSG_WAITALL here, because we know how many bytes there have to be.
3031    
3032    However, that function could busy loop, too, when only the first few bytes of
3033    the packet were sent while the rest is stuck somewhere on the way to us. Thus,
3034    MSG_WAITALL should be removed here, too.
3035    
3036    Thanks to Christoph Egger from Debian for noticing the problem, doing all the
3037    necessary debugging and figuring out what the problem was! This patch is 99%
3038    from debian. Thanks for all the work.
3039    
3040    This bug was introduced in commit 2dcf8b025be88a25d4333abdc28d425b88238d96.
3041    
3042    This commit also reverts commit 9061ee45b8dbe5431c23e3f628089d703ccad0b1.
3043    
3044    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=45776
3045    
3046    Signed-off-by: Uli Schlachter <psychon@znc.in>
3047    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
3048
3049commit 9061ee45b8dbe5431c23e3f628089d703ccad0b1
3050Author: Jeremy Huddleston <jeremyhu@apple.com>
3051Date:   Thu Mar 8 00:50:13 2012 -0800
3052
3053    darwin: Use read(2) rather than recv(2)
3054    
3055    2dcf8b025be88a25d4333abdc28d425b88238d96 was causing some regressions on
3056    darwin, so go back to using read(2) there until I have time to investigate
3057    further.
3058    
3059    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
3060
3061commit 7d235c62f0d5bd0df1236cc52141c10c5d272a18
3062Author: Julien Cristau <jcristau@debian.org>
3063Date:   Sun Feb 19 13:43:54 2012 +0100
3064
3065    Fallback to TCP if no protocol is specified and the UNIX connection fails
3066    
3067    Signed-off-by: Julien Cristau <jcristau@debian.org>
3068    Signed-off-by: Jamey Sharp <jamey@minilop.net>
3069
3070commit f7bd139616d228b20eeb2c96b85e4093606c93fc
3071Author: Arnaud Fontaine <arnau@debian.org>
3072Date:   Wed Jan 25 17:18:20 2012 +0900
3073
3074    Add xkb_internals and xkb_issues to EXTRA_DIST.
3075
3076commit 68d30adde982f1be33a934707fa105c0db6f7f8f
3077Author: Jon TURNEY <jon.turney@dronecode.org.uk>
3078Date:   Tue Jan 17 20:59:56 2012 +0000
3079
3080    Update use of error_connection under WIN32 to _xcb_conn_ret_error()
3081    
3082    Unfortunately, commit 31b57676 adding WSACleanup/WSAShutdown on Win32 adds a new use
3083    of error_connection, which was removed in commit 769acff0, applied 5 minutes earlier.
3084    
3085    src/xcb_util.c: In function 'xcb_connect_to_display_with_auth_info':
3086    src/xcb_util.c:433:39: error: 'error_connection' undeclared (first use in this function)
3087    
3088    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
3089    Reviewed-by: Arvind Umrao <arvind.umrao@oracle.com>
3090    Signed-off-by: Uli Schlachter <psychon@znc.in>
3091
3092commit 87b7bf875e0105924ae306e90ca79512d6c0cf47
3093Author: Jon TURNEY <jon.turney@dronecode.org.uk>
3094Date:   Wed Jan 18 14:11:07 2012 +0000
3095
3096    Fix build of xcb_auth.c with XDMCP on WIN32
3097    
3098    Fix a redefinition problem which shows up when building for _WIN32 and
3099    libXdmcp is installed, so HASXDMAUTH is enabled
3100    
3101    It seems this is a special place in xcb as it uses other X11 library headers here
3102    
3103    If HASXDMAUTH is defined, include the wrapped windows.h before any header which
3104    includes it unwrapped, to avoid conflicts with types defined in X headers
3105    
3106    We need to include config.h and check HASXDMAUTH to avoid an unconditional dependency
3107    on x11proto headers
3108    
3109    In file included from install/include/X11/Xdmcp.h:19:0,
3110                     from git/xcb/libxcb/src/xcb_auth.c:52:
3111    install/include/X11/Xmd.h:120:14: error: conflicting types for 'INT32'
3112    /usr/i686-pc-mingw32/sys-root/mingw/include/basetsd.h:54:13: note: previous declaration of 'INT32' was here
3113    install/include/X11/Xmd.h:143:15: error: conflicting types for 'BOOL'
3114    /usr/i686-pc-mingw32/sys-root/mingw/include/windef.h:234:17: note: previous declaration of 'BOOL' was here
3115    
3116    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
3117    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
3118
3119commit 6db1a2686f0f073438d36f5fa0f97b787842b0f2
3120Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
3121Date:   Tue Jan 17 23:55:23 2012 -0800
3122
3123    Revert "Fix include order with Xdmcp on WIN32"
3124    
3125    This reverts commit 0e9246def562be97cc816f824f702233a826ec56.
3126    
3127    This change caused build failures because <X11/Xdmcp.h> was never
3128    included under any circumstance.  This is because the check for
3129    HASXDMAUTH was moved before the inclusion of config.h (via xcbint.h)
3130    which defined it.
3131    
3132    Found-by: Tinderbox
3133    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
3134    Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
3135
3136commit da1d15082baab844a3b9b2d5cc48620af0b806ec
3137Author: Julien Danjou <julien@danjou.info>
3138Date:   Thu Jan 12 10:25:07 2012 +0100
3139
3140    Bump xcb-proto requirement
3141    
3142    We are now unable to build xcb-proto before 1.7.
3143    
3144    Signed-off-by: Julien Danjou <julien@danjou.info>
3145
3146commit b95b33e8c04c90c2240df19acea0c841d6e3450b
3147Author: Julien Danjou <julien@danjou.info>
3148Date:   Wed Jan 11 18:27:38 2012 +0100
3149
3150    Release libxcb 1.8
3151    
3152    Signed-off-by: Julien Danjou <julien@danjou.info>
3153
3154commit 31b57676e8d7ab6048dbfb145187833fac5e478c
3155Author: Ryan Pavlik <rpavlik@iastate.edu>
3156Date:   Wed Jan 11 18:06:50 2012 +0100
3157
3158    Use WSAStartup()/WSACleanup() on WIN32
3159    
3160    The alternative is to use these in every WIN32 application which uses xcb. Doing
3161    it this way should be safe, as, according to MSDN, "There must be a call to
3162    WSACleanup for each successful call to WSAStartup. Only the final WSACleanup
3163    function call performs the actual cleanup. The preceding calls simply decrement
3164    an internal reference count"
3165    
3166    (We should probably also include ws2_32 in Libs.private for libxcb, as anything
3167    which links with libxcb will also need that, but there seems to be some pkg-config
3168    issues to resolve first...)
3169    
3170    v2: Check for errors so WSAStartup()/WSACleanup() uses are balanced
3171    v3: Use same indentation style as surrounding code
3172    
3173    Reviewed-by: Peter Harris <pharris@opentext.com>
3174    Signed-off-by: Julien Danjou <julien@danjou.info>
3175
3176commit 0e9246def562be97cc816f824f702233a826ec56
3177Author: Ryan Pavlik <rpavlik@iastate.edu>
3178Date:   Thu Jan 5 20:57:53 2012 +0000
3179
3180    Fix include order with Xdmcp on WIN32
3181    
3182    Fix a redefinition problem due to include order which shows up when
3183    building for _WIN32 and libXdmcp is installed, so HASXDMAUTH is enabled
3184    
3185    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
3186    Reviewed-by: Peter Harris <pharris@opentext.com>
3187    Signed-off-by: Julien Danjou <julien@danjou.info>
3188
3189commit 4aa7a2c849a9536febb2dc7773e06c12a69c5213
3190Author: Jon TURNEY <jon.turney@dronecode.org.uk>
3191Date:   Thu Jan 5 20:57:52 2012 +0000
3192
3193    Fix WIN32 compilation after commit 163c47bdc0d32785d831e4c93fea9ab7e023446b
3194    
3195    WIN32 does not have arpa/inet.h, so do not try to include it unless _WIN32 is
3196    not defined
3197    
3198    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
3199    Reviewed-by: Peter Harris <pharris@opentext.com>
3200    Signed-off-by: Julien Danjou <julien@danjou.info>
3201
3202commit 769acff0da8b9859ebdf052dce80045465c7598c
3203Author: Arvind Umrao <arvind.umrao@oracle.com>
3204Date:   Fri Nov 4 15:42:05 2011 +0530
3205
3206    Added more error states and removed global error_connection
3207    
3208    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=41443
3209    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=42304
3210    
3211    I have added more xcb connection error states at xcb.h header.
3212    Also I have removed global error_connection variable, and added
3213    an interface that returns connection error state.
3214    
3215    TBD:
3216    I will segregate errors states in a separate header file and try to
3217    provide more precise error states, in future. Also I will give patch
3218    for libX11, in that patch xcb_connection_t::has_error will be passed
3219    to default io handler of libX11. This value can then be used for
3220    displaying error messages.
3221    
3222    Reviewed-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
3223    Reviewed-by: Uli Schlachter <psychon@znc.in>
3224    Signed-off-by: Arvind Umrao <arvind.umrao@oracle.com>
3225
3226commit 9b4d6f30a339e2d18ebaea98149da81aba453216
3227Author: Keith Packard <keithp@keithp.com>
3228Date:   Thu Dec 1 10:28:51 2011 +0000
3229
3230    Make xcb_take_socket keep flushing until idle
3231    
3232    _xcb_out_flush_to will drop the iolock in pthread_cond_wait allowing
3233    other threads to queue new requests. When this happened,
3234    there would be requests queued for the socket after _xcb_out_flush_to
3235    returned, and xcb_take_socket would throw an assert.
3236    
3237    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=29875
3238    Signed-off-by: Keith Packard <keithp@keithp.com>
3239    Signed-off-by: Julien Danjou <julien@danjou.info>
3240
3241commit 5ceeaaa4294201b3f613c07f9ec610c0e5f673c7
3242Author: Uli Schlachter <psychon@znc.in>
3243Date:   Thu Aug 25 14:18:16 2011 +0200
3244
3245    Fix a dead-lock due to xcb_poll_for_reply
3246    
3247    Imagine two threads:
3248    
3249    Thread#1: for(;;) { xcb_get_input_focus_reply(c, xcb_get_input_focus(c), 0); }
3250    
3251    Thread#2: for(;;) { xcb_poll_for_event(c); }
3252    
3253    Since xcb_poll_for_event() calls _xcb_in_read() directly without synchronizing
3254    with any other readers, this causes two threads to end up calling recv() at the
3255    same time. We now have a race because any of these two threads could get read
3256    the GetInputFocus reply.
3257    
3258    If thread#2 reads this reply, it will be put in the appropriate queue and
3259    thread#1 will still be stuck in recv(), although its reply was already received.
3260    If no other reply or event causes this thread to wake up, the process deadlocks.
3261    
3262    To fix this, we have to make sure that there is only ever one thread reading
3263    from the connection. The obvious solution is to check in poll_for_next_event()
3264    if another thread is already reading (in which case c->in.reading != 0) and not
3265    to read from the wire in this case.
3266    
3267    This solution is actually correct if we assume that the other thread is blocked
3268    in poll() which means there isn't any data which can be read. Since we already
3269    checked that there is no event in the queue this means that
3270    poll_for_next_event() didn't find any event to return.
3271    
3272    There might be a small race here where the other thread already determined that
3273    there is data to read, but it still has to wait for c->iolock. However, this
3274    means that the next poll_for_next_event() will be able to read the event, so
3275    this shouldn't cause any problems.
3276    
3277    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=40372
3278    
3279    Signed-off-by: Uli Schlachter <psychon@znc.in>
3280    Signed-off-by: Peter Harris <pharris@opentext.com>
3281
3282commit b12038e9ae5343c4176f11d68c963c752bc35c03
3283Author: Jamey Sharp <jamey@minilop.net>
3284Date:   Wed Aug 24 08:52:02 2011 -0700
3285
3286    Keep ALIGNOF definition out of the public namespace.
3287    
3288    Uli's patch is an excellent solution; I just want to keep the new
3289    ALIGNOF macro hidden from XCB's users, as they don't need it to call
3290    XCB.
3291    
3292    Signed-off-by: Jamey Sharp <jamey@minilop.net>
3293
3294commit 163c47bdc0d32785d831e4c93fea9ab7e023446b
3295Author: Markus Duft <mduft@gentoo.org>
3296Date:   Wed Aug 24 10:49:06 2011 -0400
3297
3298    Support pre-IPv6 systems (without getaddrinfo)
3299    
3300    Some of these systems (eg. Interix on XP) are still in use.
3301    
3302    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
3303    Signed-off-by: Peter Harris <pharris@opentext.com>
3304
3305commit aa02096b8e7f94ad3c998a8d5af54963ee860b13
3306Author: Uli Schlachter <psychon@znc.in>
3307Date:   Wed Aug 24 12:47:16 2011 +0200
3308
3309    Compute alignment correctly
3310    
3311    The code previously assumed that everything has to be aligned to a 4 byte
3312    boundary. This assumption is wrong as e.g. the STR struct from xproto shows.
3313    
3314    Instead, each type has to be aligned to its natural alignment. So a char doesn't
3315    need any alignment, a INT16 gets aligned to a 2-byte-boundary and a INT32 gets
3316    the old 4 byte alignment.
3317    
3318    I'm not 100% sure that this commit is correct, but some quick tests with awesome
3319    and cairo-xcb went well.
3320    
3321    This commit causes lots of dead assignments to xcb_align_to since only the last
3322    field's alignment is actually used, but this simplified this patch a lot.
3323    
3324    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=34037
3325    
3326    Signed-off-by: Uli Schlachter <psychon@znc.in>
3327    Signed-off-by: Peter Harris <pharris@opentext.com>
3328
3329commit 4f25ee16443b29e1a25bd26a724e1e0a577e21ff
3330Author: Michael Stapelberg <michael@stapelberg.de>
3331Date:   Thu Aug 18 21:38:28 2011 +0200
3332
3333    Drop AI_ADDRCONFIG when resolving TCP addresses
3334    
3335    When a system is completely offline (no interface has an IP address but 'lo'),
3336    xcb could not connect to localhost via TCP, e.g. connections with
3337    DISPLAY=127.0.0.1:0 fail.
3338    
3339    AI_ADDRCONFIG will only return IPv4 addresses if the system has an IPv4
3340    address configured (likewise for IPv6). This also takes place when
3341    resolving localhost (or 127.0.0.0/8 or ::1). Also, as per RFC 3493,
3342    loopback addresses are not considered as valid addresses when
3343    determining whether to return IPv4 or IPv6 addresses.
3344    
3345    As per mailing-list discussion on the xcb list started with message
3346    20110813215405.5818a0c1@x200, the AI_ADDRCONFIG flag is there for historical
3347    reasons:
3348    
3349        In the old days, the "default on-link" assumption in IPv6 made the flag vey
3350        much indispensable for dual-stack hosts on IPv4-only networks. Without it,
3351        there would be long timeouts trying non-existent IPv6 connectivity. Nowadays,
3352        this assumption has been flagged as historic bad practice by IETF, and hosts
3353        should have been updated to not make it anymore.
3354    
3355        Then AI_ADDRCONFIG became mostly cosmetic: it avoids phony "Protocol family
3356        not supported" or "Host unreachable" errors while trying to connect to a dual-
3357        stack mode from a host with no support for source address selection.
3358    
3359        Nowadays, on up-to-date systems, this flag is completely useless. Then again,
3360        I understood only the very latest MacOS release is "up-to-date" with this
3361        definition.
3362
3363commit 662ad589c5d6f03757ae57a926d3800bfb528b30
3364Author: James Jones <jajones@nvidia.com>
3365Date:   Wed May 11 23:22:22 2011 -0700
3366
3367    Insert, not append explicit xcbgen dir python path
3368    
3369    If a the path to the xcb python generate libs is
3370    explicitly specified to c_client.py, insert it in
3371    the python path list just after the local dir entry,
3372    rather than appending it to the existing paths.
3373    This keeps a global/distro install of xcb from
3374    overriding a local build of the xcb proto files.
3375    
3376    Signed-off-by: James Jones <jajones@nvidia.com>
3377    Signed-off-by: Jamey Sharp <jamey@minilop.net>
3378
3379commit 294c9f455c3534d836b010dacd2e7aa62a7dde9d
3380Author: David Coles <dcoles@gaikai.com>
3381Date:   Fri Apr 8 17:47:05 2011 -0700
3382
3383    Add support for building with Python 3
3384    
3385    Python 3 introduces some language changes that cause issues when running
3386    c_client.py. This also breaks compatibility with Python 2.5 since it does not
3387    support the "as" statement in try/except blocks and does not have reduce() in
3388    the functools package.
3389    
3390    The main changes are:
3391    * try/except blocks require `except ... as ...:` to resolve syntactical ambiguity
3392    * map() and filter() return iterators rather than lists in Python 3
3393    * reduce() is now in functools package (and not built-in in Python 3)
3394    * Dictionaries don't have a has_key() method in Python 3
3395    * None and int types can't be directly compared in Python 3
3396    * print() is a statement in Python 3
3397    
3398    See http://diveintopython3.org/porting-code-to-python-3-with-2to3.html and
3399    PEP-3110 for details.
3400    
3401    Verified on Python 2.6.5 and 3.1.3.
3402    
3403    Signed-off-by: David Coles <dcoles@gaikai.com>
3404    Signed-off-by: Julien Danjou <julien@danjou.info>
3405
3406commit e300ee4920bf4618f58618f3063b362f811154c1
3407Author: Jamey Sharp <jamey@minilop.net>
3408Date:   Tue Apr 12 13:09:23 2011 -0700
3409
3410    Revert "Introduce xcb_wait_for_event_until, for consuming responses in wire-order."
3411    
3412    This function was intended to allow libX11 to fix a multi-threaded hang,
3413    but the corresponding libX11 patch caused single-threaded apps to spin
3414    sometimes. Since I've retracted that patch, this patch has no users and
3415    shouldn't go into a release unless/until that changes.
3416    
3417    This reverts commit 2415c11dec5e5adb0c17f98aa52fbb371a4f8f23.
3418    
3419    Conflicts:
3420    
3421            src/xcb.h
3422            src/xcb_in.c
3423    
3424    Signed-off-by: Jamey Sharp <jamey@minilop.net>
3425
3426commit 527df3c84bd71113cedc7f55089c02d1c099ecad
3427Author: Rami Ylimäki <rami.ylimaki@vincit.fi>
3428Date:   Tue Mar 22 14:33:23 2011 +0200
3429
3430    Introduce a variant of xcb_poll_for_event for examining event queue.
3431    
3432    In some circumstances using xcb_poll_for_event is suboptimal because
3433    it checks the connection for new events. This may lead to a lot of
3434    failed nonblocking read system calls.
3435    
3436    Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
3437    Signed-off-by: Jamey Sharp <jamey@minilop.net>
3438
3439commit b64cd0df884e7901ff13def0272df74962035920
3440Author: Alan Coopersmith <alan.coopersmith@oracle.com>
3441Date:   Mon Apr 4 21:36:47 2011 -0700
3442
3443    If protocol is "unix", use a Unix domain socket, not TCP
3444    
3445    Fixes fallback to local connections from Xlib's XOpenDisplay(), which
3446    will try with protocol "unix" if a hostname is specified and tcp fails
3447    (as it usually will now that most OS'es ship with -nolisten tcp enabled).
3448    
3449    Also fixes explicitly specifying DISPLAY as "unix/foo:0", which Xlib
3450    previously accepted for Unix domain sockets.
3451    
3452    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3453
3454commit b027922ebf1931885e00629c20e26f14f184998d
3455Author: Alan Coopersmith <alan.coopersmith@oracle.com>
3456Date:   Mon Apr 4 21:28:00 2011 -0700
3457
3458    Make launchd code in xcb_util.c match surrounding code indent levels
3459    
3460    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3461
3462commit 82b1f3919a82a730f6b2f952d4090fe15702694e
3463Author: Carlos Garnacho <carlosg@gnome.org>
3464Date:   Tue Oct 5 18:03:22 2010 +0200
3465
3466    Handle XGE events with the "send event" flag
3467    
3468    This patch is necessary so xcb reads the payload after the message
3469    for GenericEvents with the 0x80 flag turned on.
3470    
3471    Signed-off-by: Carlos Garnacho <carlosg@gnome.org>
3472    Signed-off-by: Jamey Sharp <jamey@minilop.net>
3473
3474commit 42c4adeff4a6aedfba30e22f71800c1b73942923
3475Author: Alan Coopersmith <alan.coopersmith@oracle.com>
3476Date:   Mon Apr 4 20:20:16 2011 -0700
3477
3478    Add #include <sys/socket.h> to xcb_conn.c
3479    
3480    Solves compiler warning on Solaris:
3481    "xcb_conn.c", line 304: warning: implicit function declaration: shutdown
3482    
3483    Also provides system definition of SHUT_RDWR on Solaris 11.
3484    
3485    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3486    Reviewed-by: Jamey Sharp <jamey@minilop.net>
3487
3488commit 4b502dd696cf7f59a961bcf71c9255ae28f0765a
3489Author: Alan Coopersmith <alan.coopersmith@oracle.com>
3490Date:   Mon Apr 4 20:12:56 2011 -0700
3491
3492    Remove unused DECnet code
3493    
3494    "unifdef -UDNETCONN src/xcb_util.c" plus re-indenting code that was
3495    formerly in the else clause after a DECnet check.
3496    
3497    DECnet support has been removed from most of the X.Org code base for
3498    several years, and it appears DNETCONN was never defined in XCB.
3499    
3500    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3501    Reviewed-by: Jamey Sharp <jamey@minilop.net>
3502
3503commit 7131d5d0706f2b63caad13c815e893627872114c
3504Author: Alan Coopersmith <alan.coopersmith@oracle.com>
3505Date:   Mon Apr 4 16:32:45 2011 -0700
3506
3507    Use special path to sockets when running under Solaris Trusted Extensions
3508    
3509    Solaris Trusted Extensions puts the endpoints for the X server's Unix
3510    domain sockets in a special directory shared from the global zone to
3511    each of the labeled zones, since each labeled zone has a separate /tmp.
3512    
3513    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3514    Reviewed-by: Peter Harris <pharris@opentext.com>
3515
3516commit 70976d87f18d15c2ccc28eb7728e4822d3849e0d
3517Author: Rami Ylimäki <rami.ylimaki@vincit.fi>
3518Date:   Wed Mar 23 17:47:50 2011 +0200
3519
3520    Prevent theoretical double free and leak on get_peer_sock_name.
3521    
3522    Variable new_sockname will leak and sockname will be double freed if
3523    both of the cases shown below are true.
3524    
3525    1. realloc succeeds and doesn't return the original pointer
3526    2. calling socket_func fails
3527    
3528    Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
3529    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
3530    Reviewed-by: Arnaud Fontaine <arnau@debian.org>
3531    Signed-off-by: Peter Harris <pharris@opentext.com>
3532
3533commit 3678159e4ed64502f9ce218a63c8d069649f2215
3534Author: Jamey Sharp <jamey@minilop.net>
3535Date:   Sat Mar 19 20:04:55 2011 -0700
3536
3537    Delete the old c-client.xsl.
3538    
3539    It hasn't been used since libxcb 1.1.90.1, released in 2008.
3540    
3541    Signed-off-by: Jamey Sharp <jamey@minilop.net>
3542
3543commit 2415c11dec5e5adb0c17f98aa52fbb371a4f8f23
3544Author: Jamey Sharp <jamey@minilop.net>
3545Date:   Fri Mar 18 20:56:07 2011 -0700
3546
3547    Introduce xcb_wait_for_event_until, for consuming responses in wire-order.
3548    
3549    Signed-off-by: Jamey Sharp <jamey@minilop.net>
3550    Reviewed-by: Josh Triplett <josh@freedesktop.org>
3551
3552commit 29a974f212aae9eeff4fde99f110cee08f0312f3
3553Author: Jamey Sharp <jamey@minilop.net>
3554Date:   Fri Mar 18 17:36:32 2011 -0700
3555
3556    Dequeue readers that can't receive any new responses.
3557    
3558    Signed-off-by: Jamey Sharp <jamey@minilop.net>
3559    Reviewed-by: Josh Triplett <josh@freedesktop.org>
3560
3561commit 131e867fca5cda94e634af69214ad54e066ac871
3562Author: Jamey Sharp <jamey@minilop.net>
3563Date:   Fri Mar 18 15:37:34 2011 -0700
3564
3565    Factor reader_list management out of wait_for_reply.
3566    
3567    Later patches will insert reader_list entries from other entry points.
3568    
3569    Signed-off-by: Jamey Sharp <jamey@minilop.net>
3570    Reviewed-by: Josh Triplett <josh@freedesktop.org>
3571
3572commit 1469e879655b20351530059538a7b89612028ae2
3573Author: Jamey Sharp <jamey@minilop.net>
3574Date:   Fri Mar 18 18:18:41 2011 -0700
3575
3576    Enable AM_SILENT_RULES on automake 1.11 or newer.
3577    
3578    This incantation is supposed to be a no-op on earlier automake versions.
3579    
3580    Signed-off-by: Jamey Sharp <jamey@minilop.net>
3581    Reviewed-by: Josh Triplett <josh@freedesktop.org>
3582
3583commit 6310475e23eac6917db54f1425e20d8434bee679
3584Author: Rami Ylimäki <rami.ylimaki@vincit.fi>
3585Date:   Wed Oct 13 17:48:13 2010 +0300
3586
3587    Prevent reply waiters from being blocked.
3588    
3589    It's possible to call xcb_wait_for_reply more than once for a single
3590    request. In this case we are nice and let reply waiters continue so
3591    that they can notice that the reply is not available
3592    anymore. Otherwise an event waiter could just signal the reply waiter
3593    that got its reply to continue but leave a waiter for an earlier reply
3594    blocked.
3595    
3596    Below is an example sequence for reproducing this problem.
3597    
3598    thread #1 (XNextEvent)
3599      - waits for events
3600    thread #2 (XSync)
3601      - executes request #2
3602      - waits for reply #2
3603    thread #1
3604      - reads reply #2
3605      - signals waiter of reply #2 to continue
3606      - waits for events
3607    thread #2
3608      - handles reply #2
3609    thread #3 (XCloseDisplay)
3610      - executes request #3
3611      - waits for reply #2
3612    thread #1
3613      - reads reply #3
3614      - nobody is waiting for reply #3 so don't signal
3615      - wait for events
3616    
3617    Of course it may be questionable to wait for a reply twice, but XCB
3618    should be smart enough to let clients continue if they choose to do
3619    so.
3620    
3621    Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
3622    Signed-off-by: Jamey Sharp <jamey@minilop.net>
3623
3624commit 29ab5aeb9b1b1daf7f0659b134a4cfe9f42ca71a
3625Author: Jamey Sharp <jamey@minilop.net>
3626Date:   Sun Mar 13 09:41:10 2011 -0700
3627
3628    Include XKB in ./configure's summary output.
3629    
3630    Signed-off-by: Jamey Sharp <jamey@minilop.net>
3631
3632commit 2edfd5c375bf980b484b7cfbfc1f4fb751621859
3633Merge: ed37b08 8c3325f
3634Author: Jamey Sharp <jamey@minilop.net>
3635Date:   Sun Mar 13 09:18:24 2011 -0700
3636
3637    Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb/libxcb
3638    
3639    Apparently I forgot to push these months ago.
3640
3641commit 8c3325f8bbdb1e8975bdb01525a52d6b0f80cfa3
3642Author: Jeremy Huddleston <jeremyhu@apple.com>
3643Date:   Fri Mar 4 12:41:55 2011 -0800
3644
3645    darwin: Don't use poll() when expected to run on darwin10 and prior
3646    
3647    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
3648
3649commit c2e023646298da05e212056fbc6b329e4dd9a100
3650Author: Peter Harris <pharris@opentext.com>
3651Date:   Thu Dec 23 13:32:17 2010 -0500
3652
3653    Don't try to sizeof(void)
3654    
3655    sizeof(void) is a gcc extension, and not portable.
3656    
3657    Xorg Bugzilla 31959
3658    http://bugs.freedesktop.org/show_bug.cgi?id=31959
3659    http://lists.freedesktop.org/archives/xcb/2010-May/006039.html
3660    
3661    Signed-off-by: Peter Harris <pharris@opentext.com>
3662    Tested-by: Cyril Brulebois <kibi@debian.org>
3663
3664commit 9efced72a3cb8072fa60fbed4f04d61cde412494
3665Author: Vincent Torri <vincent dot torri at gmail dot com>
3666Date:   Sun Nov 28 14:02:40 2010 +0100
3667
3668    fix Windows build and installation
3669
3670commit 3c5813697169a33ecfd6ac0ab5641dec654f6612
3671Merge: 69b78ce b672d15
3672Author: Peter Harris <pharris@opentext.com>
3673Date:   Thu Dec 23 13:04:40 2010 -0500
3674
3675    Merge branch 'master' of git://anongit.freedesktop.org/~peterh/libxcb
3676
3677commit 69b78ced1a7bcdca538c0720fde9cf3e6f70d040
3678Author: Jeetu Golani <jeetu.golani@gmail.com>
3679Date:   Sun Dec 12 16:48:41 2010 -0500
3680
3681    Don't validate FD_SETSIZE on Win32
3682    
3683    Windows' file handles have never been small or consecutive, so Windows'
3684    select has always been implemented the same way as everyone else's poll.
3685    
3686    On Windows, FD_SETSIZE is the size of the poll array, not the maximum
3687    SOCKET number.
3688    
3689    Signed-off-by: Peter Harris <git@peter.is-a-geek.org>
3690
3691commit 8ecd754b168a0352783bf1ba0f0887f7ff479ee8
3692Author: Uli Schlachter <psychon@znc.in>
3693Date:   Wed Nov 17 20:26:11 2010 +0100
3694
3695    xcb_take_socket: Document sequence wrap requirements
3696    
3697    If lots of requests are send without one causing a reply, xcb can get confused
3698    about the current sequence number of a reply. Document the requirements of an
3699    external socket owner to avoid this problem.
3700    
3701    The return_socket callback for xcb_take_socket() originally was supposed to
3702    return the last sequence number used, but the version committed to libxcb never
3703    actually had this signature. This fixes the function's documentation not to
3704    mention this non-existent return value.
3705    
3706    Signed-off-by: Uli Schlachter <psychon@znc.in>
3707    Signed-off-by: Julien Danjou <julien@danjou.info>
3708
3709commit 5755582444ad0ba79e661ab3173cc38e9e588d83
3710Author: Nick Bowler <nbowler@draconx.ca>
3711Date:   Wed Nov 10 20:49:41 2010 -0500
3712
3713    xcb_auth: Fix memory leak in _xcb_get_auth_info.
3714    
3715    If the initial get_peer_sock_name(getpeername ...) succeeds, the
3716    pointer to allocated memory is overwritten by the later call to
3717    get_peer_sock_name(getsockname ...).  Fix that up by freeing
3718    the allocated memory before overwriting the pointer.
3719    
3720    Signed-off-by: Nick Bowler <nbowler@draconx.ca>
3721    Signed-off-by: Julien Danjou <julien@danjou.info>
3722
3723commit ed37b087519ecb9e74412e4df8f8a217ab6d12a9
3724Author: Jamey Sharp <jamey@minilop.net>
3725Date:   Sat Oct 9 17:13:45 2010 -0700
3726
3727    xcb_in: Use 64-bit sequence numbers internally everywhere.
3728    
3729    Widen sequence numbers on entry to those public APIs that still take
3730    32-bit sequence numbers.
3731    
3732    Signed-off-by: Jamey Sharp <jamey@minilop.net>
3733
3734commit 6c8b539c2a2e53bf3deb0e749a941ab52b7e8834
3735Author: Jamey Sharp <jamey@minilop.net>
3736Date:   Sat Oct 9 13:19:05 2010 -0700
3737
3738    xcb_discard_reply: Simplify by re-using poll_for_reply helper.
3739    
3740    If you discard a sequence number that has multiple responses already
3741    read, this will do more allocations than necessary. But nobody cares
3742    about ListFontsWithInfo.
3743    
3744    Signed-off-by: Jamey Sharp <jamey@minilop.net>
3745
3746commit 3a74b5e7a1aab0619b7e34d90d2b8b2b1e386129
3747Author: Jamey Sharp <jamey@minilop.net>
3748Date:   Sat Oct 9 12:32:05 2010 -0700
3749
3750    xcb_request_check: Hold the I/O lock while deciding to sync.
3751    
3752    Signed-off-by: Jamey Sharp <jamey@minilop.net>
3753
3754commit ee1bc1d28a1bda0526db90139edc1304d2ef3d7c
3755Author: Jamey Sharp <jamey@minilop.net>
3756Date:   Sat Oct 9 04:08:18 2010 -0700
3757
3758    xcb_send_request: Send all requests using a common internal send_request.
3759    
3760    This simplifies the critical section of xcb_send_request and fixes a
3761    couple of subtle bugs:
3762    
3763    - It's possible for xcb_send_request to need to issue two sync requests
3764      before it can issue the real request. Previously, we counted sequence
3765      numbers as if both were issued, but only one went out on the wire.
3766    
3767    - The test for whether to sync at 32-bit sequence number wrap has been
3768      incorrect since we switched to 64-bit sequence numbers internally.
3769    
3770    This change means that if the output queue was already full and the
3771    current request is bigger than the output queue, XCB will do one more
3772    write syscall than it did before. But syncs are rare and small requests
3773    are the norm, so this shouldn't be a measurable difference.
3774    
3775    Signed-off-by: Jamey Sharp <jamey@minilop.net>
3776
3777commit b672d1514c88e119f3aaeded8c8a488cad36db52
3778Author: Peter Harris <pharris@opentext.com>
3779Date:   Wed Sep 22 23:15:38 2010 -0400
3780
3781    Fix _unserialize of reply headers
3782    
3783    This cleans up a number of warnings, and passes the sequence number
3784    through correctly.
3785    
3786    Signed-off-by: Peter Harris <pharris@opentext.com>
3787
3788commit 29cca33b9001961fa2c33bb9d9fe4a9983913fce
3789Author: Peter Harris <pharris@opentext.com>
3790Date:   Wed Sep 22 22:32:34 2010 -0400
3791
3792    Clean up a couple of warnings in xprint
3793    
3794    Signed-off-by: Peter Harris <pharris@opentext.com>
3795
3796commit 8c1d2021ca611c1452a8d2ff2a705569e4ebd056
3797Author: Peter Harris <pharris@opentext.com>
3798Date:   Wed Sep 22 21:16:51 2010 -0400
3799
3800    Make *_unserialize safe to use on buffers in-place
3801    
3802    By calling memmove instead of memcpy, and walking the buffer backward
3803    from the end, *_unserialize is safe to use in-place.
3804    
3805    Signed-off-by: Peter Harris <pharris@opentext.com>
3806
3807commit 28a71c6567d08272dc9c1c2b32f0529f11f62b9e
3808Author: Peter Harris <pharris@opentext.com>
3809Date:   Fri Sep 10 15:51:56 2010 -0400
3810
3811    Fix memory leak in _sizeof implemented with _unserialize
3812    
3813    Signed-off-by: Peter Harris <pharris@opentext.com>
3814
3815commit a22909c0f513fe28347c56be65a345831c3ce744
3816Author: Peter Harris <pharris@opentext.com>
3817Date:   Wed Sep 8 15:57:00 2010 -0400
3818
3819    Don't emit out-of-module sizeof definitions
3820    
3821    Signed-off-by: Peter Harris <pharris@opentext.com>
3822
3823commit 1c4717de367fe3bf1cf56bd8ef2bd30586bed023
3824Author: Josh Triplett <josh@joshtriplett.org>
3825Date:   Sun Sep 19 20:38:06 2010 +0200
3826
3827    Allow disconnecting connections that are in error state.
3828    
3829    In support of this, consolidate the two static error_connection
3830    definitions into one so we don't try to free the static out-of-memory
3831    error_connection.
3832    
3833    Commit by Josh Triplett and Jamey Sharp.
3834    
3835    Signed-off-by: Josh Triplett <josh@joshtriplett.org>
3836    Signed-off-by: Jamey Sharp <jamey@minilop.net>
3837
3838commit 03bcccb132249142ba908a075e0bd5075fc20d97
3839Author: Peter Harris <pharris@opentext.com>
3840Date:   Fri Sep 10 15:53:13 2010 -0400
3841
3842    Add xkb.* to gitignore
3843    
3844    Signed-off-by: Peter Harris <pharris@opentext.com>
3845
3846commit 28d39258008fcc8ced84dc6c1dd2644e2c908c87
3847Merge: f0565e8 5e8a7ad
3848Author: Peter Harris <pharris@opentext.com>
3849Date:   Wed Sep 8 14:41:52 2010 -0400
3850
3851    Merge branch 'gsoc2010' of git://anongit.freedesktop.org/~chr/libxcb
3852
3853commit f0565e8f06aadf760a9065a97b8cf5ab9cbd18de
3854Author: Jamey Sharp <jamey@minilop.net>
3855Date:   Sat Sep 4 10:17:21 2010 -0700
3856
3857    _xcb_conn_wait: Shut down the connection on unexpected poll() events.
3858    
3859    If a client calls close(2) on the connection's file descriptor and then
3860    flushes writes, libxcb causes a hang in the client.
3861    
3862    Any flush eventually calls _xcb_out_send() with has the following loop:
3863       while(ret && *count)
3864           ret = _xcb_conn_wait(c, &c->out.cond, vector, count);
3865    
3866    _xcb_conn_wait(), if built with USE_POLL, gets the POLLNVAL error. It only
3867    checks for POLLIN and POLLOUT though, ignoring the error. Return value is 1,
3868    count is unmodified, leaving us with an endless loop and a client hang.
3869    
3870    XTS testcase Xlib3/XConnectionNumber triggers this bug. It creates a display
3871    connection, closes its file descriptor, tries to send a no-op, and then expects
3872    an error.
3873    http://cgit.freedesktop.org/xorg/test/xts/tree/xts5/Xlib3/XConnectionNumber.m
3874    
3875    If poll returned POLLHUP or POLLERR, we might see the same result.
3876    
3877    If poll returns any event we didn't ask for, this patch causes
3878    _xcb_conn_shutdown() to be invoked and an error returned. This matches the
3879    behaviour if select(2) is used instead of poll(2): select(2) returns -1 and
3880    EBADF for an already closed file descriptor.
3881    
3882    I believe this fix both is safe and will handle any similar error. POSIX says
3883    that the only bits poll is permitted to set in revents are those bits that were
3884    set in events, plus POLLHUP, POLLERR, and POLLNVAL. So if we see any flags we
3885    didn't ask for then something has gone wrong.
3886    
3887    Patch inspired by earlier proposals from Peter Hutterer and Aaron
3888    Plattner--thanks!
3889    
3890    Reported-by: Peter Hutterer <peter.hutterer@who-t.net>
3891    Reported-by: Aaron Plattner <aplattner@nvidia.com>
3892    Signed-off-by: Jamey Sharp <jamey@minilop.net>
3893    Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
3894    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3895    Tested-by: Aaron Plattner <aplattner@nvidia.com>
3896    Cc: Peter Hutterer <peter.hutterer@who-t.net>
3897    Cc: Dan Nicholson <dbn.lists@gmail.com>
3898    Signed-off-by: Peter Harris <pharris@opentext.com>
3899
3900commit 20da10490f8dac75ec9fe1df28cb9e862e171be5
3901Merge: 7f5cfcc 2dcf8b0
3902Author: Peter Harris <pharris@opentext.com>
3903Date:   Tue Aug 31 18:33:36 2010 -0400
3904
3905    Merge branch 'master' of git://github.com/topcat/xcb-win32
3906    
3907    Conflicts:
3908            src/xcb_conn.c
3909            src/xcb_util.c
3910    
3911    Signed-off-by: Peter Harris <pharris@opentext.com>
3912
3913commit 7f5cfcc2fd0168d505504cc088bfdcba5c71f0ea
3914Author: Aaron Plattner <aplattner@nvidia.com>
3915Date:   Tue Aug 17 08:04:41 2010 -0700
3916
3917    xcb_disconnect: call shutdown() to force a disconnect
3918    
3919    Fixes the X Test Suite's XCloseDisplay-6 test, which has this (admittedly
3920    ridiculous) behavior:
3921    
3922     1. Create a window w.
3923     2. Open two display connections, dpy1, and dpy2.
3924     3. Grab the server using dpy1.
3925     4. Fork.
3926     5 (child). XSetProperty on w using dpy2.
3927     5 (parent). Verify that no event was recieved on dpy1.
3928     6 (parent). XCloseDisplay(dpy1).
3929     6 (child). Verify that an event was received on dpy2.
3930    
3931    It was failing because at step 6 (child), the server had not actually ungrabbed
3932    yet because the file descriptor for dpy1 was still open in the child process.
3933    
3934    Shutting down the socket during XCloseDisplay matches the behavior of non-XCB
3935    Xlib, which calls shutdown() from _X11TransSocketDisconnect.
3936    
3937    Thanks to Julien Cristau for noticing this.
3938    
3939    Signed-off-by: Aaron Plattner <aplattner at nvidia.com>
3940    Reviewed-by: Julien Cristau <jcristau@debian.org>
3941    Signed-off-by: Peter Harris <pharris@opentext.com>
3942
3943commit 2040f10a4efa95092bc9409c5b20347989b5f0a2
3944Author: Jamey Sharp <jamey@minilop.net>
3945Date:   Tue Aug 24 09:17:38 2010 -0700
3946
3947    xcb_request_check: Sync even if an event was read for this sequence.
3948    
3949    This fixes the test case I have so far for Havoc's report that
3950    xcb_request_check hangs.
3951    
3952    Rationale: Since we have a void cookie, request_expected can't have been
3953    set equal to this sequence number when the request was sent; it can only
3954    have become equal due to the arrival of an event or error. If it became
3955    equal due to an event then we still need to sync. If it became equal due
3956    to an error, then request_completed will have been updated, which means
3957    we correctly won't sync.
3958    
3959    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29599
3960    
3961    However, Havoc reports that he can still reproduce the problem, so we
3962    may be revisiting this later.
3963    
3964    Reported-by: Havoc Pennington <hp@pobox.com>
3965    Signed-off-by: Jamey Sharp <jamey@minilop.net>
3966
3967commit 5e8a7ade2dc8aeeeb8013785ca3f24c6057ae443
3968Author: Christoph Reimann <oss@arcor.de>
3969Date:   Mon Aug 16 20:24:40 2010 +0200
3970
3971    small fix to get rid of some compiler warnings
3972    also added very basic documentation for xkb
3973
3974commit b89f634ff9b321f21874cd45e398d661a6ff726e
3975Author: Christoph Reimann <oss@arcor.de>
3976Date:   Mon Aug 16 18:22:42 2010 +0200
3977
3978    small fix in the xkb pkg file
3979
3980commit 22e1013131984a217e9bddeac3a6a4183e35f0c1
3981Author: Christoph Reimann <oss@arcor.de>
3982Date:   Mon Aug 16 18:19:16 2010 +0200
3983
3984    added accessors for special cases
3985    major bugfixes include: rewrite of prefix related functions, merge of serialize/unserialize/... generators, extended field name resolution
3986
3987commit 35f901a0f2bc3f5bb30dc6ff9d791679c9e84c05
3988Author: Julien Danjou <julien@danjou.info>
3989Date:   Fri Aug 13 13:46:37 2010 +0200
3990
3991    Release libxcb 1.7
3992    
3993    Signed-off-by: Julien Danjou <julien@danjou.info>
3994
3995commit fe0e32b5fa3923fae97210e974c0f96a085116cb
3996Author: Christoph Reimann <oss@arcor.de>
3997Date:   Sun Aug 8 21:25:13 2010 +0200
3998
3999    special case 'intermixed variable and fixed size fields': fixed reply side, needs testing
4000
4001commit 77b594f9583ea0247ff27130316d8e045da7f921
4002Author: Christoph Reimann <oss@arcor.de>
4003Date:   Thu Aug 5 15:55:28 2010 +0200
4004
4005    renamed most _unserialize() functions to _sizeof() and fixed _unserialize() for the special case of intermixed variable and fixed size fields
4006
4007commit dd1a4dbe20d6b5fd33aeb65e662bb2ca18665518
4008Author: Eamon Walsh <efw@eamonwalsh.com>
4009Date:   Thu Aug 5 00:48:08 2010 -0400
4010
4011    Tutorial uses wrong function.
4012    
4013    https://bugs.freedesktop.org/show_bug.cgi?id=29392
4014    
4015    Signed-off-by: Eamon Walsh <efw@eamonwalsh.com>
4016
4017commit b187f029d6bb693f0294bad5261ec486b140f185
4018Author: Christoph Reimann <oss@arcor.de>
4019Date:   Mon Aug 2 23:30:42 2010 +0200
4020
4021    attempt to fix special case: variable fields followed by fixed size fields
4022
4023commit a700eeb502b5fe902e4c93cc707100ec868ce946
4024Author: Christoph Reimann <oss@arcor.de>
4025Date:   Sun Aug 1 23:40:20 2010 +0200
4026
4027    bug fixes for all kinds of 'special cases'
4028
4029commit 1c590d5a86ae854e53f388e40c952e92f11d59e6
4030Author: Christoph Reimann <oss@arcor.de>
4031Date:   Thu Jul 22 16:41:15 2010 +0200
4032
4033    partial rewrite of serialize helper functions completed;
4034    _serialize() & _unserialize() have been tested for switch derived from valueparam
4035
4036commit 566ae9baee20fb6147b94b89a26796087461bae8
4037Author: Christoph Reimann <oss@arcor.de>
4038Date:   Tue Jul 20 22:46:37 2010 +0200
4039
4040    preliminary handling of further special cases in unserialize
4041    first attempts to unify serialize and unserialize
4042
4043commit 4e665e1580ece7bc9505f3a2f657959669ffcd05
4044Author: Christoph Reimann <oss@arcor.de>
4045Date:   Thu Jul 15 18:43:43 2010 +0200
4046
4047    added generating code for _serialize() in case of variable sized structs (largely untested)
4048
4049commit d0031456097f009bdb82fb979924e71ca38c539b
4050Author: Christoph Reimann <oss@arcor.de>
4051Date:   Tue Jul 13 20:08:51 2010 +0200
4052
4053    xkb: added pkg config file
4054
4055commit 86704124b1fd62c30441ace1f3f8e2c316801c53
4056Author: Christoph Reimann <oss@arcor.de>
4057Date:   Tue Jul 13 20:06:08 2010 +0200
4058
4059    new and still preliminary functions for switch; feautures include
4060    - API compatibility with valueparam
4061    - request _aux() auxiliary functions
4062    - _serialize() and _unserialize() auxiliary functions
4063    - new data type that allows mixing of fixed and variable size members
4064
4065commit 80322d11636dd638902660d80481080d2fad40fe
4066Author: Christoph Reimann <oss@arcor.de>
4067Date:   Tue Jul 13 19:59:23 2010 +0200
4068
4069    xkb: updated configure.ac/Makefile.am
4070
4071commit 8c2707773b3621fb8bbda9021d23944f5be34aab
4072Author: Christoph Reimann <oss@arcor.de>
4073Date:   Tue Jul 13 19:56:44 2010 +0200
4074
4075    added xcb_sumof() with restriction to uint8_t
4076
4077commit 496efb7624d14b4ca0391f44926edc448cbd605e
4078Author: Jamey Sharp <jamey@minilop.net>
4079Date:   Tue Jul 13 07:01:06 2010 -0700
4080
4081    _xcb_conn_wait: Fix whitespace.
4082    
4083    Signed-off-by: Jamey Sharp <jamey@minilop.net>
4084
4085commit 74057c7eb6836353960ce3849703ce20e45089bc
4086Author: Jeremy Huddleston <jeremyhu@apple.com>
4087Date:   Mon Jul 12 16:53:53 2010 -0700
4088
4089    AC_CHECK_PROG(LAUNCHD, [launchd], [yes], [no], [$PATH$PATH_SEPARATOR/sbin])
4090    
4091    launchd: Explicitly search /sbin
4092    
4093    Previously, launchd wasn't found if /sbin wasn't in the user's PATH.
4094    https://bugs.freedesktop.org/show_bug.cgi?id=29028
4095    
4096    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
4097
4098commit 75ff427d41fc10d00b780c965c289fc02c81aaac
4099Author: Vincent Torri <vtorri@univ-evry.fr>
4100Date:   Sun Jun 20 20:50:06 2010 -0700
4101
4102    configure.ac: Report which extensions are being built.
4103    
4104    I was surprised to see that xinput was not installed. Looking at
4105    configure.ac, it seems that it is disabled by default. Maybe configure
4106    should output the status of the different extensions.
4107
4108commit de3cdad87a341c238c544425f4dd574b19c58ae3
4109Author: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
4110Date:   Fri Jun 11 16:30:47 2010 +0300
4111
4112    xcb_connect_to_display_with_auth_info: Fix memory leak
4113    
4114    protocol and host are allocated in _xcb_parse_display but ownership of
4115    them is passed to the caller. They have to be freed in
4116    xcb_connect_to_display_with_auth_info.
4117    
4118    Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
4119    Signed-off-by: Peter Harris <pharris@opentext.com>
4120
4121commit 18718d483e0982c779a61c71176fb0e64f850015
4122Author: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
4123Date:   Fri Jun 11 16:30:46 2010 +0300
4124
4125    _xcb_parse_display: Fix error path
4126    
4127    xcb_parse_display claims that there is no side effects when failing.
4128    That requires _xcb_parse_display to free the memory in failure case.
4129    
4130    Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
4131    Signed-off-by: Peter Harris <pharris@opentext.com>
4132
4133commit 3f79628becbd3b0eff1aef804902eb739fac4403
4134Author: Jeremy Huddleston <jeremyhu@apple.com>
4135Date:   Wed May 12 19:53:45 2010 -0700
4136
4137    xcb_open: Improve protocol/host parsing
4138    
4139    Support scenarios where host is not set and protocol is.  eg:
4140    
4141    DISPLAY=tcp/:0
4142    
4143    as well as the "inet" and "inet6" alias for "tcp" for compatability
4144    with Xlib
4145    
4146    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
4147    Reviewed-by: Jamey Sharp <jamey@minilop.net>
4148
4149commit e4b746ac13e89b99abd80b3d1fa2a16796da3b6d
4150Author: Marcin Kościelnicki <koriakin@0x04.net>
4151Date:   Thu May 13 21:05:57 2010 +0000
4152
4153    Add ~ operator support in code generator
4154    
4155    Reviewed-by: Julien Cristau <jcristau@debian.org>
4156    Signed-off-by: Julien Danjou <julien@danjou.info>
4157
4158commit 5e86cb05666c448de2f61c23ae94e94ef4b38d64
4159Author: Arnaud Fontaine <arnau@debian.org>
4160Date:   Fri Apr 30 18:49:18 2010 +0100
4161
4162    Fix GCC error on undeclared variable when not using abstract socket
4163    
4164    This is a regression found by tinderbox in previous commit:
4165    
4166    xcb_util.c: In function '_xcb_open':
4167    xcb_util.c:213: error: 'fd' undeclared (first use in this function)
4168
4169commit a546d00091de0ab16374dec55e8e2fa87d6bbebf
4170Author: Arnaud Fontaine <arnau@debian.org>
4171Date:   Fri Apr 30 14:47:16 2010 +0200
4172
4173    Get rid of PATH_MAX and MAXPATHLEN
4174    
4175    There could be no upper limit on the length of a path according
4176    to POSIX, therefore these macros may not be defined at all on
4177    some systems (such as GNU Hurd).
4178    
4179    Signed-off-by: Arnaud Fontaine <arnau@debian.org>
4180    Reviewed-by: Peter Harris <pharris@opentext.com>
4181
4182commit d06857217328c2283a8956788d72646fc67216fb
4183Author: Jeremy Huddleston <jeremyhu@apple.com>
4184Date:   Fri Apr 23 21:57:26 2010 -0700
4185
4186    Use limits.h instead of syslimits.h
4187    
4188    Regression found by tinderbox in 89b3485dadef47a30264a5bf150b96522183376b
4189    
4190    xcb_util.c:31:27: error: sys/syslimits.h: No such file or directory
4191    xcb_util.c: In function '_xcb_open':
4192    xcb_util.c:148: error: 'PATH_MAX' undeclared (first use in this function)
4193    
4194    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
4195
4196commit 89b3485dadef47a30264a5bf150b96522183376b
4197Author: Jeremy Huddleston <jeremyhu@apple.com>
4198Date:   Fri Apr 23 17:29:25 2010 -0700
4199
4200    Reworked launchd support to work better with _xcb_parse_display
4201    
4202    Fixes: http://xquartz.macosforge.org/trac/ticket/390
4203    
4204    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
4205
4206commit 2dcf8b025be88a25d4333abdc28d425b88238d96
4207Author: Jeetu Golani <jeetu.golani@gmail.com>
4208Date:   Fri Apr 23 00:47:16 2010 +0530
4209
4210    Replaced read() in read_block and _xcb_in_read() with recv for all
4211    platforms. MSG_WAITALL is undefined in MinGW so it's been explicitly
4212    defined in xcb_in.c
4213
4214commit 56962e42a509dc4d0d9541e46b93689dac61c4fd
4215Author: Jeetu Golani <jeetu.golani@gmail.com>
4216Date:   Thu Apr 22 23:23:27 2010 +0530
4217
4218    Set errno=0 in read_block. On Win32 there is no errno and this makes the
4219    do..while loop execute only once. Also set the return value to -1 in
4220    _xcb_open if control reaches the end - if all goes well it shouldn't
4221    reach there.
4222
4223commit b0525e242368fffbc77ebb45293f34e80847e65a
4224Author: Jamey Sharp <jamey@minilop.net>
4225Date:   Sat Apr 17 17:59:11 2010 -0700
4226
4227    Always wake up readers after writing.
4228    
4229    Since writers must make sure they read as well, threads may have gone to
4230    sleep waiting for the opportunity to read. The writer must wake up one
4231    of those readers or the application can hang.
4232    
4233    Signed-off-by: Jamey Sharp <jamey@minilop.net>
4234    Reviewed-by: Josh Triplett <josh@freedesktop.org>
4235
4236commit eff3851ba80c42b5b3ba240f7e9049d7b0fac6f0
4237Author: Jamey Sharp <jamey@minilop.net>
4238Date:   Sun Mar 28 10:31:55 2010 -0700
4239
4240    Fix strict-aliasing warning when getting generic event length.
4241    
4242    xcb_ge_event_t has its length field in the same place that
4243    xcb_generic_reply_t does, so there's no need to cast the generic reply.
4244    
4245    Signed-off-by: Jamey Sharp <jamey@minilop.net>
4246    Cc: Peter Hutterer <peter.hutterer@who-t.net>
4247    Reviewed-by: Julien Danjou <julien@danjou.info>
4248
4249commit 6dd8228a137d280ce24cec604a419129d8ed0e8e
4250Author: Jamey Sharp <jamey@minilop.net>
4251Date:   Fri Feb 12 12:25:05 2010 -0800
4252
4253    Delete a useless level of indirection from _xcb_out_send's parameters.
4254    
4255    _xcb_out_send needs _xcb_conn_wait to store back its progress so it can
4256    be reinvoked to pick up where it left off---but then _xcb_out_send
4257    guarantees that it leaves either an empty output vector or a shut-down
4258    connection, so *its* callers never care how much progress was made.
4259    
4260    Signed-off-by: Jamey Sharp <jamey@minilop.net>
4261    Reviewed-by: Josh Triplett <josh@freedesktop.org>
4262
4263commit a63fbc9d6c484e5ad7a5e9d56f81b8e1a2f38a82
4264Author: Julien Danjou <julien@danjou.info>
4265Date:   Fri Apr 9 16:57:51 2010 +0200
4266
4267    Release libxcb 1.6
4268
4269commit a1d9aa6e07a297f4108b4ad787336f74c86a3312
4270Author: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
4271Date:   Fri Mar 26 23:12:47 2010 +0200
4272
4273    Fail if fd is too big and poll() is not available
4274    
4275    Depending on the process file limit, a file descriptor can be larger
4276    than the capacity of fd_set. There is no portable way to create a
4277    large enough fd_set at run-time. So we just fail if the file descriptor
4278    number is too high and poll() is not available.
4279    
4280    Reviewed-by: Jamey Sharp <jamey@minilop.net>
4281    Signed-off-by: Julien Danjou <julien@danjou.info>
4282
4283commit 0e0c80e749eccf121e55c1e855c48d03b54f33ef
4284Author: Jeetu Golani <jeetu.golani@gmail.com>
4285Date:   Wed Mar 31 22:00:04 2010 +0530
4286
4287    xcb_in.c #ifndef _WIN32 inside of #if USE_POLL redundant and removed
4288
4289commit e8009194c9f5a6995c4a9b03a7a49d5bc09e96fc
4290Author: Jeetu Golani <jeetu.golani@gmail.com>
4291Date:   Wed Mar 31 09:50:51 2010 +0530
4292
4293    restablished inclusion of fcntl.h and netinet/tcp.h in xcb_util.c -- without these the code no longer compiled on *ix
4294
4295commit d302f1e9b158d0a51936c28e5dc66251d90d1d56
4296Author: Jeetu Golani <jeetu.golani@gmail.com>
4297Date:   Mon Mar 29 22:37:33 2010 +0530
4298
4299    changes in xcb_windefs.h - the flag  _XCB_WINDEFS_H replaces WINDEFS_H
4300
4301commit 36c9a985aaee655c118c9f7b8425d3ac9ce0f840
4302Author: Jeetu Golani <jeetu.golani@gmail.com>
4303Date:   Mon Mar 29 22:31:49 2010 +0530
4304
4305    windefs.h is now called xcb_windefs.h - changed all includes to reflect that.Replaced one instance ofWIN32 with _WIN32 in each xcb_in.c and xcb_conn.c
4306
4307commit bce72f63d2dfb61661f81e305ad3a7db0334403c
4308Author: Jeetu Golani <jeetu.golani@gmail.com>
4309Date:   Fri Mar 26 09:40:09 2010 +0530
4310
4311    Win32 code for xcb-1.5
4312
4313commit d18d03d6f37ec220805855d840950716e22354e4
4314Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
4315Date:   Fri Mar 12 23:51:32 2010 +0100
4316
4317    Fix authentication on hpux and Hurd
4318    
4319    libxcb's 010e5661 (Fix XDM-AUTHORIZATION-1 (bug #14202)) mistakenly
4320    inverted a few lines of code, making local socket authentication fail on
4321    hpux and Hurd: when getpeername fails, sockname needs to be initialized
4322    by getsockname before its address family can be checked.
4323    
4324    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
4325    Signed-off-by: Julien Danjou <julien@danjou.info>
4326
4327commit 53a9834e4cdd11aba8c1cc49347f09a958107de8
4328Author: Rémi Denis-Courmont <remi@remlab.net>
4329Date:   Sat Feb 13 12:23:51 2010 +0200
4330
4331    Open the X11 socket with close-on-exec flag
4332    
4333    This saves the X11 connection from leaking into children processes.
4334    On Linux, this is fully thread-safe using SOCK_CLOEXEC. On other
4335    systems, there is a small race condition.
4336    
4337    Signed-off-by: Julien Danjou <julien@danjou.info>
4338
4339commit 367882fa32489ebafcd9afc04fbf732b02ceb33a
4340Author: Peter Harris <pharris@opentext.com>
4341Date:   Tue Feb 9 16:27:22 2010 -0500
4342
4343    Support xcb_discard_reply
4344    
4345    This function is useful for dynamic language garbage collectors. Frequently
4346    a GC cycle may run before you want to block wainting for a reply.
4347    
4348    This function is also marginally useful for libxcb apps that issue
4349    speculative requests (eg. xlsclients).
4350    
4351    Reviewed-by: Jamey Sharp <jamey@minilop.net>
4352    Tested-by: Eamon Walsh <efw@eamonwalsh.com>
4353    Signed-off-by: Peter Harris <pharris@opentext.com>
4354
4355commit be7e528eae62ddee14fa50f2c0e9036bafbc9f81
4356Author: Rémi Denis-Courmont <remi@remlab.net>
4357Date:   Thu Jan 7 18:08:35 2010 +0200
4358
4359    xcb_connect_to_fd: fix descriptor leak on memory error path
4360    
4361    Signed-off-by: Julien Danjou <julien@danjou.info>
4362
4363commit c7a57043da1717c18703a38772555fea6aa811bf
4364Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
4365Date:   Fri Dec 11 17:24:43 2009 -0800
4366
4367    configure.ac: Fix a typo on the last commit.
4368    
4369    Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
4370
4371commit 58c96da9283d3c2f65c818bd952f611ec4e4dad0
4372Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
4373Date:   Fri Dec 11 17:15:16 2009 -0800
4374
4375    darwin: xnu doesn't support poll on ttys on the master side.
4376    
4377    <rdar://problem/7360546>
4378    
4379    Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
4380
4381commit 1e746fd89ae93965183c759b969ff9f4d5dbc9d8
4382Author: Jim Ingram <ingramj@gmail.com>
4383Date:   Mon Dec 7 14:41:18 2009 -0600
4384
4385    Tutorial code fix
4386    
4387    Accessed elements of names[] after freeing them in the first example.
4388    
4389    Signed-off-by: Julien Danjou <julien@danjou.info>
4390
4391commit a470579ba29c8f39e77668558a08bb173297711f
4392Author: Rémi Cardona <remi@gentoo.org>
4393Date:   Fri Dec 4 22:06:20 2009 +0100
4394
4395    DRI2 extension requires xcb-proto 1.6 or newer
4396    
4397    Signed-off-by: Rémi Cardona <remi@gentoo.org>
4398    Signed-off-by: Julien Danjou <julien@danjou.info>
4399
4400commit 6e875a82a8a1a324067970a5f9d7442585ee0eef
4401Author: Julien Danjou <julien@danjou.info>
4402Date:   Thu Dec 3 11:34:18 2009 +0100
4403
4404    build: simplify extension building
4405    
4406    Signed-off-by: Julien Danjou <julien@danjou.info>
4407
4408commit 48217ac986d77eba40f3af4df597a734f4fd3690
4409Author: Julien Danjou <julien@danjou.info>
4410Date:   Thu Dec 3 10:08:59 2009 +0100
4411
4412    Release libxcb 1.5
4413    
4414    Signed-off-by: Julien Danjou <julien@danjou.info>
4415
4416commit 1cf2a87def76f4646fe05e282b45605d572f2513
4417Author: Adam Jackson <ajax@redhat.com>
4418Date:   Wed Dec 2 14:31:56 2009 -0500
4419
4420    setsockopt(SO_KEEPALIVE) on TCP display connections.
4421    
4422    This matches xtrans behaviour in SocketINETConnect, and makes it so apps
4423    don't hang forever if their display dies.
4424    
4425    Signed-off-by: Adam Jackson <ajax@redhat.com>
4426
4427commit e82c34c2f7ac3fbb23ab14cbee8df2dd9178f5a4
4428Author: Eric Anholt <eric@anholt.net>
4429Date:   Thu Oct 15 13:13:47 2009 -0700
4430
4431    Add DRI2 support. (v2)
4432    
4433    v2: Build fix from jcristau.
4434
4435commit a27c77ccae059fb64e0506648b81677858d3b05b
4436Author: Eric Anholt <eric@anholt.net>
4437Date:   Thu Oct 15 13:14:49 2009 -0700
4438
4439    Fix typo in the tutorial.
4440
4441commit 17af34b4a438a80d3dcad93bb5254366791a488f
4442Author: Paulo R. Zanoni <pzanoni@mandriva.com>
4443Date:   Fri Sep 18 15:05:46 2009 -0300
4444
4445    Don't build docs if 'dot' is not found Signed-off-by: Paulo R. Zanoni <pzanoni@mandriva.com>
4446
4447commit 29207e2943ad56fb8b4d2b7f07b1530cb1d7d9be
4448Author: Julien Cristau <jcristau@debian.org>
4449Date:   Mon Aug 31 17:51:36 2009 +0200
4450
4451    Fix check dependency
4452    
4453    Bugzilla #21992
4454    
4455    make -j check fails because the check-local rule gets executed before
4456    the tests actually ran, so CheckLog*.xml doesn't exist.
4457    
4458    Signed-off-by: Julien Danjou <julien@danjou.info>
4459
4460commit ff2e2e35bcac1d835c9eecf9ac8b3072005989a5
4461Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
4462Date:   Sat Jun 6 15:52:20 2009 +0100
4463
4464    Cygwin build fix: Add -no-undefined to libtool flags
4465    
4466    -no-undefined is needed to tell libtool a shared library can be built
4467    on platforms which require all references to be statisfied at link time.
4468    
4469    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
4470    Signed-off-by: Julien Danjou <julien@danjou.info>
4471
4472commit 96ff5fb635bc333e80ebce6cc03008a1b9992ff6
4473Author: Arnaud Fontaine <arnau@debian.org>
4474Date:   Wed Jul 15 16:15:02 2009 +0100
4475
4476    Release libxcb 1.4
4477
4478commit f4c2794bf5990a0b2f6168f2b22b60b15e08ac44
4479Author: Arnaud Fontaine <arnau@debian.org>
4480Date:   Wed Jul 15 16:03:56 2009 +0100
4481
4482    Add majorCode, minorCode and resourceID fields to X generic error
4483
4484commit e06955ed66cb499ada52b8add6709edd38d70054
4485Author: Jamey Sharp <jamey@minilop.net>
4486Date:   Mon Jul 6 13:14:35 2009 -0700
4487
4488    Fix precedence bug: wrong length for big-requests preceded by sync.
4489    
4490    Also replace excessively clever use of bitwise OR with equivalent
4491    addition.
4492    
4493    Reported-by: Geoffrey Li <geoffrey@seitopos.com>
4494    Signed-off-by: Jamey Sharp <jamey@minilop.net>
4495    Signed-off-by: Josh Triplett <josh@joshtriplett.org>
4496
4497commit 9e191c722a0be4b5f3d993165055a71f85c21882
4498Author: Julien Cristau <jcristau@debian.org>
4499Date:   Fri May 29 14:41:59 2009 +0200
4500
4501    Fix libxcb-randr version info
4502    
4503    The SONAME shouldn't have been bumped in 1.3, only new symbols were
4504    added.
4505    
4506    Signed-off-by: Julien Danjou <julien@danjou.info>
4507
4508commit f44dc519c5b324335d05f6e7fb31b78062a8c5f5
4509Author: Julien Danjou <julien@danjou.info>
4510Date:   Fri May 29 08:26:05 2009 +0200
4511
4512    Release libxcb 1.3
4513
4514commit ee89850e68205a7f8961ace0839b5be86040dade
4515Author: elupus <elupus@ecce.se>
4516Date:   Tue May 26 16:14:48 2009 +0200
4517
4518    Disable Nagle on TCP socket
4519    
4520    Signed-off-by: Julien Danjou <julien@danjou.info>
4521
4522commit 62fe187e2d617eb0feb1ca03d8b4a64db9dd952b
4523Author: Bob Ham <rah@bash.sh>
4524Date:   Mon May 25 12:20:23 2009 +0200
4525
4526    Store xcbproto version libxcb was compiled with
4527    
4528    Signed-off-by: Julien Danjou <julien@danjou.info>
4529
4530commit efbe96ee0ab0c5511035eee99f8fe7b38d5f65fa
4531Author: Julien Danjou <julien@danjou.info>
4532Date:   Sat May 9 17:39:34 2009 +0200
4533
4534    depends on recent xcb-proto and bump version of randr
4535    
4536    Signed-off-by: Julien Danjou <julien@danjou.info>
4537
4538commit 010e566126625c56bdf9989085bacf731520ff87
4539Author: Bart Massey <bart@cs.pdx.edu>
4540Date:   Tue Apr 21 08:39:52 2009 +0200
4541
4542    Fix XDM-AUTHORIZATION-1 (bug #14202)
4543    
4544    With this patch, we know use correctly the socket address or peer
4545    address for authentication purpose.
4546    
4547    Signed-off-by: Julien Danjou <julien@danjou.info>
4548
4549commit ca978a9dae621126075712f9e2c29591208570bc
4550Author: Julien Danjou <julien@danjou.info>
4551Date:   Tue Apr 7 14:22:57 2009 +0200
4552
4553    util: remove useless strlen calls from decnet opening
4554    
4555    Signed-off-by: Julien Danjou <julien@danjou.info>
4556
4557commit cc191431412d8764c645a51b0f106c0dfe652213
4558Author: Julien Danjou <julien@danjou.info>
4559Date:   Tue Apr 7 14:18:40 2009 +0200
4560
4561    util: merge common code for xcb_connect
4562    
4563    Many code was duplicated between xcb_connect_to_display_with_auth_info
4564    and xcb_connect(). We merge both, since the difference is just about the
4565    xcb_auth_info_t pointer being supplied, or not.
4566    
4567    Signed-off-by: Julien Danjou <julien@danjou.info>
4568
4569commit 8797e053b2b2ee989f47490c7687b9a2fbdb0021
4570Author: Julien Danjou <julien@danjou.info>
4571Date:   Tue Apr 7 13:37:40 2009 +0200
4572
4573    util: open_abstract gets filelen as parameters
4574    
4575    That saves us from a couple of strlen() calls.
4576    
4577    Signed-off-by: Julien Danjou <julien@danjou.info>
4578
4579commit f0b29819749b769e5a8d313bf1bab80d6513208b
4580Author: Julien Danjou <julien@danjou.info>
4581Date:   Tue Apr 7 11:55:30 2009 +0200
4582
4583    auth: use snprintf() return value
4584    
4585    That save us from a strlen().
4586    
4587    Signed-off-by: Julien Danjou <julien@danjou.info>
4588
4589commit 9f24c91f91dd68a52e46191b686283b0df38d2f5
4590Author: Julien Danjou <julien@danjou.info>
4591Date:   Tue Apr 7 11:49:13 2009 +0200
4592
4593    auth: precompute authnameslen
4594    
4595    Signed-off-by: Julien Danjou <julien@danjou.info>
4596
4597commit 2a4f1cf3801080276694f5026d35220b65201038
4598Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
4599Date:   Thu Apr 9 05:12:02 2009 -0700
4600
4601    darwin: Don't use poll() on versions of darwin before darwin10
4602
4603commit 6e2e87d0bbdff87f127986a0666445160d52e6a5
4604Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
4605Date:   Mon Apr 6 03:31:23 2009 +0200
4606
4607    Local socket connections do not work on hurd-i386
4608    
4609    Local socket connections currently do not work on hurd-i386 because
4610    xcb_auth calls getpeername() on the client socket, but hurd-i386 does
4611    not implement anything in that case (I actually wonder what reasonable
4612    value could be returned).  In such case the xcb code does not actually
4613    need the peer name anyway.
4614    
4615    Signed-off-by: Julien Danjou <julien@danjou.info>
4616
4617commit f916062edf0e04cd4e0a78f6975892f59fae3b60
4618Author: Michael Ost <most@museresearch.com>
4619Date:   Mon Mar 30 11:09:32 2009 +0200
4620
4621    use poll() instead of select() when available
4622    
4623    Signed-off-by: Julien Danjou <julien@danjou.info>
4624
4625commit beccb0be15f5699c942a0af33307d9e4bf797e2a
4626Author: Bart Massey <bart@cs.pdx.edu>
4627Date:   Tue Mar 24 16:24:04 2009 -0700
4628
4629    kludgily hand-merged xid fixes
4630    
4631    Signed-off-by: Bart Massey <bart@cs.pdx.edu>
4632    Signed-off-by: Julien Danjou <julien@danjou.info>
4633
4634commit 1e9c0f1012b6d349f92ea7246194b8667d27f849
4635Author: Julien Danjou <julien@danjou.info>
4636Date:   Mon Mar 16 10:26:02 2009 +0100
4637
4638    Fix do_append() arguments
4639    
4640    Signed-off-by: Julien Danjou <julien@danjou.info>
4641
4642commit fcb433db80315a44154248a9229c9cfcbab63f04
4643Author: Julien Danjou <julien@danjou.info>
4644Date:   Sun Mar 15 10:18:50 2009 +0100
4645
4646    Copy full IPv4 mapping (Bug #20665)
4647    
4648    Signed-off-by: Julien Danjou <julien@danjou.info>
4649
4650commit eaa71eac02c6a862ab23e8afcce12d9f38590338
4651Author: Peter Harris <pharris@opentext.com>
4652Date:   Fri Mar 13 15:24:55 2009 -0400
4653
4654    Avoid name collisions between xidtype and enum.
4655    
4656    These changes are necessary to build with latest xcb/proto.
4657    
4658    Signed-off-by: Peter Harris <pharris@opentext.com>
4659
4660commit e986d1ee5a126dc38113125075a1e986235ba7c7
4661Author: Peter Harris <pharris@opentext.com>
4662Date:   Fri Mar 13 15:25:30 2009 -0400
4663
4664    Revert "Don't use enums in generated C code"
4665    
4666    This commit broke xcb/util.
4667    
4668    This reverts commit 9984b72888108a038d6b3f7dee374d17e26ef9e2.
4669    
4670    Signed-off-by: Peter Harris <pharris@opentext.com>
4671
4672commit 9984b72888108a038d6b3f7dee374d17e26ef9e2
4673Author: Peter Harris <pharris@opentext.com>
4674Date:   Wed Feb 25 18:48:50 2009 -0500
4675
4676    Don't use enums in generated C code - use integer constants instead.
4677    
4678    Signed-off-by: Peter Harris <pharris@opentext.com>
4679
4680commit b08e1535cf0716fc917eaa1f5d5f6d1960bf1e3c
4681Author: Julien Danjou <julien@danjou.info>
4682Date:   Tue Feb 17 13:37:29 2009 +0100
4683
4684    Release libxcb 1.2
4685    
4686    Signed-off-by: Julien Danjou <julien@danjou.info>
4687
4688commit 2e65188f91800d7e6a8d74fa077b46f8f67b6893
4689Author: Julien Danjou <julien@danjou.info>
4690Date:   Mon Feb 16 11:44:20 2009 +0100
4691
4692    Stop providing autogenerated files in tarball
4693    
4694    Signed-off-by: Julien Danjou <julien@danjou.info>
4695
4696commit 37f5ce3ef46c8af38ec0103b9d960615a0a1e058
4697Author: Julien Danjou <julien@danjou.info>
4698Date:   Thu Dec 11 11:17:13 2008 +0100
4699
4700    Release libxcb 1.1.93
4701    
4702    Signed-off-by: Julien Danjou <julien@danjou.info>
4703
4704commit f896ae8c53e99f39b347f9f0ac2b4a8cc12cad6f
4705Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
4706Date:   Sun Nov 23 17:25:21 2008 -0800
4707
4708    Shutup compiler warning about unused variable...
4709
4710commit d79621b25ba6784135b1a3aa51e9561fcf72fe7f
4711Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
4712Date:   Sun Nov 23 17:23:17 2008 -0800
4713
4714    Apple: Apple launchd cleanup
4715    Added --with-launchd option instead of just using __APPLE__
4716    Fixed opening launchd fd when displayname=NULL
4717
4718commit 9b79ae49f709707e99b8487b01f9d3f102754bd3
4719Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
4720Date:   Sat Nov 8 14:41:23 2008 -0800
4721
4722    Apple: Enable support for launchd DISPLAY socket
4723
4724commit 43b612a5e99ccdfb787a11b2b7c3179fc242edf3
4725Author: Peter Harris <peter.harris@hummingbird.com>
4726Date:   Wed Nov 12 14:45:04 2008 -0500
4727
4728    Treat XIDs the same as other cardinal values.
4729    
4730    This fixes a bug where c_client.py wasn't generating *_end functions,
4731    but expected them to exist in order to find the subsequent list's start.
4732    
4733    Signed-off-by: Peter Harris <peter.harris@hummingbird.com>
4734
4735commit 902cade8ec9e7eb5d29f6f6d61cac0470c300aec
4736Author: Julien Danjou <julien@danjou.info>
4737Date:   Tue Nov 4 10:19:14 2008 +0100
4738
4739    Release libxcb 1.1.92
4740    
4741    Signed-off-by: Julien Danjou <julien@danjou.info>
4742
4743commit fa452cc9b2bb69fa0603dfd97e00e540b6b52840
4744Author: Josh Triplett <josh@freedesktop.org>
4745Date:   Sun Mar 16 23:16:31 2008 -0700
4746
4747    Support handing off socket write permission to external code.
4748    
4749    Libraries like Xlib, some XCB language bindings, and potentially others
4750    have a common problem: they want to share the X connection with XCB. This
4751    requires coordination of request sequence numbers.  Previously, XCB had an
4752    Xlib-specific lock, and allowed Xlib to block XCB from making requests.
4753    Now we've replaced that lock with a handoff mechanism, xcb_take_socket,
4754    allowing external code to ask XCB for permission to take over the write
4755    side of the socket and send raw data with xcb_writev.  The caller of
4756    xcb_take_socket must supply a callback which XCB can call when it wants
4757    the write side of the socket back to make a request.  This callback
4758    synchronizes with the external socket owner, flushes any output queues if
4759    appropriate, and then returns the sequence number of the last request sent
4760    over the socket.
4761    
4762    Commit by Josh Triplett and Jamey Sharp.
4763    Handoff mechanism inspired by Keith Packard.
4764
4765commit baff35a04b0e8d21821850a405a550d86a8aeb6f
4766Author: Jamey Sharp <jamey@minilop.net>
4767Date:   Wed May 21 14:44:16 2008 -0700
4768
4769    Track 64-bit sequence numbers internally.
4770    
4771    External APIs that used 32-bit sequence numbers continue to do so.
4772    
4773    Commit by Josh Triplett and Jamey Sharp.
4774
4775commit 96e55444b9b9500420f9132a1ace720100a26398
4776Author: Jamey Sharp <jamey@minilop.net>
4777Date:   Fri Mar 14 20:18:52 2008 -0700
4778
4779    Use sequence number ranges in pending replies
4780    
4781    This allows optimizing adjacent pending replies with the same flags, and
4782    will help support default flags for a range of future requests.
4783    
4784    Commit by Josh Triplett and Jamey Sharp.
4785
4786commit 059ca642c76639fee958dc6054070de85e257e98
4787Author: Jamey Sharp <jamey@minilop.net>
4788Date:   Fri Mar 14 12:08:58 2008 -0700
4789
4790    Inline _xcb_lock_io, _xcb_unlock_io, and _xcb_wait_io.
4791    
4792    These functions are once again a single pthread call, so just make that
4793    call directly.
4794
4795commit d989656cde2ee7a4a66b2065209ef389495f3452
4796Author: Jamey Sharp <jamey@minilop.net>
4797Date:   Fri Mar 14 12:08:32 2008 -0700
4798
4799    Remove libxcb-xlib and xcbxlib.h.
4800
4801commit dcbef23d730b95ef7dc9ef524a4c3fc0017b63d2
4802Author: Julien Danjou <julien@danjou.info>
4803Date:   Tue Oct 14 23:39:07 2008 +0200
4804
4805    build: fix configure.ac AC_DEFINE
4806    
4807    Rather use AC_DEFINE_UNQUOTED and only once.
4808    
4809    Signed-off-by: Julien Danjou <julien@danjou.info>
4810
4811commit cebd482a20fcc2b2dae0683c38e917a3740638a6
4812Author: Julien Danjou <julien@danjou.info>
4813Date:   Fri Sep 26 15:26:42 2008 +0200
4814
4815    allow compile-time setting for XCB queue buffer size
4816    
4817    Signed-off-by: Julien Danjou <julien@danjou.info>
4818
4819commit 625ed596cae6dd8175aeb6cb6f26784928042f22
4820Author: Josh Triplett <josh@freedesktop.org>
4821Date:   Wed Oct 8 16:04:25 2008 -0700
4822
4823    Remove duplicate XCB_EXTENSION calls for Composite extension
4824
4825commit db332dcda989b5b021dc220c102666f695c772cf
4826Author: Henning Sten <henning.sten@yahoo.com>
4827Date:   Sat Sep 20 13:08:58 2008 +0200
4828
4829    fix tiny memory leak in read_packet (leak only happens when malloc returns NULL so it's very rare)
4830    
4831    Signed-off-by: Julien Danjou <julien@danjou.info>
4832
4833commit 9afadd2aef8af89a4f4ab70baeae0b848904c367
4834Author: Carsten Meier <cm@trexity.de>
4835Date:   Tue Sep 9 12:11:37 2008 +0200
4836
4837    Added generation of extern "C" for compatibility with C++
4838    
4839    The auto-generated header files now include an extern "C"
4840    declaration for compatibility with C++.
4841    
4842    Signed-off-by: Julien Danjou <julien@danjou.info>
4843
4844commit 25e59ccc0dc8baf344145d6d739229e8120330db
4845Author: Julien Cristau <jcristau@debian.org>
4846Date:   Tue Sep 9 04:42:36 2008 +0100
4847
4848    Add support for the abstract socket namespace under Linux
4849    
4850    Based on same in Xtrans.
4851    
4852    Signed-off-by: Julien Danjou <julien@danjou.info>
4853
4854commit f3f8738436d09f7e590b76e22a7a2cc4b16abd1d
4855Author: Julien Cristau <jcristau@debian.org>
4856Date:   Tue Sep 9 04:42:35 2008 +0100
4857
4858    Fix some fd leaks in _xcb_open_*()
4859    
4860    Signed-off-by: Julien Danjou <julien@danjou.info>
4861
4862commit d6d44e1bf09cca8aefbf4ce9875d7f794bf19fb1
4863Author: Bart Massey <bart@cs.pdx.edu>
4864Date:   Wed Sep 3 13:52:58 2008 -0700
4865
4866    fixed overly aggressive warning about fixed field following variable
4867
4868commit 7e0674e76186ee4491a089350511fc0d22fb3af3
4869Author: Bart Massey <bart@cs.pdx.edu>
4870Date:   Sun Aug 31 00:42:23 2008 -0700
4871
4872    added small fix to support trailing fixed fields; also warning for non-pad fixed fields
4873
4874commit 2d04a1e6cedcdc832e2db3c65ababc3aff904ec4
4875Author: Vincent Torri <vtorri at univ-evry dot fr>
4876Date:   Sun Aug 31 10:33:31 2008 +0200
4877
4878    factorize m4 macros and add one to set X extensions
4879    
4880    Signed-off-by: Julien Danjou <julien@danjou.info>
4881
4882commit bcf662c1b433b296060c66ae1656fcb5c6e697ef
4883Author: Julien Danjou <julien@danjou.info>
4884Date:   Thu Aug 28 14:35:54 2008 +0200
4885
4886    Initialize all fields of addrinfo
4887    
4888    Signed-off-by: Julien Danjou <julien@danjou.info>
4889
4890commit baf31b1bf20b49ec00d0f64bb7cc9c788a28c088
4891Author: Julien Danjou <julien@danjou.info>
4892Date:   Thu Aug 28 13:51:38 2008 +0200
4893
4894    Use ifdef instead of if for defined value
4895    
4896    Signed-off-by: Julien Danjou <julien@danjou.info>
4897
4898commit 38d5de3a5573b2e89e97d04a809a3dd38a0fe8a7
4899Author: Julien Danjou <julien@danjou.info>
4900Date:   Wed Aug 27 13:56:28 2008 +0200
4901
4902    Set namelen unsigned
4903    
4904    Signed-off-by: Julien Danjou <julien@danjou.info>
4905
4906commit 9c9c09b376fe1ddcedd03c52cfc0b06867d998c9
4907Author: Julien Danjou <julien@danjou.info>
4908Date:   Wed Aug 27 13:56:26 2008 +0200
4909
4910    Rename index to idx to avoid shadowing
4911    
4912    Signed-off-by: Julien Danjou <julien@danjou.info>
4913
4914commit c5b2e53abf0b113d4cc4105127cf848ee450aa98
4915Author: Julien Danjou <julien@danjou.info>
4916Date:   Wed Aug 27 13:56:25 2008 +0200
4917
4918    Use a signed size in read_block()
4919    
4920    Signed-off-by: Julien Danjou <julien@danjou.info>
4921
4922commit 1bbdba52116f127bed3ce812a00240b4009bbf22
4923Author: Julien Danjou <julien@danjou.info>
4924Date:   Wed Aug 27 13:56:24 2008 +0200
4925
4926    Use unsigned to compare and rename sync
4927    
4928    - i must be unsigned to be compare in the loop
4929    - sync shadow global sync() function
4930    
4931    Signed-off-by: Julien Danjou <julien@danjou.info>
4932
4933commit 6438584285de72858f97be891e16a125d13471d8
4934Author: Julien Danjou <julien@danjou.info>
4935Date:   Wed Aug 27 13:56:23 2008 +0200
4936
4937    Fix htonl() arg & convert sizeof() to signed
4938    
4939    Signed-off-by: Julien Danjou <julien@danjou.info>
4940
4941commit 1ead02e88eb9f37757eeb1cc8c762fc48d6d08ee
4942Author: Julien Danjou <julien@danjou.info>
4943Date:   Wed Aug 27 13:56:22 2008 +0200
4944
4945    initialize global_id to 0
4946    
4947    Signed-off-by: Julien Danjou <julien@danjou.info>
4948
4949commit f209d0ef7ad57a395c01ca09ecf48117a648e39c
4950Author: Peter Hutterer <peter.hutterer@who-t.net>
4951Date:   Thu Jul 17 13:57:41 2008 +0930
4952
4953    Bump to 1.1.91.
4954
4955commit cdc347938702dddbacb5af5c24988e9152b5447c
4956Author: Julien Cristau <jcristau@debian.org>
4957Date:   Wed Jul 16 23:25:04 2008 +0930
4958
4959    Make EXTHEADERS, EXTSOURCES, EXTENSION_XML unconditional of configure flags.
4960    
4961    yay, make distcheck works now even when some extensions are disabled.
4962    
4963    Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
4964
4965commit a9d15a08451c76a9250642c9f662f296196f60a0
4966Author: Petr Salinger <Petr.Salinger@seznam.cz>
4967Date:   Mon Jul 7 17:57:37 2008 +0200
4968
4969    fix FreeBSD support
4970    
4971    The GNU/kFreeBSD (and BSDs in general) have a different
4972    layout of struct sockaddr, sockaddr_in, sockaddr_un ...
4973    
4974    The first member do not have to be "sa_family",
4975    they also have "sa_len" field.
4976    
4977    Signed-off-by: Julien Danjou <julien@danjou.info>
4978
4979commit ee78071902e93ce22a3170f0937c158fd16894d8
4980Author: Peter Hutterer <peter@cs.unisa.edu.au>
4981Date:   Wed May 28 17:41:35 2008 +0930
4982
4983    Bump to 1.1.90.
4984
4985commit 424ad131b7d97d6196181c31677655e6d52b41df
4986Author: Josh Triplett <josh@freedesktop.org>
4987Date:   Wed May 28 12:26:13 2008 -0700
4988
4989    Fix variable declaration formatting
4990
4991commit 6532c715c3805128b9976ab208f1426f691056a2
4992Author: Peter Hutterer <peter@cs.unisa.edu.au>
4993Date:   Tue May 15 16:28:19 2007 +0930
4994
4995    Add xcb_ge_event_t and handling for long events.
4996    
4997    GenericEvent can be more than 32 bytes long. Ensure that the required data is
4998    pulled off the wire and tack it onto the event.
4999    
5000    Due to the structure of the xcb_generic_event_t, the data is appended AFTER
5001    the full_sequence field.
5002
5003commit b08a5909daf589d5e06c17c55d044f39c1d3479a
5004Author: Oswald Buddenhagen <ossi@kde.org>
5005Date:   Thu May 1 16:17:55 2008 -0400
5006
5007    Fix libxcb/src compile with srcdir != builddir.
5008
5009commit 4a405feba8cde8490d847a57b7e833176e18b90f
5010Author: Eamon Walsh <ewalsh@tycho.nsa.gov>
5011Date:   Wed Apr 23 20:26:28 2008 -0400
5012
5013    Replace a stray c-client.xsl in the libxcb SOURCES.  Fixes make distcheck.
5014
5015commit 40566c36d543edc2118cbb358e0303d9e8862892
5016Author: Eamon Walsh <ewalsh@tycho.nsa.gov>
5017Date:   Wed Apr 23 20:25:57 2008 -0400
5018
5019    Use the python install path from xcb-xproto.pc to locate the xcbgen package.
5020
5021commit b3832bcc46d85110fdb2b553df6249a831cfe0fa
5022Author: Jeremy Kolb <jkolb@glorfindel.hsd1.ma.comcast.net>
5023Date:   Sun Apr 20 16:26:51 2008 -0400
5024
5025    Add mention of PYTHONPATH if xcbgen cannot be found.
5026
5027commit 5ee915e12a102e86e141981bbce60ed81037dfdc
5028Author: Eamon Walsh <ewalsh@tycho.nsa.gov>
5029Date:   Fri Apr 18 16:30:08 2008 -0400
5030
5031    Add Python parser C language-dependent part.
5032
5033commit 947a2e26e4217531e612a5110e6f95296c94614f
5034Author: Eamon Walsh <ewalsh@tycho.nsa.gov>
5035Date:   Thu Jan 24 16:02:34 2008 -0500
5036
5037    Add SELinux extension support, disabled by default.
5038
5039commit 0b5f684eb0f8a8ad1887514568532037bb46020c
5040Author: Eamon Walsh <ewalsh@tycho.nsa.gov>
5041Date:   Thu Jan 24 15:57:35 2008 -0500
5042
5043    Add XInput extension support, disabled by default.
5044
5045commit c72581c844efbaaa7e632377b57678f6668327fe
5046Author: Eamon Walsh <ewalsh@tycho.nsa.gov>
5047Date:   Tue Jan 15 17:06:14 2008 -0500
5048
5049    Inputs to AC_CONFIG_FILES are automatically distributed.
5050    Hence, it is not necessary to explicitly add them to EXTRA_DIST.
5051
5052commit 7a74ba3d0212f9bfe021d6da9070f71cbc53f85b
5053Author: Eamon Walsh <ewalsh@tycho.nsa.gov>
5054Date:   Fri Dec 7 16:22:04 2007 -0500
5055
5056    Generated the configure.ac and Makefile.am's in libxcb with the idea of
5057    making each extension library individually selectable for build.
5058    
5059    Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
5060
5061commit bcd1dcec9b242d7e2185c1ae83d3884844a2647f
5062Merge: baae582 9bf8329
5063Author: Eamon Walsh <ewalsh@tycho.nsa.gov>
5064Date:   Fri Dec 7 16:18:00 2007 -0500
5065
5066    Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb/libxcb
5067
5068commit 9bf8329b50a8edacf00efb074f73c3bb759f7c8d
5069Author: Bart Massey <bart@cs.pdx.edu>
5070Date:   Sat Nov 24 14:53:54 2007 -0800
5071
5072    make IPv6 optional
5073
5074commit 0593989103c48cc10165066d985c9f2d3355926b
5075Author: Eamon Walsh <ewalsh@tycho.nsa.gov>
5076Date:   Fri Nov 16 19:38:40 2007 -0500
5077
5078    Remove file that wasn't meant to be committed.
5079
5080commit baae5826a6f51490e842be931c8b9f76086c4d98
5081Merge: c3136d1 46413cd
5082Author: Eamon Walsh <ewalsh@tycho.nsa.gov>
5083Date:   Fri Nov 16 19:36:08 2007 -0500
5084
5085    Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb/libxcb
5086
5087commit 46413cd85ee4f3d51a3a3e1d8ee13bc5fa6c2d5d
5088Author: Eamon Walsh <ewalsh@tycho.nsa.gov>
5089Date:   Fri Nov 16 19:34:42 2007 -0500
5090
5091    Add comment noting the requirement to free replies when finished.
5092
5093commit c3136d18321df31caa7f582d475132c2e02155de
5094Author: Eamon Walsh <ewalsh@tycho.nsa.gov>
5095Date:   Fri Nov 16 19:33:20 2007 -0500
5096
5097    Add generated comment noting requirement to free replies after use.
5098
5099commit 3c6c8f127c2bce4f45bface7dd45cc719af9de0d
5100Author: Jamey Sharp <jamey@minilop.net>
5101Date:   Sun Nov 4 17:29:13 2007 -0800
5102
5103    Release libxcb 1.1
5104
5105commit af50de26c10c93ccc4cd3bc61e92aff47651b961
5106Author: Jamey Sharp <jamey@minilop.net>
5107Date:   Sun Nov 4 17:26:21 2007 -0800
5108
5109    Revert "Generate error constants as XCB_BAD_*, similar to Xlib."
5110    
5111    Since several extensions named their errors like "BadFoo", this patch
5112    results in names like XCB_EXT_BAD_BAD_FOO, which is really awful. Those
5113    extensions are already kind of awful, as they produce structure names
5114    like xcb_ext_bad_foo_error_t, which is redundant.
5115    
5116    A patch that removes "Bad" from the XML extension descriptions, while
5117    maintaining API and ABI compatibility in XCB, is needed before this
5118    patch can be released.
5119    
5120    This reverts commit 158c9b6ba18b39f424bd524fceb66f3fec0d1616.
5121
5122commit a29fbc2645fabb96d02c382ffef499b48fb1514a
5123Author: Jamey Sharp <jamey@minilop.net>
5124Date:   Sun Oct 28 13:28:18 2007 -0700
5125
5126    Don't hold the xlib-xcb lock while sleeping: that allows deadlock.
5127    
5128    With this patch, `ico -threads 2` runs without deadlock.
5129    
5130    Many thanks to Christoph Pfister <christophpfister@gmail.com> for
5131    pointing out the problem, providing detailed analyses, explaining it to
5132    me repeatedly until I understood what was going on, and proposing and
5133    reviewing possible solutions.
5134    
5135    Signed-off-by: Jamey Sharp <jamey@minilop.net>
5136    Acked-by: Christoph Pfister <christophpfister@gmail.com>
5137
5138commit f6b75d6090dc40918196d2b902e9616d0199af42
5139Author: Jamey Sharp <jamey@minilop.net>
5140Date:   Sun Oct 28 11:56:08 2007 -0700
5141
5142    Factor pthread_cond_wait(iolock) to _xcb_wait_io.
5143    
5144    This parallels the _xcb_lock_io and _xcb_unlock_io factoring.
5145
5146commit 4d828c5eba9fc7161c5f18650f2dbe218e1db06f
5147Author: Jamey Sharp <jamey@minilop.net>
5148Date:   Tue Oct 23 11:03:33 2007 -0700
5149
5150    Don't abort() on locking assertions if LIBXCB_ALLOW_SLOPPY_LOCK is set.
5151    
5152    But do still print a full backtrace, on platforms where that's
5153    supported.
5154    
5155    This commit follows the spirit of Novell's libxcb-sloppy-lock.diff.
5156    
5157    I strongly opposed proposals like this one for a long time. Originally I
5158    had a very good reason: libX11, when compiled to use XCB, would crash
5159    soon after a locking correctness violation, so it was better to have an
5160    informative assert failure than a mystifying crash soon after.
5161    
5162    It took some time for me to realize that I'd changed the libX11
5163    implementation (for unrelated reasons) so that it could survive most
5164    invalid locking situations, as long as it wasn't actually being used
5165    from multiple threads concurrently.
5166    
5167    The other thing that has changed is that most of the code with incorrect
5168    locking has now been fixed. The value of the assert is accordingly
5169    lower.
5170    
5171    However, remaining broken callers do need to be fixed. That's why libXCB
5172    will still noisily print a stacktrace (if possible) on each assertion
5173    failure, even when assert isn't actually invoked to abort() the program;
5174    and that's why aborting is still default. This environment variable is
5175    provided only for use as a temporary workaround for broken applications.
5176    
5177    Signed-off-by: Jamey Sharp <jamey@minilop.net>
5178    Acked-by: Josh Triplett <josh@freedesktop.org>
5179
5180commit 09045eaac34973662aaa820a94ca8ed66d9dcb4e
5181Author: Egbert Eich <eich@freedesktop.org>
5182Date:   Thu Jul 19 17:00:18 2007 +0200
5183
5184    Allow unix:<screen> style display names again.
5185    
5186    https://bugzilla.novell.com/show_bug.cgi?id=289007
5187    This notion is used in a lot of scripts.
5188
5189commit 65ffbc6cfdb97b14689d3baef183cd50fbd31a7f
5190Author: Josh Triplett <josh@freedesktop.org>
5191Date:   Wed Jun 13 23:46:37 2007 -0700
5192
5193    Send locking assertion backtraces to stderr.  Improve the heading on the backtrace.
5194
5195commit 605c778e695a4535c35c5324325f310b5faf80e2
5196Author: Christoph Pfister <christophpfister@gmail.com>
5197Date:   Wed Jun 6 17:17:49 2007 +0200
5198
5199    Print backtraces in case an assert fails inside xlib/xcb.
5200    
5201    As you know there are some nasty libs / apps doing locking
5202    incorrectly. In order to improve the information given to the user
5203    when he encounters such a situation (people don't run apps in gdb
5204    normally) I created the patch attached.
5205    It's very non-intrusive (and affects only xlib/xcb, Josh told me on
5206    irc that it could be useful for other areas too, personally I don't
5207    think that it's really needed at other places ...).
5208    
5209    Some same outputs and the discussion of them:
5210    
5211        lxuser@pdln:/tmp$ ./main
5212        Got a backtrace:
5213        #0 /tmp/usr/lib/libxcb-xlib.so.0 [0xb7f9d728]
5214        #1 /tmp/usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb7f9d861]
5215        #2 ./test.so(function_a+0x11) [0xb7f9f3fd]
5216        #3 ./test.so(function_b+0x11) [0xb7f9f410]
5217        #4 ./main [0x80484a7]
5218        #5 /lib/libc.so.6(__libc_start_main+0xdc) [0xb7e60ebc]
5219        #6 ./main [0x80483f1]
5220        main: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
5221        Aborted
5222    
5223    That's kinda the normal situation.
5224    
5225        lxuser@pdln:/tmp$ ./main
5226        Got a backtrace:
5227        #0 /tmp/usr/lib/libxcb-xlib.so.0 [0xb7f90728]
5228        #1 /tmp/usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb7f90861]
5229        #2 /tmp/test.so [0xb7f923cd]
5230        #3 /tmp/test.so(function_b+0x11) [0xb7f923e0]
5231        #4 ./main [0x80484ab]
5232        #5 /lib/libc.so.6(__libc_start_main+0xdc) [0xb7e53ebc]
5233        #6 ./main [0x80483f1]
5234        main: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
5235        Aborted
5236    
5237    There are two possible reasons that the name doesn't appear in #2:
5238    a) a hidden symbol or a symbol with statical linkage in a library
5239    b) a symbol in an app not compiled with -rdynamic.
5240    But in both cases you still know _where_ the caller is.
5241    
5242    Note that in this example test.so was compiled with
5243    -fomit-frame-pointer; this isn't an issue as _one_ (= the caller)
5244    stack trace is still valid (as long as you don't have the insane idea
5245    to compile xcb with -fo-f-p).
5246    
5247    Another issue that may appear is "tail call elimination" (some entries
5248    are mysteriously missing; this is quite ugly, but you still get enough
5249    information so that you can do something useful with the issue e.g. by
5250    disassembling the relevant parts with gdb).
5251    
5252    Signed-off-by: Jamey Sharp <jamey@minilop.net>
5253
5254commit e20a31d72b8838cdf31b568431b5ad78492c1481
5255Author: Jamey Sharp <jamey@minilop.net>
5256Date:   Sat Jun 2 18:29:37 2007 -0700
5257
5258    xcb_poll_for_event: Return already-read events before read(2)ing again.
5259
5260commit 2ec1383a68bf9f4baf7125a7d6544167f38d8d62
5261Merge: 3abd416 158c9b6
5262Author: Matthias Hopf <mhopf@suse.de>
5263Date:   Wed Apr 18 12:46:08 2007 +0200
5264
5265    Merge branch 'master' of git://anongit.freedesktop.org/git/xcb/libxcb
5266
5267commit 158c9b6ba18b39f424bd524fceb66f3fec0d1616
5268Author: Ian Osgood <iano@quirkster.com>
5269Date:   Fri Apr 13 15:14:12 2007 -0700
5270
5271    Generate error constants as XCB_BAD_*, similar to Xlib.
5272    
5273    The previous constants remain for compatibility, but should be deprecated.
5274
5275commit f7279d8c8ae33d6e3029e85b14ed8495d3b00e30
5276Merge: 0925e47 eaa380e
5277Author: TORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>
5278Date:   Thu Apr 12 15:48:44 2007 +0200
5279
5280    Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb/libxcb
5281
5282commit 0925e470b2abf8837c62e81428660a01bbb990fa
5283Author: TORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>
5284Date:   Thu Apr 12 15:46:05 2007 +0200
5285
5286    remove the 7th bit of the response_type for the event loops
5287
5288commit 3abd41625c7d6db6d01f3167d6bac2b7481965cf
5289Author: Matthias Hopf <mhopf@suse.de>
5290Date:   Wed Apr 11 17:31:31 2007 +0200
5291
5292    Update autogen.sh to one that does objdir != srcdir
5293
5294commit eaa380efefd347abcd11a6c24c008686beaf8257
5295Author: Eamon Walsh <ewalsh@tycho.nsa.gov>
5296Date:   Tue Apr 10 11:56:06 2007 -0400
5297
5298    Modify new attribute from previous patch so that it is necessary only on
5299    extensions with split names.  Tested with diff and found no difference with
5300    previous stylesheet header-file output.
5301
5302commit 91be36f845352dea7838853d0f98ae144fe571a4
5303Author: Eamon Walsh <ewalsh@tycho.nsa.gov>
5304Date:   Thu Mar 29 12:28:07 2007 -0700
5305
5306    Replaces special-casing in c-client stylesheet with support
5307    for new attribute.  Tested with diff and found no difference with
5308    previous stylesheet header-file output.
5309
5310commit 4a60950b7433eb41e08cb0c74dc8ced8f92fd78a
5311Author: TORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>
5312Date:   Tue Feb 27 13:35:02 2007 +0100
5313
5314    add the first step toward the documentation of the request/reply functions. The arguments of the requests are not found yet. Josh, can you look at it ?
5315
5316commit bca41cdcdb11e2a610d7b7a3d077cbb77bc81e45
5317Author: TORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>
5318Date:   Wed Feb 7 20:08:27 2007 +0100
5319
5320    and make the html code valid...
5321
5322commit acefe83bea9b2b17a956d68f5be504866d34196f
5323Author: TORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>
5324Date:   Wed Feb 7 20:04:10 2007 +0100
5325
5326    font part
5327
5328commit 8a8c1fa184939ef23f96421990c171b49d16ee33
5329Author: TORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>
5330Date:   Wed Feb 7 18:57:46 2007 +0100
5331
5332    no more xid or id fields
5333
5334commit 6cedaece0e294d39fe090b87e2f60569b40a4554
5335Author: TORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>
5336Date:   Tue Feb 6 09:31:54 2007 +0100
5337
5338    add the complete cursor example. Make the html code valid
5339
5340commit ab22a4d61665bbe637b8c1f349fcfaf04e386e88
5341Author: TORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>
5342Date:   Mon Jan 22 11:40:15 2007 +0100
5343
5344    add doxygen doc for the *_end functions
5345
5346commit 342e9cefcc7d942714488f6b424fee7a5bdc741f
5347Author: TORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>
5348Date:   Sat Jan 13 11:20:55 2007 +0100
5349
5350    fix all the occurence where a drawable where considered as a union
5351
5352commit 70a72f65e438888a5530e9911c36aad68833790f
5353Author: Josh Triplett <josh@freedesktop.org>
5354Date:   Sun Dec 10 21:10:06 2006 -0800
5355
5356    Add autogen.sh to EXTRA_DIST.
5357
5358commit 867ae5eb5c19091365daad621b923f56ff699415
5359Author: Josh Triplett <josh@freedesktop.org>
5360Date:   Sun Dec 10 21:09:30 2006 -0800
5361
5362    Add tools/* to EXTRA_DIST.
5363
5364commit 67af2d24e4c46580479570cf09586a54b84b1b63
5365Author: TORRI Vincent <torri@doursse.(none)>
5366Date:   Tue Nov 28 20:26:54 2006 +0100
5367
5368    add doc tag for the _next functions. It creates doxygen doc in the header files for these functions
5369
5370commit 4c8777f87a28ff5bf45cbdddce509163dbcf8137
5371Merge: e624cca f486075
5372Author: TORRI Vincent <torri@doursse.(none)>
5373Date:   Tue Nov 28 20:15:27 2006 +0100
5374
5375    Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb/libxcb
5376
5377commit e624cca7df4c2c5bc5e44af1e851e5a0d17c88bd
5378Author: TORRI Vincent <torri@doursse.(none)>
5379Date:   Tue Nov 28 20:14:16 2006 +0100
5380
5381    add some output informations to configure script
5382
5383commit f486075fa093846c3f32b3e4b9624c039ea26ba4
5384Author: Tilman Sauerbeck <tilman@code-monkey.de>
5385Date:   Fri Nov 24 15:48:08 2006 +0100
5386
5387    If enable_build_docs is "no", we don't even try to look for doxygen.
5388    
5389    Also set BUILD_DOCS in that branch. Now the disable-build-docs works
5390    as expected.
5391
5392commit 2e8e6debac39864450c0a69633086ad92459c25e
5393Author: Tilman Sauerbeck <tilman@code-monkey.de>
5394Date:   Fri Nov 24 15:43:39 2006 +0100
5395
5396    Fixed evaluation of the disable-build-docs argument.
5397    
5398    Now at least enable_build_docs is set correctly.
5399
5400commit 19dfaf93ac1b5e9d3ce09b1f8e2338e53a5d7324
5401Author: Ian Osgood <iano@quirkster.com>
5402Date:   Sun Nov 26 09:26:32 2006 -0800
5403
5404    Fix unit tests for FreeBSD
5405    
5406    putenv() string must contain '='
5407    environment failure test is invalid if argument is NULL
5408
5409commit 98e2a5617ef1c9955b3b5553224c34f55c7c5d29
5410Author: Josh Triplett <josh@freedesktop.org>
5411Date:   Sat Nov 25 22:27:33 2006 -0800
5412
5413    Use substitition variables in xcb-xinerama.pc.in, not instances of their values
5414    
5415    xcb-xinerama.pc.in looked more like a generated .pc file; replace specific
5416    instances of values provided by an invocation of configure with the general
5417    substitution variables configure replaces.
5418
5419commit e74cdcd02e6814222a76c0a237efca16c423bb26
5420Author: Ian Osgood <iano@quirkster.com>
5421Date:   Sat Nov 25 11:00:14 2006 -0800
5422
5423    Bug #9119: test xcb_popcount
5424
5425commit 05d23a724d4dde42b11d6e9dec9ccaf5a516e287
5426Author: Jamey Sharp <jamey@minilop.net>
5427Date:   Fri Nov 24 16:22:13 2006 -0800
5428
5429    libXau didn't have a correct pkg-config file until 0.99.2: fail if an older version is found.
5430
5431commit 3360d0c79e98cf6b7f30b2d84f117aea0a28595d
5432Author: Jamey Sharp <jamey@minilop.net>
5433Date:   Fri Nov 24 13:24:05 2006 -0800
5434
5435    NetBSD doesn't have AI_ADDRCONFIG: use it only if it's available.
5436
5437commit 818811a7ac660e46d0dca1cbf9e53ad0475af330
5438Author: TORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>
5439Date:   Fri Nov 24 12:33:15 2006 +0100
5440
5441    replace all the _new functions with xcb_generate_id. repalce X11/XCB with xcb. Fix a description of the default background of a window
5442
5443commit 27f98afc2f7039f8546d6cab5a72f609c72299d6
5444Author: Josh Triplett <josh@freedesktop.org>
5445Date:   Thu Nov 23 07:30:51 2006 -0800
5446
5447    Release libxcb 1.0
5448
5449commit 11738b2af0d8bfcf5b2f7c0d3e6ade1a14866b94
5450Author: Diego 'Flameeyes' Pettenò <flameeyes@gentoo.org>
5451Date:   Thu Nov 23 15:15:30 2006 +0100
5452
5453    Avoid race condition when using multiple make jobs
5454    
5455    Avoid race condition when symlinking XML files.
5456    When declaring a rule with many files as target, the rule is called
5457    when any of them is requested, resulting in multiple for loops happening
5458    during a make process using more than one job.
5459    Also, use '$(LN_S) -f' rather than removing and recreating a file,
5460    that one should be as supported as 'rm -f' and requires one less command.
5461
5462commit 30c768b322f613d697a61997e081a19aecd0b07f
5463Author: Josh Triplett <josh@freedesktop.org>
5464Date:   Thu Nov 23 02:11:02 2006 -0800
5465
5466    Rewrite automake's data installation rules, because they suck.
5467    
5468    Specifically, they didn't handle installing data from both srcdir and builddir.
5469    We have the tutorial in the srcdir, and build the manual in the builddir.
5470    
5471    Also, stop rebuilding the manual for each make target in the doc directory, and
5472    every time any of those targets get called.  This change now makes the manual
5473    never rebuild once built; we plan to fix that later, by rewriting the makefiles
5474    to avoid recursive make, and then making the manual depend on the source files.
5475    
5476    Commit by Jamey Sharp and Josh Triplett.
5477
5478commit af3a15838fc7dc5b4e52197854deb54da6baeaf1
5479Author: Josh Triplett <josh@freedesktop.org>
5480Date:   Thu Nov 23 00:08:30 2006 -0800
5481
5482    Rework doxygen build and install to work with srcdir != builddir
5483    
5484    The documentation generation with doxygen now works when built out of tree,
5485    with srcdir != builddir.  xcb.doxygen now gets generated from xcb.doxygen.in,
5486    so that it can use top_builddir and top_srcdir to find source and to output
5487    documentation.  Also fill in PROJECT_NUMBER from @VERSION@, now that we have
5488    it readily available via autoconf.
5489
5490commit 608058ec80edb041ca012d530b42d97474f80320
5491Author: Josh Triplett <josh@freedesktop.org>
5492Date:   Wed Nov 22 22:47:15 2006 -0800
5493
5494    Remove --with-opt and --with-debug options from configure.ac; use CFLAGS instead
5495    
5496    configure supports using custom CFLAGS, so remove the --with-opt and
5497    --with-debug options from configure.ac, and the corresponding usage of
5498    COPTFLAGS and CDEBUGFLAGS in src/Makefile.am.
5499
5500commit 1aade6a15f767c49db5c1b69b97a5b1bf8cdce57
5501Author: Josh Triplett <josh@freedesktop.org>
5502Date:   Wed Nov 22 21:49:52 2006 -0800
5503
5504    Check for getaddrinfo rather than gethostbyname in configure.ac
5505    
5506    Since the addition of IPv6 support, we now use getaddrinfo rather than
5507    gethostbyname; update configure.ac accordingly.
5508
5509commit 183c2ba4cca71f4b12f106f801f0bd30c4c527f1
5510Author: Jamey Sharp <jamey@minilop.net>
5511Date:   Wed Nov 22 21:27:41 2006 -0800
5512
5513    xcb-proto has no libraries or headers, so don't use XCBPROTO_CFLAGS or XCBPROTO_LIBS.
5514
5515commit e54dfd73a9652bbc103f3f874abc303aed4b5d76
5516Author: Jamey Sharp <jamey@minilop.net>
5517Date:   Wed Nov 22 20:29:04 2006 -0800
5518
5519    Use pthread-stubs as needed, and list xdmcp in Requires.private when XCB is built to use it.
5520
5521commit 3de6ab7b786775d9e7df1523c27cdfe3ffd3a25f
5522Author: Josh Triplett <josh@freedesktop.org>
5523Date:   Tue Nov 21 20:29:34 2006 -0800
5524
5525    Replace uses of "long" with uint32_t, and similar; fixes 64-bit bugs
5526
5527commit 7fbfebaa3fb3a5ca2d2a307a0a5c40c015e18115
5528Author: Ian Osgood <iano@quirkster.com>
5529Date:   Tue Nov 21 09:04:37 2006 -0800
5530
5531    Fix IP6 work for FreeBSD/Mac.
5532
5533commit 684b8271a4539527daa15da82ad0cc302fb44727
5534Author: Josh Triplett <josh@freedesktop.org>
5535Date:   Tue Nov 21 00:57:49 2006 -0800
5536
5537    Support XDM-AUTHORIZATION-1 on IPv6
5538    
5539    Commit by Jamey Sharp and Josh Triplett.
5540
5541commit d6abe93b06c421b78e92d76ceb5ca181e3adff31
5542Author: Josh Triplett <josh@freedesktop.org>
5543Date:   Mon Nov 20 23:25:41 2006 -0800
5544
5545    Refactor auth code to get display number from xcb_connect
5546    
5547    Change xcb_connect to pass the display number to _xcb_get_auth_info, which
5548    passes it to get_authptr.  This allows get_authptr to stop hacking the display
5549    number out of the sockaddrs of various address families, such as
5550    port - X_TCP_PORT, or the number after the last X in the UNIX socket path. This
5551    also removes a portability bug introduced during the IPv6 changes: relying on
5552    '\0'-termination of the UNIX socket path in a sockaddr_un.
5553    
5554    Commit by Jamey Sharp and Josh Triplett.
5555
5556commit 4a928de402a6e69886921fe428bbffb909c6405e
5557Author: Josh Triplett <josh@freedesktop.org>
5558Date:   Mon Nov 20 22:26:40 2006 -0800
5559
5560    Only use AI_NUMERICSERV if defined.
5561
5562commit 907f8c8c4906cbd2352f3bbddfe144ad81a2cfa8
5563Author: Josh Triplett <josh@freedesktop.org>
5564Date:   Mon Nov 20 22:16:24 2006 -0800
5565
5566    Support authentication for IPv6 connections
5567    
5568    Support AF_INET6 in get_authptr, and refactor to use common code for IPv4 and
5569    v4-mapped IPv6 addresses.
5570    
5571    Commit by Jamey Sharp and Josh Triplett.
5572
5573commit 48776ce233bf77fbaddbe972d2356bca69094239
5574Author: Josh Triplett <josh@freedesktop.org>
5575Date:   Mon Nov 20 17:53:30 2006 -0800
5576
5577    Support displays with IPv6 addresses or hosts which resolve to IPv6 addresses
5578    
5579    xcb_parse_display already correctly handled IPv6 displays.  Now, _xcb_open_tcp
5580    uses getaddrinfo, and correctly connects to IPv6 displays.  Displays can use
5581    bare IPv6 addresses, square-bracketed IPv6 addresses, or hostnames which
5582    resolve to IPv6 addresses.
5583    
5584    Since IPv6 addresses may include colons, including at the end, revise the
5585    DECnet display parsing code to avoid triggering on IPv6 addresses.
5586    
5587    Authorization may not work with IPv6 connections yet.
5588    
5589    This commit brought to you by the (display) number ::1:1.1, the letter X,
5590    the Gobby collaborative editor, Josh Triplett, and Jamey Sharp.
5591
5592commit 6c3a8db3f69aebf2b5c1330ec6c11b3138f9bdfe
5593Author: Josh Triplett <josh@freedesktop.org>
5594Date:   Mon Nov 20 17:48:49 2006 -0800
5595
5596    Add new xcb_parse_display test cases, most related to IPv6 addresses
5597
5598commit 3d9bb02012b35fd51ed3352d0bd974a0f6e439d8
5599Author: Jamey Sharp <jamey@minilop.net>
5600Date:   Sun Nov 19 21:48:27 2006 -0800
5601
5602    Bug #5958: Also zero out the implicit pad byte in empty requests.
5603
5604commit 3fa50020d2d9b78e22cf3597f4688c4e22df5121
5605Author: Jamey Sharp <jamey@minilop.net>
5606Date:   Sun Nov 19 18:31:48 2006 -0800
5607
5608    Remove support for the <localfield> tag: nothing needs it.
5609    
5610    Only one use of <localfield> remained, for a list length expression in
5611    xv.xml. List length parameters that don't actually appear in the
5612    protocol should be left implicit: if no length expression is given, then
5613    a localfield will be automatically created by c-client.xsl.
5614
5615commit 16e7328b4a366b29d54696aafffe62c92e0e0130
5616Author: Jamey Sharp <jamey@minilop.net>
5617Date:   Sun Nov 19 17:56:32 2006 -0800
5618
5619    Bug #5958: zero out padding bytes in requests.
5620
5621commit 6eee1707ea7bc303620e39911706d5fb71fa16b0
5622Author: Jamey Sharp <jamey@minilop.net>
5623Date:   Sun Nov 19 00:30:37 2006 -0800
5624
5625    htmldir was introduced in autoconf 2.59c: set a reasonable value for earlier versions.
5626
5627commit da4d56ef5a880eb24014a141e6e16668ab51f180
5628Author: Jamey Sharp <jamey@minilop.net>
5629Date:   Sun Nov 12 15:30:10 2006 -0800
5630
5631    Provide xcb_prefetch_maximum_request_length counterpart to xcb_get_maximum_request_length.
5632
5633commit aedfa1fe1d91a10ccfe3ee6ac6b7a25885623dc6
5634Author: Jamey Sharp <jamey@minilop.net>
5635Date:   Sat Nov 18 21:30:12 2006 -0800
5636
5637    Fix Doxygen warnings.
5638    
5639    Specifically, fixes these two warnings which were emitted for every
5640    generated source file:
5641    
5642    * Warning: end of file while inside a group
5643    * Warning: group XCB_BigRequests_API already documented. Skipping documentation.
5644
5645commit 44a2160c95f6c90d461d66c0278348c62d2d77fa
5646Author: Jamey Sharp <jamey@minilop.net>
5647Date:   Sat Nov 18 19:36:48 2006 -0800
5648
5649    Make doc installation work and simplify doc/Makefile.am.
5650    
5651    Don't override the default htmldir with an unquoted copy.
5652    
5653    Don't suppress `make` echoing on Doxygen commands.
5654    
5655    Ensure the tutorial is always installed even if Doxygen isn't
5656    available.
5657    
5658    Take better advantage of the automake installation infrastructure.
5659
5660commit 142fe9a6f2b13d42b0e4baaa25155067f45d065b
5661Author: Jamey Sharp <jamey@minilop.net>
5662Date:   Sat Nov 18 16:51:01 2006 -0800
5663
5664    Turn off Doxygen warnings for undocumented API, for now.
5665    
5666    But warn about absent parameter documentation for functions that are
5667    otherwise documented.
5668
5669commit 3634299ecc5223e8505d19468cf04770ac08ec14
5670Author: Jamey Sharp <jamey@minilop.net>
5671Date:   Thu Nov 16 17:02:17 2006 -0800
5672
5673    Switch from the old AM_PATH_CHECK macro to pkg-config.
5674    
5675    check 0.9.4 is now required to build XCB's unit tests.
5676    
5677    The version that we were requiring was not actually new enough to let
5678    our unit tests compile, and the AM_PATH_CHECK macro is now considered
5679    deprecated. We know that versions of check using pkg-config are new
5680    enough to work, and the check dependency was optional anyway, so we've
5681    dropped support for older versions.
5682
5683commit 82762555a1af0b170d01e2042eefe34086e6c132
5684Author: TORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>
5685Date:   Sun Nov 5 18:24:30 2006 +0100
5686
5687    add Makefile.am for building/installing doxygen doc
5688
5689commit f32c7131cc89c64e09e9a88c5f859824c0dfa54f
5690Author: TORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>
5691Date:   Sun Nov 5 18:22:55 2006 +0100
5692
5693    add xcb.doxygen to EXTRA_DIST
5694
5695commit e3b7009dc0be6515d23fbda9c744082506df4cb0
5696Merge: 0262cd6 32cd2d2
5697Author: TORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>
5698Date:   Sun Nov 5 18:21:34 2006 +0100
5699
5700    Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb/libxcb
5701
5702commit 0262cd63a2c10e52daa3bd71cb21a6a37017f234
5703Author: TORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>
5704Date:   Sun Nov 5 18:20:45 2006 +0100
5705
5706    add AM_CHECK_DOXYGEN macro
5707
5708commit 32cd2d20477ab17704f0a2696c2b3bc2ff8f42de
5709Author: Jamey Sharp <jamey@minilop.net>
5710Date:   Thu Nov 2 18:04:16 2006 -0800
5711
5712    Release libxcb 1.0 RC3 (0.9.93).
5713
5714commit 9d155160546798052533c277c877879e83f85979
5715Author: Jeremy Kolb jkolb@brandeis.edu <jkolb@glorfindel.(none)>
5716Date:   Sun Oct 29 19:31:09 2006 -0500
5717
5718    Added initial doxygen generation stuff.  This should probably be cleaned up later.
5719    
5720    Added support for major/minor-version attributes in the xcb tag.  This is just to give some reference and help people when using *query_version.
5721
5722commit 8eba8690adac2c4425f4cac490c77f9f3b1da6f7
5723Author: TORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>
5724Date:   Fri Oct 20 07:00:15 2006 +0200
5725
5726    fix doxy doc
5727
5728commit a5529a4f2f1a9ed117e3465f0e422b707db21c68
5729Author: Jamey Sharp <jamey@minilop.net>
5730Date:   Wed Oct 18 23:28:27 2006 -0700
5731
5732    Add doxygen config file.
5733    
5734    Thanks to Jeremy Kolb <jkolb@brandeis.edu> for the initial version.
5735
5736commit 094248405fd9c0957b92f13acb92461ab61b2c3f
5737Author: Jamey Sharp <jamey@minilop.net>
5738Date:   Wed Oct 18 23:23:00 2006 -0700
5739
5740    Quit treating xproto specially: handle it like all the extensions.
5741
5742commit 6bc0b37303f26faf6fbdcbbee444c227e83a329c
5743Author: Jamey Sharp <jamey@minilop.net>
5744Date:   Wed Oct 18 23:21:39 2006 -0700
5745
5746    Ignore generated xinerama files.
5747
5748commit 5abb10d63ffebbe34054ae17bbdfd142e0b36396
5749Author: Josh Triplett <josh@freedesktop.org>
5750Date:   Mon Oct 16 05:11:57 2006 -0700
5751
5752    Also test xcb_parse_display with NULL argument and display in $DISPLAY
5753
5754commit 9d619d14e347b9dd1d544627060023a4bca2452b
5755Author: Jamey Sharp <jamey@minilop.net>
5756Date:   Sun Oct 15 12:34:30 2006 -0700
5757
5758    Match only XCB-namespaced XID generators when converting to xcb_generate_id.
5759    
5760    Thanks to Vincent Torri for pointing out that I screwed up. :-)
5761
5762commit 5ec55dc9c0c51137d89dd870ede05cc3268f75ae
5763Author: Zephaniah E. Hull <warp@aehallh.com>
5764Date:   Sat Oct 14 19:52:23 2006 -0700
5765
5766    Define and use constants for opcode numbers.
5767    
5768    Hard coding the opcode numbers in the function just makes it harder to figure
5769    out what's going on, but much more to the point, not defining the opcodes in
5770    the header makes it impossible to use the generated headers instead of the
5771    x11proto headers in the server.
5772    
5773    The name I settled on is very simple, for an extension by the name of xconf,
5774    and a request by the name of list_devices, we get XCB_XCONF_LIST_DEVICES.  If
5775    this somehow causes problems, we can probably add a _OP somewhere in there,
5776    but.
5777    
5778    Acked-by: Jamey Sharp <jamey@minilop.net>
5779    Closes: #8641
5780
5781commit c1504691ec2786594e8ffc33f3962f460f041971
5782Author: Jeremy Kolb <jkolb@brandeis.edu>
5783Date:   Thu Oct 12 23:52:59 2006 -0400
5784
5785    Add library support for xcb-xinerama.
5786    
5787    This is version 1.1 of the Xinerama (PanoramiX) extension.
5788
5789commit 7f74dd6b643f7769701c31587bf3cfa9c5a8e980
5790Author: Josh Triplett <josh@freedesktop.org>
5791Date:   Sun Oct 8 18:16:14 2006 -0700
5792
5793    Add note to xcbxlib.h that nothing except Xlib/XCB should use it.
5794
5795commit 431f210bbb20e39a24ac879af5f2a8a7744e6a6c
5796Author: Jamey Sharp <jamey@minilop.net>
5797Date:   Sat Oct 7 19:50:55 2006 -0700
5798
5799    Release libxcb 1.0 RC2 (0.9.92).
5800
5801commit e0fac22caaf27b3e461807f8c563d0457938baa6
5802Author: Jamey Sharp <jamey@minilop.net>
5803Date:   Sat Oct 7 18:35:53 2006 -0700
5804
5805    Bugfix: make Plan 7 'checked' requests work correctly.
5806    
5807    The initial implementation of Plan 7 dumped all X errors into the event
5808    queue, because the record of a pending reply was pruned too early if an
5809    error occurred in place of the expected reply.
5810
5811commit 7b84d8b650a611d4d76083340e50cb7ea815014d
5812Author: Ian Osgood <iano@quirkster.com>
5813Date:   Sat Oct 7 14:09:29 2006 -0700
5814
5815    Document xcb_generate_id.
5816
5817commit 9e10819a678970928c9f9a1fffb4ba00f5ac7c57
5818Author: Josh Triplett <josh@freedesktop.org>
5819Date:   Sat Oct 7 13:16:43 2006 -0700
5820
5821    Move xcb_generate_id from xcbext.h to xcb.h
5822    
5823    Since extensions no longer provide type-specific XID-generation functions,
5824    xcb_generate_id now forms part of the xcb client API, rather than the
5825    extension API; move it from xcbext.h to xcb.h accordingly.
5826
5827commit b9e49b2a47e7388e20f8a5c009cdaf0b369e117c
5828Author: Josh Triplett <josh@freedesktop.org>
5829Date:   Sat Oct 7 01:27:26 2006 -0700
5830
5831    Stop implicitly importing xproto; goes with proto change to explicitly import it
5832
5833commit dd5ece606587d3e41058df803ab1804654195bbb
5834Author: Jamey Sharp <jamey@minilop.net>
5835Date:   Sat Oct 7 01:27:03 2006 -0700
5836
5837    Declare "struct foo" or "enum foo" as well as the typedef'd name "foo".
5838
5839commit 16ec51397e0711526457709605cf6b5ebf00b5e2
5840Author: Josh Triplett <josh@freedesktop.org>
5841Date:   Sat Oct 7 00:14:50 2006 -0700
5842
5843    Handle "xidunion" instead of "union" for XID unions like DRAWABLE and FONTABLE
5844
5845commit 7b786bd8f34e67617beda4f952a5a636a370396a
5846Author: Jamey Sharp <jamey@minilop.net>
5847Date:   Fri Oct 6 23:32:18 2006 -0700
5848
5849    api_conv.pl: replace xcb_*_new with calls directly to xcb_generate_id, now that we have no type-safety XID wrappers.
5850
5851commit c73ff37b907c8af6d03ab69cca27bc837c1cc189
5852Author: Josh Triplett <josh@freedesktop.org>
5853Date:   Fri Oct 6 20:11:19 2006 -0700
5854
5855    Refer to the "xlib lock" rather than the "IOLock" in xcbxlib.h
5856
5857commit 90eeb461be4975ff35d187ba64fedbb16ff13d15
5858Author: Josh Triplett <josh@freedesktop.org>
5859Date:   Fri Oct 6 17:44:53 2006 -0700
5860
5861    Remove XID wrapper structures and replace them with uint32_t typedefs
5862    
5863    After positive feedback from several people, we have decided to remove the XID
5864    wrapper structures that attempted to provide C type safety, and replace them
5865    with uint32_t typedefs.  Feedback has indicated that these type-safety hacks
5866    generated more trouble than help.
5867    
5868    We will bump the libxcb soname at the next release.
5869
5870commit 9bd2c0c58fbe4c994e76619c2d67e46ed8b43030
5871Author: Jamey Sharp <jamey@minilop.net>
5872Date:   Fri Oct 6 16:47:50 2006 -0700
5873
5874    Remove xcb_get_io_lock from the Xlib-specific API: it is no longer used.
5875
5876commit 34168ab549fdf7c6c8a6fbe39824116698d01b12
5877Author: Jamey Sharp <jamey@minilop.net>
5878Date:   Fri Oct 6 16:12:04 2006 -0700
5879
5880    Remove the 'int *error' out-parameter for xcb_poll_for_event.
5881
5882commit 40589db8124b8c72894deb86a825c6117b0a2cd2
5883Author: Jamey Sharp <jamey@minilop.net>
5884Date:   Wed Oct 4 15:01:00 2006 -0700
5885
5886    Add xcb_xlib_lock and xcb_xlib_unlock, a special-purpose two-level recursive lock just for libX11.
5887
5888commit 57b0cd8fea498a32ff2322583c7278d5e86aa4e8
5889Author: Jamey Sharp <jamey@minilop.net>
5890Date:   Wed Oct 4 12:23:45 2006 -0700
5891
5892    Factor out pthread_mutex_lock and unlock calls for the iolock.
5893
5894commit e7f473afbd02c87cc6b1fc9c7c240d6c5cc26763
5895Author: TORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>
5896Date:   Sat Sep 30 13:06:58 2006 +0200
5897
5898    fix some indentation, remove args of the main function (not needed), xcb_sync -> xcb_aux_sync. Jamey, it seems that your script transforms XCBGetSetup into a type, instead of a function. Same for XCBSetupVendor. Maybe there are other fuctions that have the same problem.
5899
5900commit 408e74538676230e289d79c6b0195b464bfc6606
5901Author: TORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>
5902Date:   Sat Sep 30 12:45:12 2006 +0200
5903
5904    update tutorial to the new api. Add some doc about cursors. Add some colors to section 6 (Opening and closing the connection to an X server). Tell me if you want to keep colors or not (colors can be modified in xcb.css)
5905
5906commit 15993fccd0b0cba870b793345fb5c5ec13ece0c8
5907Author: Jamey Sharp <jamey@minilop.net>
5908Date:   Mon Sep 25 05:12:07 2006 -0700
5909
5910    Release libxcb 1.0 RC1 (0.9.91).
5911
5912commit f7cd80142fa83d531850df2c2a3b4a514129170b
5913Author: Josh Triplett <josh@freedesktop.org>
5914Date:   Mon Sep 25 05:10:37 2006 -0700
5915
5916    Stop installing the protocol descriptions for extensions to an extensions/
5917    subdirectory
5918
5919commit 0d7beff580232d4b7adfc840bcd1cae894b57682
5920Author: Josh Triplett <josh@freedesktop.org>
5921Date:   Mon Sep 25 04:43:04 2006 -0700
5922
5923    Actually install xcb-xlib.pc, and ship xcb-xlib.pc.in in distribution tarballs
5924
5925commit d04e7777d3547de2cece0734c0b9be49d3ddb88c
5926Author: Jamey Sharp <jamey@minilop.net>
5927Date:   Mon Sep 25 04:14:26 2006 -0700
5928
5929    Ensure api_conv.pl is idempotent on names of constants: XCB_[A-Z0-9_]+.
5930
5931commit 0bccf7d2eed45ba15a012d090b9b950075e75803
5932Author: Jamey Sharp <jamey@minilop.net>
5933Date:   Mon Sep 25 04:03:01 2006 -0700
5934
5935    Move header files to $includedir/xcb (generally $prefix/include/xcb).
5936
5937commit 9100981d359f6366ab92b456e6069bac89afeb15
5938Author: Josh Triplett <josh@freedesktop.org>
5939Date:   Mon Sep 25 02:02:16 2006 -0700
5940
5941    Split the Xlib compatibility functions into a separate library libxcb-xlib
5942    
5943    We don't want to have to change the libxcb soname if we later manage to remove
5944    the Xlib compatibility functions, and nothing except Xlib should ever use
5945    them, so split them into a separate library.
5946
5947commit 810dfb886247dc4484886aff2e2e7d80ea945de4
5948Author: Jamey Sharp <jamey@minilop.net>
5949Date:   Mon Sep 25 02:10:44 2006 -0700
5950
5951    Move debian/ directory to new branch "debian".
5952
5953commit 46b7dbdd9306235ae04da9d0e3431a1b58f89048
5954Author: Jamey Sharp <jamey@minilop.net>
5955Date:   Mon Sep 25 02:00:23 2006 -0700
5956
5957    We no longer need xproto: do not list it as a dependency.
5958
5959commit cf80bab8e6410915ad27a61cef3bb5f456c7d80f
5960Author: Jamey Sharp <jamey@minilop.net>
5961Date:   Mon Sep 25 01:21:42 2006 -0700
5962
5963    Lowercase library names to correspond with the new API.
5964
5965commit a1a7646d5a791c2e918bc1a9f46d64334d5ab575
5966Author: Ian Osgood <iano@quirkster.com>
5967Date:   Sun Sep 24 14:10:20 2006 -0700
5968
5969    Add XCBAllPlanes from xcb-image util library.
5970
5971commit dfbde9a4e972ed9bbd701fd6f89c3a6e6f641740
5972Author: Josh Triplett <josh@freedesktop.org>
5973Date:   Sun Sep 24 03:15:39 2006 -0700
5974
5975    Integrate top-level .gitignore into .gitignore for each subdirectory
5976    
5977    In preparation for the repository split, move the relevant contents of the
5978    top-level .gitignore into the .gitignore for each immediate subdirectory.
5979
5980commit 905379e4474c0137e5dd535798ae0afb07070df6
5981Author: TORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net>
5982Date:   Sun Sep 24 08:51:20 2006 +0200
5983
5984    now, I know how to use api_conv.pl :)
5985
5986commit 16516a5e94205edffddde546abc833106c68068e
5987Author: Josh Triplett <josh@freedesktop.org>
5988Date:   Sat Sep 23 14:44:15 2006 -0700
5989
5990    Remove the xcb_[extension]_init functions; use xcb_get_extension_data directly
5991
5992commit 9691890529fddc051c15e191a8a5f06017514c1c
5993Author: Josh Triplett <josh@freedesktop.org>
5994Date:   Sat Sep 23 14:17:52 2006 -0700
5995
5996    More fixups for incorrect API conversions by api_conv.pl
5997
5998commit 0a867d72337afa88f4ab453b6d3fbb519368c308
5999Author: Josh Triplett <josh@freedesktop.org>
6000Date:   Sat Sep 23 13:59:40 2006 -0700
6001
6002    Convert the XCB test suite to the new API
6003
6004commit 63b38f31974b0a61c923a62a2d224e7024a0fc2b
6005Author: Jamey Sharp <jamey@minilop.net>
6006Date:   Sat Sep 23 13:51:10 2006 -0700
6007
6008    Apply const-names.xsl to the un-renamed XML; replace the XSL with the result.
6009
6010commit 86a4c0cc284366bbb01898a77df360278d5a8194
6011Author: Josh Triplett <josh@freedesktop.org>
6012Date:   Sat Sep 23 13:33:27 2006 -0700
6013
6014    We do not conflict with Xmd.h anymore; remove the include hack from xcb_auth.c
6015
6016commit 4ff12a1a94895837dc85ac9e37fd1a5f40819cf3
6017Author: Josh Triplett <josh@freedesktop.org>
6018Date:   Sat Sep 23 13:31:13 2006 -0700
6019
6020    Fix some mis-conversions by api_conv.pl, and remove the now-unused Xmd types
6021
6022commit a3bd6f4760b5b3f5f360a690920839646e2b9d06
6023Author: Josh Triplett <josh@freedesktop.org>
6024Date:   Sat Sep 23 12:22:22 2006 -0700
6025
6026    The Great XCB Renaming
6027    
6028    Rename API to follow a new naming convention:
6029    * XCB_CONSTANTS_UPPERCASE_WITH_UNDERSCORES
6030    * xcb_functions_lowercase_with_underscores
6031    * xcb_types_lowercase_with_underscores_and_suffix_t
6032    * expand all abbreviations like "req", "rep", and "iter"
6033    
6034    Word boundaries for the names in the protocol descriptions fall:
6035    * Wherever the protocol descriptions already have an underscore
6036    * Between a lowercase letter and a subsequent uppercase letter
6037    * Before the last uppercase letter in a string of uppercase letters followed
6038      by a lowercase letter (such as in LSBFirst between LSB and First)
6039    * Before and after a string of digits (with exceptions for sized types like
6040      xcb_char2b_t and xcb_glx_float32_t to match the stdint.h convention)
6041    
6042    Also fix up some particular naming issues:
6043    * Rename shape_op and shape_kind to drop the "shape_" prefix, since otherwise
6044      these types end up as xcb_shape_shape_{op,kind}_t.
6045    * Remove leading underscores from enums in the GLX protocol description,
6046      previously needed to ensure a word separator, but now redundant.
6047    
6048    This renaming breaks code written for the previous API naming convention.  The
6049    scripts in XCB's tools directory will convert code written for the old API to
6050    use the new API; they work well enough that we used them to convert the
6051    non-program-generated code in XCB, and when run on the old program-generated
6052    code, they almost exactly reproduce the new program-generated code (modulo
6053    whitespace and bugs in the old code generator).
6054    
6055    Authors: Vincent Torri, Thomas Hunger, Josh Triplett
6056
6057commit ca72e777740f917753f3c180fdfdb55df91c09c4
6058Author: Jamey Sharp <jamey@minilop.net>
6059Date:   Sat Sep 23 01:33:45 2006 -0700
6060
6061    Special cases to agree with the conventions Josh and I have hashed out.
6062
6063commit 4168ddc13dff7bf2479c2229f42b114d75098112
6064Author: Jamey Sharp <jamey@minilop.net>
6065Date:   Fri Sep 22 22:53:17 2006 -0700
6066
6067    Handle remaining incorrect API translations in api_conv.pl.
6068    
6069    The big change is treating numbers as separate "words" in the
6070    translation, which leads to funny-looking names like xcb_char_2_b_t, but
6071    makes more sense than the alternative in other situations and was
6072    suggested on the mailing list.
6073    
6074    This version still disagrees with Vincent's last proposed XSL, but I
6075    think my output is now preferable. Hopefully Josh has been thinking
6076    along the same lines.
6077
6078commit 91568d7070e2c2400dfdbdff515f51da74ca3701
6079Author: Jamey Sharp <jamey@minilop.net>
6080Date:   Fri Sep 22 15:37:49 2006 -0700
6081
6082    Make xcb_conn.c agree that XCBSetupReq is now XCBSetupRequest.
6083
6084commit 2538acd8c89d73e8c074849c63857cb899a29bbb
6085Author: Alan Coopersmith <alan.coopersmith@sun.com>
6086Date:   Fri Sep 22 11:53:21 2006 -0700
6087
6088    List xproto.xml path explicitly instead of relying on GNU Make $< expansion
6089    
6090    (Some non-gnu makes, such as Solaris make, only recognize $< in implicit
6091     suffix rules, not explicit ones like this.)
6092
6093commit 2c8b5994b3fbba343199ef555594a32e29d8bcee
6094Author: Jamey Sharp <jamey@minilop.net>
6095Date:   Fri Sep 15 01:51:05 2006 -0700
6096
6097    Shut down the connection in all "fatal" error cases.
6098
6099commit 79e3227022ae3d66f9f3806d231fdeec2a06cc6b
6100Author: Jamey Sharp <jamey@minilop.net>
6101Date:   Fri Sep 15 01:57:53 2006 -0700
6102
6103    Add a private connection shutdown method for error cases.
6104
6105commit 7f71bf9c0f30536e85907b2c991cb7001861e1d3
6106Author: Jamey Sharp <jamey@minilop.net>
6107Date:   Fri Sep 15 01:09:27 2006 -0700
6108
6109    Make all public functions do nothing on an error connection.
6110
6111commit 0aa96bfc7abe18889cd85bfaa05b05d53e572bb1
6112Author: Jamey Sharp <jamey@minilop.net>
6113Date:   Fri Sep 15 00:39:51 2006 -0700
6114
6115    Convert connection functions to return error objects.
6116
6117commit ac17ae62fe1a3a29991e36e35eeee838ac4acb00
6118Author: Jamey Sharp <jamey@minilop.net>
6119Date:   Fri Sep 15 00:29:39 2006 -0700
6120
6121    Provide a "has error" property for XCBConnection.
6122
6123commit df7fb77d6e22be76ca73f111c586db99a60178ae
6124Author: Jamey Sharp <jamey@minilop.net>
6125Date:   Thu Sep 21 12:13:37 2006 -0700
6126
6127    Refactor XCBPollForEvent with a shorter critical section.
6128    
6129    This simplifies the patch for bug #8208 later.
6130
6131commit b08ca2b4b451a94ece20207766cd5262fd55179b
6132Author: Jamey Sharp <jamey@minilop.net>
6133Date:   Mon Sep 18 16:52:00 2006 -0700
6134
6135    XCB*Id is a variable, not a type: adjust API conventions accordingly.
6136
6137commit 3cc0ddf0e6b72ba553ebfc2b9126d62ef4013bd3
6138Author: Jamey Sharp <jamey@minilop.net>
6139Date:   Wed Sep 13 12:30:11 2006 -0700
6140
6141    Fix bug #7261: events do not signal the end of replies for that sequence number.
6142
6143commit c912187f15c560c46768acb88aae30e67b0f78ce
6144Author: Jamey Sharp <jamey@minilop.net>
6145Date:   Mon Sep 18 00:25:26 2006 -0700
6146
6147    Handle names of constants during API conversion.
6148    
6149    Use an XSLT stylesheet to get a list of all the constant names.
6150
6151commit 06fba014435cfbdd1ff284d6d513d114503d02c2
6152Author: Jamey Sharp <jamey@minilop.net>
6153Date:   Sun Sep 17 23:38:57 2006 -0700
6154
6155    Complete rewrite of api_conv.pl.
6156    
6157    Now handles all API changes except constant names, which are treated like type names.
6158
6159commit bf41af718d6a83532d1c2f63ac16e6484e8e8b68
6160Author: Jamey Sharp <jamey@minilop.net>
6161Date:   Thu Sep 14 00:04:47 2006 -0700
6162
6163    Simplify the API conversion tool without functionality changes.
6164
6165commit cdffbdd7ef9dee58b3c36ca46bb88aa187b46526
6166Author: Thomas Coppi <thisnukes4u@gmail.com>
6167Date:   Wed Sep 13 23:50:23 2006 -0700
6168
6169    Prototype API conversion tool for upcoming lowercased XCB API.
6170
6171commit a92716f1da2741fca850b3c37299e80032726276
6172Author: Jamey Sharp <jamey@minilop.net>
6173Date:   Wed Sep 13 12:15:23 2006 -0700
6174
6175    Finish removing deprecated functions. Fixes build failure (oops).
6176
6177commit 476ccc1ba3d20f3a545b84089b6fbd40576e7bf5
6178Author: Jamey Sharp <jamey@minilop.net>
6179Date:   Tue Sep 12 13:43:17 2006 -0700
6180
6181    Ignore xproto.xml that now gets copied in while building.
6182
6183commit 0d7fb3afdd308d714a97144125a69a5f4976916a
6184Author: Jamey Sharp <jamey@minilop.net>
6185Date:   Tue Sep 12 13:25:49 2006 -0700
6186
6187    Remove deprecated public API functions in preparation for 1.0 release. Xlib-specific deprecation remains.
6188
6189commit d4e768fc32ff9ce79a4259d252f4a4a4b11d5db8
6190Author: Bart Massey <bart@cs.pdx.edu>
6191Date:   Tue Sep 12 00:42:11 2006 -0700
6192
6193    Cleaned up previous fix for GNU Make stuff.
6194    Got "make distcheck" to work (whatever that does).
6195
6196commit 0c3e528563f8e8db45c340e7d050a1b42e65cb73
6197Author: Bart Massey <bart@bartfan.localdomain>
6198Date:   Mon Sep 11 23:29:10 2006 -0700
6199
6200    Removed GNU make dependency.
6201    Made extensions directory persist.
6202
6203commit 81d6fd64c09255e90104b3c6e37c9023bd0aa6ec
6204Author: Jamey Sharp <jamey@minilop.net>
6205Date:   Sat Sep 9 15:52:37 2006 -0700
6206
6207    Handle XC-MISC request failure when allocating new XIDs. (fixes #7001)
6208
6209commit f6d4fc007fc0f4bdf8f06ab0798aadce87d468d1
6210Author: Thomas Hunger <hto@arcor.de>
6211Date:   Mon Aug 14 06:59:46 2006 -0700
6212
6213    Tutorial corrections.
6214
6215commit dbd2d9689305ce5bf24aebd894551bb6b590f6e4
6216Author: Josh Triplett <josh@freedesktop.org>
6217Date:   Sun Jul 30 22:02:37 2006 -0700
6218
6219    Implement error handling plan 7.
6220    
6221    Needs improvement: should not duplicate the code of every request function.
6222
6223commit 65ed274f05ba670eb02a55b098aed141fa9611ec
6224Author: Josh Triplett <josh@freedesktop.org>
6225Date:   Sun Jul 30 20:28:16 2006 -0700
6226
6227    Parameterize context in cookie-type and request-matching template.
6228
6229commit f74487e34fd61d11a501c07030f8fd7ed8caeb1c
6230Author: Jamey Sharp <jamey@minilop.net>
6231Date:   Sun Jul 30 14:55:14 2006 -0700
6232
6233    Fix Keith's 32-bit wrap fix.
6234    
6235    Issue 0, 1, or 2 syncs as needed and do not handle 16-bit wrap until
6236    absolutely necessary.
6237
6238commit 13896d8f658b917e891aa18e0ac4906d630881bb
6239Author: Josh Triplett <josh@freedesktop.org>
6240Date:   Sun Jul 30 15:09:03 2006 -0700
6241
6242    Fix typo: s/request/sequence/
6243
6244commit 685d8c76c25fd9f236fa1a74bae61699eaa78579
6245Author: Josh Triplett <josh@freedesktop.org>
6246Date:   Sun Jul 30 14:41:19 2006 -0700
6247
6248    Add XCBRequestCheck function needed for Plan 7.
6249
6250commit b3a2f83f1e4d3567fcd4494e7bae31e99645ef85
6251Author: Eric Anholt <anholt@FreeBSD.org>
6252Date:   Fri Jul 28 15:29:05 2006 -0700
6253
6254    Restore netinet/in.h include that was removed in the DECnet commit.
6255
6256commit b7c96681b2bfc968b198058122c93050feb7927e
6257Author: Eric Anholt <anholt@FreeBSD.org>
6258Date:   Tue Jul 25 09:13:59 2006 -0700
6259
6260    Replace HAVE_* tests with just checking for (__solaris__)
6261    
6262    The installed headers can't be relying on the presence of the internal
6263    config.h defines, and it was breaking the xcb build for me as well due to
6264    config.h not being included early enough.
6265
6266commit 14faffc326b9ab1f738edb3ec7febdbe0f5bc079
6267Author: TORRI Vincent <torri@doursse.(none)>
6268Date:   Tue Jul 25 08:24:59 2006 +0200
6269
6270    fix closing <b> tag
6271
6272commit 8ba93ebb757706ae8dcf5af57c6e3812f72de80e
6273Author: Ian Osgood <iano@quirkster.com>
6274Date:   Fri Jul 7 07:18:41 2006 -0700
6275
6276    Fix build on Solaris (use inttypes.h)
6277
6278commit e0574a617b9133cd728be8ea3618ef1312eeebbf
6279Author: Ian Osgood <iano@quirkster.com>
6280Date:   Sat Jul 1 00:55:08 2006 -0700
6281
6282    Finally remove X.h from xcb.h, fix broken image tests.
6283
6284commit db2504130bc450bd328830060cb3a243dd06b52f
6285Author: Keith Packard <keithp@neko.keithp.com>
6286Date:   Sat Jul 1 00:16:07 2006 -0700
6287
6288    Switch sequence comparisons to handle 32-bit sequence number wrap.
6289    
6290    Create a macro, XCB_SEQUENCE_COMPARE, that accepts two sequence numbers and
6291    a comparison operator and correctly handles 32-bit wrap around.
6292    Rewrite all ordered sequence number comparisons to use this macro.
6293    Also, caught one error where a sequence was stored in a signed int variable.
6294    Push out a GetInputFocus request when the sequence number does wrap at 32
6295    bits so that applications cannot see sequence 0 (as that is an error
6296    indicator).
6297
6298commit 75fead5b868a0dfdc9e6fd5ef0dd37eb71761312
6299Author: Josh Triplett <josh@freedesktop.org>
6300Date:   Thu Jun 15 03:03:13 2006 -0700
6301
6302    Remove arbitrary division between xcb_types and xproto by merging
6303    xcb_types.xml into xproto.xml.
6304
6305commit 62749d54fd79b12123607599d58add126ce5de6e
6306Author: TORRI Vincent <torri@doursse.(none)>
6307Date:   Thu Jun 8 06:59:47 2006 +0200
6308
6309    fix compilation with c++ compilers. Remove some trailing spaces
6310
6311commit 829188cdd6274b5b5271dff5612b30c978a61a38
6312Author: Ian Osgood <iano@quirkster.com>
6313Date:   Tue May 30 11:54:25 2006 -0700
6314
6315    Deprecate XCBSync, move to XCBAuxSync.
6316
6317commit 936077cbc87addc914d33ab79a7d066f0f51d3ad
6318Author: Jamey Sharp <jamey@minilop.net>
6319Date:   Sun May 14 22:49:18 2006 -0700
6320
6321    Use correct word offset when testing for GetFBConfigsSGIX VendorPrivate.
6322
6323commit 442730a9a25644e6d09065cdde2f1595ea65caf3
6324Author: Josh Triplett <josh@freedesktop.org>
6325Date:   Sun May 14 22:37:55 2006 -0700
6326
6327    In the GLX workaround, use !strcmp to check for equality with "GLX", not strcmp.
6328
6329commit 2e49f58e4cd670e6bd6a0006833277cfb1da60e6
6330Author: Josh Triplett <josh@freedesktop.org>
6331Date:   Wed May 10 14:22:27 2006 -0700
6332
6333    Stop overwriting CFLAGS in xcb/src/Makefile.am.
6334
6335commit 92456577dbbe3874d6e40a1ef26b63dd405c160c
6336Author: Donnie Berkholz <spyderous@gentoo.org>
6337Date:   Sun May 7 15:44:37 2006 -0700
6338
6339    Fix dependencies on libXCB.la to not walk down from $(top_builddir); this fixes parallel builds.
6340
6341commit 4a891c6f4e49a04866b2cac7bf8bb679a256d3b4
6342Author: Josh Triplett <josh@freedesktop.org>
6343Date:   Sat Apr 29 17:02:43 2006 -0700
6344
6345    Work around the unsetting of CFLAGS in src/Makefile.am, by passing CFLAGS to make via DEB_MAKE_INVOKE in debian/rules.
6346
6347commit 140c30e522c664f0675b63301bea22e4062cd155
6348Author: Josh Triplett <josh@freedesktop.org>
6349Date:   Sat Apr 29 16:28:01 2006 -0700
6350
6351    Remove unnecessary dirs files.
6352
6353commit 105c6d67e6fa3d636068a2a4407bfa6adfafe0cc
6354Author: Josh Triplett <josh@freedesktop.org>
6355Date:   Sat Apr 29 16:09:06 2006 -0700
6356
6357    Stop setting DEB_CONFIGURE_EXTRA_FLAGS = --with-opt in debian/rules; cdbs does the right thing on its own, and correctly handles DEB_BUILD_OPTS.
6358
6359commit 911ae3fbdd12bcfa39e6bbd85a7327ddd1cb9287
6360Author: Josh Triplett <josh@freedesktop.org>
6361Date:   Sat Apr 29 15:57:28 2006 -0700
6362
6363    Set DEB_MAKE_CHECK_TARGET=check in debian/rules.
6364
6365commit 3b7cf7ecf8ae614d7cb833ac4ef9fbcde3df05ae
6366Author: Josh Triplett <josh@freedesktop.org>
6367Date:   Sat Apr 29 15:34:11 2006 -0700
6368
6369    Add a Section field for the source package in debian/control.
6370
6371commit 4e26eefcd9a035c4f7ee1d5f267095edc7df7c89
6372Author: Josh Triplett <josh@freedesktop.org>
6373Date:   Sat Apr 29 11:15:47 2006 -0700
6374
6375    Drop library version from source package name.
6376
6377commit eb3521283f91a84ce149fcc416720289ca37e29f
6378Author: Josh Triplett <josh@freedesktop.org>
6379Date:   Sat Apr 29 10:58:23 2006 -0700
6380
6381    Set distribution to experimental.
6382
6383commit 2a18842f0f93516ff726a2dfa44348410bb55626
6384Author: Josh Triplett <josh@freedesktop.org>
6385Date:   Sat Apr 29 10:56:56 2006 -0700
6386
6387    Remove Bugs field in debian/control, so bugs go to the Debian BTS.
6388
6389commit e6132aff2fdcd0ab1ef5d7ac84a3c597dc07d370
6390Author: Ian Osgood <iano@quirkster.com>
6391Date:   Fri Apr 28 15:27:09 2006 -0700
6392
6393    Move the remainder of the constants in X.h into XML enumerations.
6394    Fix xcb_auth to use one of the new enumerations.
6395
6396commit 162c7593adf1577ca8aecfcd53fd5644b6182609
6397Author: Josh Triplett <josh@freedesktop.org>
6398Date:   Fri Apr 28 00:51:53 2006 -0700
6399
6400    Change libxcbxvmc0-dev Depends to libxcbxv0-dev, not libxv0-dev.
6401
6402commit 4f9b6556e2b68d1f05ed4df9d2cc82edb9868872
6403Author: Josh Triplett <josh@freedesktop.org>
6404Date:   Thu Apr 27 23:40:55 2006 -0700
6405
6406    Update debian packaging to create library, -dev, and -dbg packages for each new extension library.
6407
6408commit b7d77a8de79493919281c4f742b1a65c1328b1c4
6409Author: Josh Triplett <josh@freedesktop.org>
6410Date:   Thu Apr 27 17:32:20 2006 -0700
6411
6412    Fix the year in COPYING.
6413
6414commit 5c35ea63db8dcc30bd84eb1ae8f12f0969bb8a63
6415Author: Josh Triplett <josh@freedesktop.org>
6416Date:   Thu Apr 27 17:20:52 2006 -0700
6417
6418    Add an explanation of libtool -version-info to src/Makefile.am, and add an explicit -version-info 0:0:0 for all libraries.
6419
6420commit 08f5cc389275a71821a62c1674622ca85792b3fe
6421Author: Josh Triplett <josh@freedesktop.org>
6422Date:   Thu Apr 27 16:24:35 2006 -0700
6423
6424    Fix tutorial to use XCBSetup rather than the previous deprecated name XCBConnSetupSuccessRep.
6425
6426commit 34016bcdab9b8373b4a8f9520b01d3179d35a315
6427Author: Josh Triplett <josh@freedesktop.org>
6428Date:   Thu Apr 27 16:15:50 2006 -0700
6429
6430    Remove execute bit on tutorial.
6431
6432commit 135cda6e9dafeef36efc8c4be49ae99b417034f2
6433Author: Josh Triplett <josh@freedesktop.org>
6434Date:   Thu Apr 27 13:47:21 2006 -0700
6435
6436    Fix a comment for the renaming of XCBConnSetupSuccessRep to XCBSetup, and fix another comment which had a copy-paste error.
6437
6438commit 17c3448f58c1aaf1d89b706dfa00e697061115c7
6439Author: Josh Triplett <josh@freedesktop.org>
6440Date:   Thu Apr 27 12:33:41 2006 -0700
6441
6442    Rename xcb-xfree86dri.pc.in to xcb-xf86dri.pc.in to match libXCBxf86dri, change its Libs line to use -lXCBxf86dri, and change configure.ac and Makefile.am accordingly.
6443
6444commit ef18582d83fac146b1a689bd60d580819dba0ffd
6445Author: Josh Triplett <josh@freedesktop.org>
6446Date:   Thu Apr 27 12:04:52 2006 -0700
6447
6448    Fix typo and rephrase checking message.
6449
6450commit 3e213a1becd3081e905e3711ff3fe3e4865cd7dd
6451Author: Jamey Sharp <jamey@minilop.net>
6452Date:   Thu Apr 27 10:34:22 2006 -0700
6453
6454    Declare arguments const in the various structure accessors, so XCBGetSetup is not so painful to use.
6455
6456commit dd932e025b2de0fa33b65971288c63679238e08a
6457Author: Jamey Sharp <jamey@minilop.net>
6458Date:   Wed Apr 26 23:19:16 2006 -0700
6459
6460    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.
6461
6462commit b825f3385becccfcde34626f872721301e82f960
6463Author: Josh Triplett <josh@freedesktop.org>
6464Date:   Wed Apr 26 11:23:32 2006 -0700
6465
6466    Add .pc.in files for all the new extension libraries.  Generate .pc files from the new .pc.in files in configure.ac.  Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST.
6467    
6468    Based on a patch by Vincent Torri.  Changes from that patch: add Requires to the .pc.in files based on the <import>s in the extensions, add a .pc.in file for libXCBxtest, change Name and Description fields to match extension names.
6469
6470commit 1476dcecfd3e817236ae996314c10482aae8e3e9
6471Author: Ian Osgood <iano@quirkster.com>
6472Date:   Wed Apr 26 10:50:31 2006 -0700
6473
6474    Changes to makefile to build libXCBxtest
6475
6476commit bb8cf58015bae083dd77f8679f9a8299603c58a6
6477Author: Patrick Caulfield <patrick@tykepenguin.com>
6478Date:   Mon Apr 24 08:29:18 2006 -0700
6479
6480    Add support for DECnet. Still needs configure-script options to enable.
6481
6482commit 771761ccaad31d029d470dde84279e94494310b6
6483Author: Jamey Sharp <jamey@minilop.net>
6484Date:   Thu Apr 20 11:51:01 2006 -0700
6485
6486    Minor performance improvement: do not call _xcb_in_expect_reply unless it is needed. It is not often needed.
6487
6488commit 8953a14f2b1518042ed0745574e22fa2adfb6cac
6489Author: Jamey Sharp <jamey@minilop.net>
6490Date:   Wed Apr 19 22:48:10 2006 -0700
6491
6492    Add <sys/select.h> to xcb_in.c to fix bug #6122.
6493
6494commit 05a66af895442b9fceb96c9130e77694927eabaf
6495Author: Alan Coopersmith <alan.coopersmith@sun.com>
6496Date:   Wed Apr 19 21:51:33 2006 -0700
6497
6498    Bugfix: xcb_conn.c included <sys/fcntl.h> instead of the POSIX-standard <fcntl.h>.
6499
6500commit f705456744fe4beb193d27eb64fa9157102db753
6501Author: Alan Coopersmith <alan.coopersmith@sun.com>
6502Date:   Wed Apr 19 21:40:42 2006 -0700
6503
6504    Only set CWARNFLAGS to gnu flags if $GCC is set. Otherwise check for Sun compiler and use its enhanced warning flag.
6505
6506commit 6f369fde3c676e2b1a67bd71923b61942991d726
6507Merge: 922cb61 f090da9
6508Author: Ian Osgood <iano@quirkster.com>
6509Date:   Wed Apr 19 20:45:31 2006 -0700
6510
6511    Merge branch 'master' of git+ssh://iano@git.freedesktop.org/git/xcb
6512
6513commit f090da98f367ed869fd9277d2fef22555be0f91d
6514Author: Jamey Sharp <jamey@minilop.net>
6515Date:   Wed Apr 19 20:31:20 2006 -0700
6516
6517    Remove the last goto in XCB: XCBWaitForReply now permits multiple threads to force the same cookie.
6518
6519commit d5347485a55e58381781d803e19bfdd982a4685b
6520Author: Jamey Sharp <jamey@minilop.net>
6521Date:   Wed Apr 19 20:23:37 2006 -0700
6522
6523    Restructure XCBWaitForReply to eliminate two gotos.
6524
6525commit d5ab03b4b71648bf0a06e42e3c288a68c46ba497
6526Author: Jamey Sharp <jamey@minilop.net>
6527Date:   Wed Apr 19 20:15:15 2006 -0700
6528
6529    Fixed poll_for_reply, added comments, and refactored XCBWaitForReply to call poll_for_reply.
6530
6531commit 7667adbc631119ec39f3ef5a316aec42dbf5f393
6532Author: Jamey Sharp <jamey@minilop.net>
6533Date:   Wed Apr 19 16:49:32 2006 -0700
6534
6535    Add XCBPollForReply and deprecate XCBGetRequestRead and XCBGetQueuedRequestRead.
6536
6537commit 53971ea183d9d1dcfbaec18b135e49c9c118fabb
6538Merge: 71de16f 8275ac3
6539Author: Josh Triplett <josh@freedesktop.org>
6540Date:   Sun Apr 16 11:23:52 2006 -0700
6541
6542    Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb
6543
6544commit 71de16fac2a145d5ef8069d2d28d7c32cea603cf
6545Author: Josh Triplett <josh@freedesktop.org>
6546Date:   Sun Apr 16 11:05:50 2006 -0700
6547
6548    Improve package descriptions.
6549
6550commit e92bde6e5152c6d0c4efa9240604e75178c1a3db
6551Author: Josh Triplett <josh@freedesktop.org>
6552Date:   Sun Apr 16 09:59:13 2006 -0700
6553
6554    Change Depends on x-dev to x11proto-core-dev.
6555
6556commit eca61f6b5e9df7321222499a1f660f6eb7e6112e
6557Author: Josh Triplett <josh@freedesktop.org>
6558Date:   Sun Apr 16 09:25:36 2006 -0700
6559
6560    Add Build-Depends on libxdmcp-dev.
6561
6562commit a0057d7a48b90b8f11fc9d5c82b5b8d800c34db5
6563Author: Josh Triplett <josh@freedesktop.org>
6564Date:   Sun Apr 16 09:24:01 2006 -0700
6565
6566      * Debian X11R7 transition:
6567        * Change Build-Depends on x-dev to x11proto-core-dev.
6568        * Install headers to /usr/include/X11, not /usr/X11R6/include/X11.
6569        * Pre-Depends: x11-common (>= 1:1.09).
6570
6571commit 11c62f7d9d65c10c796c2199c73c8f167e53f234
6572Author: Josh Triplett <josh@freedesktop.org>
6573Date:   Sat Apr 15 22:50:33 2006 -0700
6574
6575    Stop installing the libtool .la files.
6576
6577commit 057ae541a3a73cffd58533029292c1c721fa3162
6578Author: Josh Triplett <josh@freedesktop.org>
6579Date:   Sat Apr 15 20:44:11 2006 -0700
6580
6581    Update -dbg package handling to work with debhelper compat level 5.
6582    Increase minimum version on debhelper Build-Depends to 5.0.0.
6583
6584commit 8eedb4a487dcede0e52849e36c4da13bdf0c8b51
6585Author: Josh Triplett <josh@freedesktop.org>
6586Date:   Sat Apr 15 20:22:05 2006 -0700
6587
6588    Stop running autoreconf in debian/rules, and remove Build-Depends for
6589    autoconf, automake, and libtool.
6590
6591commit cc075990f4fc2ed09c708036569049ddd24605ac
6592Author: Josh Triplett <josh@freedesktop.org>
6593Date:   Sat Apr 15 20:21:22 2006 -0700
6594
6595    Add xcbint.h to noinst_HEADERS, so it gets distributed.
6596
6597commit cb6e1849b66c17f96d79598adb740ed16325a9c1
6598Author: Josh Triplett <josh@freedesktop.org>
6599Date:   Sat Apr 15 14:17:52 2006 -0700
6600
6601    Use screensaver.xml
6602
6603commit 91aeea2a3e72af16733ddcba037541440c0c4739
6604Author: Josh Triplett <josh@freedesktop.org>
6605Date:   Sat Apr 15 12:52:05 2006 -0700
6606
6607    Put EXTHEADERS and EXTSOURCES in order.
6608
6609commit ff38c17c48c271847d12c81cbf80142c6918dc78
6610Author: Josh Triplett <josh@freedesktop.org>
6611Date:   Sat Apr 15 12:26:03 2006 -0700
6612
6613    Split all non-essential extensions into their own separate libraries, named
6614    libXCBextname.  To use extension extname, include extname.h and link with
6615    -lXCBextname.  This allows extensions to change without bumping the main
6616    libXCB version.
6617    
6618    bigreq and xc_misc remain in libXCB, because XCB uses them internally to make
6619    big requests and to allocate XIDs, respectively.
6620
6621commit 8275ac3a4a23220b5c3b4f191a45befe2d34d6bd
6622Author: Eric Anholt <anholt@FreeBSD.org>
6623Date:   Sun Apr 9 19:51:10 2006 -0700
6624
6625    Retry a select() if it returns with EINTR.  Fixes IO errors in Xephyr, which is
6626    often interrupted by timers.
6627
6628commit 66a88ed0e556ca869ddc9df5a35e3d6446d12b02
6629Author: Eric Anholt <anholt@FreeBSD.org>
6630Date:   Sun Apr 9 19:19:12 2006 -0700
6631
6632    Remove unnecessary include.  Noticed by jamey.
6633
6634commit 922cb6137a12982ecd9e1c73ecefdcbc9e193eae
6635Author: Ian Osgood <iano@quirkster.com>
6636Date:   Wed Mar 22 17:57:57 2006 -0800
6637
6638    Work on the tutorial, and update xproto.xml to match:
6639    * Fixed grammar
6640    * Answered some TODO's and added some more
6641    * Updated X.h constants to those in xproto.h
6642    * Added enumerations used in tutorial to xproto.xml
6643    * Prefered XCBFlush to XCBSync
6644    * Corrected and refactored the "events" example
6645    
6646    I extracted the examples to test them. Where should I put them?
6647
6648commit fc577b81bfeb79bb78ee529278ed52d59d489f89
6649Author: Josh Triplett <josh@freedesktop.org>
6650Date:   Tue Mar 21 14:22:21 2006 -0800
6651
6652    Remove outdated fd.o-* entries from */debian/.gitignore (obsolete since before they came from .cvsignore).
6653
6654commit df5d8adc1f18776e4417a03b465dae9273511fb1
6655Author: Jamey Sharp <jamey@minilop.net>
6656Date:   Thu Mar 16 11:27:06 2006 -0800
6657
6658    The typedefs replacing Xmd.h conflict with Xmd.h. Here is a hacky workaround: FIXME!
6659
6660commit 5ccf7216d266f22755e40a8b9858ebd60fd48f40
6661Author: Ian Osgood <iano@quirkster.com>
6662Date:   Wed Mar 15 22:41:08 2006 -0800
6663
6664    Change <bit> syntax to <bit>n</bit> as Jamey and Josh suggested
6665     and add more button, key, and graphics enumerations.
6666
6667commit 35ecaf45be75cb78fe18dd4ea9d564b03f6cea67
6668Author: Ian Osgood <iano@quirkster.com>
6669Date:   Wed Mar 15 10:09:47 2006 -0800
6670
6671    Remove proto/X11 dependencies from xcb-demo.
6672
6673commit 4142e34695310c20a8a30af64e0b40842bfb5dbe
6674Author: Ian Osgood <iano@quirkster.com>
6675Date:   Tue Mar 14 18:23:37 2006 -0800
6676
6677    Remove xcb-util dependency on proto/X11
6678    by moving many defs from X.h to <enum>s in xproto.xml
6679
6680commit f5c4956a81ed5aee3ea46e91785ec14f82e205d5
6681Author: Ian Osgood <iano@quirkster.com>
6682Date:   Tue Mar 14 11:53:01 2006 -0800
6683
6684    Fix XCBGetSetup to match prototype.
6685
6686commit 9472c251ae426bb496a3112d0ae390f1f1c35515
6687Merge: 71ddf29 0d648ac
6688Author: Ian Osgood <iano@quirkster.com>
6689Date:   Tue Mar 14 11:44:43 2006 -0800
6690
6691    Merge branch 'master' of git+ssh://iano@git.freedesktop.org/git/xcb
6692
6693commit 71ddf29d00ad8ff2323faf2cc6c354cbf3eca16c
6694Author: Ian Osgood <iano@quirkster.com>
6695Date:   Tue Mar 14 10:18:22 2006 -0800
6696
6697    Add an expression construct <bit bit="n"/>
6698    for mask enumerations such as CW flags.
6699    Replaces the C-specific use of 1<<n in xproto.xml
6700
6701commit 0d648ac0ab3a2d457284644e677fd2ed612f3e7c
6702Author: TORRI Vincent <torri@doursse.(none)>
6703Date:   Tue Mar 14 07:40:39 2006 +0100
6704
6705    doxygen documentation of the API
6706
6707commit a810d1ffe4825b9359f13ebb395f5f681961fc89
6708Author: Ian Osgood <iano@quirkster.com>
6709Date:   Mon Mar 13 17:49:17 2006 -0800
6710
6711    Remove dependencies on Xmd.h and X.h
6712    (Still including X.h until defs are moved to xproto.xml
6713     and xcb-util and xcb-demo are fixed to use them.)
6714
6715commit be1302b6efb33967bce5356af58e3e0ae3b19363
6716Author: Ian Osgood <iano@quirkster.com>
6717Date:   Mon Mar 13 10:36:13 2006 -0800
6718
6719    Remove last deprecation warning.
6720
6721commit d8de2c7c2a9b8bf59c8f1fcece5faed0b6cbf6f4
6722Merge: 5e0cfa8 e757673
6723Author: Ian Osgood <iano@quirkster.com>
6724Date:   Sun Mar 12 23:03:24 2006 -0800
6725
6726    Merge branch 'master' of git+ssh://iano@git.freedesktop.org/git/xcb
6727
6728commit e7576738c33e73fb4f29c1426c2ec49257564129
6729Author: Ian Osgood <iano@quirkster.com>
6730Date:   Sun Mar 12 23:02:45 2006 -0800
6731
6732    Restructure to remove most deprecation warnings.
6733
6734commit 5e0cfa84bec3e04f3a1991baaa29da09c7c4a02c
6735Author: Jamey Sharp <jamey@minilop.net>
6736Date:   Sun Mar 12 17:15:50 2006 -0800
6737
6738    Use libXdmcp, if available with XdmcpWrap, for XDM-AUTHORIZATION-1. Closes bug #6106.
6739
6740commit d69c403cba9bdebd1bd41b62ae7e28f5852248d4
6741Merge: b83f18a 5cdc02e
6742Author: Jamey Sharp <jamey@minilop.net>
6743Date:   Sun Mar 12 13:36:33 2006 -0800
6744
6745    Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb
6746
6747commit b83f18a4cc2303dfda59807d56e16bbc5c18b09d
6748Author: Jamey Sharp <jamey@minilop.net>
6749Date:   Sun Mar 12 13:20:29 2006 -0800
6750
6751    Only _xcb_conn_wait calls _xcb_out_write now, so move it to xcb_conn.c and make it static.
6752
6753commit fb61c94d685a254ef0702a2e2093b8cdda02d514
6754Author: Jamey Sharp <jamey@minilop.net>
6755Date:   Sun Mar 12 12:40:34 2006 -0800
6756
6757    Remove c->out.vec. Pass iovecs directly down the call tree. Add _xcb_out_flush_to, refactor other functions, make write_block static.
6758
6759commit 5cdc02e3441dc623e91ebc5d7f735565b83f8435
6760Author: Jamey Sharp <jamey@minilop.net>
6761Date:   Sat Mar 11 20:32:04 2006 -0800
6762
6763    Portability fixes. Should help DragonFly and Solaris, and should not hurt anything else. Tested only on linux so far though.
6764
6765commit 83e652f566671f96ffc53a3c0099a84a1606c695
6766Author: Jamey Sharp <jamey@minilop.net>
6767Date:   Thu Mar 9 00:02:42 2006 -0800
6768
6769    Move c->out.vec refs out of _xcb_conn_wait up to _xcb_out_flush.
6770
6771commit 5b0ae3421dd373a8575b7a0d60989edfc056cf71
6772Merge: fd1f9cb 1261a41
6773Author: Jamey Sharp <jamey@minilop.net>
6774Date:   Wed Mar 8 22:50:48 2006 -0800
6775
6776    Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb
6777
6778commit fd1f9cb13f9ab9a6bb6aa0c894d4891809bece8a
6779Author: Jamey Sharp <jamey@minilop.net>
6780Date:   Wed Mar 8 22:49:59 2006 -0800
6781
6782    Unify autofoo .gitignore bits into one top-level file, and remove resulting redundancies.
6783
6784commit 1261a4150c8bd39a6fb6887df52abbbb446f7ffb
6785Author: Ian Osgood <iosgood@Titania.local>
6786Date:   Wed Mar 8 22:26:20 2006 -0800
6787
6788    Add symbols for error and reply response_types,
6789    and use XCBKeymapNotify from xcb-proto.
6790
6791commit 6fb661f3ff2fca342b4ea76d5a583c5e4f53e076
6792Author: Ian Osgood <iosgood@Titania.local>
6793Date:   Wed Mar 8 21:56:57 2006 -0800
6794
6795    Bugfix: null-terminate the path in sockaddr_un before using it.
6796    This may fix itermittant connect failures.
6797
6798commit 621f891c49cbf4beba1e20fb9b6fb1be576d42f3
6799Author: Jamey Sharp <jamey@minilop.net>
6800Date:   Wed Mar 8 14:21:16 2006 -0800
6801
6802    Move c->out.vec refs out of _xcb_out_write up to _xcb_conn_wait.
6803
6804commit c491eeb9a9f670f7d4869d7dae7a5adce4565998
6805Author: Jamey Sharp <jamey@minilop.net>
6806Date:   Tue Mar 7 21:19:58 2006 -0800
6807
6808    Fix off-by-one error that kept the last byte(s) of the output queue from being used.
6809
6810commit 522a6e0eac9adeaac533a5b700f42d85d46e2dd7
6811Author: TORRI Vincent <Vincent.Torri@iecn.u-nancy.fr>
6812Date:   Tue Mar 7 10:25:23 2006 -0800
6813
6814    Use the GCC 4 visibility extension to mark everything in xcbint.h hidden.
6815
6816commit 5437032c7dee85da99b612a707fa94d012d40282
6817Merge: 2ad5450 d1cfd4d
6818Author: Jamey Sharp <jamey@minilop.net>
6819Date:   Tue Mar 7 00:26:38 2006 -0800
6820
6821    Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb
6822
6823commit d1cfd4d0a21feaa5ccf0a1fd693327b8c5718abf
6824Author: Jamey Sharp <jamey@minilop.net>
6825Date:   Mon Mar 6 01:10:20 2006 -0800
6826
6827    Off-by-one error in the sequence-wrapping proof, and therefore in the corresponding code.
6828
6829commit 2ad5450ff3566a6e378769d7ff68f148c992b468
6830Author: TORRI Vincent <torri@doursse.(none)>
6831Date:   Sun Mar 5 09:49:02 2006 +0100
6832
6833    wrong spaces
6834
6835commit 81ea81c6d9a67fdf664fc502fe3610b37aea8354
6836Author: TORRI Vincent <torri@doursse.(none)>
6837Date:   Sun Mar 5 09:41:11 2006 +0100
6838
6839    fix some font sizes
6840
6841commit 66364da372dc1a2e1d75729a1265d632ae642ad6
6842Author: TORRI Vincent <torri@doursse.(none)>
6843Date:   Sun Mar 5 09:40:15 2006 +0100
6844
6845    fixes + valid css
6846
6847commit 01656220ef275a811a284420121d37bf9aa85f70
6848Author: TORRI Vincent <torri@doursse.(none)>
6849Date:   Sun Mar 5 09:22:03 2006 +0100
6850
6851    fixes + valid css
6852
6853commit e5458e477db95e1e064e46ca28245ecd51b5b524
6854Author: Jamey Sharp <jamey@minilop.net>
6855Date:   Sun Mar 5 00:20:50 2006 -0800
6856
6857    Implement provably-correct sequence wrap handling. Add flag XCB_REQUEST_DISCARD_REPLY.
6858
6859commit 6659c8c63b82329468b249cc99181d72ec26c698
6860Author: TORRI Vincent <torri@doursse.(none)>
6861Date:   Sun Mar 5 09:05:21 2006 +0100
6862
6863    lots of fixes. Thanks to Indan Zupancic
6864
6865commit 6e4745bbd0c924d846550496a072b0f2b0d4482c
6866Author: TORRI Vincent <torri@doursse.(none)>
6867Date:   Sun Mar 5 07:54:20 2006 +0100
6868
6869    lots of fixes. Thanks to Indan Zupancic
6870
6871commit df9c7cb4f9b05caf07900f3c15be379d3f9979fb
6872Author: Josh Triplett <josh@freedesktop.org>
6873Date:   Sat Mar 4 18:35:53 2006 -0800
6874
6875    Add *.tar.{bz2,gz} to .gitignore for the benefit of "make distcheck".
6876
6877commit 29f9fe0fc805a1ec6860f167a45664cc1cf0c769
6878Author: Jamey Sharp <jamey@minilop.net>
6879Date:   Fri Mar 3 11:08:10 2006 -0800
6880
6881    API/ABI change: XCBSendRequest returns the sequence number instead of using an out-parameter. Now 0 is a special sequence number indicating failure.
6882
6883commit 255c21b17f61147388bab6e1d42623a008a4a8d2
6884Author: Jamey Sharp <jamey@minilop.net>
6885Date:   Fri Mar 3 01:45:00 2006 -0800
6886
6887    Add 32-bit full_sequence fields to generic errors and events, so callers can always correlate events and errors with requests correctly.
6888
6889commit 622b599c8fcf5d677f76ca03f3241a23dba58712
6890Author: Jamey Sharp <jamey@minilop.net>
6891Date:   Thu Mar 2 23:39:38 2006 -0800
6892
6893    Tweak to previous API change: Require that spare iovecs fall before vector[0]. Leave vector in well-defined state.
6894
6895commit 87905f0579e749ac6d92843780af246160318eca
6896Author: Jamey Sharp <jamey@minilop.net>
6897Date:   Thu Mar 2 23:31:35 2006 -0800
6898
6899    assert() that XCBSendRequest was handed enough space to set opcodes and short length fields.
6900
6901commit 45e1cc0935ca1d7a138e1c700db229f50205a556
6902Author: Jamey Sharp <jamey@minilop.net>
6903Date:   Thu Mar 2 23:12:21 2006 -0800
6904
6905    Bugfix: The fixed-length part needs two iovecs reserved, just like all the other parts.
6906
6907commit b46953f46c7d0fd8cbb73f922524968c1ac86fa4
6908Author: Jamey Sharp <jamey@minilop.net>
6909Date:   Thu Mar 2 23:05:08 2006 -0800
6910
6911    Use XPath position() function instead of xsl:number, to evaluate array indices while generating code for easier readability.
6912
6913commit 5e115e2441ed32f5fa495370b36b01c03bbff66d
6914Author: Jamey Sharp <jamey@minilop.net>
6915Date:   Thu Mar 2 15:35:31 2006 -0800
6916
6917    API/ABI change: XCBSendRequest callers must pad to 4-byte boundaries now. When not in RAW mode, a null pointer for iov_base is replaced by up to 3 padding bytes.
6918
6919commit ed823bf65192a72f8c3060698c9bded9f77d49c2
6920Author: Jamey Sharp <jamey@minilop.net>
6921Date:   Thu Mar 2 13:49:00 2006 -0800
6922
6923    Separate notion of request-completed from current-request, and mark requests completed more aggressively. Detects some usage errors that are otherwise undetectable.
6924
6925commit c05ae15b661bff6b95deb3abc7f48abe16892ac8
6926Author: Jamey Sharp <jamey@minilop.net>
6927Date:   Mon Feb 27 12:12:33 2006 -0800
6928
6929    Buffer a couple CARD32s on the stack instead of using an extra iovec. Also a bugfix: do not hold a reference to longlen after it goes out of scope.
6930
6931commit 8f991bdd389f6c419cb18cdaea966304529de165
6932Author: Jamey Sharp <jamey@minilop.net>
6933Date:   Mon Feb 27 11:03:13 2006 -0800
6934
6935    Add XCB_REQUEST_RAW flag for XCBSendRequest.
6936
6937commit 5e350126a728f3c0c3bc8d8673e5ad67dc174f79
6938Author: Jamey Sharp <jamey@minilop.net>
6939Date:   Mon Feb 27 10:53:08 2006 -0800
6940
6941    Bugfix: how about *not* leaking all pending_replies when no reply matches, as often happens with Xlib?
6942
6943commit 731c85762d8994119f4eaf572cc59c9adbb7abd9
6944Author: Jamey Sharp <jamey@minilop.net>
6945Date:   Mon Feb 27 02:57:36 2006 -0800
6946
6947    Move test for other writing threads *before* allocating a sequence number.
6948
6949commit 8ab4dcde9db8175ef0093123bd04c72471e205ff
6950Author: Jamey Sharp <jamey@minilop.net>
6951Date:   Mon Feb 27 02:14:48 2006 -0800
6952
6953    _xcb_list is no longer used, so remove it. Simplify _xcb_map.
6954
6955commit 76ad79a7adbb315f7c7d5f08d6f42553210868cd
6956Author: Jamey Sharp <jamey@minilop.net>
6957Date:   Mon Feb 27 01:43:07 2006 -0800
6958
6959    Replace readers generic list with hand-written typesafe version.
6960
6961commit fa71b9b835da6360c374dcb4ab93be3a27dbd737
6962Author: Jamey Sharp <jamey@minilop.net>
6963Date:   Mon Feb 27 01:06:15 2006 -0800
6964
6965    Rename struct XCBReplyData to reader_list to follow my naming conventions and better reflect its purpose.
6966
6967commit ff665b57266b9e7e9b9a366272c2115bbd516173
6968Author: Jamey Sharp <jamey@minilop.net>
6969Date:   Mon Feb 27 00:54:59 2006 -0800
6970
6971    In struct XCBReplyData, change void *data to pthread_cond_t *data. That was dumb.
6972
6973commit 50acfeae36f5f67e8b92fd7610141c489ee348c5
6974Author: Jamey Sharp <jamey@minilop.net>
6975Date:   Sun Feb 26 23:43:44 2006 -0800
6976
6977    Delete unused xcb_list functions and refactor others.
6978
6979commit 86ce18c22c8daebe8796d3c38e8a1d496ab6e8de
6980Author: Jamey Sharp <jamey@minilop.net>
6981Date:   Sun Feb 26 22:58:17 2006 -0800
6982
6983    Replace current_reply generic queue with hand-written version. No generic queues remain so delete their implementation.
6984
6985commit 0f130b4d945a27fd2b4655c351ebe70d61cac598
6986Author: Jamey Sharp <jamey@minilop.net>
6987Date:   Sun Feb 26 18:28:50 2006 -0800
6988
6989    Replace events generic queue with hand-written typesafe version.
6990
6991commit ff7b6c9124e7caf26381cc7a10fba9eaf1875652
6992Author: Jamey Sharp <jamey@minilop.net>
6993Date:   Sun Feb 26 15:45:08 2006 -0800
6994
6995    API/ABI break: Add flags to XCBSendRequest, first for error-checked requests.
6996    There's no more race condition between event and reply handling.
6997    The *RequestBlind and *RequestChecked functions are not yet implemented.
6998
6999commit 7875040fa179d8ca3fa4ec046c1b8c2a351a6621
7000Author: Jamey Sharp <jamey@minilop.net>
7001Date:   Sun Feb 26 02:00:03 2006 -0800
7002
7003    Replace pending_replies generic queue with a hand-implemented typesafe version.
7004
7005commit a1eff0c49a2dbb328a79edbeb2b851fa1dfe9e61
7006Author: Jamey Sharp <jamey@minilop.net>
7007Date:   Sun Feb 26 01:27:01 2006 -0800
7008
7009    Replace my old generic map ADT with a growable array for the extension cache.
7010
7011commit 46a754998149c5f4a1670787b3ea36731caf6506
7012Author: Jamey Sharp <jamey@minilop.net>
7013Date:   Sat Feb 25 23:27:47 2006 -0800
7014
7015    XCB has not had tracing features for a long time: remove the remnants.
7016
7017commit b6cbe837748df5819d00682330d34e2c7d24d349
7018Author: Jamey Sharp <jamey@minilop.net>
7019Date:   Sat Feb 25 23:26:55 2006 -0800
7020
7021    Rearrange an if statement that's been bothering me.
7022
7023commit f27166f49b9ef6bdcce78429bffc724d1e4fb360
7024Author: Jamey Sharp <jamey@minilop.net>
7025Date:   Fri Feb 24 02:17:36 2006 -0800
7026
7027    Coalesce _xcb_writev into _xcb_out_write and simplify.
7028
7029commit 9463653b1e6dc0a9054266aa3eecb0839129b991
7030Author: Jamey Sharp <jamey@minilop.net>
7031Date:   Fri Feb 24 01:56:18 2006 -0800
7032
7033    Take advantage of Requires and *.private fields for a more accurate pkg-config file.
7034
7035commit bae98d36040d0cda1862839410cf92bac3927280
7036Author: Jamey Sharp <jamey@minilop.net>
7037Date:   Fri Feb 24 01:50:48 2006 -0800
7038
7039    Move _xcb_set_fd_flags to xcb_conn.c and make it static. xcb_util.c now has only public functions.
7040
7041commit 67b2649dc4b6726c6d11fb0e41429ae5de82b0e8
7042Author: Jamey Sharp <jamey@minilop.net>
7043Date:   Fri Feb 24 01:40:45 2006 -0800
7044
7045    Move _xcb_read_block to xcb_in.c and make it static. Change calls in xcb_conn.c to _xcb_in_read_block instead.
7046
7047commit 838317f4d305e07f35ddd99e2ebccfa8fac680c6
7048Author: Jamey Sharp <jamey@minilop.net>
7049Date:   Fri Feb 24 01:17:03 2006 -0800
7050
7051    Remove XCB_CEIL and use a simpler definition for XCB_PAD.
7052
7053commit 1b50d2ee1ef532429674126eace88ac73d51ec23
7054Author: Jamey Sharp <jamey@minilop.net>
7055Date:   Fri Feb 24 01:04:48 2006 -0800
7056
7057    Quit using "-include config.h": use #ifdef HAVE_CONFIG_H etc. like everyone else.
7058
7059commit e1c2777abac0479ebdf06f2005120d25fff53935
7060Author: Jamey Sharp <jamey@minilop.net>
7061Date:   Fri Feb 24 00:59:08 2006 -0800
7062
7063    Coalesce readn into _xcb_in_read and simplify.
7064
7065commit 3f8d0bd5322749132626e8f203017b6da6448fd0
7066Author: Jamey Sharp <jamey@minilop.net>
7067Date:   Fri Feb 24 00:48:18 2006 -0800
7068
7069    Move _xcb_readn to xcb_in.c and make it static. Minor change to _xcb_read_block to not depend on _xcb_readn.
7070
7071commit cdf362f33a7bc4d412231de32e37ffb65a06d3f1
7072Author: Jamey Sharp <jamey@minilop.net>
7073Date:   Fri Feb 24 00:25:34 2006 -0800
7074
7075    Bugfix: protect the output queue from being written while another thread is flushing it.
7076
7077commit 4e91ae275e46e76de64ab089d6f13c1e9b6ddee6
7078Author: Jamey Sharp <jamey@minilop.net>
7079Date:   Fri Feb 24 00:02:43 2006 -0800
7080
7081    Simplify: Always use writev. (In _xcb_out_flush, convert the output queue to a single iovec if needed.)
7082
7083commit 7f0bc778c88ab2f565cc05d5d3d5ee4c8d1388a1
7084Author: Jamey Sharp <jamey@minilop.net>
7085Date:   Thu Feb 23 22:41:59 2006 -0800
7086
7087    Factor padding out of _xcb_out_write_block and into its callers, XCBSendRequest and write_setup.
7088    This requires dynamically allocating memory in XCBSendRequest, but this
7089    malloc/free pair turns out to cause a 30% speed hit for the 'x11perf -noop'
7090    test -- so for the moment I use alloca where available and fall back to malloc
7091    on other platforms. Later I think I'll change the contract of XCBSendRequest
7092    so the caller is responsible for memory allocation, because the caller ought
7093    to always be able to stack-allocate here.
7094
7095commit 6e29e5f2ee2e6158f1a9480a83e4f906ab9c04d1
7096Author: Jamey Sharp <jamey@minilop.net>
7097Date:   Thu Feb 23 17:50:53 2006 -0800
7098
7099    Add XCBGetQueuedRequestRead for Xlib that does no syscalls, just returns whatever XCB already knows about.
7100
7101commit 26ac6292ba0535ac3747d23f2f4d284c4b5f42ba
7102Author: Jamey Sharp <jamey@minilop.net>
7103Date:   Thu Feb 23 15:29:40 2006 -0800
7104
7105    Minor performance fix: Change the contract on XCBGetRequestSent so that it does not waste time re-locking. This is for Xlib, and Xlib has already locked.
7106
7107commit a736674943295245ccb90865c13d2b75dc6ecccb
7108Author: Jamey Sharp <jamey@minilop.net>
7109Date:   Thu Feb 23 14:57:46 2006 -0800
7110
7111    Minor performance fix: Only rearrange buffers for BIG-REQUESTs.
7112
7113commit e866bed9348bf3ffd480fd6ec329fd8b9581c328
7114Author: Jamey Sharp <jamey@minilop.net>
7115Date:   Thu Feb 23 14:32:11 2006 -0800
7116
7117    Move request_written update back where it was for now: doing it early can cause XCBWaitForReply to wrongly believe that the request has been flushed. Eventually, we should fix bug #6021.
7118
7119commit 1b83f8f8f326eca9d8852c82dd36696f81a720dc
7120Author: Jamey Sharp <jamey@minilop.net>
7121Date:   Thu Feb 23 14:30:08 2006 -0800
7122
7123    Remove _xcb_assert_valid_sequence. One test is trivially true, and the other may be temporarily violated without anything bad happening.
7124
7125commit 55c1842686d2e668708cd106b5e08847df0184c3
7126Author: Jamey Sharp <jamey@minilop.net>
7127Date:   Thu Feb 23 12:48:27 2006 -0800
7128
7129    Move _xcb_write and _xcb_writev to xcb_out.c and make them static, since only _xcb_out_write calls them.
7130
7131commit 213b5725928ccf8aedc807cc40a261b2d5431247
7132Author: Jamey Sharp <jamey@minilop.net>
7133Date:   Thu Feb 23 12:34:08 2006 -0800
7134
7135    Ignore test byproducts.
7136
7137commit 6149c7a6b57a193bc132fbc35b1772b75e5c7ca7
7138Author: Jamey Sharp <jamey@minilop.net>
7139Date:   Thu Feb 23 12:15:09 2006 -0800
7140
7141    More return value changes, and make _xcb_in_read_packet static since it is not called from outside xcb_in.c.
7142
7143commit 5b1d39e27b1a966df537ead248da5a57e7d9de97
7144Author: Jamey Sharp <jamey@minilop.net>
7145Date:   Thu Feb 23 11:50:12 2006 -0800
7146
7147    More return value changes.
7148
7149commit 662479760c42fc38c458381ee3eaed92e2c8b733
7150Author: Jamey Sharp <jamey@minilop.net>
7151Date:   Thu Feb 23 10:17:40 2006 -0800
7152
7153    Make the return value of _xcb_conn_wait boolean, instead of syscall-like.
7154
7155commit f8a8b465e080faf5479c0b38dc67cc9b9ae24927
7156Author: Jamey Sharp <jamey@minilop.net>
7157Date:   Wed Feb 22 23:38:16 2006 -0800
7158
7159    Bugfix: move request_written update *before* _xcb_conn_wait in _xcb_out_flush. Otherwise a reply may be read before we record that we have sent the request, and then XCB gets... confused.
7160
7161commit e0a35783837e0d4974cfa20c6a7a073698f3b0a5
7162Author: Jamey Sharp <jamey@minilop.net>
7163Date:   Wed Feb 22 23:11:36 2006 -0800
7164
7165    Remove USE_THREAD_ASSERT compile option. _xcb_conn_wait can no longer be re-entered, since we have no callback hooks now.
7166
7167commit a7d749ec3fd3303a4e7ace9d4f0f1672f9310ef2
7168Author: Jamey Sharp <jamey@minilop.net>
7169Date:   Wed Feb 22 23:09:29 2006 -0800
7170
7171    Remove vestiges of adjacent request combining implementation. It is very dead.
7172
7173commit 06c788932bb635da79076728927b7b93f64037c1
7174Author: Jamey Sharp <jamey@minilop.net>
7175Date:   Mon Feb 20 00:41:39 2006 -0800
7176
7177    Control debugging, optimization, and warning flags all independently.
7178
7179commit 3f98dae4a8274f2430c4967f8354356ef7c45024
7180Merge: e346f8c f825a32
7181Author: Jamey Sharp <jamey@minilop.net>
7182Date:   Sat Feb 18 23:57:18 2006 -0800
7183
7184    Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb
7185
7186commit e346f8c8efe6f931aa43026087d0ea406258c094
7187Author: Jamey Sharp <jamey@minilop.net>
7188Date:   Sat Feb 18 23:57:14 2006 -0800
7189
7190    Update .gitignores for .o files and autofoo stuff.
7191
7192commit f825a32135fa613dd6b6dd8553e366d8125bd7a4
7193Author: Eric Anholt <anholt@FreeBSD.org>
7194Date:   Sat Feb 18 23:05:32 2006 -0800
7195
7196    Add missing entries to .gitignore files.
7197
7198commit 9e013b564cc4479802c51f79ea5054d5f25edacc
7199Merge: d16efb5 7474473
7200Author: Eric Anholt <anholt@FreeBSD.org>
7201Date:   Sat Feb 18 22:57:42 2006 -0800
7202
7203    Merge branch 'master' of git+ssh://anholt@git.freedesktop.org/git/xcb
7204
7205commit d16efb51915d9661788c96140635514cf6314d46
7206Author: Eric Anholt <anholt@FreeBSD.org>
7207Date:   Sat Feb 18 22:56:03 2006 -0800
7208
7209    Move .cvsignore to .gitignore.
7210
7211commit 7474473f3312597f6de736b8f25cedc433427092
7212Author: Jamey Sharp <jamey@minilop.net>
7213Date:   Sat Feb 18 20:03:35 2006 -0800
7214
7215    Quit defining _XOPEN_SOURCE. We never needed it...
7216
7217commit 1d977c7b2d519e22f319075563e7faf4bbd31d58
7218Author: Jamey Sharp <jamey@id.minilop.net>
7219Date:   Sat Feb 18 19:23:33 2006 -0800
7220
7221    Remove the old ChangeLog file. GIT makes that obsolete.
7222
7223commit 5b7182c659391160239467f1041a1d755db45bd3
7224Author: Jamey Sharp <jamey@minilop.net>
7225Date:   Sat Feb 18 18:12:40 2006 -0800
7226
7227    Workaround X server bug, fd.o #3210: if a GLXGetFBConfigs request is sent, fix the length field in the reply.
7228
7229commit 47ceed78612d48dcda62cc2686fc527d61abe38b
7230Author: Josh Triplett <josh@freedesktop.org>
7231Date:   Sat Feb 18 16:49:41 2006 -0800
7232
7233    Remove xcl and CVSROOT.
7234