diff options
author | TORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net> | 2006-11-05 18:21:34 +0100 |
---|---|---|
committer | TORRI Vincent <torri@alf94-3-82-66-248-160.fbx.proxad.net> | 2006-11-05 18:21:34 +0100 |
commit | e3b7009dc0be6515d23fbda9c744082506df4cb0 (patch) | |
tree | 5455f05d8b781c703e817ef219afd6ce40b8b8ab | |
parent | 0262cd63a2c10e52daa3bd71cb21a6a37017f234 (diff) | |
parent | 32cd2d20477ab17704f0a2696c2b3bc2ff8f42de (diff) |
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb/libxcb
-rw-r--r-- | NEWS | 29 | ||||
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | src/c-client.xsl | 63 |
3 files changed, 91 insertions, 5 deletions
@@ -1,3 +1,32 @@ +Release 1.0 RC3 (2006-11-02) +============================ + +Note: Version 0.9.4 of the test suite tool "check" provides a broken +version of the AM_PATH_CHECK macro, which causes autoconf to fail due to +insufficient quoting on the macro names it prints in its deprecation +message. We have written a patch to fix this problem, available at: +<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> +Version 0.9.4-2 of the Debian package for check includes this patch. +Users of other distributions who want to re-autotool libxcb will need to +apply this patch, use an older version of check, or wait for a fixed +upstream version. This bug does not affect users who use the distributed +tarballs and do not re-autotool. + +* Add library support for xcb-xinerama, using new protocol description + from xcb-proto. +* In the generated protocol code, define and use constants for opcode + numbers rather than hard-coding them. +* In the API conversion script, match only XCB-namespaced XID generators + when converting to xcb_generate_id. +* Quit treating xproto specially in Makefile.am: handle it like all the + extensions. +* Generate Doxygen documentation comments in the protocol stubs, and + provide a Doxygen config file for building HTML documentation for XCB. +* Add note to xcbxlib.h that nothing except Xlib/XCB should use it. +* Extend test suite to test xcb_parse_display with NULL argument and + display in $DISPLAY. + + Release 1.0 RC2 (2006-10-07) ============================ diff --git a/configure.ac b/configure.ac index 9cc8bca..7ad8321 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ AC_PREREQ(2.57) AC_INIT([libxcb], - 0.9.92, + 0.9.93, [xcb@lists.freedesktop.org]) AC_CONFIG_SRCDIR([xcb.pc.in]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) @@ -34,7 +34,7 @@ fi AC_SUBST(HTML_CHECK_RESULT) # Checks for pkg-config packages -PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 0.9.92) +PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 0.9.93) PKG_CHECK_MODULES(XAU, xau) PKG_CHECK_MODULES(XDMCP, xdmcp, diff --git a/src/c-client.xsl b/src/c-client.xsl index 445a8a6..31b6de5 100644 --- a/src/c-client.xsl +++ b/src/c-client.xsl @@ -973,6 +973,18 @@ authorization from the authors. -->__<xsl:value-of select="$ucase-header" />_H<!-- --></xsl:variable> +<xsl:text>/** + * @file </xsl:text><xsl:value-of select="$header" /><xsl:text>.h + **/ +</xsl:text> +<xsl:text> +/** + * @defgroup XCB_</xsl:text><xsl:value-of select="$ext" /><xsl:text>_API XCB </xsl:text><xsl:value-of select="$ext" /><xsl:text> API + * @brief </xsl:text><xsl:value-of select="$ext" /><xsl:text> XCB Protocol Implementation.</xsl:text> +<xsl:text> + * @{ + **/ +</xsl:text> <xsl:text>/* * This file generated automatically from </xsl:text> <xsl:value-of select="$header" /><xsl:text>.xml by c-client.xsl using XSLT. @@ -992,6 +1004,18 @@ authorization from the authors. <xsl:text> </xsl:text> </xsl:if> +<xsl:if test="$h"> + <xsl:choose> + <xsl:when test="string($ext)"> + <xsl:text>#define XCB_</xsl:text><xsl:value-of select="translate($ext, $lcase, $ucase)"/><xsl:text>_MAJOR_VERSION </xsl:text><xsl:value-of select="/xcb/@major-version" /><xsl:text> +</xsl:text> + <xsl:text>#define XCB_</xsl:text><xsl:value-of select="translate($ext, $lcase, $ucase)"/><xsl:text>_MINOR_VERSION </xsl:text><xsl:value-of select="/xcb/@minor-version" /> + <xsl:text> + +</xsl:text> + </xsl:when> + </xsl:choose> +</xsl:if> <xsl:if test="$c"><xsl:text> #include <assert.h> @@ -1004,6 +1028,9 @@ authorization from the authors. <xsl:if test="$h"> <xsl:text> +/** + * @} + */ #endif </xsl:text> </xsl:if> @@ -1013,6 +1040,8 @@ authorization from the authors. <xsl:choose> <xsl:when test="@type = 'number'"> <xsl:if test="$h"> + <xsl:text>/** Opcode for </xsl:text><xsl:value-of select="@name"/><xsl:text>. */ +</xsl:text> <xsl:text>#define </xsl:text> <xsl:value-of select="translate(@name, $lcase, $ucase)" /> <xsl:text> </xsl:text> @@ -1073,6 +1102,10 @@ authorization from the authors. <xsl:with-param name="items" select="field/@type" /> </xsl:call-template> </xsl:variable> + <xsl:text>/** + * @brief </xsl:text><xsl:value-of select="@name" /><xsl:text> + **/ +</xsl:text> <xsl:text>typedef </xsl:text> <xsl:if test="not(@kind)">struct</xsl:if><xsl:value-of select="@kind" /> <xsl:text> </xsl:text> @@ -1084,7 +1117,7 @@ authorization from the authors. <xsl:apply-templates select="."> <xsl:with-param name="type-lengths" select="$type-lengths" /> </xsl:apply-templates> - <xsl:text>; + <xsl:text>; /**< </xsl:text><xsl:text> */ </xsl:text> </xsl:for-each> <xsl:text>} </xsl:text> @@ -1129,8 +1162,31 @@ authorization from the authors. <xsl:call-template name="type-lengths"> <xsl:with-param name="items" select="field/@type" /> </xsl:call-template> - </xsl:variable> - <xsl:value-of select="@type" /> + </xsl:variable> + <!-- Doxygen for functions in header. --> +/***************************************************************************** + ** + ** <xsl:value-of select="@type" /> + <xsl:text> </xsl:text> + <xsl:value-of select="@name" /> + ** <xsl:call-template name="list"> + <xsl:with-param name="items"> + <xsl:for-each select="field"> + <item> + <xsl:text> + ** @param </xsl:text> + <xsl:apply-templates select="."> + <xsl:with-param name="type-lengths" select="$type-lengths" /> + </xsl:apply-templates> + </item> + </xsl:for-each> + </xsl:with-param> + </xsl:call-template> + ** @returns <xsl:value-of select="@type" /> + ** + *****************************************************************************/ + +<xsl:value-of select="@type" /> <xsl:text> </xsl:text> <xsl:value-of select="$decl-open" /> @@ -1148,6 +1204,7 @@ authorization from the authors. <xsl:apply-templates select="."> <xsl:with-param name="type-lengths" select="$type-lengths" /> </xsl:apply-templates> + <xsl:text> /**< */</xsl:text> </item> </xsl:for-each> </xsl:with-param> |