You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

49 lines
1.8 KiB

This file describes the coding style I prefer for the panel. If you want to
help out with panel development, please try to conform to these 'rules'.
-- Jasper
* 2005-1-3
Somewhere in the past year I decided to expand tabs, to make sure there's no
misunderstanding in how I want things to look.
* 2003-05-17
Updated the .indent.pro to use Olivier's new version. He seems he conformed to
my standards this time ;-)) (<-- this is a joke, please laugh) Anyway, his new
version has all the things I find important.
* 2003-04-02
If you are interested in working on the panel that is of course enormously
appreciated. I would like to ask you to follow a small number of rules to ease
the maintainer's job a little.
- Please use the .indent.pro file provided in this directory to format your
files. Since we didn't seem to agree on a common coding style for the entire
project I took the liberty to adapt Olivier's file (found in xfwm4/src/) a
little to better suit my own taste. The most important aspects are:
o indentation is 4 spaces (which does not equal 1 tab!)
o braces are on a new line
o return type for function definitions on separate line
- If you have CVS access it's alright to commit bugfixes or trivial changes to
CVS directly. But please send a patch to the mailing list for any
non-trivial and/or non-obvious changes for discussion. When in doubt, ask
first. Make patches by running `cvs diff -u > <patchfile>'.
- Patches are always welcome please use `diff -Naur <oldfile> <newfile>' to
create them or use the cvs method mentioned above. You can send them to the
mailing list for discussion.
If we all stick to these guidelines I'm sure the code will remain as clean and
readable as it it today (Ahem ... ;).
Look at the README and TODO for a bit more information, but be careful, it may
not be entirely up to date.
Thanks,
Jasper