Mercurial > audlegacy
changeset 4420:fa676e489b64
Automated merge with ssh://hg.atheme.org//hg/audacious
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 31 Mar 2008 17:31:45 +0300 |
parents | 35444232ac7e (current diff) 7df56e5ec76b (diff) |
children | ae628568ea94 |
files | HACKING |
diffstat | 1 files changed, 17 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/HACKING Mon Mar 31 17:31:38 2008 +0300 +++ b/HACKING Mon Mar 31 17:31:45 2008 +0300 @@ -1,11 +1,13 @@ Hacking / coding guide for Audacious and Audacious-plugins ========================================================== (C) Copyright 2008 Audacious Development Team -Written by Matti 'ccr' Hämäläinen <ccr@tnsp.org> +Written by Matti 'ccr' Hämäläinen <ccr@tnsp.org>, and mercilessly +edited by others. -Premeable -========= +Preamble +======== + This document describes the guidelines for people who wish to work on improving or cleaning up Audacious media player, or any of the plugins we distribute in the plugins package. @@ -86,7 +88,8 @@ - Indentation: Use the same indentation style (also spaces vs. tabs) as the file you are editing. In new files/code, use indentation of - 4 spaces (no tabs). + 4 spaces (no tabs). When moving functions to new files, PLEASE + reindent the code. - Whitespace usage in code: @@ -96,10 +99,16 @@ - Blocks: - while (...) { - do_something(...) + while (...) + { + do_something(...); } - if (...) { - } else { + if (...) + { + do_stuff(); } + else + { + do_other_stuff(); + }