Bug 8297 - camel case to lower case api
Summary: camel case to lower case api
Status: RESOLVED FIXED
Alias: None
Product: XCB
Classification: Unclassified
Component: Library (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: highest blocker
Assignee: Vincent Torri
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 6797
  Show dependency treegraph
 
Reported: 2006-09-16 04:45 UTC by Vincent Torri
Modified: 2006-09-23 15:39 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
proposed patch (13.67 KB, application/octet-stream)
2006-09-17 03:10 UTC, Vincent Torri
Details

Description Vincent Torri 2006-09-16 04:45:37 UTC
Here are some problems I have:

1) Change protocol name of XCBButton
2) Change protocol name of XCBHost
3) some requests ask for pointer and its length. I automatically add '_t' to the
name of the type, but there is a problem in
case the type is char and void. The xsl code is :

      <xsl:attribute name="type">
        <xsl:text>const </xsl:text>
        <xsl:call-template name="canonical-type-name" />
        <xsl:text>_t *</xsl:text>
      </xsl:attribute>


i don't have a solution

3) in the template iterator-functions, no function ***Name ***Length ***End
,etc... are not written in xproto.h. I have absolutely no idea why.


some problems might be added below
Comment 1 Vincent Torri 2006-09-17 03:10:23 UTC
Created attachment 7016 [details]
proposed patch

patch that modify c-client.xsl to get under case protocol api. xcb api changed
to under case api too.
Comment 2 Jamey Sharp 2006-09-23 15:39:41 UTC
Josh has committed a revised version of this patch: we believe the defect is fixed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.