summaryrefslogtreecommitdiff
path: root/docs/CODE_STYLE.md
Commit message (Collapse)AuthorAgeFilesLines
* CODE_STYLE.md: link to INTERNALS.md correctlyDaniel Stenberg2016-11-091-3/+4
|
* s/cURL/curlDaniel Stenberg2016-10-181-1/+1
| | | | | The tool was never called cURL, only the project. But even so, we have more and more over time switched to just use lower case.
* CODE_STYLE: fix long-line guidelineJay Satiro2016-09-121-1/+1
| | | | - Change maximum allowed line length from 80 to 79.
* CODE_STYLE: add column alignment sectionJay Satiro2016-09-111-2/+53
| | | | | Note that since the added examples are for column alignment I had to encapsulate with ~~~c markdown to preserve their alignment.
* CODE_STYLE: Added ternary operator example to 'Space around operators'Steve Holme2016-04-091-0/+1
| | | | Following conversation on the libcurl mailing list.
* CODE_STYLE: indend example codeDaniel Stenberg2016-03-221-7/+5
| | | | ... to make it look nicer in markdown outputa
* CODE_STYLE: Use boolean conditionsSteve Holme2016-03-201-2/+16
| | | | | | | Rather than use TRUE, FALSE, NULL, 0 or != 0 in if/while conditions. Additionally, corrected some example code to adhere to the recommended coding style.
* CODE_STYLE: Space around operatorsDaniel Stenberg2016-03-141-0/+19
| | | | | As just discussed on the mailing list, also document how we prefer spacing in expressions.
* CODE_STYLE: add example for indent style as wellDaniel Stenberg2016-03-141-0/+6
|
* CODE_STYLE: mention braces for functions tooDaniel Stenberg2016-03-141-2/+10
|
* CODE_STYLE: initial versionDaniel Stenberg2016-03-141-0/+140
Ripped out from CONTRIBUTE into its own document, but also extended from there.