Archive for 30. September 2006

Re: Thoughts about Coding Styles and Conventions
Hi,   I agree with Peter, coding convention helps in understanding the code, make it more readable... Whatever convention is adopted , it needs to be consistant trhough the whole document. So it (more...)
Ideas for improvements in packet parsing
Hello everybody! This is a continuation of the discussion we started with Atul regarding improvements in packet parsing. Before starting actual coding I’d like to present you my improvements ideas and (more...)
Re: Why switch/case in Packet::name??
Hi Atul, You are right that name() should be a pure virtual. It was just a fast hack some long time ago when I needed to dump some debug info. name() (more...)
Re: patch for refactored QueryHits::prepareReadPayload
Thanks for the patch! Committed in revno 47. Just corrected the whitespaces and added \todo to the comments regarding the literal constant 11 and size_t, so that they be listed (more...)
Re: Re: Thoughts about Coding Styles and Conventions
Hi Atul, I didn't actually know such programs exist... although that should be a quite logical expectation ;-). Cool name for that kind of progs - beautifiers ;-) I'll take a look (more...)
Re: Re: First cut at using CppUnit… Testing Bye class
Hello everybody! Thanks to Atul who pointed me to CppUnit and provided a sample unit test for Gnutella::Packets::Bye + Makefile! I just finished a qmake project for CppUnit (built as library), to (more...)