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