Fossil

Check-in [069084af]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove extra colon and space in section topics in style guidelines.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 069084afc2bcd21ddd00d5b8c9c8b06d22cc0b03
User & Date: andybradford 2015-11-30 00:23:04.475
Context
2015-12-02
09:50
Improved command-line help for push, pull, sync, and clone commands. ... (check-in: 26d0c20a user: drh tags: trunk)
2015-11-30
00:23
Remove extra colon and space in section topics in style guidelines. ... (check-in: 069084af user: andybradford tags: trunk)
2015-11-29
17:33
Fix the backslash-octal escapes on the filename quoting while importing from git. ... (check-in: 09cf1ad8 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to www/style.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
<title>Coding Style</title>

Fossil source code should following the style guidelines below.

<b>General points:</b>:

  10.  No line of code exceeds 80 characters in length.  (Occasional
       exceptions are made for HTML text on @-lines.)

  11.  There are no tab characters.

  12.  Line terminators are \n only.  Do not use a \r\n line terminator.




|







1
2
3
4
5
6
7
8
9
10
11
12
<title>Coding Style</title>

Fossil source code should following the style guidelines below.

<b>General points</b>:

  10.  No line of code exceeds 80 characters in length.  (Occasional
       exceptions are made for HTML text on @-lines.)

  11.  There are no tab characters.

  12.  Line terminators are \n only.  Do not use a \r\n line terminator.
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79

  <li>  The check-list items for functions also apply to major subsections
     within a function.

  <li>  All code subblocks are enclosed in {...}.


  <li> <b>assert() macros are used as follows </b>:
    <ol type="a">

  <li>  Function preconditions are clearly stated and verified by asserts.

  <li>  Invariants are identified by asserts.
    </ol>








|







65
66
67
68
69
70
71
72
73
74
75
76
77
78
79

  <li>  The check-list items for functions also apply to major subsections
     within a function.

  <li>  All code subblocks are enclosed in {...}.


  <li> <b>assert() macros are used as follows</b>:
    <ol type="a">

  <li>  Function preconditions are clearly stated and verified by asserts.

  <li>  Invariants are identified by asserts.
    </ol>