coding
How to Work on the Haiku WebKit Port
To work on the Haiku WebKit port one needs to take some time to get the right environment set up. At the moment the Haiku WebKit port can only be developed on Linux and cross compiled with the GCC4 compiler. So the first step is to follow my tutorial on building Haiku on Ubuntu. On step 5 of the above, please be sure to build the GCC4 cross compiler, not the GCC2 version. If you have already built Haiku with GCC2 on Linux, I recommend renaming your current "generated" directory in the Haiku tree to "generated_gcc2" and then continue with step 5 from the above, setting up the GCC4 cross compiler. Switching between compilers can then be done by just renaming the generated directory, since it contains all compiled build tools and necessary files for each compiler.
Haiku Coding Guidelines
This document is not complete. If a guideline for a particular format is missing, follow the style of existing code (prefer using Haiku sources as a reference for this). If you have suggestions for things that should be clarified better, etc. please let us know. Please don't send us suggestions of the kind "I like this indenting style better, could we switch?".
Some code doesn't match our guidelines in some places, due mainly to time constraints. Help with cleaning up the code is very welcome.
Rather than advocating a given coding style, the main goal here is code consistency - after a stream of external contributions and patches we would like the Haiku code base to remain clean, uniform, easy to read and maintain.





