Archive for October 2006

Re: BDecoder - ready
Hi, I am new to this project to checkout code so I started out looking at your code but do not have the full picture yet so bare with me if (more...)
Re: Re: Re: Re: BDecoder - ready
Hi Peter, I did all the changes, thanks once again for the extensive check. Look once again in the BDecoder::readList and BDecoder::readDictionary functions. The created bList and bDict objects had to (more...)
Re: Re: Re: BDecoder - ready
Hi Slavcho, Thanks for the prompt reply and fixes! I’m going only through the points for which I have comments: Thanks for the clarification about len_pow_10. Now I get it, clever ;-) (more...)
Re: Re: BDecoder - ready
Hi Peter, I looked at the things you pointed out. I am glad you agree about the lookAhead function. About the strange if statement in the BInt class - I know it (more...)
Re: BDecoder - ready
Hi Slavcho, Thanks for the patch! You’ve done some really neat job! I also find that lookAhead() is a pretty nice addition to BinaryReader! Here some comments and possible bugs though: BDecoder::readInt() (more...)
BDecoder - ready
Hi everybody, The BDecoder together with its documentation and test are ready. BDecoder decodes a bencoded QByteArray. For this purpose six more classes are added – BItem, BInt, BString, BList, BDictionary (more...)
BinaryWriter is ready
Here is the BinaryWriter. I did write the tests first, then wrote the documentation and finally the implementation. OK, I actually reused a lot from BinaryReader. Just made copies of (more...)
Packets progress (docs)
Dear all, I’ve written documentation for all new Packet classes and that paid back! By making me think again what the functions are supposed to do and comparing it with what (more...)
Progress on Packets
Hi guys, I did some work tonight on the new Packet abstraction and BitTorrent packets. As Anders suggested, I used QSharedData and QSharedDataPointer for reference counting of the private data instead (more...)
Re: Re: Re: Packet generalization
Hi Atul, I was just working on the Packet class again and think I figured out what you mean! You mean that rawHeader() and rawPayload() check whether the packet is valid (more...)

« Previous PageNext Page »