06-05-2011, 01:41 PM
I've started a walk through all the code in "execution" order. I've started in src/main.cpp to have a better understanding of the code. Just because of that I've decided to rewrite the first file.
It now has the GPL header (as GPL says that every source file should have it but I understand it is not a problem), the "release_mouse" function is first declared after includes and not between them (just for better reading...), I've deleted some comments with old code that seemed unuseful (review them please), Now coments folow some rules (// First capital letter and a dot at the end.) and log now uses the words "INFO" and "ERROR" always.
Hope you use it.
http://www.mediafire.com/file/1um9bgy064...rite.patch
It now has the GPL header (as GPL says that every source file should have it but I understand it is not a problem), the "release_mouse" function is first declared after includes and not between them (just for better reading...), I've deleted some comments with old code that seemed unuseful (review them please), Now coments folow some rules (// First capital letter and a dot at the end.) and log now uses the words "INFO" and "ERROR" always.
Hope you use it.
http://www.mediafire.com/file/1um9bgy064...rite.patch