Sorry for reviving the thread,<br><br>You guys use python scripts to generate the code (which parses the code). I need to generate the java bindings (escher). Best bet is to modify the scripts in the xcb/xml git tree???<br>
<br>Thanks in advance,<br><br>Marcos<br><br><div class="gmail_quote">2010/5/27 Marcos Roriz <span dir="ltr">&lt;<a href="mailto:marcosrorizinf@gmail.com">marcosrorizinf@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Cool guys,<br>Thanks for the answers they made everything clear for me ^_^. By the way I&#39;m really considering on getting close to XCB developing after GSoC ends, I&quot;m really impressed with X. After learning a little more about X I feel that it&#39;s architecture design was really well-done and probably years ahead of it&#39;s time.<br>

<br>Regards =],<br>Marcos <br><br><div class="gmail_quote">2010/5/27 Barton C Massey <span dir="ltr">&lt;<a href="mailto:bart@cs.pdx.edu" target="_blank">bart@cs.pdx.edu</a>&gt;</span><div><div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>In message &lt;<a href="mailto:87mxvnyria.fsf@keller.adm.naquadah.org" target="_blank">87mxvnyria.fsf@keller.adm.naquadah.org</a>&gt; you wrote:<br>
&gt; On Wed, May 26 2010, Marcos Roriz wrote:<br>
&gt; &gt; One of the thing that I didn&#39;t understand is why does<br>
&gt; &gt; XCB/Xlib needs to generate Xml for the protocol isn&#39;t<br>
&gt; &gt; the protocol fixed (at least at core), i.e., &quot;imutable&quot;,<br>
&gt; &gt; ins&#39;t better/easier to just create a implementation or<br>
&gt; &gt; does it really needs the power of dynamic generation the<br>
&gt; &gt; C bindings?<br>
&gt;<br>
&gt; The protocol, and its extension, are fixed. The XML files are<br>
&gt; hand-written to describe this protocol. Then this XML files are used to<br>
&gt; generate various bindings for various languages.<br>
&gt;<br>
&gt; This mean you do not have to write a full implementation for each<br>
&gt; language, just a binding generator.<br>
<br>
</div>Originally, we took this approach to get rid of a lot of<br>
repetitive, error-prone hand-generated boilerplate C code.<br>
The ability to automatically produce X11 bindings for other<br>
languages, and to easily add understanding of X11 to tools<br>
such as Wireshark, has been a nice bonus.  The XML also<br>
serves as reasonably nice documentation of the protocol; at<br>
some point we may consider canonicalizing it as the<br>
definition of some X11 extension protocols.<br>
<br>
If nothing else, it has been good to test the X server<br>
against a client library that was developed independently of<br>
Xlib: we&#39;ve found a few server bugs that were masked by<br>
corresponding Xlib bugs that way.<br>
<br>
    Bart<br>
</blockquote></div></div></div><br><br clear="all"><div><div></div><div class="h5"><br>-- <br>Marcos Roriz<br>Bacharelando em Ciência da Computação<br>Universidade Federal de Goiás<br><br>E-mail: <a href="mailto:marcosrorizinf@gmail.com" target="_blank">marcosrorizinf@gmail.com</a><br>

Home Page:<a href="http://marcosroriz.wordpress.com" target="_blank">http://marcosroriz.wordpress.com</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Marcos Roriz<br>Bacharelando em Ciência da Computação<br>Universidade Federal de Goiás<br><br>E-mail: <a href="mailto:marcosrorizinf@gmail.com">marcosrorizinf@gmail.com</a><br>
Home Page:<a href="http://marcosroriz.wordpress.com">http://marcosroriz.wordpress.com</a><br>