NEWS revision fe12f63c
1fe12f63cSmrgRelease 1.13.1 (2018-09-27)
2fe12f63cSmrg===========================
3fe12f63cSmrg* Don't flag extra reply in xcb_take_socket
4fe12f63cSmrg
5245c37e9SmrgRelease 1.13 (2018-02-28)
6245c37e9Smrg=========================
7245c37e9Smrg* Add support for variable-sized lists of FDs
8245c37e9Smrg* Poll for events when blocking waiting for special events
9245c37e9Smrg* xinput: Enable XInput extension by default
10245c37e9Smrg* ge: Add explicit support for GenericEvent extension
11245c37e9Smrg* Fix documentation warnings from clang
12245c37e9Smrg* Cosmetic cleanups
13245c37e9Smrg
147204935cSmrgRelease 1.12 (2016-05-18)
157204935cSmrg=========================
167204935cSmrg* configure: Various fixes for dri3 and FD passing support
177204935cSmrg* configure: Don't report all the warning CFLAGS
187204935cSmrg* configure: Disable Xevie and Xprint by default
197204935cSmrg* Add support for various new constructs in the XML schema
207204935cSmrg* Make some functions also accept connections in an error state
217204935cSmrg* Never return NULL from xcb_get_setup()
227204935cSmrg* Use Requires.private in .pc files to avoid overlinking
237204935cSmrg* Fix align-pads for switches which start at unaligned positions
247204935cSmrg* Use anonymous structs for some nested structs
257204935cSmrg* Also generate accessors for variable-sized events and requests
267204935cSmrg* Improved python3 compatibility
277204935cSmrg* Generate C99 initializers instead of comments
287204935cSmrg* Various simplifications to the python code
297204935cSmrg* Fix line breaks in xcb-requests manual page
307204935cSmrg* Always close FDs in xcb_send_fd()
317204935cSmrg* Fix thread-safety issues with FD passing
327204935cSmrg* Add xcb_send_request_with_fds() and xcb_send_request_with_fds64()
337204935cSmrg* Fix endless loop with too many outstanding FDs to send
347204935cSmrg* Link with winsock library on MinGW
357204935cSmrg* Disable some unfinished API for some server-side code by default
367204935cSmrg* Use align-offsets computed by xcb-proto instead of low bits of pointers
377204935cSmrg* Fix iterator interaction with align padding
387204935cSmrg* Stop serializing padding by default
397204935cSmrg* Increase unix socket send buffer to at least 64KiB
407204935cSmrg
41709d36bbSmrgRelease 1.11.1 (2015-09-06)
42709d36bbSmrg===========================
43709d36bbSmrg* Expose 64-bit sequence numbers for XLib
44709d36bbSmrg* Fix some hangs related to xcb_wait_for_special_event()
45709d36bbSmrg
461c7386f4SmrgRelease 1.11 (2014-08-01)
471c7386f4Smrg=========================
481c7386f4Smrg* Force structures with 64-bit fields to be packed
491c7386f4Smrg* Add support for <pad align="n">
501c7386f4Smrg* Use X.org's build machinery from xorg-macros
511c7386f4Smrg* Fix leak with xcb_disconnect() and connections in an error state
521c7386f4Smrg* Make xcb_disconnect(NULL) safe
531c7386f4Smrg* Use less #include statements in generated code
541c7386f4Smrg* Automatically validate the Requires lines in our .pc.in files
551c7386f4Smrg* Fix a race that resulted in a failed assertion
561c7386f4Smrg* Improve launchd secure socket support
571c7386f4Smrg* Improve API documentation
581c7386f4Smrg* Remove trailing whitespaces
591c7386f4Smrg* c_client.py: prefix all monkey-patched fields with c_
601c7386f4Smrg* c_client.py: make the man page output deterministic
611c7386f4Smrg* c_client.py: remove useless generated comments
621c7386f4Smrg* xcb.h: add 'struct' before xcb_setup_t, xcb_query_extension_reply_t
631c7386f4Smrg
641016ad83SmrgRelease 1.10 (2013-12-22)
651016ad83Smrg=========================
661016ad83Smrg* Bump libxcb-xkb SONAME due to ABI break introduced in 1.9.2
671016ad83Smrg* Enable libxcb-xkb by default
681016ad83Smrg* Bump libxcb-sync SONAME
691016ad83Smrg* c_client.py: Fix _sizeof() functions
701016ad83Smrg* c_client.py: Do not create pointers in unions
711016ad83Smrg* c_client.py: Always initialize xcb_align_to
721016ad83Smrg* Re-introduce xcb_ge_event_t (deprecated, xcb_ge_generic_event_t should be
731016ad83Smrg  used instead)
741016ad83Smrg* Fix alignment issues in FD passing code
751016ad83Smrg* Fix poll() if POLLIN == ROLLRDNORM|POLLRDBAND
761016ad83Smrg* Use /usr/spool/sockets/X11/ on HP-UX for UNIX sockets
771016ad83Smrg* Make xsltproc optional
781016ad83Smrg
791016ad83SmrgRelease 1.9.3 (2013-11-07)
801016ad83Smrg==========================
811016ad83Smrg* Check if we need to define _XOPEN_SOURCE for struct msghdr.msg_control
821016ad83Smrg* Add configure option to enable or disable fd passing with sendmsg
831016ad83Smrg* Switch to using the CMSG_* macros for FD passing
841016ad83Smrg* Initialize automake earlier (bugfix for #66413)
851016ad83Smrg
861016ad83SmrgRelease 1.9.2 (2013-11-07)
8708c70cfbSmrg==========================
881016ad83Smrg* Add Present extension
891016ad83Smrg* Add DRI3 library
901016ad83Smrg* Add event queue splitting
911016ad83Smrg* Add support for receiving fds in replies
921016ad83Smrg* Add xcb_send_fd API
931016ad83Smrg* Remove xcb_ge_event_t from xcb.h
941016ad83Smrg* c_client.py: Inject full_sequence into GE events
951016ad83Smrg* c_client.py: Handle multiple expr. in a bitcase
9608c70cfbSmrg
971016ad83SmrgRelease 1.9.1 (2013-05-30)
981016ad83Smrg==========================
9908c70cfbSmrg* Fix python code to work with python-3
10008c70cfbSmrg* Security fix for integer overflow in read_packet() [CVE-2013-2064]
10108c70cfbSmrg
10221298544SmrgRelease 1.9 (2012-10-05)
10321298544Smrg========================
10421298544Smrg* Always include "config.h" at the start of all C source files.
10521298544Smrg* Add AC_USE_SYSTEM_EXTENSIONS to allow use of more system functionality
10621298544Smrg* Return connection failure if display string specifies non-existent screen
10721298544Smrg* c_client: Fix parallel-make issue creating 'man' directory
10821298544Smrg* xcb_connect: launchd: Don't fall back on tcp if $DISPLAY is a path to a launchd socket
10921298544Smrg* c_client.py: generate manpages
11021298544Smrg* Allow xcb_send_request with >MAX_IOV iovecs
11121298544Smrg* Add a .gitignore for src/man/
11221298544Smrg* Fix a multi-thread deadlock
11321298544Smrg
11421298544SmrgRelease 1.8.1 (2012-03-09)
11521298544Smrg==========================
11621298544Smrg- Fix a busy loop on BSD and Mac OS
11721298544Smrg- Bump xcb-proto requirement
11821298544Smrg- Fallback to TCP if no protocol is specified and the UNIX connection fails
11921298544Smrg- Update use of error_connection under WIN32 to _xcb_conn_ret_error()
12021298544Smrg- Fix build of xcb_auth.c with XDMCP on WIN32
12121298544Smrg- Revert "Fix include order with Xdmcp on WIN32"
12221298544Smrg- darwin: Use read(2) rather than recv(2)
12321298544Smrg- Add xkb_internals and xkb_issues to EXTRA_DIST.
12421298544Smrg
12521298544SmrgRelease 1.8 (2012-01-11)
12621298544Smrg========================
12721298544Smrg- xcb_disconnect: call shutdown() to force a disconnect
12821298544Smrg- Use special path to sockets when running under Solaris Trusted Extensions
12921298544Smrg- Remove unused DECnet code
13021298544Smrg- Add #include <sys/socket.h> to xcb_conn.c
13121298544Smrg- Make launchd code in xcb_util.c match surrounding code indent levels
13221298544Smrg- If protocol is "unix", use a Unix domain socket, not TCP
13321298544Smrg- Added more error states and removed global error_connection
13421298544Smrg- Handle XGE events with the "send event" flag
13521298544Smrg- added xcb_sumof() with restriction to uint8_t
13621298544Smrg- xkb: updated configure.ac/Makefile.am
13721298544Smrg- xkb: added pkg config file
13821298544Smrg- special case 'intermixed variable and fixed size fields': fixed reply side, needs testing
13921298544Smrg- added accessors for special cases
14021298544Smrg- Add support for building with Python 3
14121298544Smrg- Insert, not append explicit xcbgen dir python path
14221298544Smrg- xcb_request_check: Sync even if an event was read for this sequence.
14321298544Smrg- _xcb_conn_wait: Shut down the connection on unexpected poll() events.
14421298544Smrg- xcb_send_request: Send all requests using a common internal send_request.
14521298544Smrg- xcb_request_check: Hold the I/O lock while deciding to sync.
14621298544Smrg- xcb_discard_reply: Simplify by re-using poll_for_reply helper.
14721298544Smrg- xcb_in: Use 64-bit sequence numbers internally everywhere.
14821298544Smrg- Enable AM_SILENT_RULES on automake 1.11 or newer.
14921298544Smrg- Factor reader_list management out of wait_for_reply.
15021298544Smrg- Dequeue readers that can't receive any new responses.
15121298544Smrg- Delete the old c-client.xsl.
15221298544Smrg- Keep ALIGNOF definition out of the public namespace.
15321298544Smrg- darwin: Don't use poll() when expected to run on darwin10 and prior
15421298544Smrg- Add Win32
15521298544Smrg- Allow disconnecting connections that are in error state.
15621298544Smrg- Make xcb_take_socket keep flushing until idle
15721298544Smrg- Support pre-IPv6 systems (without getaddrinfo)
15821298544Smrg- Drop AI_ADDRCONFIG when resolving TCP addresses
15921298544Smrg- xcb_auth: Fix memory leak in _xcb_get_auth_info.
16021298544Smrg- Don't emit out-of-module sizeof definitions
16121298544Smrg- Clean up a couple of warnings in xprint
16221298544Smrg- Prevent reply waiters from being blocked.
16321298544Smrg- Prevent theoretical double free and leak on get_peer_sock_name.
16421298544Smrg- Introduce a variant of xcb_poll_for_event for examining event queue.
16521298544Smrg- xcb_take_socket: Document sequence wrap requirements
16621298544Smrg- Compute alignment correctly
16721298544Smrg- Fix a dead-lock due to xcb_poll_for_reply
16821298544Smrg
169b20a2039SmrgRelease 1.7 (2010-08-13)
170b20a2039Smrg========================
171b20a2039Smrg- Always wake up readers after writing
172b20a2039Smrg- Get rid of PATH_MAX and MAXPATHLEN
173b20a2039Smrg- Add ~ operator support in code generator
174b20a2039Smrg- xcb_open: Improve protocol/host parsing
175b20a2039Smrg- xcb_connect_to_display_with_auth_info: Fix memory leak
176b20a2039Smrg- Report which extensions are being built
177b20a2039Smrg
178602e473dSmrgRelease 1.6 (2010-04-09)
179602e473dSmrg========================
180602e473dSmrg- darwin: xnu doesn't support poll on ttys on the master side
181602e473dSmrg- Fix descriptor leak on memory error path
182602e473dSmrg- Support xcb_discard_reply
183602e473dSmrg- Open the X11 socket with close-on-exec flag
184602e473dSmrg- Fix authentication on hpux and Hurd
185602e473dSmrg
186602e473dSmrgRelease 1.5 (2009-12-03)
187602e473dSmrg========================
188602e473dSmrg- setsockopt(SO_KEEPALIVE) on TCP display connections
189602e473dSmrg- Add DRI2 support
190602e473dSmrg- Fix check dependency
191602e473dSmrg- Cygwin build fix: Add -no-undefined to libtool flags
192602e473dSmrg
193602e473dSmrgRelease 1.4 (2009-07-15)
194602e473dSmrg========================
195602e473dSmrg* Add majorCode, minorCode and resourceID fields to X generic error
196602e473dSmrg* Fix precedence bug: wrong length for big-requests preceded by sync
197602e473dSmrg* Fix libxcb-randr version info
198602e473dSmrg
199602e473dSmrgRelease 1.3 (2009-05-29)
200602e473dSmrg========================
201602e473dSmrg* Copy full IPv4 mapping (Bug #20665)
202602e473dSmrg* Fix XID allocation
203602e473dSmrg* Use poll() instead of select() when available
204602e473dSmrg* Fix local socket connection on Hurd
205602e473dSmrg* Fix XDM-AUTHORIZATION-1
206602e473dSmrg* Disable Nagle on TCP socket
207602e473dSmrg
208602e473dSmrgRelease 1.2 (2009-02-17)
209602e473dSmrg========================
210602e473dSmrg* Stop packaging auto-generated C files into tarball.
211602e473dSmrg
212602e473dSmrgRelease 1.1.93 (2008-12-11)
213602e473dSmrg===========================
214602e473dSmrgEnhancements:
215602e473dSmrg* Apple: Enable support for launchd DISPLAY socket
216602e473dSmrg* Treat XIDs the same as other cardinal values.
217602e473dSmrg
218602e473dSmrgRelease 1.1.92 (2008-11-01)
219602e473dSmrg===========================
220602e473dSmrgEnhancements:
221602e473dSmrg* Added small fix to support trailing fixed fields; also warning for non-pad fixed fields
222602e473dSmrg* Fixed overly aggressive warning about fixed field following variable
223602e473dSmrg* Added generation of extern "C" for compatibility with C++
224602e473dSmrg* Remove libxcb-xlib and xcbxlib.h.
225602e473dSmrg* Inline _xcb_lock_io, _xcb_unlock_io, and _xcb_wait_io.
226602e473dSmrg* Track 64-bit sequence numbers internally.
227602e473dSmrg* Use sequence number ranges in pending replies
228602e473dSmrg* Remove duplicate XCB_EXTENSION calls for Composite extension
229602e473dSmrg* Factorize m4 macros and add one to set X extensions
230602e473dSmrg* Allow compile-time setting for XCB queue buffer size
231602e473dSmrg* Support handing off socket write permission to external code.
232602e473dSmrg* Add support for the abstract socket namespace under Linux
233602e473dSmrg
234602e473dSmrgBug fixes:
235602e473dSmrg* Fix tiny memory leak in read_packet
236602e473dSmrg* Fix some fd leaks in _xcb_open_*()
237602e473dSmrg
238602e473dSmrgRelease 1.1 (2007-11-04)
239602e473dSmrg========================
240602e473dSmrg
241602e473dSmrgThis release requires xcb-proto 1.1, due to the addition of the
242602e473dSmrgextension-multiword attribute to the XML schema.
243602e473dSmrg
244602e473dSmrgThis release contains several important bug fixes, summarized below. It
245602e473dSmrgalso contains a patch much like Novell's libxcb-sloppy-lock.diff.
246602e473dSmrgRationale from the commit message follows. The patch and this rationale
247602e473dSmrgwere authored by Jamey Sharp <jamey@minilop.net>, with agreement from
248602e473dSmrgJosh Triplett <josh@freedesktop.org>.
249602e473dSmrg
250602e473dSmrg    I strongly opposed proposals like this one for a long time.
251602e473dSmrg    Originally I had a very good reason: libX11, when compiled to use
252602e473dSmrg    XCB, would crash soon after a locking correctness violation, so it
253602e473dSmrg    was better to have an informative assert failure than a mystifying
254602e473dSmrg    crash soon after.
255602e473dSmrg
256602e473dSmrg    It took some time for me to realize that I'd changed the libX11
257602e473dSmrg    implementation (for unrelated reasons) so that it could survive most
258602e473dSmrg    invalid locking situations, as long as it wasn't actually being used
259602e473dSmrg    from multiple threads concurrently.
260602e473dSmrg
261602e473dSmrg    The other thing that has changed is that most of the code with
262602e473dSmrg    incorrect locking has now been fixed. The value of the assert is
263602e473dSmrg    accordingly lower.
264602e473dSmrg
265602e473dSmrg    However, remaining broken callers do need to be fixed. That's why
266602e473dSmrg    libXCB will still noisily print a stacktrace (if possible) on each
267602e473dSmrg    assertion failure, even when assert isn't actually invoked to
268602e473dSmrg    abort() the program; and that's why aborting is still default. This
269602e473dSmrg    environment variable is provided only for use as a temporary
270602e473dSmrg    workaround for broken applications.
271602e473dSmrg
272602e473dSmrgEnhancements:
273602e473dSmrg* Print a backtrace, if possible, on locking assertion failures.
274602e473dSmrg* Skip abort() on locking assertions if LIBXCB_ALLOW_SLOPPY_LOCK is set.
275602e473dSmrg* xcb_poll_for_event: Return already-read events before reading again.
276602e473dSmrg* Output a configuration summary at the end of ./configure.
277602e473dSmrg
278602e473dSmrgBug fixes:
279602e473dSmrg* Don't hold the xlib-xcb lock while sleeping: that allows deadlock.
280602e473dSmrg* Allow unix:<screen> style display names again.
281602e473dSmrg* Bug #9119: test xcb_popcount
282602e473dSmrg* Fix unit tests for FreeBSD
283602e473dSmrg* NetBSD doesn't have AI_ADDRCONFIG: use it only if it's available.
284602e473dSmrg* Require libXau >= 0.99.2; earlier versions have a broken .pc file
285602e473dSmrg* Use substitition variables in xcb-xinerama.pc.in
286602e473dSmrg* Update autogen.sh to one that does objdir != srcdir
287602e473dSmrg* Add tools/* and autogen.sh to EXTRA_DIST.
288602e473dSmrg* Doxygen can now be fully disabled if desired.
289602e473dSmrg
290602e473dSmrgDocumentation improvements:
291602e473dSmrg* Many fixes and updates to the tutorial.
292602e473dSmrg* Iterators, requests, and replies get partial Doxygen documentation.
293602e473dSmrg
294602e473dSmrg
295602e473dSmrgRelease 1.0 (2006-11-23)
296602e473dSmrg========================
297602e473dSmrg
298602e473dSmrgThe "Thanksgiving" release: We feel thankful to have it released.  Five years
299602e473dSmrghave passed since XCB's initial commit on September 3rd, 2001:
300602e473dSmrg    <http://gitweb.freedesktop.org/?p=xcb.git;a=commit;h=09e54c4a3c>
301602e473dSmrg
302602e473dSmrg* Support IPv6.  XCB now supports displays with IPv6 addresses, with or without
303602e473dSmrg  enclosing square brackets, or with hosts which resolve to IPv6 addresses, by
304602e473dSmrg  using getaddrinfo instead of gethostbyname, and by including support for
305602e473dSmrg  authentication for such connections.  This allows such displays as "::1:1.1".
306602e473dSmrg
307602e473dSmrg* XCB now uses the libpthread-stubs, to properly support optional use of
308602e473dSmrg  pthreads even on platforms which do not have all the necessary pthread stubs
309602e473dSmrg  in libc or otherwise available by default.
310602e473dSmrg
311602e473dSmrg* Switch from the old AM_PATH_CHECK macro to pkg-config.  check 0.9.4 is now
312602e473dSmrg  required to build XCB's unit tests.  The version that we were requiring was
313602e473dSmrg  not actually new enough to let our unit tests compile, and the AM_PATH_CHECK
314602e473dSmrg  macro is now considered deprecated.  We know that versions of check using
315602e473dSmrg  pkg-config are new enough to work, and the check dependency was optional
316602e473dSmrg  anyway, so we've dropped support for older versions.
317602e473dSmrg
318602e473dSmrg* Provide a xcb_prefetch_maximum_request_length counterpart to
319602e473dSmrg  xcb_get_maximum_request_length.
320602e473dSmrg
321602e473dSmrg* Fix Bug #5958: zero out padding bytes in requests.
322602e473dSmrg
323602e473dSmrg* Change xcb_connect to pass the display number to _xcb_get_auth_info, which
324602e473dSmrg  passes it to get_authptr.  This allows get_authptr to stop hacking the
325602e473dSmrg  display number out of the sockaddrs of various address families, such as
326602e473dSmrg  port - X_TCP_PORT, or the number after the last X in the UNIX socket path.
327602e473dSmrg
328602e473dSmrg* Remove --with-opt and --with-debug options from configure.ac; configure
329602e473dSmrg  supports the use of custom CFLAGS, so please use that instead.
330602e473dSmrg
331602e473dSmrg* Reove support for the <localfield> tag in protocol descriptions, since they
332602e473dSmrg  no longer use it, and since new protocol descriptions should not need it
333602e473dSmrg  either.
334602e473dSmrg
335602e473dSmrg* xcb-proto has no libraries or headers, so don't use XCBPROTO_CFLAGS or
336602e473dSmrg  XCBPROTO_LIBS.
337602e473dSmrg
338602e473dSmrg* XCB builds which use xdmcp now include it in Requires.private, to support
339602e473dSmrg  static linking.
340602e473dSmrg
341602e473dSmrg* Replace "long" with uint32_t when used for a 32-bit quantity
342602e473dSmrg
343602e473dSmrg* Various enhancements to the generation of documentation with Doxygen:
344602e473dSmrg  * Check for doxygen in configure.ac
345602e473dSmrg  * Fix some Doxygen warnings.
346602e473dSmrg  * Install documentation.
347602e473dSmrg  * Handle out-of-tree builds, with srcdir != builddir.  xcb.doxygen now gets
348602e473dSmrg    generated from xcb.doxygen.in, so that it can use top_builddir and
349602e473dSmrg    top_srcdir to find source and to output documentation.
350602e473dSmrg  * Fill in PROJECT_NUMBER from @VERSION@, now that we have it readily
351602e473dSmrg    available via autoconf.
352602e473dSmrg
353602e473dSmrg
354602e473dSmrgRelease 1.0 RC3 (2006-11-02)
355602e473dSmrg============================
356602e473dSmrg
357602e473dSmrgNote: Version 0.9.4 of the test suite tool "check" provides a broken
358602e473dSmrgversion of the AM_PATH_CHECK macro, which causes autoconf to fail due to
359602e473dSmrginsufficient quoting on the macro names it prints in its deprecation
360602e473dSmrgmessage. We have written a patch to fix this problem, available at:
361602e473dSmrg<http://bugs.debian.org/cgi-bin/bugreport.cgi/check-m4-am-path-check-use-quadrigraphs-in-macro-names-to-unbreak-autoconf.patch?bug=395466;msg=20;att=1>
362602e473dSmrgVersion 0.9.4-2 of the Debian package for check includes this patch.
363602e473dSmrgUsers of other distributions who want to re-autotool libxcb will need to
364602e473dSmrgapply this patch, use an older version of check, or wait for a fixed
365602e473dSmrgupstream version. This bug does not affect users who use the distributed
366602e473dSmrgtarballs and do not re-autotool.
367602e473dSmrg
368602e473dSmrg* Add library support for xcb-xinerama, using new protocol description
369602e473dSmrg  from xcb-proto.
370602e473dSmrg* In the generated protocol code, define and use constants for opcode
371602e473dSmrg  numbers rather than hard-coding them.
372602e473dSmrg* In the API conversion script, match only XCB-namespaced XID generators
373602e473dSmrg  when converting to xcb_generate_id.
374602e473dSmrg* Quit treating xproto specially in Makefile.am: handle it like all the
375602e473dSmrg  extensions.
376602e473dSmrg* Generate Doxygen documentation comments in the protocol stubs, and
377602e473dSmrg  provide a Doxygen config file for building HTML documentation for XCB.
378602e473dSmrg* Add note to xcbxlib.h that nothing except Xlib/XCB should use it.
379602e473dSmrg* Extend test suite to test xcb_parse_display with NULL argument and
380602e473dSmrg  display in $DISPLAY.
381602e473dSmrg
382602e473dSmrg
383602e473dSmrgRelease 1.0 RC2 (2006-10-07)
384602e473dSmrg============================
385602e473dSmrg
386602e473dSmrgAPI changes
387602e473dSmrg-----------
388602e473dSmrg
389602e473dSmrgIn our announcement of XCB 1.0 RC1, we proposed two API changes for
390602e473dSmrgcommunity feedback:
391602e473dSmrg
392602e473dSmrg    We would greatly appreciate API review in this final release
393602e473dSmrg    candidate period. We've had some limited feedback that our attempts
394602e473dSmrg    to impose static type safety on XIDs in C pose more a hindrance than
395602e473dSmrg    a help, so we would appreciate discussion over whether this
396602e473dSmrg    constitutes a "serious issue with the API". Some question also
397602e473dSmrg    remains of whether xcb_poll_for_event should have the out-parameter
398602e473dSmrg    'error', now that XCB has a more uniform mechanism for reporting
399602e473dSmrg    connection errors. Speak now on these points or leave us alone. ;-)
400602e473dSmrg
401602e473dSmrgSince we've received feedback agreeing with our proposed changes, and no
402602e473dSmrgobjections or requests to keep the existing API, we made both changes
403602e473dSmrgand bumped the soname to libxcb.so.1.0.0 in preparation for the release
404602e473dSmrgof XCB 1.0.
405602e473dSmrg
406602e473dSmrg* Remove XID wrapper structures and replace them with uint32_t typedefs.
407602e473dSmrg  XID union types like xcb_drawable_t and xcb_fontable_t also become
408602e473dSmrg  uint32_t typedefs. The API conversion script now replaces xcb_*_new
409602e473dSmrg  with calls directly to xcb_generate_id.  This change makes
410602e473dSmrg  xcb_generate_id part of the client API rather than the extension API,
411602e473dSmrg  so move xcb_generate_id from xcbext.h to xcb.h.
412602e473dSmrg
413602e473dSmrg* Remove the 'int *error' out-parameter for xcb_poll_for_event. 
414602e473dSmrg  xcb_poll_for_event now shuts down the xcb_connection_t on fatal
415602e473dSmrg  errors; use xcb_connection_has_error to check.
416602e473dSmrg
417602e473dSmrgThe Xlib-specific API in libxcb-xlib also changed:
418602e473dSmrg
419602e473dSmrg* Stop exposing the XCB IO lock for Xlib's benefit, by removing
420602e473dSmrg  xcb_get_io_lock from the Xlib-specific XCB API; instead, libxcb-xlib
421602e473dSmrg  now provides xcb_xlib_lock and xcb_xlib_unlock.
422602e473dSmrg
423602e473dSmrgCode generation changes
424602e473dSmrg-----------------------
425602e473dSmrg
426602e473dSmrg* The code generator no longer implicitly imports xproto for extensions.
427602e473dSmrg  xcb-proto 1.0 RC2 includes the corresponding change to explicitly
428602e473dSmrg  import xproto in extensions that need it
429602e473dSmrg
430602e473dSmrg* The generated protocol headers now declare "struct foo", "union foo"
431602e473dSmrg  or "enum foo", not just the typedef "foo" of an unnamed
432602e473dSmrg  struct/union/enum type.
433602e473dSmrg
434602e473dSmrgBug Fixes
435602e473dSmrg---------
436602e473dSmrg
437602e473dSmrg* Make Plan 7 'checked' requests work correctly.
438602e473dSmrg
439602e473dSmrgDocumentation improvements
440602e473dSmrg--------------------------
441602e473dSmrg
442602e473dSmrg* Document xcb_generate_id.
443602e473dSmrg
444602e473dSmrg* Tutorial enhancements.
445602e473dSmrg
446602e473dSmrg
447602e473dSmrgRelease 1.0 RC1 (2006-09-25)
448602e473dSmrg============================
449602e473dSmrg
450602e473dSmrgThe Great XCB Renaming
451602e473dSmrg----------------------
452602e473dSmrg
453602e473dSmrgRename API to follow a new naming convention:
454602e473dSmrg
455602e473dSmrg* XCB_CONSTANTS_UPPERCASE_WITH_UNDERSCORES
456602e473dSmrg* xcb_functions_lowercase_with_underscores
457602e473dSmrg* xcb_types_lowercase_with_underscores_and_suffix_t
458602e473dSmrg* expand all abbreviations like "req", "rep", and "iter"
459602e473dSmrg
460602e473dSmrgWord boundaries for the names in the protocol descriptions fall:
461602e473dSmrg
462602e473dSmrg* Wherever the protocol descriptions already have an underscore
463602e473dSmrg* Between a lowercase letter and a subsequent uppercase letter
464602e473dSmrg* Before the last uppercase letter in a string of uppercase letters
465602e473dSmrg  followed by a lowercase letter (such as in LSBFirst between LSB and
466602e473dSmrg  First)
467602e473dSmrg* Before and after a string of digits (with exceptions for sized types
468602e473dSmrg  like xcb_char2b_t and xcb_glx_float32_t to match the stdint.h
469602e473dSmrg  convention)
470602e473dSmrg
471602e473dSmrgAlso fix up some particular naming issues:
472602e473dSmrg
473602e473dSmrg* Rename shape_op and shape_kind to drop the "shape_" prefix, since
474602e473dSmrg  otherwise these types end up as xcb_shape_shape_{op,kind}_t.
475602e473dSmrg* Remove leading underscores from enums in the GLX protocol description,
476602e473dSmrg  previously needed to ensure a word separator, but now redundant.
477602e473dSmrg
478602e473dSmrgThis renaming breaks code written for the previous API naming
479602e473dSmrgconvention. The scripts in XCB's tools directory will convert code
480602e473dSmrgwritten for the old API to use the new API; they work well enough that
481602e473dSmrgwe used them to convert the non-program-generated code in XCB, and when
482602e473dSmrgrun on the old program-generated code, they almost exactly reproduce the
483602e473dSmrgnew program-generated code (modulo whitespace and bugs in the old code
484602e473dSmrggenerator).
485602e473dSmrg
486602e473dSmrgAuthors: Vincent Torri, Thomas Hunger, Josh Triplett
487602e473dSmrg
488602e473dSmrgIn addition to the API renaming, the library SONAMEs have changed to
489602e473dSmrglibxcb.so and libxcb-extname.so. The library major version remains at 0,
490602e473dSmrgto become version 1 before 1.0 is released; the SONAME lowercasing means
491602e473dSmrgthat this will not conflict with XCB 0.9 libraries.
492602e473dSmrg
493602e473dSmrgThe header files have moved from /usr/include/X11/XCB/ to
494602e473dSmrg/usr/include/xcb/. The XML-XCB protocol descriptions have moved to
495602e473dSmrg/usr/share/xcb, with extension descriptions no longer relegated to an
496602e473dSmrgextensions/ subdirectory. The API conversion script api_conv.pl will fix
497602e473dSmrgreferences to the header files, and packages using pkg-config will
498602e473dSmrgautomatically use the new library names.
499602e473dSmrg
500602e473dSmrgError handling Plan 7
501602e473dSmrg---------------------
502602e473dSmrg
503602e473dSmrgAll request functions now come in an "unchecked" and "checked" variant.
504602e473dSmrgThe checked variant allows callers to handle errors inline where they
505602e473dSmrgobtain the reply, or by calling xcb_request_check for requests with no
506602e473dSmrgreply. The unchecked variant uses the event queue for errors. Requests
507602e473dSmrgwith replies default to checked, because the caller must already make a
508602e473dSmrgfunction call to retrieve the reply and can see the error at that time;
509602e473dSmrgthe unchecked variant uses the suffix _unchecked. Requests without
510602e473dSmrgreplies default to unchecked, because the caller will not necessarily
511602e473dSmrgexpect to handle a response, and the checked variant uses the suffix
512602e473dSmrg_checked.
513602e473dSmrg
514602e473dSmrgConnection error handling
515602e473dSmrg-------------------------
516602e473dSmrg
517602e473dSmrgFatal connection errors now put the xcb_connection_t object into an
518602e473dSmrgerror state, at which point all further operations on that connection
519602e473dSmrgwill fail. Callers can use the new xcb_connection_has_error function to
520602e473dSmrgcheck for this state in a connection. Functions that return a
521602e473dSmrgconnection, such as the xcb_connect function, may instead return an
522602e473dSmrgxcb_connection_t already in an error state.
523602e473dSmrg
524602e473dSmrgIn the future we expect to add additional API for getting more
525602e473dSmrginformation about the error condition that caused the connection to get
526602e473dSmrginto an error state.
527602e473dSmrg
528602e473dSmrgSmaller API changes
529602e473dSmrg-------------------
530602e473dSmrg
531602e473dSmrgAll functions that have been marked 'deprecated' up to now have been
532602e473dSmrgremoved for this release. After XCB 1.0 is released, functions marked
533602e473dSmrg'deprecated' will be preserved until the end of time to maintain
534602e473dSmrgcompatibility.
535602e473dSmrg
536602e473dSmrgXCB no longer provides a sync function. Most callers of this function
537602e473dSmrgshould use xcb_flush instead, which usually provides the intended
538602e473dSmrgfunctionality and does not require a round-trip to the server. If you
539602e473dSmrgreally need this functionality, either use xcb_get_input_focus like sync
540602e473dSmrgused to do, or use the xcb_aux_sync function from the xcb-aux library in
541602e473dSmrgxcb-util. However, note that we do not consider the libraries in
542602e473dSmrgxcb-util remotely stable yet.
543602e473dSmrg
544602e473dSmrgXCB no longer provides xcb_[extension_name]_init functions for each
545602e473dSmrgextension. These functions previously caused XCB to issue and process a
546602e473dSmrgQueryExtension request. Callers should now directly call
547602e473dSmrgxcb_get_extension_data on the xcb_[extension_name]_id, or use
548602e473dSmrgxcb_prefetch_extension_data if they do not need to force a round-trip
549602e473dSmrgimmediately.
550602e473dSmrg
551602e473dSmrgThe compatibility functions in xcbxlib.h, provided solely for use by
552602e473dSmrgXlib/XCB, now exist in a separate library libxcb-xlib. We don't want to
553602e473dSmrghave to change the libxcb soname if we later change or remove the Xlib
554602e473dSmrgcompatibility functions, and nothing except Xlib/XCB should ever use
555602e473dSmrgthem. (Applications which use Xlib/XCB do not need this library either;
556602e473dSmrgXlib/XCB only uses it internally.)
557602e473dSmrg
558602e473dSmrgThe descriptions of several extensions have been updated to match the
559602e473dSmrglatest versions implemented in the X.org X server.
560602e473dSmrg
561602e473dSmrgGIT Repository split
562602e473dSmrg--------------------
563602e473dSmrg
564602e473dSmrgPreviously, several XCB-related projects all existed under the umbrella
565602e473dSmrgof a single monolithic GIT repository with per-project subdirectories.
566602e473dSmrgWe have split this repository into individual per-project repositories.
567602e473dSmrg
568602e473dSmrgJosh Triplett and Jamey Sharp wrote a tool called git-split to
569602e473dSmrgaccomplish this repository split. git-split reconstructs the history of
570602e473dSmrga sub-project previously stored in a subdirectory of a larger
571602e473dSmrgrepository. It constructs new commit objects based on the existing tree
572602e473dSmrgobjects for the subtree in each commit, and discards commits which do
573602e473dSmrgnot affect the history of the sub-project, as well as merges made
574602e473dSmrgunnecessary due to these discarded commits.
575602e473dSmrg
576602e473dSmrgWe would like to acknowledge the work of the gobby team in creating a
577602e473dSmrgcollaborative editor which greatly aided the development of git-split
578602e473dSmrg(as well as these release notes).
579602e473dSmrg
580602e473dSmrgBuild and implementation fixes
581602e473dSmrg------------------------------
582602e473dSmrg
583602e473dSmrgXCB no longer needs proto/x11 from X.org; the XCB header xproto.h
584602e473dSmrgprovides the definitions from X.h, named according to XCB conventions.
585602e473dSmrg
586602e473dSmrgXCB should now build with non-GNU implementations of Make.
587602e473dSmrg
588602e473dSmrgXCB properly handles 32-bit wrap of sequence numbers, and thus now
589602e473dSmrgsupports issuing more than 2**32 requests in one connection.
590602e473dSmrg
591602e473dSmrgFixed bugs #7001, #7261.
592