Blame NEWS

Packit Service 612474
Release 1.13.1 (2018-09-27)
Packit Service 612474
===========================
Packit Service 612474
* Don't flag extra reply in xcb_take_socket
Packit Service 612474
Packit Service 612474
Release 1.13 (2018-02-28)
Packit Service 612474
=========================
Packit Service 612474
* Add support for variable-sized lists of FDs
Packit Service 612474
* Poll for events when blocking waiting for special events
Packit Service 612474
* xinput: Enable XInput extension by default
Packit Service 612474
* ge: Add explicit support for GenericEvent extension
Packit Service 612474
* Fix documentation warnings from clang
Packit Service 612474
* Cosmetic cleanups
Packit Service 612474
Packit Service 612474
Release 1.12 (2016-05-18)
Packit Service 612474
=========================
Packit Service 612474
* configure: Various fixes for dri3 and FD passing support
Packit Service 612474
* configure: Don't report all the warning CFLAGS
Packit Service 612474
* configure: Disable Xevie and Xprint by default
Packit Service 612474
* Add support for various new constructs in the XML schema
Packit Service 612474
* Make some functions also accept connections in an error state
Packit Service 612474
* Never return NULL from xcb_get_setup()
Packit Service 612474
* Use Requires.private in .pc files to avoid overlinking
Packit Service 612474
* Fix align-pads for switches which start at unaligned positions
Packit Service 612474
* Use anonymous structs for some nested structs
Packit Service 612474
* Also generate accessors for variable-sized events and requests
Packit Service 612474
* Improved python3 compatibility
Packit Service 612474
* Generate C99 initializers instead of comments
Packit Service 612474
* Various simplifications to the python code
Packit Service 612474
* Fix line breaks in xcb-requests manual page
Packit Service 612474
* Always close FDs in xcb_send_fd()
Packit Service 612474
* Fix thread-safety issues with FD passing
Packit Service 612474
* Add xcb_send_request_with_fds() and xcb_send_request_with_fds64()
Packit Service 612474
* Fix endless loop with too many outstanding FDs to send
Packit Service 612474
* Link with winsock library on MinGW
Packit Service 612474
* Disable some unfinished API for some server-side code by default
Packit Service 612474
* Use align-offsets computed by xcb-proto instead of low bits of pointers
Packit Service 612474
* Fix iterator interaction with align padding
Packit Service 612474
* Stop serializing padding by default
Packit Service 612474
* Increase unix socket send buffer to at least 64KiB
Packit Service 612474
Packit Service 612474
Release 1.11.1 (2015-09-06)
Packit Service 612474
===========================
Packit Service 612474
* Expose 64-bit sequence numbers for XLib
Packit Service 612474
* Fix some hangs related to xcb_wait_for_special_event()
Packit Service 612474
Packit Service 612474
Release 1.11 (2014-08-01)
Packit Service 612474
=========================
Packit Service 612474
* Force structures with 64-bit fields to be packed
Packit Service 612474
* Add support for <pad align="n">
Packit Service 612474
* Use X.org's build machinery from xorg-macros
Packit Service 612474
* Fix leak with xcb_disconnect() and connections in an error state
Packit Service 612474
* Make xcb_disconnect(NULL) safe
Packit Service 612474
* Use less #include statements in generated code
Packit Service 612474
* Automatically validate the Requires lines in our .pc.in files
Packit Service 612474
* Fix a race that resulted in a failed assertion
Packit Service 612474
* Improve launchd secure socket support
Packit Service 612474
* Improve API documentation
Packit Service 612474
* Remove trailing whitespaces
Packit Service 612474
* c_client.py: prefix all monkey-patched fields with c_
Packit Service 612474
* c_client.py: make the man page output deterministic
Packit Service 612474
* c_client.py: remove useless generated comments
Packit Service 612474
* xcb.h: add 'struct' before xcb_setup_t, xcb_query_extension_reply_t
Packit Service 612474
Packit Service 612474
Release 1.10 (2013-12-22)
Packit Service 612474
=========================
Packit Service 612474
* Bump libxcb-xkb SONAME due to ABI break introduced in 1.9.2
Packit Service 612474
* Enable libxcb-xkb by default
Packit Service 612474
* Bump libxcb-sync SONAME
Packit Service 612474
* c_client.py: Fix _sizeof() functions
Packit Service 612474
* c_client.py: Do not create pointers in unions
Packit Service 612474
* c_client.py: Always initialize xcb_align_to
Packit Service 612474
* Re-introduce xcb_ge_event_t (deprecated, xcb_ge_generic_event_t should be
Packit Service 612474
  used instead)
Packit Service 612474
* Fix alignment issues in FD passing code
Packit Service 612474
* Fix poll() if POLLIN == ROLLRDNORM|POLLRDBAND
Packit Service 612474
* Use /usr/spool/sockets/X11/ on HP-UX for UNIX sockets
Packit Service 612474
* Make xsltproc optional
Packit Service 612474
Packit Service 612474
Release 1.9.3 (2013-11-07)
Packit Service 612474
==========================
Packit Service 612474
* Check if we need to define _XOPEN_SOURCE for struct msghdr.msg_control
Packit Service 612474
* Add configure option to enable or disable fd passing with sendmsg
Packit Service 612474
* Switch to using the CMSG_* macros for FD passing
Packit Service 612474
* Initialize automake earlier (bugfix for #66413)
Packit Service 612474
Packit Service 612474
Release 1.9.2 (2013-11-07)
Packit Service 612474
==========================
Packit Service 612474
* Add Present extension
Packit Service 612474
* Add DRI3 library
Packit Service 612474
* Add event queue splitting
Packit Service 612474
* Add support for receiving fds in replies
Packit Service 612474
* Add xcb_send_fd API
Packit Service 612474
* Remove xcb_ge_event_t from xcb.h
Packit Service 612474
* c_client.py: Inject full_sequence into GE events
Packit Service 612474
* c_client.py: Handle multiple expr. in a bitcase
Packit Service 612474
Packit Service 612474
Release 1.9.1 (2013-05-30)
Packit Service 612474
==========================
Packit Service 612474
* Fix python code to work with python-3
Packit Service 612474
* Security fix for integer overflow in read_packet() [CVE-2013-2064]
Packit Service 612474
Packit Service 612474
Release 1.9 (2012-10-05)
Packit Service 612474
========================
Packit Service 612474
* Always include "config.h" at the start of all C source files.
Packit Service 612474
* Add AC_USE_SYSTEM_EXTENSIONS to allow use of more system functionality
Packit Service 612474
* Return connection failure if display string specifies non-existent screen
Packit Service 612474
* c_client: Fix parallel-make issue creating 'man' directory
Packit Service 612474
* xcb_connect: launchd: Don't fall back on tcp if $DISPLAY is a path to a launchd socket
Packit Service 612474
* c_client.py: generate manpages
Packit Service 612474
* Allow xcb_send_request with >MAX_IOV iovecs
Packit Service 612474
* Add a .gitignore for src/man/
Packit Service 612474
* Fix a multi-thread deadlock
Packit Service 612474
Packit Service 612474
Release 1.8.1 (2012-03-09)
Packit Service 612474
==========================
Packit Service 612474
- Fix a busy loop on BSD and Mac OS
Packit Service 612474
- Bump xcb-proto requirement
Packit Service 612474
- Fallback to TCP if no protocol is specified and the UNIX connection fails
Packit Service 612474
- Update use of error_connection under WIN32 to _xcb_conn_ret_error()
Packit Service 612474
- Fix build of xcb_auth.c with XDMCP on WIN32
Packit Service 612474
- Revert "Fix include order with Xdmcp on WIN32"
Packit Service 612474
- darwin: Use read(2) rather than recv(2)
Packit Service 612474
- Add xkb_internals and xkb_issues to EXTRA_DIST.
Packit Service 612474
Packit Service 612474
Release 1.8 (2012-01-11)
Packit Service 612474
========================
Packit Service 612474
- xcb_disconnect: call shutdown() to force a disconnect
Packit Service 612474
- Use special path to sockets when running under Solaris Trusted Extensions
Packit Service 612474
- Remove unused DECnet code
Packit Service 612474
- Add #include <sys/socket.h> to xcb_conn.c
Packit Service 612474
- Make launchd code in xcb_util.c match surrounding code indent levels
Packit Service 612474
- If protocol is "unix", use a Unix domain socket, not TCP
Packit Service 612474
- Added more error states and removed global error_connection
Packit Service 612474
- Handle XGE events with the "send event" flag
Packit Service 612474
- added xcb_sumof() with restriction to uint8_t
Packit Service 612474
- xkb: updated configure.ac/Makefile.am
Packit Service 612474
- xkb: added pkg config file
Packit Service 612474
- special case 'intermixed variable and fixed size fields': fixed reply side, needs testing
Packit Service 612474
- added accessors for special cases
Packit Service 612474
- Add support for building with Python 3
Packit Service 612474
- Insert, not append explicit xcbgen dir python path
Packit Service 612474
- xcb_request_check: Sync even if an event was read for this sequence.
Packit Service 612474
- _xcb_conn_wait: Shut down the connection on unexpected poll() events.
Packit Service 612474
- xcb_send_request: Send all requests using a common internal send_request.
Packit Service 612474
- xcb_request_check: Hold the I/O lock while deciding to sync.
Packit Service 612474
- xcb_discard_reply: Simplify by re-using poll_for_reply helper.
Packit Service 612474
- xcb_in: Use 64-bit sequence numbers internally everywhere.
Packit Service 612474
- Enable AM_SILENT_RULES on automake 1.11 or newer.
Packit Service 612474
- Factor reader_list management out of wait_for_reply.
Packit Service 612474
- Dequeue readers that can't receive any new responses.
Packit Service 612474
- Delete the old c-client.xsl.
Packit Service 612474
- Keep ALIGNOF definition out of the public namespace.
Packit Service 612474
- darwin: Don't use poll() when expected to run on darwin10 and prior
Packit Service 612474
- Add Win32
Packit Service 612474
- Allow disconnecting connections that are in error state.
Packit Service 612474
- Make xcb_take_socket keep flushing until idle
Packit Service 612474
- Support pre-IPv6 systems (without getaddrinfo)
Packit Service 612474
- Drop AI_ADDRCONFIG when resolving TCP addresses
Packit Service 612474
- xcb_auth: Fix memory leak in _xcb_get_auth_info.
Packit Service 612474
- Don't emit out-of-module sizeof definitions
Packit Service 612474
- Clean up a couple of warnings in xprint
Packit Service 612474
- Prevent reply waiters from being blocked.
Packit Service 612474
- Prevent theoretical double free and leak on get_peer_sock_name.
Packit Service 612474
- Introduce a variant of xcb_poll_for_event for examining event queue.
Packit Service 612474
- xcb_take_socket: Document sequence wrap requirements
Packit Service 612474
- Compute alignment correctly
Packit Service 612474
- Fix a dead-lock due to xcb_poll_for_reply
Packit Service 612474
Packit Service 612474
Release 1.7 (2010-08-13)
Packit Service 612474
========================
Packit Service 612474
- Always wake up readers after writing
Packit Service 612474
- Get rid of PATH_MAX and MAXPATHLEN
Packit Service 612474
- Add ~ operator support in code generator
Packit Service 612474
- xcb_open: Improve protocol/host parsing
Packit Service 612474
- xcb_connect_to_display_with_auth_info: Fix memory leak
Packit Service 612474
- Report which extensions are being built
Packit Service 612474
Packit Service 612474
Release 1.6 (2010-04-09)
Packit Service 612474
========================
Packit Service 612474
- darwin: xnu doesn't support poll on ttys on the master side
Packit Service 612474
- Fix descriptor leak on memory error path
Packit Service 612474
- Support xcb_discard_reply
Packit Service 612474
- Open the X11 socket with close-on-exec flag
Packit Service 612474
- Fix authentication on hpux and Hurd
Packit Service 612474
Packit Service 612474
Release 1.5 (2009-12-03)
Packit Service 612474
========================
Packit Service 612474
- setsockopt(SO_KEEPALIVE) on TCP display connections
Packit Service 612474
- Add DRI2 support
Packit Service 612474
- Fix check dependency
Packit Service 612474
- Cygwin build fix: Add -no-undefined to libtool flags
Packit Service 612474
Packit Service 612474
Release 1.4 (2009-07-15)
Packit Service 612474
========================
Packit Service 612474
* Add majorCode, minorCode and resourceID fields to X generic error
Packit Service 612474
* Fix precedence bug: wrong length for big-requests preceded by sync
Packit Service 612474
* Fix libxcb-randr version info
Packit Service 612474
Packit Service 612474
Release 1.3 (2009-05-29)
Packit Service 612474
========================
Packit Service 612474
* Copy full IPv4 mapping (Bug #20665)
Packit Service 612474
* Fix XID allocation
Packit Service 612474
* Use poll() instead of select() when available
Packit Service 612474
* Fix local socket connection on Hurd
Packit Service 612474
* Fix XDM-AUTHORIZATION-1
Packit Service 612474
* Disable Nagle on TCP socket
Packit Service 612474
Packit Service 612474
Release 1.2 (2009-02-17)
Packit Service 612474
========================
Packit Service 612474
* Stop packaging auto-generated C files into tarball.
Packit Service 612474
Packit Service 612474
Release 1.1.93 (2008-12-11)
Packit Service 612474
===========================
Packit Service 612474
Enhancements:
Packit Service 612474
* Apple: Enable support for launchd DISPLAY socket
Packit Service 612474
* Treat XIDs the same as other cardinal values.
Packit Service 612474
Packit Service 612474
Release 1.1.92 (2008-11-01)
Packit Service 612474
===========================
Packit Service 612474
Enhancements:
Packit Service 612474
* Added small fix to support trailing fixed fields; also warning for non-pad fixed fields
Packit Service 612474
* Fixed overly aggressive warning about fixed field following variable
Packit Service 612474
* Added generation of extern "C" for compatibility with C++
Packit Service 612474
* Remove libxcb-xlib and xcbxlib.h.
Packit Service 612474
* Inline _xcb_lock_io, _xcb_unlock_io, and _xcb_wait_io.
Packit Service 612474
* Track 64-bit sequence numbers internally.
Packit Service 612474
* Use sequence number ranges in pending replies
Packit Service 612474
* Remove duplicate XCB_EXTENSION calls for Composite extension
Packit Service 612474
* Factorize m4 macros and add one to set X extensions
Packit Service 612474
* Allow compile-time setting for XCB queue buffer size
Packit Service 612474
* Support handing off socket write permission to external code.
Packit Service 612474
* Add support for the abstract socket namespace under Linux
Packit Service 612474
Packit Service 612474
Bug fixes:
Packit Service 612474
* Fix tiny memory leak in read_packet
Packit Service 612474
* Fix some fd leaks in _xcb_open_*()
Packit Service 612474
Packit Service 612474
Release 1.1 (2007-11-04)
Packit Service 612474
========================
Packit Service 612474
Packit Service 612474
This release requires xcb-proto 1.1, due to the addition of the
Packit Service 612474
extension-multiword attribute to the XML schema.
Packit Service 612474
Packit Service 612474
This release contains several important bug fixes, summarized below. It
Packit Service 612474
also contains a patch much like Novell's libxcb-sloppy-lock.diff.
Packit Service 612474
Rationale from the commit message follows. The patch and this rationale
Packit Service 612474
were authored by Jamey Sharp <jamey@minilop.net>, with agreement from
Packit Service 612474
Josh Triplett <josh@freedesktop.org>.
Packit Service 612474
Packit Service 612474
    I strongly opposed proposals like this one for a long time.
Packit Service 612474
    Originally I had a very good reason: libX11, when compiled to use
Packit Service 612474
    XCB, would crash soon after a locking correctness violation, so it
Packit Service 612474
    was better to have an informative assert failure than a mystifying
Packit Service 612474
    crash soon after.
Packit Service 612474
Packit Service 612474
    It took some time for me to realize that I'd changed the libX11
Packit Service 612474
    implementation (for unrelated reasons) so that it could survive most
Packit Service 612474
    invalid locking situations, as long as it wasn't actually being used
Packit Service 612474
    from multiple threads concurrently.
Packit Service 612474
Packit Service 612474
    The other thing that has changed is that most of the code with
Packit Service 612474
    incorrect locking has now been fixed. The value of the assert is
Packit Service 612474
    accordingly lower.
Packit Service 612474
Packit Service 612474
    However, remaining broken callers do need to be fixed. That's why
Packit Service 612474
    libXCB will still noisily print a stacktrace (if possible) on each
Packit Service 612474
    assertion failure, even when assert isn't actually invoked to
Packit Service 612474
    abort() the program; and that's why aborting is still default. This
Packit Service 612474
    environment variable is provided only for use as a temporary
Packit Service 612474
    workaround for broken applications.
Packit Service 612474
Packit Service 612474
Enhancements:
Packit Service 612474
* Print a backtrace, if possible, on locking assertion failures.
Packit Service 612474
* Skip abort() on locking assertions if LIBXCB_ALLOW_SLOPPY_LOCK is set.
Packit Service 612474
* xcb_poll_for_event: Return already-read events before reading again.
Packit Service 612474
* Output a configuration summary at the end of ./configure.
Packit Service 612474
Packit Service 612474
Bug fixes:
Packit Service 612474
* Don't hold the xlib-xcb lock while sleeping: that allows deadlock.
Packit Service 612474
* Allow unix:<screen> style display names again.
Packit Service 612474
* Bug #9119: test xcb_popcount
Packit Service 612474
* Fix unit tests for FreeBSD
Packit Service 612474
* NetBSD doesn't have AI_ADDRCONFIG: use it only if it's available.
Packit Service 612474
* Require libXau >= 0.99.2; earlier versions have a broken .pc file
Packit Service 612474
* Use substitition variables in xcb-xinerama.pc.in
Packit Service 612474
* Update autogen.sh to one that does objdir != srcdir
Packit Service 612474
* Add tools/* and autogen.sh to EXTRA_DIST.
Packit Service 612474
* Doxygen can now be fully disabled if desired.
Packit Service 612474
Packit Service 612474
Documentation improvements:
Packit Service 612474
* Many fixes and updates to the tutorial.
Packit Service 612474
* Iterators, requests, and replies get partial Doxygen documentation.
Packit Service 612474
Packit Service 612474
Packit Service 612474
Release 1.0 (2006-11-23)
Packit Service 612474
========================
Packit Service 612474
Packit Service 612474
The "Thanksgiving" release: We feel thankful to have it released.  Five years
Packit Service 612474
have passed since XCB's initial commit on September 3rd, 2001:
Packit Service 612474
    <http://gitweb.freedesktop.org/?p=xcb.git;a=commit;h=09e54c4a3c>
Packit Service 612474
Packit Service 612474
* Support IPv6.  XCB now supports displays with IPv6 addresses, with or without
Packit Service 612474
  enclosing square brackets, or with hosts which resolve to IPv6 addresses, by
Packit Service 612474
  using getaddrinfo instead of gethostbyname, and by including support for
Packit Service 612474
  authentication for such connections.  This allows such displays as "::1:1.1".
Packit Service 612474
Packit Service 612474
* XCB now uses the libpthread-stubs, to properly support optional use of
Packit Service 612474
  pthreads even on platforms which do not have all the necessary pthread stubs
Packit Service 612474
  in libc or otherwise available by default.
Packit Service 612474
Packit Service 612474
* Switch from the old AM_PATH_CHECK macro to pkg-config.  check 0.9.4 is now
Packit Service 612474
  required to build XCB's unit tests.  The version that we were requiring was
Packit Service 612474
  not actually new enough to let our unit tests compile, and the AM_PATH_CHECK
Packit Service 612474
  macro is now considered deprecated.  We know that versions of check using
Packit Service 612474
  pkg-config are new enough to work, and the check dependency was optional
Packit Service 612474
  anyway, so we've dropped support for older versions.
Packit Service 612474
Packit Service 612474
* Provide a xcb_prefetch_maximum_request_length counterpart to
Packit Service 612474
  xcb_get_maximum_request_length.
Packit Service 612474
Packit Service 612474
* Fix Bug #5958: zero out padding bytes in requests.
Packit Service 612474
Packit Service 612474
* Change xcb_connect to pass the display number to _xcb_get_auth_info, which
Packit Service 612474
  passes it to get_authptr.  This allows get_authptr to stop hacking the
Packit Service 612474
  display number out of the sockaddrs of various address families, such as
Packit Service 612474
  port - X_TCP_PORT, or the number after the last X in the UNIX socket path.
Packit Service 612474
Packit Service 612474
* Remove --with-opt and --with-debug options from configure.ac; configure
Packit Service 612474
  supports the use of custom CFLAGS, so please use that instead.
Packit Service 612474
Packit Service 612474
* Reove support for the <localfield> tag in protocol descriptions, since they
Packit Service 612474
  no longer use it, and since new protocol descriptions should not need it
Packit Service 612474
  either.
Packit Service 612474
Packit Service 612474
* xcb-proto has no libraries or headers, so don't use XCBPROTO_CFLAGS or
Packit Service 612474
  XCBPROTO_LIBS.
Packit Service 612474
Packit Service 612474
* XCB builds which use xdmcp now include it in Requires.private, to support
Packit Service 612474
  static linking.
Packit Service 612474
Packit Service 612474
* Replace "long" with uint32_t when used for a 32-bit quantity
Packit Service 612474
Packit Service 612474
* Various enhancements to the generation of documentation with Doxygen:
Packit Service 612474
  * Check for doxygen in configure.ac
Packit Service 612474
  * Fix some Doxygen warnings.
Packit Service 612474
  * Install documentation.
Packit Service 612474
  * Handle out-of-tree builds, with srcdir != builddir.  xcb.doxygen now gets
Packit Service 612474
    generated from xcb.doxygen.in, so that it can use top_builddir and
Packit Service 612474
    top_srcdir to find source and to output documentation.
Packit Service 612474
  * Fill in PROJECT_NUMBER from @VERSION@, now that we have it readily
Packit Service 612474
    available via autoconf.
Packit Service 612474
Packit Service 612474
Packit Service 612474
Release 1.0 RC3 (2006-11-02)
Packit Service 612474
============================
Packit Service 612474
Packit Service 612474
Note: Version 0.9.4 of the test suite tool "check" provides a broken
Packit Service 612474
version of the AM_PATH_CHECK macro, which causes autoconf to fail due to
Packit Service 612474
insufficient quoting on the macro names it prints in its deprecation
Packit Service 612474
message. We have written a patch to fix this problem, available at:
Packit Service 612474
<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>
Packit Service 612474
Version 0.9.4-2 of the Debian package for check includes this patch.
Packit Service 612474
Users of other distributions who want to re-autotool libxcb will need to
Packit Service 612474
apply this patch, use an older version of check, or wait for a fixed
Packit Service 612474
upstream version. This bug does not affect users who use the distributed
Packit Service 612474
tarballs and do not re-autotool.
Packit Service 612474
Packit Service 612474
* Add library support for xcb-xinerama, using new protocol description
Packit Service 612474
  from xcb-proto.
Packit Service 612474
* In the generated protocol code, define and use constants for opcode
Packit Service 612474
  numbers rather than hard-coding them.
Packit Service 612474
* In the API conversion script, match only XCB-namespaced XID generators
Packit Service 612474
  when converting to xcb_generate_id.
Packit Service 612474
* Quit treating xproto specially in Makefile.am: handle it like all the
Packit Service 612474
  extensions.
Packit Service 612474
* Generate Doxygen documentation comments in the protocol stubs, and
Packit Service 612474
  provide a Doxygen config file for building HTML documentation for XCB.
Packit Service 612474
* Add note to xcbxlib.h that nothing except Xlib/XCB should use it.
Packit Service 612474
* Extend test suite to test xcb_parse_display with NULL argument and
Packit Service 612474
  display in $DISPLAY.
Packit Service 612474
Packit Service 612474
Packit Service 612474
Release 1.0 RC2 (2006-10-07)
Packit Service 612474
============================
Packit Service 612474
Packit Service 612474
API changes
Packit Service 612474
-----------
Packit Service 612474
Packit Service 612474
In our announcement of XCB 1.0 RC1, we proposed two API changes for
Packit Service 612474
community feedback:
Packit Service 612474
Packit Service 612474
    We would greatly appreciate API review in this final release
Packit Service 612474
    candidate period. We've had some limited feedback that our attempts
Packit Service 612474
    to impose static type safety on XIDs in C pose more a hindrance than
Packit Service 612474
    a help, so we would appreciate discussion over whether this
Packit Service 612474
    constitutes a "serious issue with the API". Some question also
Packit Service 612474
    remains of whether xcb_poll_for_event should have the out-parameter
Packit Service 612474
    'error', now that XCB has a more uniform mechanism for reporting
Packit Service 612474
    connection errors. Speak now on these points or leave us alone. ;-)
Packit Service 612474
Packit Service 612474
Since we've received feedback agreeing with our proposed changes, and no
Packit Service 612474
objections or requests to keep the existing API, we made both changes
Packit Service 612474
and bumped the soname to libxcb.so.1.0.0 in preparation for the release
Packit Service 612474
of XCB 1.0.
Packit Service 612474
Packit Service 612474
* Remove XID wrapper structures and replace them with uint32_t typedefs.
Packit Service 612474
  XID union types like xcb_drawable_t and xcb_fontable_t also become
Packit Service 612474
  uint32_t typedefs. The API conversion script now replaces xcb_*_new
Packit Service 612474
  with calls directly to xcb_generate_id.  This change makes
Packit Service 612474
  xcb_generate_id part of the client API rather than the extension API,
Packit Service 612474
  so move xcb_generate_id from xcbext.h to xcb.h.
Packit Service 612474
Packit Service 612474
* Remove the 'int *error' out-parameter for xcb_poll_for_event. 
Packit Service 612474
  xcb_poll_for_event now shuts down the xcb_connection_t on fatal
Packit Service 612474
  errors; use xcb_connection_has_error to check.
Packit Service 612474
Packit Service 612474
The Xlib-specific API in libxcb-xlib also changed:
Packit Service 612474
Packit Service 612474
* Stop exposing the XCB IO lock for Xlib's benefit, by removing
Packit Service 612474
  xcb_get_io_lock from the Xlib-specific XCB API; instead, libxcb-xlib
Packit Service 612474
  now provides xcb_xlib_lock and xcb_xlib_unlock.
Packit Service 612474
Packit Service 612474
Code generation changes
Packit Service 612474
-----------------------
Packit Service 612474
Packit Service 612474
* The code generator no longer implicitly imports xproto for extensions.
Packit Service 612474
  xcb-proto 1.0 RC2 includes the corresponding change to explicitly
Packit Service 612474
  import xproto in extensions that need it
Packit Service 612474
Packit Service 612474
* The generated protocol headers now declare "struct foo", "union foo"
Packit Service 612474
  or "enum foo", not just the typedef "foo" of an unnamed
Packit Service 612474
  struct/union/enum type.
Packit Service 612474
Packit Service 612474
Bug Fixes
Packit Service 612474
---------
Packit Service 612474
Packit Service 612474
* Make Plan 7 'checked' requests work correctly.
Packit Service 612474
Packit Service 612474
Documentation improvements
Packit Service 612474
--------------------------
Packit Service 612474
Packit Service 612474
* Document xcb_generate_id.
Packit Service 612474
Packit Service 612474
* Tutorial enhancements.
Packit Service 612474
Packit Service 612474
Packit Service 612474
Release 1.0 RC1 (2006-09-25)
Packit Service 612474
============================
Packit Service 612474
Packit Service 612474
The Great XCB Renaming
Packit Service 612474
----------------------
Packit Service 612474
Packit Service 612474
Rename API to follow a new naming convention:
Packit Service 612474
Packit Service 612474
* XCB_CONSTANTS_UPPERCASE_WITH_UNDERSCORES
Packit Service 612474
* xcb_functions_lowercase_with_underscores
Packit Service 612474
* xcb_types_lowercase_with_underscores_and_suffix_t
Packit Service 612474
* expand all abbreviations like "req", "rep", and "iter"
Packit Service 612474
Packit Service 612474
Word boundaries for the names in the protocol descriptions fall:
Packit Service 612474
Packit Service 612474
* Wherever the protocol descriptions already have an underscore
Packit Service 612474
* Between a lowercase letter and a subsequent uppercase letter
Packit Service 612474
* Before the last uppercase letter in a string of uppercase letters
Packit Service 612474
  followed by a lowercase letter (such as in LSBFirst between LSB and
Packit Service 612474
  First)
Packit Service 612474
* Before and after a string of digits (with exceptions for sized types
Packit Service 612474
  like xcb_char2b_t and xcb_glx_float32_t to match the stdint.h
Packit Service 612474
  convention)
Packit Service 612474
Packit Service 612474
Also fix up some particular naming issues:
Packit Service 612474
Packit Service 612474
* Rename shape_op and shape_kind to drop the "shape_" prefix, since
Packit Service 612474
  otherwise these types end up as xcb_shape_shape_{op,kind}_t.
Packit Service 612474
* Remove leading underscores from enums in the GLX protocol description,
Packit Service 612474
  previously needed to ensure a word separator, but now redundant.
Packit Service 612474
Packit Service 612474
This renaming breaks code written for the previous API naming
Packit Service 612474
convention. The scripts in XCB's tools directory will convert code
Packit Service 612474
written for the old API to use the new API; they work well enough that
Packit Service 612474
we used them to convert the non-program-generated code in XCB, and when
Packit Service 612474
run on the old program-generated code, they almost exactly reproduce the
Packit Service 612474
new program-generated code (modulo whitespace and bugs in the old code
Packit Service 612474
generator).
Packit Service 612474
Packit Service 612474
Authors: Vincent Torri, Thomas Hunger, Josh Triplett
Packit Service 612474
Packit Service 612474
In addition to the API renaming, the library SONAMEs have changed to
Packit Service 612474
libxcb.so and libxcb-extname.so. The library major version remains at 0,
Packit Service 612474
to become version 1 before 1.0 is released; the SONAME lowercasing means
Packit Service 612474
that this will not conflict with XCB 0.9 libraries.
Packit Service 612474
Packit Service 612474
The header files have moved from /usr/include/X11/XCB/ to
Packit Service 612474
/usr/include/xcb/. The XML-XCB protocol descriptions have moved to
Packit Service 612474
/usr/share/xcb, with extension descriptions no longer relegated to an
Packit Service 612474
extensions/ subdirectory. The API conversion script api_conv.pl will fix
Packit Service 612474
references to the header files, and packages using pkg-config will
Packit Service 612474
automatically use the new library names.
Packit Service 612474
Packit Service 612474
Error handling Plan 7
Packit Service 612474
---------------------
Packit Service 612474
Packit Service 612474
All request functions now come in an "unchecked" and "checked" variant.
Packit Service 612474
The checked variant allows callers to handle errors inline where they
Packit Service 612474
obtain the reply, or by calling xcb_request_check for requests with no
Packit Service 612474
reply. The unchecked variant uses the event queue for errors. Requests
Packit Service 612474
with replies default to checked, because the caller must already make a
Packit Service 612474
function call to retrieve the reply and can see the error at that time;
Packit Service 612474
the unchecked variant uses the suffix _unchecked. Requests without
Packit Service 612474
replies default to unchecked, because the caller will not necessarily
Packit Service 612474
expect to handle a response, and the checked variant uses the suffix
Packit Service 612474
_checked.
Packit Service 612474
Packit Service 612474
Connection error handling
Packit Service 612474
-------------------------
Packit Service 612474
Packit Service 612474
Fatal connection errors now put the xcb_connection_t object into an
Packit Service 612474
error state, at which point all further operations on that connection
Packit Service 612474
will fail. Callers can use the new xcb_connection_has_error function to
Packit Service 612474
check for this state in a connection. Functions that return a
Packit Service 612474
connection, such as the xcb_connect function, may instead return an
Packit Service 612474
xcb_connection_t already in an error state.
Packit Service 612474
Packit Service 612474
In the future we expect to add additional API for getting more
Packit Service 612474
information about the error condition that caused the connection to get
Packit Service 612474
into an error state.
Packit Service 612474
Packit Service 612474
Smaller API changes
Packit Service 612474
-------------------
Packit Service 612474
Packit Service 612474
All functions that have been marked 'deprecated' up to now have been
Packit Service 612474
removed for this release. After XCB 1.0 is released, functions marked
Packit Service 612474
'deprecated' will be preserved until the end of time to maintain
Packit Service 612474
compatibility.
Packit Service 612474
Packit Service 612474
XCB no longer provides a sync function. Most callers of this function
Packit Service 612474
should use xcb_flush instead, which usually provides the intended
Packit Service 612474
functionality and does not require a round-trip to the server. If you
Packit Service 612474
really need this functionality, either use xcb_get_input_focus like sync
Packit Service 612474
used to do, or use the xcb_aux_sync function from the xcb-aux library in
Packit Service 612474
xcb-util. However, note that we do not consider the libraries in
Packit Service 612474
xcb-util remotely stable yet.
Packit Service 612474
Packit Service 612474
XCB no longer provides xcb_[extension_name]_init functions for each
Packit Service 612474
extension. These functions previously caused XCB to issue and process a
Packit Service 612474
QueryExtension request. Callers should now directly call
Packit Service 612474
xcb_get_extension_data on the xcb_[extension_name]_id, or use
Packit Service 612474
xcb_prefetch_extension_data if they do not need to force a round-trip
Packit Service 612474
immediately.
Packit Service 612474
Packit Service 612474
The compatibility functions in xcbxlib.h, provided solely for use by
Packit Service 612474
Xlib/XCB, now exist in a separate library libxcb-xlib. We don't want to
Packit Service 612474
have to change the libxcb soname if we later change or remove the Xlib
Packit Service 612474
compatibility functions, and nothing except Xlib/XCB should ever use
Packit Service 612474
them. (Applications which use Xlib/XCB do not need this library either;
Packit Service 612474
Xlib/XCB only uses it internally.)
Packit Service 612474
Packit Service 612474
The descriptions of several extensions have been updated to match the
Packit Service 612474
latest versions implemented in the X.org X server.
Packit Service 612474
Packit Service 612474
GIT Repository split
Packit Service 612474
--------------------
Packit Service 612474
Packit Service 612474
Previously, several XCB-related projects all existed under the umbrella
Packit Service 612474
of a single monolithic GIT repository with per-project subdirectories.
Packit Service 612474
We have split this repository into individual per-project repositories.
Packit Service 612474
Packit Service 612474
Josh Triplett and Jamey Sharp wrote a tool called git-split to
Packit Service 612474
accomplish this repository split. git-split reconstructs the history of
Packit Service 612474
a sub-project previously stored in a subdirectory of a larger
Packit Service 612474
repository. It constructs new commit objects based on the existing tree
Packit Service 612474
objects for the subtree in each commit, and discards commits which do
Packit Service 612474
not affect the history of the sub-project, as well as merges made
Packit Service 612474
unnecessary due to these discarded commits.
Packit Service 612474
Packit Service 612474
We would like to acknowledge the work of the gobby team in creating a
Packit Service 612474
collaborative editor which greatly aided the development of git-split
Packit Service 612474
(as well as these release notes).
Packit Service 612474
Packit Service 612474
Build and implementation fixes
Packit Service 612474
------------------------------
Packit Service 612474
Packit Service 612474
XCB no longer needs proto/x11 from X.org; the XCB header xproto.h
Packit Service 612474
provides the definitions from X.h, named according to XCB conventions.
Packit Service 612474
Packit Service 612474
XCB should now build with non-GNU implementations of Make.
Packit Service 612474
Packit Service 612474
XCB properly handles 32-bit wrap of sequence numbers, and thus now
Packit Service 612474
supports issuing more than 2**32 requests in one connection.
Packit Service 612474
Packit Service 612474
Fixed bugs #7001, #7261.