Mercurial > audlegacy
changeset 4418:7df56e5ec76b
Automated merge with ssh://hg.atheme.org//hg/audacious
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Mon, 31 Mar 2008 09:33:16 -0500 |
parents | f922499e69bc (diff) ac8d871b6075 (current diff) |
children | fa676e489b64 |
files | HACKING |
diffstat | 1 files changed, 17 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/HACKING Mon Mar 31 17:27:50 2008 +0300 +++ b/HACKING Mon Mar 31 09:33:16 2008 -0500 @@ -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. @@ -81,7 +83,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: @@ -91,10 +94,16 @@ - Blocks: - while (...) { - do_something(...) + while (...) + { + do_something(...); } - if (...) { - } else { + if (...) + { + do_stuff(); } + else + { + do_other_stuff(); + }