You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Please do not contribute unless you agree with the GPL license and are contributing your portion under that license. See the included LICENSE.txt
19
41
- Please respect the intellectual property of others. You are not allowed to taint WiFiDog by including source code from projects that do not allow so.
20
42
- Keep in mind that this application will run on extremely simple embedded devices. The binary size needs to be small, the dependencies absolutely minimal, and the memory footprint negligible.
21
-
- Always place the subversion "Id" macro at the top of every file
22
43
- Since this is a collaborative project, please aim for clearness instead of cleverness when faced with a choice.
23
44
- If you must use some cleverness, please add appropriate clear comments.
24
-
- Please re-indent your code before committing to subversion - see the "Formatting Your Source Code" section in the GNU Coding Standards at http://www.gnu.org/prep/standards_toc.html - the entire document makes a good reading if you haven't read it before. Also see the "indent" program.
45
+
- Please format your code properly before submitting a patch or a pull request. In general, we use 4 tabs instead of spaces with a maximum
46
+
line length of 120. In VIM, use these settings:
47
+
set expandtab
48
+
set shiftwidth=4
49
+
set softtabstop=4
50
+
set tabstop=4
51
+
The complete code style is defined by the following GNU indent call:
- Do not introduce compiler warnings. If the compiler warning is indeed harmless, disable it with the appropriate -Wno- flag in Makefile.am
25
54
- Before writing any brand-new large chunks of code, make sure it's logic has been discussed with the other team of developers or included in the design stage.
26
55
27
56
@@ -34,4 +63,5 @@ DOCUMENTATION:
34
63
- Please use DoxyGen-style comments (see http://www.doxygen.org/ for details) for source code documentation.
35
64
- Please use DocBook-SGML documentation for user documentation. This will make it easy to export documentation in multiple formats. Otherwise submit your documentation in plaintext format to someone who will change it to DocBook.
36
65
- Please thoroughly-comment non-clear sections in your code.
66
+
- Remember that commit messages and pull request descriptions also serve as a form of documentation.
0 commit comments