Commit Graph

27 Commits

Author SHA1 Message Date
FranciscoPombal
ca92a74a39 Update coding guidelines policy for include guards 2020-12-14 12:24:06 +00:00
Vladimir Golovnev (Glassez)
c41df9ffbd
Improve coding style 2020-11-17 21:02:37 +03:00
FranciscoPombal
ef1c7eec74 Fix trailing whitespace in multiple files
Also fix formatting of CODING_GUIDELINES.md
2020-10-28 14:20:11 +00:00
FranciscoPombal
87527fccc6 Encode files in UTF-8 without BOM 2020-10-28 14:15:31 +00:00
Chocobo1
0d5b0b9542
Replace deprecated macro
Q_OS_MAC is deprecated and the replacement is Q_OS_MACOS.
2019-09-05 20:16:18 +08:00
sledgehammer999
eb20b53af4
Remove trailing dot from headings 2018-07-20 23:01:57 +03:00
sledgehammer999
90dfdcc36d
Add a TOC in the coding guidelines 2018-07-20 23:01:56 +03:00
thalieht
fb2bcb57bb Clarify guidelines and fix some typos 2018-05-09 17:06:22 +03:00
Chocobo1
5f1ac96f66
Clarify header inclusion order 2018-04-18 13:56:40 +08:00
Mike Tzou
e90be67fec
Merge pull request #8640 from Chocobo1/guide2
Clarify braces usages in CODING_GUIDELINES
2018-04-01 18:16:04 +08:00
Chocobo1
d31954761f
Clarify braces usages in CODING_GUIDELINES
Merge "Curly braces" & "If blocks" sections into "New lines & curly braces" section.

Add note about the list is not exhaustive and style can be determine on code review.
2018-03-29 02:50:48 +08:00
Chocobo1
315d9835b2
Extend Coding Guidelines to cover other languages 2018-03-23 15:21:50 +08:00
Chocobo1
423511765a
Fix typo 2018-03-14 23:37:08 +08:00
Vladimir Golovnev (Glassez)
ef06485c45
Add Coding Style rules for commit messages 2018-02-27 20:27:58 +03:00
Vladimir Golovnev (Glassez)
247b93e8ec
Require '#pragma once' in new code 2018-01-20 12:10:21 +03:00
Chocobo1
71844e13af
Update coding guidelines
Add ranged-based for loop example
Add class inheritance example
Add Prefer pre-increment, pre-decrement operators section
Fix space after comment keyword
Fix header include order
[skip ci]
2017-09-05 14:24:52 +08:00
sheeit
ec0771448c Fixed Markdown formatting for headers 2017-03-22 15:49:19 +01:00
Vladimir Golovnev (Glassez)
1bf24acff7 Add coding style rule for header inclusion order 2016-04-20 15:40:28 +03:00
Vladimir Golovnev (Glassez)
f89819bbdb Fix coding style rules
Closes #5075
2016-04-13 16:24:38 +03:00
Vladimir Golovnev (Glassez)
645c3bf69f Add new Coding Style rules for some c++11 features 2016-03-26 08:11:52 +03:00
sledgehammer999
b863e77b63 Fix newlines in wiki rendering. 2016-01-10 14:56:53 +02:00
sledgehammer999
5e6c38a524 Add info and files for coding style. Issue #2192. 2016-01-10 14:50:05 +02:00
Vladimir Golovnev (Glassez)
59427ed6af Improve CODING_GUIDELINES.md. 2015-11-21 11:25:14 +03:00
dartraiden
8ac83cfd42 Fixed typos, spelling correction 2015-06-14 10:55:46 +03:00
Vladimir Golovnev (Glassez)
187180f986 Fix internal conflicts in CODING_GUIDELINES.md. 2015-01-17 23:20:41 +03:00
sledgehammer999
17f56a7744 Update coding style. Closes #2091. 2014-11-26 15:10:43 +02:00
sledgehammer999
e0d6e609e3 Documenting the project's coding guidelines. Closes #2091. 2014-11-16 17:25:58 +02:00