<br>Hi all,<br><br>Peter :<br>&gt; I sense you&#39;ve never used git before.<br><br>Absolutely :)....sorry for the mess but at least I now know what not to do ;)....any help on doing this would be appreciated....I&#39;m quite new to it.<br>
<br>Julien<br>&gt;Well your tree does not have the full history of our libxcb, and is only<br>
&gt;a set of file. So this is kinda useless, it is just like throwing a<br>
&gt;tarball at our head.<br><br>After cloning your devel tree I explicitly deleted the .git and .gitignore folders before uploading onto github...thinking it would lead to some sorta conflict.....I think that&#39;s what took off all the orignal history??.....my bad.<br>
<br>&gt;I cannot judge the code itself, I know nothing at win32, but you should<br>
&gt;at least respect some sort of indentation policy.....<br><br>I did - my own which I find easier to read :)....sorry will normalize to the rest of the code style along with your other suggestions.<br><br>
&gt;making things in order, since it&#39;s win32 code (and I don&#39;t care about<br>
&gt;this platform :-)<br><br>nor do I :( but *sigh*<br><br>Peter<br>&gt;Thanks for all your effort,<br>
<br>Glad to be able to help<br><br>Bye for now<br><br><div class="gmail_quote">On Wed, May 6, 2009 at 9:56 PM, Julien Danjou <span dir="ltr">&lt;<a href="mailto:julien@danjou.info">julien@danjou.info</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">At 1241626325 time_t, Jeetu Golani wrote:<br>
&gt; I hope these changes can become part of the main tree someday.<br>
<br>
</div>Well your tree does not have the full history of our libxcb, and is only<br>
a set of file. So this is kinda useless, it is just like throwing a<br>
tarball at our head.<br>
And your tree is full of backups, .orig and .rej files.<br>
It&#39;s really really far from being clean.<br>
<br>
I took some time to make and read diff between your version and ours.<br>
I cannot judge the code itself, I know nothing at win32, but you should<br>
at least respect some sort of indentation policy. You seems to have<br>
none, so using ours would be a good choice.<br>
<br>
Also, using:<br>
#ifdef WIN32<br>
int read_block() { ... }<br>
#endif<br>
#ifndef WIN32<br>
int read_block() { ... }<br>
#endif<br>
<br>
is IMHO only a way to get confused and make mistakes. Please prefer:<br>
<br>
#ifdef WIN32 (or ifndef)<br>
int read_block() { ... }<br>
#else<br>
int read_block() { ... }<br>
#endif<br>
<br>
which can avoid mistakes.<br>
<br>
OTOH, your work seems pretty light and not too much invasive, so if you<br>
come up with a clean patch touching only the code part and the files<br>
needed, I guess it could be merged into our code base.<br>
<br>
But it&#39;s far from clean right now and I don&#39;t feel like losing time<br>
making things in order, since it&#39;s win32 code (and I don&#39;t care about<br>
this platform :-)<br>
<br>
Cheers,<br>
<font color="#888888">--<br>
Julien Danjou<br>
// ᐰ &lt;<a href="mailto:julien@danjou.info">julien@danjou.info</a>&gt;   <a href="http://julien.danjou.info" target="_blank">http://julien.danjou.info</a><br>
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD<br>
// Trust no one.<br>
</font><br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (GNU/Linux)<br>
<br>
iEYEARECAAYFAkoBujAACgkQpGK1HsL+5c3xpwCghwL/RzRGeEs1wi3lPKlanF+u<br>
OhYAoM7F+1c2D5KEillUqegxdkNMDeaW<br>
=0sds<br>
-----END PGP SIGNATURE-----<br>
<br></blockquote></div><br>