Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | reorg | Justin M. Keyes | 2016-06-03 |
| | |||
* | clint: Check that boolean operator is placed on the next line | ZyX | 2016-05-01 |
| | | | | I have not found in the style guide words about other operators, so they are not tested. This adds 128 new errors. | ||
* | clint: Add rule for preincrement/predecrement | ZyX | 2016-04-13 |
| | |||
* | clint: Add diagnostics for things like `char* foo` or `(char*)` | ZyX | 2016-04-13 |
| | | | | | | | | | | | | | | Asterisk should be preceded by a space except the following cases: 1. `foo[*idx_ptr]` 2. `++*foo` (though I would prefer to write this as `++(*foo)`) 3. `(*foo)->bar`, `if (*p)` 4. `char **foo` 5. `/* comment */` 6. `!*p` Note: `[^ (*/![]` is followed by `+` to make error position easier to find. It is not needed to find location of the problem. | ||
* | clint.py: a function name starting with for is not a for statement | Björn Linse | 2016-02-29 |
| | |||
* | misc: UNIX => Unix #4022 | Seth Jackson | 2016-01-16 |
| | | | | | | | | | | Although UNIX is a registered trademark of The Open Group, it doesn't really matter whether we refer to these systems as UNIX, Unix, or Unix-like. So, for consistency, refer to them collectively as Unix. Related: http://www.greens.org/about/unix.html http://www.unixica.com/html/unixunix.html | ||
* | clint: Check indentation and alignment inside expressions | ZyX | 2015-12-11 |
| | |||
* | clint: Check for spaces after { and before } | ZyX | 2015-12-09 |
| | |||
* | clint: Do not special-case for() semicolons | ZyX | 2015-12-09 |
| | |||
* | clint: Disallow old style comments everywhere, except for macros | ZyX | 2015-12-08 |
| | |||
* | clint: Make sure that braces are always used for if and other clauses | ZyX | 2015-12-08 |
| | |||
* | clint: Add support for errors suppression | ZyX | 2015-08-15 |
| | |||
* | cmake: Make `make lint` less verbose | Michael Reed | 2015-06-27 |
| | | | | | It unnecessarily complicates spotting linter errors, as they're usually surrounded by a bunch of lines saying "Done processing ... ". | ||
* | clint.py: don't print `--help` output to stderr and exit 1 | Michael Reed | 2015-06-27 |
| | | | | | | | | | a) It's not an error b) It requires manual redirection of stderr into stdout ('2>&1') in order to be viewed with a pager, which it warrants given how long the help message is. Helped-by: Florian Walch <florian@fwalch.com> | ||
* | Change neovim.org references to neovim.io | Thiago de Arruda | 2015-04-19 |
| | |||
* | clint: Add rules to check for memory functions calls | Thiago de Arruda | 2015-04-13 |
| | |||
* | Enable -Wconversion: indent.c. | Eliseo Martínez | 2015-02-18 |
| | | | | | | | | | | Note: Clint was failing because of recommending not to use long. But converting to long is the proper refactoring here, in as far as other longs exist. We could, then, disable clint rule, or remove this file from checking. We choose the former, as it's being discussed what to do with longs, but a decision has not been taken. So, it seems most reasonable to allow longs for now, to enable proper refactorings, and then, when a decision is taken, refactor all longs to some other thing. | ||
* | Make clint.py pep8-compliant. | Eliseo Martínez | 2015-02-08 |
| | |||
* | Linting: Recommend os_* instead of POSIX functions. | Florian Walch | 2015-01-11 |
| | |||
* | spelling fixes #827 | Will Stamper | 2014-06-12 |
| | |||
* | clint: disregard compound literal return | Nicolas Hillegeer | 2014-05-18 |
| | | | | | | | | | | | This allows lines like: return (my_struct_type) { .my_int = 5, .my_str = "" }; Thanks to @watk for finding and fixing it! | ||
* | Introduce nvim namespace: Fix define guards. | Eliseo Martínez | 2014-05-15 |
| | | | | | | Change define guards from NEOVIM_XXX_H to NVIM_XXX_H: - Change header files. - Change clint correct guard name calculation. | ||
* | Introduce nvim namespace: Fix clint. | Eliseo Martínez | 2014-05-15 |
| | | | | | - Fix path to clint-checked files. - Fix mechanism to calculate define guard names. | ||
* | Do not detect macros like VIM_TRUE as boolean values | ZyX | 2014-05-03 |
| | |||
* | Use portable format specifiers: Clint advice & other. | Eliseo Martínez | 2014-04-23 |
| | | | | | - Modify Clint advice to reflect preference for fixed sized macros. - Cleanup comment to eliminate referecen to "%ld". | ||
* | Remove dead code in clint.py | John Schmidt | 2014-04-21 |
| | |||
* | Added clint check for TRUE/FALSE | Hinidu | 2014-04-07 |
| | |||
* | More cleanup | Julian Orth | 2014-03-27 |
| | |||
* | remove leftover c++ headers | Julian Orth | 2014-03-27 |
| | |||
* | remove some leftover function calls | Julian Orth | 2014-03-27 |
| | |||
* | remove cpp headers | Julian Orth | 2014-03-27 |
| | |||
* | remove cpp file extensions | Julian Orth | 2014-03-27 |
| | |||
* | remove CleanseRawStrings | Julian Orth | 2014-03-27 |
| | |||
* | remove C++ only _NestingState parts | Julian Orth | 2014-03-27 |
| | |||
* | clean up CheckForNonStandardConstruct | Julian Orth | 2014-03-27 |
| | | | | remove C++ stuff and add C types | ||
* | remove C++ stuff from CheckSpacingForFunctionCall | Julian Orth | 2014-03-27 |
| | |||
* | remove C++ stuff from CheckSpacing | Julian Orth | 2014-03-27 |
| | |||
* | remove CheckSectionSpacing | Julian Orth | 2014-03-27 |
| | | | | irrelevant | ||
* | remove unused function | Julian Orth | 2014-03-27 |
| | |||
* | remove some unused variables | Julian Orth | 2014-03-27 |
| | |||
* | remove C++ only stuff from CheckLanguage | Julian Orth | 2014-03-27 |
| | | | | Do we want VLAs? | ||
* | remove "stream check" from CheckIncludeLine | Julian Orth | 2014-03-27 |
| | | | | irrelevant | ||
* | remove CheckForNonConstReference | Julian Orth | 2014-03-27 |
| | | | | irrelevant | ||
* | remove CheckCStyleCast | Julian Orth | 2014-03-27 |
| | |||
* | remove CheckForIncludeWhatYouUse | Julian Orth | 2014-03-27 |
| | | | | Only checks C++ related headers | ||
* | remove CheckMakePairUsesDeduction | Julian Orth | 2014-03-27 |
| | | | | Irrelevant | ||
* | Make script portable across Python versions | Steven Myint | 2014-03-07 |
| | | | | Support both Python 2 and 3. | ||
* | Issue #66 - Add lint tool and uncrustify config. Update contributing ↵ | David Z. Chen | 2014-03-05 |
documentation on coding style. |