annotate HACKING @ 1384:318e8c5c4f85

Do not depend on RELEASE_BUILD for debug output this is handled by g_debug and no longer neccessary als a Macro
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 15 Jan 2015 15:57:26 +0100
parents 1dc1f5a4b577
children
rev   line source
163
8cfcd38a9bb3 Change coding style for cinst main / windowsstore to GNU
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
1 Please keep C code according to GNU coding standards.
8cfcd38a9bb3 Change coding style for cinst main / windowsstore to GNU
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
2
8cfcd38a9bb3 Change coding style for cinst main / windowsstore to GNU
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
3 With regards to the style:
906
1dc1f5a4b577 Clarify astyle command. We do not space the parenthises
Andre Heinecke <andre.heinecke@intevation.de>
parents: 163
diff changeset
4 astyle --style=gnu --indent=spaces=2
163
8cfcd38a9bb3 Change coding style for cinst main / windowsstore to GNU
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
5
8cfcd38a9bb3 Change coding style for cinst main / windowsstore to GNU
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
6 For the C++ Ui code please use the kdelibs coding style
8cfcd38a9bb3 Change coding style for cinst main / windowsstore to GNU
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
7 astyle --indent=spaces=4 --brackets=linux \
8cfcd38a9bb3 Change coding style for cinst main / windowsstore to GNU
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
8 --indent-labels --pad-oper --unpad-paren --pad-header \
8cfcd38a9bb3 Change coding style for cinst main / windowsstore to GNU
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
9 --keep-one-line-statements --convert-tabs \
8cfcd38a9bb3 Change coding style for cinst main / windowsstore to GNU
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
10 --indent-preprocessor

http://wald.intevation.org/projects/trustbridge/