From: martin r. <fo...@ru...> - 2004-03-12 08:27:42
|
dear foo developers, i have to apologize for the mess i am causing to the listen/foo cvs repository... but i think it's the only way for now, since we have different codebases by now which should still remain independent. i added a new directory 'ng' for "next generation" (which has nothing to do with "NeXT generation", n.b.). i hope this could get the candidate for the initial checkin for the sourceforge cvs and the mac os x version of foo. until now, i already reviewed the Core code (Modules and Interface still to come...) i expect the most work for the interface since that is the sensible thing regarding the Objective-C runtime. another issue still not solved for the new version is serialization. COSMETIC CHANGES: ----------------- * prepend our "officially registered" prefix FOO to each file and each class * prepend an LGPL header to each file * review coding style for better readability i oriented at the coding style for GNUstep itself: * more spaces in objc code, declarations: - (FOOBuffer *) initWithSize: (unsigned int)samples; calls: [self fillCacheFromFrame: fromFrame frames: frames]; (in short terms, a space after each colon) SUBSTANTIAL CHANGES ------------------- * derive FOOObject from NSObject (instead of Object). this had many, many implications all over the code, regarding memory management stuff etc. * use static typing whereever possible (e. g. FOOBuffer * instead of id). this leads to some oddities and warnings while compiling. i am not quite sure about how ot proceed. Objective-C also knows so called "protocols", something like interface definitions. perhaps using them would be a smart solution. * use NSString instead of char * for filenames etc. NOT YET SOLVED -------------- * serialization (has to be done the OpenStep way now) bests, martin |