Commit Graph

105 Commits

Author SHA1 Message Date
LCD 47
7d627000ce Checkers clang_check and clang_tidy: workaround for a regression in Clang.
Set TERM to dumb to avoid the checkers producing colour codes in output.
2015-11-15 22:26:44 +02:00
LCD 47
31cba018b3 Safety net: avoid suffixesadd interfering with findfile(). 2015-06-26 07:28:50 +03:00
LCD 47
e46c64701c Bug fix: more findfile() fun. 2015-06-23 13:55:22 +03:00
LCD 47
a728268d73 Bug fix: finding files in parent directories.
Checkers pc_lint, javac, flow, C compilers: findfile() should start in
the current file's base directory rather than the current directory.

Elixir checker: use the more efficient findfile() instead of
syntastic#util#findInParent().
2015-06-22 23:10:20 +03:00
LCD 47
dac07db617 Cleanup: shut up most vint warnings. 2015-03-25 18:44:34 +02:00
LCD 47
1d2f8d514a Formatting: folding. 2015-01-04 12:46:54 +02:00
LCD 47
d1b401609b Bug fix: glob(), globpath(), and expand() should ignore wildignore. 2015-01-04 09:01:55 +02:00
LCD 47
d97a43bfa1 Sparse checker: return code 1 is less meaningful these days. 2015-01-04 08:52:25 +02:00
LCD 47
650c7368e9 Discourage people from looking at the sources for user docs. 2014-11-21 10:01:24 +02:00
LCD 47
57f1a0eb20 New user variables: syntastic_<filetype>_<checker>_sort. 2014-10-24 15:55:47 +03:00
LCD 47
ce89396808 Checker-specific logging.
New debug level 32, for logging tracing checkers.
New method checker.log().
Cleanup.
2014-10-06 22:19:24 +03:00
LCD 47
2a88120b33 More grouping in errorformat. 2014-09-25 08:18:07 +03:00
LCD 47
fa0290c556 PC-Lint: mark informational messages as "Style". 2014-09-19 11:30:31 +03:00
LCD 47
9321bc79ed PC-Lint: add column numbers. Cleanup. 2014-09-19 10:33:56 +03:00
LCD 47
d751d17ef1 PC-Lint: cleanup. 2014-09-18 08:35:43 +03:00
LCD 47
3476e4f1d2 Merge remote-tracking branch '2sb18/pc_lint' 2014-09-18 08:13:48 +03:00
Steve Bragg
19ee867129 - pc_lint seems to be working well now. 2014-09-17 16:53:02 -04:00
Steve Bragg
7f08cdde67 working on pc_lint checker 2014-09-17 11:50:32 -04:00
LCD 47
5c21c4d7f2 Bug fix: grouping in errorformat.
\(...\) can't be used in errorformat; use non-catching \%(...\) instead.
Add \m to patterns that use grouping.
2014-09-16 18:12:50 +03:00
LCD 47
4cda4c3e0a Clang tools: check exit codes. 2014-08-22 07:43:41 +03:00
LCD 47
825b29a9be Clang tools: missing space. 2014-08-22 00:11:42 +03:00
LCD 47
0092326525 Clang tools: work without a compilation database. Cleanup. 2014-08-21 18:16:22 +03:00
LCD 47
8e3482b9f8 Merge remote-tracking branch 'bbanier/t/clang_tools' into clang_tools 2014-08-20 16:28:28 +03:00
LCD 47
e62fe0e6ed Allow oclint to use cmake compilation databases. 2014-08-19 08:04:24 +03:00
Benjamin Bannier
d280dc78ea Add new clang-tidy and clang-check checkers
These checkers use an existing compilation database so that the actual
flags used in the compile are used in the check.
2014-08-16 16:37:38 +02:00
LCD 47
a27b435a13 OClint: slightly more robust regexps. 2014-08-15 08:43:41 +03:00
LCD 47
1fac6011ef OClint: fix parsing. 2014-08-15 08:23:49 +03:00
LCD 47
e54f28e338 New redirect checker for arduino: avrgcc. 2014-07-15 09:33:31 +03:00
LCD 47
ab79acbccd Cleanup. Deprecate a number of checker variables.
New / refactored deprecation logging functions:
syntastic#log#oneTimeWarn() and syntastic#log#deprecationWarn().
2014-06-24 19:02:42 +03:00
LCD 47
68131a7679 Bug fix: error sorting.
Error sorting can't be done as a postprocess function called from
SyntasticMake(), since the final values of some relevant fields (f.i.
type) might not be known yet at that point.  Solution: move sorting to
getLocListRaw(), after per-checker quiet_messages.  New checker methods
getWantSort() / setWantSort() are needed.

Second problem: some checkers return screen columns mixed with byte
indices.  Solution: compute screen columns as needed.  Sadly, everything
about working with screen columns is fragile.
2014-04-16 22:16:40 +03:00
LCD 47
b4320f19dd oclint: option "-text" is obsolete. 2014-04-16 00:15:46 +03:00
LCD 47
f6d584bc63 splint: add errorformat sequences for Windows. 2014-03-23 06:25:59 +02:00
LCD 47
fb71514648 Move preprocess functions to their own file. 2014-02-26 10:31:38 +02:00
LCD 47
d31868a5ba cppcheck: update for the new error format. Remove duplicate code. 2014-02-14 08:50:51 +02:00
LCD 47
c10aa8d6d5 More shell escape fixes. 2014-02-13 17:38:47 +02:00
LCD 47
ca717b2c8d Cleanup: allow more exec overrides; formatting. 2014-02-08 09:45:51 +02:00
LCD 47
daf74923b7 Escape Festschrift, vol. 2: add function getExecEscaped(). 2014-02-07 11:19:30 +02:00
LCD 47
799ea79bcb Cleanup: avrgcc checker. 2014-02-06 19:18:38 +02:00
ufopron
42605af07a avr-gcc: added syntax checker 2014-02-06 18:03:45 +02:00
LCD 47
f5a45095e2 Escape Festschrift: getExec() needs to be escaped before being used. 2014-02-06 16:50:27 +02:00
LCD 47
4c86d054a2 OCLint: minor cleanup. 2014-02-05 10:01:07 +02:00
LCD 47
44d7ffd7e0 makeprgBuild() refactor: add *_before and *_after options. 2014-01-28 21:44:44 +02:00
LCD 47
6c9735335f Remove support for YCM.
YCM has now its own navigation functions, so there is no longer any need
to call it from syntastic.

g:syntastic_delayed_redraws is also gone.  Syntastic doesn't use popup
menus, and the only purpose of this variable was to provide a workaround
for a problem triggered by YCM.

References:
https://github.com/Valloric/YouCompleteMe/pull/763
2014-01-20 10:29:06 +02:00
LCD 47
b9accaa810 Minor cleanup: &cpo guards and formatting. 2014-01-03 11:29:08 +02:00
LCD 47
e9b96912f1 Set clang as the default C/C++/Obj-C/Obj-C++ compiler if gcc is not found. 2014-01-03 08:56:02 +02:00
darkiri
1123e2b0f7 oclint does not have -text option any more 2013-11-20 22:18:04 +01:00
LCD 47
8f35172e00 New chacker cppcheck for C/C++. 2013-11-08 11:11:34 +02:00
LCD 47
fd5a52e0bd Cleanup. 2013-11-04 23:00:51 +02:00
LCD 47
6d81ac5dd0 Registry cleanup, stage 3.
Make syntastic#makeprg#build() a dictionary function.
Remove the mandatory checker argument to syntastic#makeprg#build().
2013-11-02 10:44:06 +02:00
LCD 47
3694908d05 Registry cleanup, stage 2.
(1) Checkers now have an _exec attribute, and an accessor getExec().
(2) CreateAndRegisterChecker() initializes _exec from an optional argument
'exec'.  If this argument is missing, 'name' is used instead.
(3) Functions SyntaxCheckers_*_IsAvailable() are now dictionary functions.
(4) Functions SyntaxCheckers_*_IsAvailable() are now optional.  When
they are missing, they are assumed to return executable(expand(self.getExec())).
(5) Argument 'exe' of function syntastic#makeprg#build() is now optional.
If this argument is missing, expand(self.getExec()) is used to set checker
executables.
2013-11-02 10:44:06 +02:00