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