NEWS revision 1016ad83
11016ad83SmrgRelease 1.10 (2013-12-22)
21016ad83Smrg=========================
31016ad83Smrg* Bump libxcb-xkb SONAME due to ABI break introduced in 1.9.2
41016ad83Smrg* Enable libxcb-xkb by default
51016ad83Smrg* Bump libxcb-sync SONAME
61016ad83Smrg* c_client.py: Fix _sizeof() functions
71016ad83Smrg* c_client.py: Do not create pointers in unions
81016ad83Smrg* c_client.py: Always initialize xcb_align_to
91016ad83Smrg* Re-introduce xcb_ge_event_t (deprecated, xcb_ge_generic_event_t should be
101016ad83Smrg  used instead)
111016ad83Smrg* Fix alignment issues in FD passing code
121016ad83Smrg* Fix poll() if POLLIN == ROLLRDNORM|POLLRDBAND
131016ad83Smrg* Use /usr/spool/sockets/X11/ on HP-UX for UNIX sockets
141016ad83Smrg* Make xsltproc optional
151016ad83Smrg
161016ad83SmrgRelease 1.9.3 (2013-11-07)
171016ad83Smrg==========================
181016ad83Smrg* Check if we need to define _XOPEN_SOURCE for struct msghdr.msg_control
191016ad83Smrg* Add configure option to enable or disable fd passing with sendmsg
201016ad83Smrg* Switch to using the CMSG_* macros for FD passing
211016ad83Smrg* Initialize automake earlier (bugfix for #66413)
221016ad83Smrg
231016ad83SmrgRelease 1.9.2 (2013-11-07)
2408c70cfbSmrg==========================
251016ad83Smrg* Add Present extension
261016ad83Smrg* Add DRI3 library
271016ad83Smrg* Add event queue splitting
281016ad83Smrg* Add support for receiving fds in replies
291016ad83Smrg* Add xcb_send_fd API
301016ad83Smrg* Remove xcb_ge_event_t from xcb.h
311016ad83Smrg* c_client.py: Inject full_sequence into GE events
321016ad83Smrg* c_client.py: Handle multiple expr. in a bitcase
3308c70cfbSmrg
341016ad83SmrgRelease 1.9.1 (2013-05-30)
351016ad83Smrg==========================
3608c70cfbSmrg* Fix python code to work with python-3
3708c70cfbSmrg* Security fix for integer overflow in read_packet() [CVE-2013-2064]
3808c70cfbSmrg
3921298544SmrgRelease 1.9 (2012-10-05)
4021298544Smrg========================
4121298544Smrg* Always include "config.h" at the start of all C source files.
4221298544Smrg* Add AC_USE_SYSTEM_EXTENSIONS to allow use of more system functionality
4321298544Smrg* Return connection failure if display string specifies non-existent screen
4421298544Smrg* c_client: Fix parallel-make issue creating 'man' directory
4521298544Smrg* xcb_connect: launchd: Don't fall back on tcp if $DISPLAY is a path to a launchd socket
4621298544Smrg* c_client.py: generate manpages
4721298544Smrg* Allow xcb_send_request with >MAX_IOV iovecs
4821298544Smrg* Add a .gitignore for src/man/
4921298544Smrg* Fix a multi-thread deadlock
5021298544Smrg
5121298544SmrgRelease 1.8.1 (2012-03-09)
5221298544Smrg==========================
5321298544Smrg- Fix a busy loop on BSD and Mac OS
5421298544Smrg- Bump xcb-proto requirement
5521298544Smrg- Fallback to TCP if no protocol is specified and the UNIX connection fails
5621298544Smrg- Update use of error_connection under WIN32 to _xcb_conn_ret_error()
5721298544Smrg- Fix build of xcb_auth.c with XDMCP on WIN32
5821298544Smrg- Revert "Fix include order with Xdmcp on WIN32"
5921298544Smrg- darwin: Use read(2) rather than recv(2)
6021298544Smrg- Add xkb_internals and xkb_issues to EXTRA_DIST.
6121298544Smrg
6221298544SmrgRelease 1.8 (2012-01-11)
6321298544Smrg========================
6421298544Smrg- xcb_disconnect: call shutdown() to force a disconnect
6521298544Smrg- Use special path to sockets when running under Solaris Trusted Extensions
6621298544Smrg- Remove unused DECnet code
6721298544Smrg- Add #include <sys/socket.h> to xcb_conn.c
6821298544Smrg- Make launchd code in xcb_util.c match surrounding code indent levels
6921298544Smrg- If protocol is "unix", use a Unix domain socket, not TCP
7021298544Smrg- Added more error states and removed global error_connection
7121298544Smrg- Handle XGE events with the "send event" flag
7221298544Smrg- added xcb_sumof() with restriction to uint8_t
7321298544Smrg- xkb: updated configure.ac/Makefile.am
7421298544Smrg- xkb: added pkg config file
7521298544Smrg- special case 'intermixed variable and fixed size fields': fixed reply side, needs testing
7621298544Smrg- added accessors for special cases
7721298544Smrg- Add support for building with Python 3
7821298544Smrg- Insert, not append explicit xcbgen dir python path
7921298544Smrg- xcb_request_check: Sync even if an event was read for this sequence.
8021298544Smrg- _xcb_conn_wait: Shut down the connection on unexpected poll() events.
8121298544Smrg- xcb_send_request: Send all requests using a common internal send_request.
8221298544Smrg- xcb_request_check: Hold the I/O lock while deciding to sync.
8321298544Smrg- xcb_discard_reply: Simplify by re-using poll_for_reply helper.
8421298544Smrg- xcb_in: Use 64-bit sequence numbers internally everywhere.
8521298544Smrg- Enable AM_SILENT_RULES on automake 1.11 or newer.
8621298544Smrg- Factor reader_list management out of wait_for_reply.
8721298544Smrg- Dequeue readers that can't receive any new responses.
8821298544Smrg- Delete the old c-client.xsl.
8921298544Smrg- Keep ALIGNOF definition out of the public namespace.
9021298544Smrg- darwin: Don't use poll() when expected to run on darwin10 and prior
9121298544Smrg- Add Win32
9221298544Smrg- Allow disconnecting connections that are in error state.
9321298544Smrg- Make xcb_take_socket keep flushing until idle
9421298544Smrg- Support pre-IPv6 systems (without getaddrinfo)
9521298544Smrg- Drop AI_ADDRCONFIG when resolving TCP addresses
9621298544Smrg- xcb_auth: Fix memory leak in _xcb_get_auth_info.
9721298544Smrg- Don't emit out-of-module sizeof definitions
9821298544Smrg- Clean up a couple of warnings in xprint
9921298544Smrg- Prevent reply waiters from being blocked.
10021298544Smrg- Prevent theoretical double free and leak on get_peer_sock_name.
10121298544Smrg- Introduce a variant of xcb_poll_for_event for examining event queue.
10221298544Smrg- xcb_take_socket: Document sequence wrap requirements
10321298544Smrg- Compute alignment correctly
10421298544Smrg- Fix a dead-lock due to xcb_poll_for_reply
10521298544Smrg
106b20a2039SmrgRelease 1.7 (2010-08-13)
107b20a2039Smrg========================
108b20a2039Smrg- Always wake up readers after writing
109b20a2039Smrg- Get rid of PATH_MAX and MAXPATHLEN
110b20a2039Smrg- Add ~ operator support in code generator
111b20a2039Smrg- xcb_open: Improve protocol/host parsing
112b20a2039Smrg- xcb_connect_to_display_with_auth_info: Fix memory leak
113b20a2039Smrg- Report which extensions are being built
114b20a2039Smrg
115602e473dSmrgRelease 1.6 (2010-04-09)
116602e473dSmrg========================
117602e473dSmrg- darwin: xnu doesn't support poll on ttys on the master side
118602e473dSmrg- Fix descriptor leak on memory error path
119602e473dSmrg- Support xcb_discard_reply
120602e473dSmrg- Open the X11 socket with close-on-exec flag
121602e473dSmrg- Fix authentication on hpux and Hurd
122602e473dSmrg
123602e473dSmrgRelease 1.5 (2009-12-03)
124602e473dSmrg========================
125602e473dSmrg- setsockopt(SO_KEEPALIVE) on TCP display connections
126602e473dSmrg- Add DRI2 support
127602e473dSmrg- Fix check dependency
128602e473dSmrg- Cygwin build fix: Add -no-undefined to libtool flags
129602e473dSmrg
130602e473dSmrgRelease 1.4 (2009-07-15)
131602e473dSmrg========================
132602e473dSmrg* Add majorCode, minorCode and resourceID fields to X generic error
133602e473dSmrg* Fix precedence bug: wrong length for big-requests preceded by sync
134602e473dSmrg* Fix libxcb-randr version info
135602e473dSmrg
136602e473dSmrgRelease 1.3 (2009-05-29)
137602e473dSmrg========================
138602e473dSmrg* Copy full IPv4 mapping (Bug #20665)
139602e473dSmrg* Fix XID allocation
140602e473dSmrg* Use poll() instead of select() when available
141602e473dSmrg* Fix local socket connection on Hurd
142602e473dSmrg* Fix XDM-AUTHORIZATION-1
143602e473dSmrg* Disable Nagle on TCP socket
144602e473dSmrg
145602e473dSmrgRelease 1.2 (2009-02-17)
146602e473dSmrg========================
147602e473dSmrg* Stop packaging auto-generated C files into tarball.
148602e473dSmrg
149602e473dSmrgRelease 1.1.93 (2008-12-11)
150602e473dSmrg===========================
151602e473dSmrgEnhancements:
152602e473dSmrg* Apple: Enable support for launchd DISPLAY socket
153602e473dSmrg* Treat XIDs the same as other cardinal values.
154602e473dSmrg
155602e473dSmrgRelease 1.1.92 (2008-11-01)
156602e473dSmrg===========================
157602e473dSmrgEnhancements:
158602e473dSmrg* Added small fix to support trailing fixed fields; also warning for non-pad fixed fields
159602e473dSmrg* Fixed overly aggressive warning about fixed field following variable
160602e473dSmrg* Added generation of extern "C" for compatibility with C++
161602e473dSmrg* Remove libxcb-xlib and xcbxlib.h.
162602e473dSmrg* Inline _xcb_lock_io, _xcb_unlock_io, and _xcb_wait_io.
163602e473dSmrg* Track 64-bit sequence numbers internally.
164602e473dSmrg* Use sequence number ranges in pending replies
165602e473dSmrg* Remove duplicate XCB_EXTENSION calls for Composite extension
166602e473dSmrg* Factorize m4 macros and add one to set X extensions
167602e473dSmrg* Allow compile-time setting for XCB queue buffer size
168602e473dSmrg* Support handing off socket write permission to external code.
169602e473dSmrg* Add support for the abstract socket namespace under Linux
170602e473dSmrg
171602e473dSmrgBug fixes:
172602e473dSmrg* Fix tiny memory leak in read_packet
173602e473dSmrg* Fix some fd leaks in _xcb_open_*()
174602e473dSmrg
175602e473dSmrgRelease 1.1 (2007-11-04)
176602e473dSmrg========================
177602e473dSmrg
178602e473dSmrgThis release requires xcb-proto 1.1, due to the addition of the
179602e473dSmrgextension-multiword attribute to the XML schema.
180602e473dSmrg
181602e473dSmrgThis release contains several important bug fixes, summarized below. It
182602e473dSmrgalso contains a patch much like Novell's libxcb-sloppy-lock.diff.
183602e473dSmrgRationale from the commit message follows. The patch and this rationale
184602e473dSmrgwere authored by Jamey Sharp <jamey@minilop.net>, with agreement from
185602e473dSmrgJosh Triplett <josh@freedesktop.org>.
186602e473dSmrg
187602e473dSmrg    I strongly opposed proposals like this one for a long time.
188602e473dSmrg    Originally I had a very good reason: libX11, when compiled to use
189602e473dSmrg    XCB, would crash soon after a locking correctness violation, so it
190602e473dSmrg    was better to have an informative assert failure than a mystifying
191602e473dSmrg    crash soon after.
192602e473dSmrg
193602e473dSmrg    It took some time for me to realize that I'd changed the libX11
194602e473dSmrg    implementation (for unrelated reasons) so that it could survive most
195602e473dSmrg    invalid locking situations, as long as it wasn't actually being used
196602e473dSmrg    from multiple threads concurrently.
197602e473dSmrg
198602e473dSmrg    The other thing that has changed is that most of the code with
199602e473dSmrg    incorrect locking has now been fixed. The value of the assert is
200602e473dSmrg    accordingly lower.
201602e473dSmrg
202602e473dSmrg    However, remaining broken callers do need to be fixed. That's why
203602e473dSmrg    libXCB will still noisily print a stacktrace (if possible) on each
204602e473dSmrg    assertion failure, even when assert isn't actually invoked to
205602e473dSmrg    abort() the program; and that's why aborting is still default. This
206602e473dSmrg    environment variable is provided only for use as a temporary
207602e473dSmrg    workaround for broken applications.
208602e473dSmrg
209602e473dSmrgEnhancements:
210602e473dSmrg* Print a backtrace, if possible, on locking assertion failures.
211602e473dSmrg* Skip abort() on locking assertions if LIBXCB_ALLOW_SLOPPY_LOCK is set.
212602e473dSmrg* xcb_poll_for_event: Return already-read events before reading again.
213602e473dSmrg* Output a configuration summary at the end of ./configure.
214602e473dSmrg
215602e473dSmrgBug fixes:
216602e473dSmrg* Don't hold the xlib-xcb lock while sleeping: that allows deadlock.
217602e473dSmrg* Allow unix:<screen> style display names again.
218602e473dSmrg* Bug #9119: test xcb_popcount
219602e473dSmrg* Fix unit tests for FreeBSD
220602e473dSmrg* NetBSD doesn't have AI_ADDRCONFIG: use it only if it's available.
221602e473dSmrg* Require libXau >= 0.99.2; earlier versions have a broken .pc file
222602e473dSmrg* Use substitition variables in xcb-xinerama.pc.in
223602e473dSmrg* Update autogen.sh to one that does objdir != srcdir
224602e473dSmrg* Add tools/* and autogen.sh to EXTRA_DIST.
225602e473dSmrg* Doxygen can now be fully disabled if desired.
226602e473dSmrg
227602e473dSmrgDocumentation improvements:
228602e473dSmrg* Many fixes and updates to the tutorial.
229602e473dSmrg* Iterators, requests, and replies get partial Doxygen documentation.
230602e473dSmrg
231602e473dSmrg
232602e473dSmrgRelease 1.0 (2006-11-23)
233602e473dSmrg========================
234602e473dSmrg
235602e473dSmrgThe "Thanksgiving" release: We feel thankful to have it released.  Five years
236602e473dSmrghave passed since XCB's initial commit on September 3rd, 2001:
237602e473dSmrg    <http://gitweb.freedesktop.org/?p=xcb.git;a=commit;h=09e54c4a3c>
238602e473dSmrg
239602e473dSmrg* Support IPv6.  XCB now supports displays with IPv6 addresses, with or without
240602e473dSmrg  enclosing square brackets, or with hosts which resolve to IPv6 addresses, by
241602e473dSmrg  using getaddrinfo instead of gethostbyname, and by including support for
242602e473dSmrg  authentication for such connections.  This allows such displays as "::1:1.1".
243602e473dSmrg
244602e473dSmrg* XCB now uses the libpthread-stubs, to properly support optional use of
245602e473dSmrg  pthreads even on platforms which do not have all the necessary pthread stubs
246602e473dSmrg  in libc or otherwise available by default.
247602e473dSmrg
248602e473dSmrg* Switch from the old AM_PATH_CHECK macro to pkg-config.  check 0.9.4 is now
249602e473dSmrg  required to build XCB's unit tests.  The version that we were requiring was
250602e473dSmrg  not actually new enough to let our unit tests compile, and the AM_PATH_CHECK
251602e473dSmrg  macro is now considered deprecated.  We know that versions of check using
252602e473dSmrg  pkg-config are new enough to work, and the check dependency was optional
253602e473dSmrg  anyway, so we've dropped support for older versions.
254602e473dSmrg
255602e473dSmrg* Provide a xcb_prefetch_maximum_request_length counterpart to
256602e473dSmrg  xcb_get_maximum_request_length.
257602e473dSmrg
258602e473dSmrg* Fix Bug #5958: zero out padding bytes in requests.
259602e473dSmrg
260602e473dSmrg* Change xcb_connect to pass the display number to _xcb_get_auth_info, which
261602e473dSmrg  passes it to get_authptr.  This allows get_authptr to stop hacking the
262602e473dSmrg  display number out of the sockaddrs of various address families, such as
263602e473dSmrg  port - X_TCP_PORT, or the number after the last X in the UNIX socket path.
264602e473dSmrg
265602e473dSmrg* Remove --with-opt and --with-debug options from configure.ac; configure
266602e473dSmrg  supports the use of custom CFLAGS, so please use that instead.
267602e473dSmrg
268602e473dSmrg* Reove support for the <localfield> tag in protocol descriptions, since they
269602e473dSmrg  no longer use it, and since new protocol descriptions should not need it
270602e473dSmrg  either.
271602e473dSmrg
272602e473dSmrg* xcb-proto has no libraries or headers, so don't use XCBPROTO_CFLAGS or
273602e473dSmrg  XCBPROTO_LIBS.
274602e473dSmrg
275602e473dSmrg* XCB builds which use xdmcp now include it in Requires.private, to support
276602e473dSmrg  static linking.
277602e473dSmrg
278602e473dSmrg* Replace "long" with uint32_t when used for a 32-bit quantity
279602e473dSmrg
280602e473dSmrg* Various enhancements to the generation of documentation with Doxygen:
281602e473dSmrg  * Check for doxygen in configure.ac
282602e473dSmrg  * Fix some Doxygen warnings.
283602e473dSmrg  * Install documentation.
284602e473dSmrg  * Handle out-of-tree builds, with srcdir != builddir.  xcb.doxygen now gets
285602e473dSmrg    generated from xcb.doxygen.in, so that it can use top_builddir and
286602e473dSmrg    top_srcdir to find source and to output documentation.
287602e473dSmrg  * Fill in PROJECT_NUMBER from @VERSION@, now that we have it readily
288602e473dSmrg    available via autoconf.
289602e473dSmrg
290602e473dSmrg
291602e473dSmrgRelease 1.0 RC3 (2006-11-02)
292602e473dSmrg============================
293602e473dSmrg
294602e473dSmrgNote: Version 0.9.4 of the test suite tool "check" provides a broken
295602e473dSmrgversion of the AM_PATH_CHECK macro, which causes autoconf to fail due to
296602e473dSmrginsufficient quoting on the macro names it prints in its deprecation
297602e473dSmrgmessage. We have written a patch to fix this problem, available at:
298602e473dSmrg<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>
299602e473dSmrgVersion 0.9.4-2 of the Debian package for check includes this patch.
300602e473dSmrgUsers of other distributions who want to re-autotool libxcb will need to
301602e473dSmrgapply this patch, use an older version of check, or wait for a fixed
302602e473dSmrgupstream version. This bug does not affect users who use the distributed
303602e473dSmrgtarballs and do not re-autotool.
304602e473dSmrg
305602e473dSmrg* Add library support for xcb-xinerama, using new protocol description
306602e473dSmrg  from xcb-proto.
307602e473dSmrg* In the generated protocol code, define and use constants for opcode
308602e473dSmrg  numbers rather than hard-coding them.
309602e473dSmrg* In the API conversion script, match only XCB-namespaced XID generators
310602e473dSmrg  when converting to xcb_generate_id.
311602e473dSmrg* Quit treating xproto specially in Makefile.am: handle it like all the
312602e473dSmrg  extensions.
313602e473dSmrg* Generate Doxygen documentation comments in the protocol stubs, and
314602e473dSmrg  provide a Doxygen config file for building HTML documentation for XCB.
315602e473dSmrg* Add note to xcbxlib.h that nothing except Xlib/XCB should use it.
316602e473dSmrg* Extend test suite to test xcb_parse_display with NULL argument and
317602e473dSmrg  display in $DISPLAY.
318602e473dSmrg
319602e473dSmrg
320602e473dSmrgRelease 1.0 RC2 (2006-10-07)
321602e473dSmrg============================
322602e473dSmrg
323602e473dSmrgAPI changes
324602e473dSmrg-----------
325602e473dSmrg
326602e473dSmrgIn our announcement of XCB 1.0 RC1, we proposed two API changes for
327602e473dSmrgcommunity feedback:
328602e473dSmrg
329602e473dSmrg    We would greatly appreciate API review in this final release
330602e473dSmrg    candidate period. We've had some limited feedback that our attempts
331602e473dSmrg    to impose static type safety on XIDs in C pose more a hindrance than
332602e473dSmrg    a help, so we would appreciate discussion over whether this
333602e473dSmrg    constitutes a "serious issue with the API". Some question also
334602e473dSmrg    remains of whether xcb_poll_for_event should have the out-parameter
335602e473dSmrg    'error', now that XCB has a more uniform mechanism for reporting
336602e473dSmrg    connection errors. Speak now on these points or leave us alone. ;-)
337602e473dSmrg
338602e473dSmrgSince we've received feedback agreeing with our proposed changes, and no
339602e473dSmrgobjections or requests to keep the existing API, we made both changes
340602e473dSmrgand bumped the soname to libxcb.so.1.0.0 in preparation for the release
341602e473dSmrgof XCB 1.0.
342602e473dSmrg
343602e473dSmrg* Remove XID wrapper structures and replace them with uint32_t typedefs.
344602e473dSmrg  XID union types like xcb_drawable_t and xcb_fontable_t also become
345602e473dSmrg  uint32_t typedefs. The API conversion script now replaces xcb_*_new
346602e473dSmrg  with calls directly to xcb_generate_id.  This change makes
347602e473dSmrg  xcb_generate_id part of the client API rather than the extension API,
348602e473dSmrg  so move xcb_generate_id from xcbext.h to xcb.h.
349602e473dSmrg
350602e473dSmrg* Remove the 'int *error' out-parameter for xcb_poll_for_event. 
351602e473dSmrg  xcb_poll_for_event now shuts down the xcb_connection_t on fatal
352602e473dSmrg  errors; use xcb_connection_has_error to check.
353602e473dSmrg
354602e473dSmrgThe Xlib-specific API in libxcb-xlib also changed:
355602e473dSmrg
356602e473dSmrg* Stop exposing the XCB IO lock for Xlib's benefit, by removing
357602e473dSmrg  xcb_get_io_lock from the Xlib-specific XCB API; instead, libxcb-xlib
358602e473dSmrg  now provides xcb_xlib_lock and xcb_xlib_unlock.
359602e473dSmrg
360602e473dSmrgCode generation changes
361602e473dSmrg-----------------------
362602e473dSmrg
363602e473dSmrg* The code generator no longer implicitly imports xproto for extensions.
364602e473dSmrg  xcb-proto 1.0 RC2 includes the corresponding change to explicitly
365602e473dSmrg  import xproto in extensions that need it
366602e473dSmrg
367602e473dSmrg* The generated protocol headers now declare "struct foo", "union foo"
368602e473dSmrg  or "enum foo", not just the typedef "foo" of an unnamed
369602e473dSmrg  struct/union/enum type.
370602e473dSmrg
371602e473dSmrgBug Fixes
372602e473dSmrg---------
373602e473dSmrg
374602e473dSmrg* Make Plan 7 'checked' requests work correctly.
375602e473dSmrg
376602e473dSmrgDocumentation improvements
377602e473dSmrg--------------------------
378602e473dSmrg
379602e473dSmrg* Document xcb_generate_id.
380602e473dSmrg
381602e473dSmrg* Tutorial enhancements.
382602e473dSmrg
383602e473dSmrg
384602e473dSmrgRelease 1.0 RC1 (2006-09-25)
385602e473dSmrg============================
386602e473dSmrg
387602e473dSmrgThe Great XCB Renaming
388602e473dSmrg----------------------
389602e473dSmrg
390602e473dSmrgRename API to follow a new naming convention:
391602e473dSmrg
392602e473dSmrg* XCB_CONSTANTS_UPPERCASE_WITH_UNDERSCORES
393602e473dSmrg* xcb_functions_lowercase_with_underscores
394602e473dSmrg* xcb_types_lowercase_with_underscores_and_suffix_t
395602e473dSmrg* expand all abbreviations like "req", "rep", and "iter"
396602e473dSmrg
397602e473dSmrgWord boundaries for the names in the protocol descriptions fall:
398602e473dSmrg
399602e473dSmrg* Wherever the protocol descriptions already have an underscore
400602e473dSmrg* Between a lowercase letter and a subsequent uppercase letter
401602e473dSmrg* Before the last uppercase letter in a string of uppercase letters
402602e473dSmrg  followed by a lowercase letter (such as in LSBFirst between LSB and
403602e473dSmrg  First)
404602e473dSmrg* Before and after a string of digits (with exceptions for sized types
405602e473dSmrg  like xcb_char2b_t and xcb_glx_float32_t to match the stdint.h
406602e473dSmrg  convention)
407602e473dSmrg
408602e473dSmrgAlso fix up some particular naming issues:
409602e473dSmrg
410602e473dSmrg* Rename shape_op and shape_kind to drop the "shape_" prefix, since
411602e473dSmrg  otherwise these types end up as xcb_shape_shape_{op,kind}_t.
412602e473dSmrg* Remove leading underscores from enums in the GLX protocol description,
413602e473dSmrg  previously needed to ensure a word separator, but now redundant.
414602e473dSmrg
415602e473dSmrgThis renaming breaks code written for the previous API naming
416602e473dSmrgconvention. The scripts in XCB's tools directory will convert code
417602e473dSmrgwritten for the old API to use the new API; they work well enough that
418602e473dSmrgwe used them to convert the non-program-generated code in XCB, and when
419602e473dSmrgrun on the old program-generated code, they almost exactly reproduce the
420602e473dSmrgnew program-generated code (modulo whitespace and bugs in the old code
421602e473dSmrggenerator).
422602e473dSmrg
423602e473dSmrgAuthors: Vincent Torri, Thomas Hunger, Josh Triplett
424602e473dSmrg
425602e473dSmrgIn addition to the API renaming, the library SONAMEs have changed to
426602e473dSmrglibxcb.so and libxcb-extname.so. The library major version remains at 0,
427602e473dSmrgto become version 1 before 1.0 is released; the SONAME lowercasing means
428602e473dSmrgthat this will not conflict with XCB 0.9 libraries.
429602e473dSmrg
430602e473dSmrgThe header files have moved from /usr/include/X11/XCB/ to
431602e473dSmrg/usr/include/xcb/. The XML-XCB protocol descriptions have moved to
432602e473dSmrg/usr/share/xcb, with extension descriptions no longer relegated to an
433602e473dSmrgextensions/ subdirectory. The API conversion script api_conv.pl will fix
434602e473dSmrgreferences to the header files, and packages using pkg-config will
435602e473dSmrgautomatically use the new library names.
436602e473dSmrg
437602e473dSmrgError handling Plan 7
438602e473dSmrg---------------------
439602e473dSmrg
440602e473dSmrgAll request functions now come in an "unchecked" and "checked" variant.
441602e473dSmrgThe checked variant allows callers to handle errors inline where they
442602e473dSmrgobtain the reply, or by calling xcb_request_check for requests with no
443602e473dSmrgreply. The unchecked variant uses the event queue for errors. Requests
444602e473dSmrgwith replies default to checked, because the caller must already make a
445602e473dSmrgfunction call to retrieve the reply and can see the error at that time;
446602e473dSmrgthe unchecked variant uses the suffix _unchecked. Requests without
447602e473dSmrgreplies default to unchecked, because the caller will not necessarily
448602e473dSmrgexpect to handle a response, and the checked variant uses the suffix
449602e473dSmrg_checked.
450602e473dSmrg
451602e473dSmrgConnection error handling
452602e473dSmrg-------------------------
453602e473dSmrg
454602e473dSmrgFatal connection errors now put the xcb_connection_t object into an
455602e473dSmrgerror state, at which point all further operations on that connection
456602e473dSmrgwill fail. Callers can use the new xcb_connection_has_error function to
457602e473dSmrgcheck for this state in a connection. Functions that return a
458602e473dSmrgconnection, such as the xcb_connect function, may instead return an
459602e473dSmrgxcb_connection_t already in an error state.
460602e473dSmrg
461602e473dSmrgIn the future we expect to add additional API for getting more
462602e473dSmrginformation about the error condition that caused the connection to get
463602e473dSmrginto an error state.
464602e473dSmrg
465602e473dSmrgSmaller API changes
466602e473dSmrg-------------------
467602e473dSmrg
468602e473dSmrgAll functions that have been marked 'deprecated' up to now have been
469602e473dSmrgremoved for this release. After XCB 1.0 is released, functions marked
470602e473dSmrg'deprecated' will be preserved until the end of time to maintain
471602e473dSmrgcompatibility.
472602e473dSmrg
473602e473dSmrgXCB no longer provides a sync function. Most callers of this function
474602e473dSmrgshould use xcb_flush instead, which usually provides the intended
475602e473dSmrgfunctionality and does not require a round-trip to the server. If you
476602e473dSmrgreally need this functionality, either use xcb_get_input_focus like sync
477602e473dSmrgused to do, or use the xcb_aux_sync function from the xcb-aux library in
478602e473dSmrgxcb-util. However, note that we do not consider the libraries in
479602e473dSmrgxcb-util remotely stable yet.
480602e473dSmrg
481602e473dSmrgXCB no longer provides xcb_[extension_name]_init functions for each
482602e473dSmrgextension. These functions previously caused XCB to issue and process a
483602e473dSmrgQueryExtension request. Callers should now directly call
484602e473dSmrgxcb_get_extension_data on the xcb_[extension_name]_id, or use
485602e473dSmrgxcb_prefetch_extension_data if they do not need to force a round-trip
486602e473dSmrgimmediately.
487602e473dSmrg
488602e473dSmrgThe compatibility functions in xcbxlib.h, provided solely for use by
489602e473dSmrgXlib/XCB, now exist in a separate library libxcb-xlib. We don't want to
490602e473dSmrghave to change the libxcb soname if we later change or remove the Xlib
491602e473dSmrgcompatibility functions, and nothing except Xlib/XCB should ever use
492602e473dSmrgthem. (Applications which use Xlib/XCB do not need this library either;
493602e473dSmrgXlib/XCB only uses it internally.)
494602e473dSmrg
495602e473dSmrgThe descriptions of several extensions have been updated to match the
496602e473dSmrglatest versions implemented in the X.org X server.
497602e473dSmrg
498602e473dSmrgGIT Repository split
499602e473dSmrg--------------------
500602e473dSmrg
501602e473dSmrgPreviously, several XCB-related projects all existed under the umbrella
502602e473dSmrgof a single monolithic GIT repository with per-project subdirectories.
503602e473dSmrgWe have split this repository into individual per-project repositories.
504602e473dSmrg
505602e473dSmrgJosh Triplett and Jamey Sharp wrote a tool called git-split to
506602e473dSmrgaccomplish this repository split. git-split reconstructs the history of
507602e473dSmrga sub-project previously stored in a subdirectory of a larger
508602e473dSmrgrepository. It constructs new commit objects based on the existing tree
509602e473dSmrgobjects for the subtree in each commit, and discards commits which do
510602e473dSmrgnot affect the history of the sub-project, as well as merges made
511602e473dSmrgunnecessary due to these discarded commits.
512602e473dSmrg
513602e473dSmrgWe would like to acknowledge the work of the gobby team in creating a
514602e473dSmrgcollaborative editor which greatly aided the development of git-split
515602e473dSmrg(as well as these release notes).
516602e473dSmrg
517602e473dSmrgBuild and implementation fixes
518602e473dSmrg------------------------------
519602e473dSmrg
520602e473dSmrgXCB no longer needs proto/x11 from X.org; the XCB header xproto.h
521602e473dSmrgprovides the definitions from X.h, named according to XCB conventions.
522602e473dSmrg
523602e473dSmrgXCB should now build with non-GNU implementations of Make.
524602e473dSmrg
525602e473dSmrgXCB properly handles 32-bit wrap of sequence numbers, and thus now
526602e473dSmrgsupports issuing more than 2**32 requests in one connection.
527602e473dSmrg
528602e473dSmrgFixed bugs #7001, #7261.
529