Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-04-21 | CODING_STYLE: document how destructors should work | Lennart Poettering | 1 | -0/+16 | |
2015-04-03 | CODING_STYLE: mention that dup() should not be used | Lennart Poettering | 1 | -0/+7 | |
2015-04-02 | CODING_STYLE: clarify that exit() is never OK to call | Lennart Poettering | 1 | -0/+6 | |
2015-03-10 | CODING_STYLE: mention casting of function invocations to (void) | Lennart Poettering | 1 | -0/+14 | |
2015-02-28 | update TODO | Lennart Poettering | 1 | -0/+4 | |
2015-02-11 | tree-wide: whenever we include libgen.h, immediately undefine basename() | Lennart Poettering | 1 | -0/+6 | |
Also, document in adjacent comments and in CODING_STYLE why we do that. | |||||
2015-02-10 | CODING_STYLE: elaborate on O_CLOEXEC a bit | Lennart Poettering | 1 | -1/+7 | |
2015-02-03 | Reindent man pages to 2ch | Zbigniew Jędrzejewski-Szmek | 1 | -1/+2 | |
2014-10-30 | CODING_STYLE: clarify that we really should use O_CLOEXEC everywhere | Lennart Poettering | 1 | -0/+5 | |
2014-10-27 | CODING_STYLE: don't clobber arguments on failure | Lennart Poettering | 1 | -1/+5 | |
2014-10-22 | CODING_STYLE: clarify that single-line if blocks should not be enclosed in {} | Lennart Poettering | 1 | -2/+13 | |
2014-08-30 | Fix a few more typos | Ruben Kerkhof | 1 | -1/+1 | |
2014-08-21 | CODING_STYLE: document that we don't break lines at 80ch | Lennart Poettering | 1 | -1/+4 | |
2014-08-03 | Unify parse_argv style | Zbigniew Jędrzejewski-Szmek | 1 | -0/+5 | |
getopt is usually good at printing out a nice error message when commandline options are invalid. It distinguishes between an unknown option and a known option with a missing arg. It is better to let it do its job and not use opterr=0 unless we actually want to suppress messages. So remove opterr=0 in the few places where it wasn't really useful. When an error in options is encountered, we should not print a lengthy help() and overwhelm the user, when we know precisely what is wrong with the commandline. In addition, since help() prints to stdout, it should not be used except when requested with -h or --help. Also, simplify things here and there. | |||||
2014-06-28 | doc: use expanded forms for written style | Jan Engelhardt | 1 | -12/+12 | |
2014-06-28 | doc: typographical improvements and choice of words | Jan Engelhardt | 1 | -5/+5 | |
2014-06-28 | doc: grammatical corrections | Jan Engelhardt | 1 | -12/+12 | |
2014-05-24 | Fix several small typos | Jonathan Boulle | 1 | -1/+1 | |
2013-12-09 | extend CODING_STYLE document a bit | Lennart Poettering | 1 | -17/+63 | |
2013-12-03 | trivial coding style clean ups | Thomas Hindoe Paaboel Andersen | 1 | -1/+1 | |
- Add space between if/for and the opening parentheses - Place the opening brace on same line as the function (not for udev) From the CODING_STYLE Try to use this: void foo() { } instead of this: void foo() { } | |||||
2013-03-08 | analyze: various cleanups | Lennart Poettering | 1 | -9/+105 | |
Update systemd-analyze to follow the coding style of the other tools more closely. Also, update the CODING_STYLE to document this for future additions. Changes: - Always use usec_t for time units, so that we always use the same types everywhere, and format times the same way as everywhere else. - Add "static" to global variables - Make sure we can always distuingish OOM and other errors: ensure we always return useful error codes from all functions. - Always free unit_times array | |||||
2013-01-29 | Clarify sentence | Tollef Fog Heen | 1 | -1/+1 | |
2012-10-01 | Minor typo | Tollef Fog Heen | 1 | -1/+1 | |
2012-10-01 | Be consistent about "." vs no "." at the end of lines" | Tollef Fog Heen | 1 | -4/+4 | |
2011-02-28 | Spelling Corrections | Harald Hoyer | 1 | -1/+1 | |
Just some lame spelling corrections with no functionality. | |||||
2010-02-14 | CODING_STYLE: minor updates | Lennart Poettering | 1 | -0/+11 | |
2009-11-18 | CODING_STYLE: add missing - | Lennart Poettering | 1 | -1/+1 | |
2009-11-18 | initial commit | Lennart Poettering | 1 | -0/+16 | |