aboutsummaryrefslogtreecommitdiffstats
path: root/CodingStyle
blob: c47c01565e7a6f2977aef68606b3ee0112ca868f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
LCD4Linux Coding Style

We decided to use a common coding style to make patches and diffs 
easier to read and apply.

The style we use is based on Kernighan & Ritchie and the coding style 
of the linux kernel (see /usr/src/linux/Documentation/CodingStyle),
with some differences:

- we use a indentation level of 4 spaces (Linus prefers 8)
- we allow lines up to 150 chars (Linus uses 80)

The resulting indent command is:
indent -kr -l150

There's a script called 'indent.sh' that comes with the LCD4Linux 
source package; all it does is call indent with all .c and .h files.

It is always a good idea to call 'indent.sh' before any CVS operation,
this ensures that diffs and updates won't get mixed up because of
cosmetic changes.
er1-1/+4 2011-08-28* New upstream snapshotJonathan McCrohan2-4/+11 2011-08-26Import upstream version 0.11.0~svn1158Reinhard Tartler34-1743/+4490 2011-08-20normalize with wrap-and-sort(1)Reinhard Tartler2-17/+20 2011-08-20Make lcd4linux linux specificReinhard Tartler1-2/+1 2011-04-29add sqlite3-dev to build dependssiretart@tauware.de2-2/+4 2011-04-29mention new co-maintainersiretart@tauware.de1-0/+1 2011-04-29add libdbus-1-dev to build dependssiretart@tauware.de2-1/+3 2011-04-29normalize fields with wrap-and-sort(1)siretart@tauware.de2-18/+20 2011-04-29fix order of calling dh_autoreconf_cleansiretart@tauware.de1-1/+1 2011-04-29Add Uploader details to Debian PackageJonathan McCrohan1-0/+1 2011-04-27Bug fix: "script lcd4linux/init.d/lcd4linux missing dependency onReinhard Tartler2-1/+5 2011-04-27No longer build the mpd module. Closes: #578226Reinhard Tartler1-0/+1 2011-04-27No longer compile against Python. Python 2.6 now links against libssl,Reinhard Tartler2-2/+3