X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=docs%2FCONTRIBUTING;h=74d1b36ce1d7328a2fd08afff088085a2c0f537c;hb=e6c50d8d1fed83cbd4a4da77fa8bd5659409a166;hp=f351da9f9b7e599ebaa7f53ebedc1d607089916e;hpb=6e04841f1143eaf21e5b9647144eee4184aaf6a0;p=uzbl-mobile diff --git a/docs/CONTRIBUTING b/docs/CONTRIBUTING index f351da9..74d1b36 100644 --- a/docs/CONTRIBUTING +++ b/docs/CONTRIBUTING @@ -25,8 +25,23 @@ If you're new to Git/github, have no fear: * [Github guides (highly recommended)](http://github.com/guides/home) * [Guides: Fork a project and submit your modifications](http://github.com/guides/fork-a-project-and-submit-your-modifications) +Our convention is to develop in the *experimental* branch, and keep only stable, tested stuff in *master*. +So ideally, all contributors develop in their experimental, that gets merged into the mainline experimental, and after QA it gets merged into the main master. + + ### VALGRIND PROFILING $ add this to Makefile header: CFLAGS=-g $ recompile $ valgrind --tool=callgrind ./uzbl .... $ kcachegrind callgrind.out.foo + +### MEMORY LEAK CHECKING + valgrind --tool=memcheck --leak-check=full ./uzbl + +### DEBUGGING / BACKTRACES + +* compile with -ggdb (enabled by default on experimental tree) +* run: `gdb ./uzbl` +* `(gdb) run -c /path/to/config` +* `bt` if it segfaults to see a backtrace +* you'll find more info on the interwebs