summaryrefslogtreecommitdiffstats
path: root/src/CheckBasicStyle.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Style checker - Prevent whitespace-only linesLogicParrot2016-02-061-1/+1
|
* Ignore == if followed by \worktycho2015-12-221-1/+1
| | | | Ignore the space before == rule if immediately followed by a \. If it is imediatly followed by a \, then this is likely the base64 padding at the end of a certificate, which is followed by \n.
* Added HTTPS links wherever they are supported.Alexander Harkness2015-12-191-34/+30
|
* StyleCheck: Check spaces around ==, <=, >=Mattes D2015-10-081-2/+10
|
* Added CircleCI for stylechecking.Mattes D2015-09-171-0/+6
| | | | This will allow us to remove the stylecheck from Travis builds, making them a bit faster, and having fast style checks
* Unified the doxy-comment format.Mattes D2015-07-311-0/+12
|
* ToLua now generates cLuaState::Push() and GetStackValue()Mattes D2015-05-121-0/+1
| | | | | For classes exported through ToLua it generates the cLuaState::Push() and cLuaState::GetStackValue() functions, as well as the supporting forward declarations and typedefs. Renamed virtual_method_hooks.lua to BindingsProcessor.lua since it no longer provides virtual method hooks and instead does additional processing when generating the bindings.
* Added check against "Type const &" and "Type const *".Mattes D2015-05-091-0/+4
|
* CheckBasicStyle: checks spaces around * and &.Mattes D2015-05-091-2/+10
|
* More style checking.Mattes D2015-05-091-0/+21
| | | | Spaces around some operators are checked.
* Chmod +x CheckBasicStyle.luawiseoldman952015-05-051-0/+0
|
* CheckBasicStyle: Can check individual files or git commits.Mattes D2015-05-021-2/+101
|
* Fixed alignmentworktycho2015-03-211-2/+2
|
* Fixed style and removed false positivestycho2015-03-111-3/+3
| | | | Relaxed the rules for < followed by an && and removed rule for < following an &&
* CheckBasicStyle: Fixed a forgotten file close.Mattes D2015-01-291-0/+1
|
* Merge remote-tracking branch 'origin/master' into c++11Tiger Wang2014-12-061-0/+41
|\ | | | | | | | | Conflicts: src/OSSupport/Thread.cpp
| * CheckBasicStyle: Check missing braces for control statements.Mattes D2014-12-051-0/+19
| | | | | | | | Only single-line control statements are checked.
| * CheckBasicStyle: Added a check for parentheses around comparisons.Mattes D2014-12-051-0/+22
| | | | | | | | The check is only rudimentary and tends to fall towards missed positived rather than false positives.
* | CheckBasicStyle: Doesn't report false positives ending in a keyword.Mattes D2014-12-041-5/+5
|/
* CheckBasicStyle ignores the Bindings.h generated file.Mattes D2014-10-131-0/+1
|
* CheckBasicStyle: Added checking for the "template" keyword.Mattes D2014-08-281-1/+2
|
* CheckBasicStyle: multi-level indent change.madmaxoft2014-08-041-1/+16
|
* BasicStyleCheck: Dividers are exactly 80 slashes.madmaxoft2014-08-041-1/+17
|
* CheckBasicStyle: Added a lua shebang.madmaxoft2014-07-211-0/+1
|
* CheckBasicStyle: Doesn't require LuaFileSystem.madmaxoft2014-07-211-34/+10
| | | | Instead it uses the list of files generated by CMake.
* Normalized spaces after "catch".madmaxoft2014-07-211-1/+2
|
* CheckBasicStyle: Checks spaces after keywords, no space before ")".madmaxoft2014-07-211-1/+16
|
* CheckBasicStyle: Checks for braces not on separate lines.madmaxoft2014-07-191-2/+6
| | | | Only the opening braces at the end of a line are checked, others (such as inline getters and setters or initializers) are valid.
* CheckBasicStyle: Check spaces around commas.madmaxoft2014-07-191-6/+6
| | | | We want no space in front of and at least one space after a comma.
* CheckBasicStyle: Proper spaces with commas.madmaxoft2014-07-181-21/+48
|
* Initial version of a script to check basic style.madmaxoft2014-07-171-0/+188
This script reports basic violations of the style, such as indentation using spaces, alignment using tabs, trailing whitespace etc. Passing this script does NOT mean that the style is clean, it's only for fast-checking purposes.