Commit Graph

997 Commits

Author SHA1 Message Date
Kamil Kisiel
dd8dfc61da Update go.vim errorformat to remove extra spaces. 2013-09-27 08:59:01 -07:00
LCD 47
d251ca822d Minor cleanup. 2013-09-27 10:35:46 +03:00
Kamil Kisiel
538dc2c7ef Support multi-line error messages in the go checker. 2013-09-26 16:01:30 -07:00
LCD 47
7d24ad678f Make the nagelfar checker use the standard args mechanism. 2013-09-26 08:34:05 +03:00
LCD 47
237ebeadb2 Fix pylint version parsing on Windows. 2013-09-25 13:08:50 +03:00
LCD 47
f79e9d2eda Minor cleanup. 2013-09-24 21:43:12 +03:00
LCD 47
bedf88c184 Cleanup parsing versions. 2013-09-24 08:39:07 +03:00
LCD 47
c0f349a4b2 Pylint checker again: calling syntastic#util#parseVersion() is wrong. 2013-09-23 23:29:10 +03:00
LCD 47
8965bd141b Safer version check for pylint. 2013-09-23 23:14:46 +03:00
LCD 47
3eb51f1e26 Cleaner error handling for pylint. 2013-09-20 07:49:19 +03:00
LCD 47
0048156d8f Merge branch 'master' of github.com:scrooloose/syntastic 2013-09-20 01:52:47 +03:00
LCD 47
29839fc89f Merge branch 'gcc_refactor' 2013-09-20 01:52:15 +03:00
LCD 47
935ee1d95f Merge pull request #757 from nougad/erlang_rebar
Add possibility to specify a rebar file as parameter in erlang_check_file.erl
2013-09-19 15:47:52 -07:00
LCD 47
56864a328c Tune flake8 error levels. 2013-09-20 01:45:58 +03:00
LCD 47
356e4338f9 Javac checker: do something sensible when we can't find maven. 2013-09-20 01:37:28 +03:00
LCD 47
80234a062e Fix a minor bug in the javac checker. 2013-09-20 01:27:28 +03:00
LCD 47
8805b83654 Add safety guard for pylint. 2013-09-20 01:16:36 +03:00
LCD 47
a5c198f89b Merge pull request #789 from jbernard/master
Correct expected return values for checkpatch checker
2013-09-19 15:07:42 -07:00
LCD 47
a79e050c13 Merge pull request #790 from stwind/master
Erlang: support files under test/ folder
2013-09-19 15:06:56 -07:00
LCD 47
abd6d08401 Merge pull request #778 from smfoote/dustjs
Add support for dustjs files
2013-09-19 14:47:37 -07:00
Steven Foote
d09095b992 Follow syntastic convention and improve makeprg config 2013-09-19 13:33:24 -07:00
stwind
c541515007 Erlang: support files under test/ folder 2013-09-12 14:29:13 +08:00
Jon Bernard
aaacb92ce2 Correct expected return values for checkpatch checker
checkpatch.pl will return 1 when warnings or errors are found, at least in the
current -next tree.  This commit makes the checkpatch checker work again.
2013-09-11 11:19:42 -04:00
Nicolas Wu
f184fc1b67 Parse multi line warnings correctly 2013-08-31 17:29:31 +01:00
Florian Eitel
8c698b15d1 Add possibility to specify a rebar file as parameter in erlang_check_file.erl
I want to use lib_dirs and sub_dirs from rebar file and run compile with
this paths. So I search for the next rebar.config file and pass this in
g:syntastic_erlc_include_path.

see: https://github.com/scrooloose/syntastic/issues/685
2013-08-19 09:57:27 +02:00
LCD 47
bb9cfc96eb Merge branch 'master' into gcc_refactor 2013-08-16 09:15:09 +03:00
LCD 47
3a03fee48c Adjust for newer weirdness in the python/pylama checker. 2013-08-16 09:14:52 +03:00
LCD 47
8fb6504f63 Cleanup errorformat for tex/lacheck. 2013-08-16 08:07:54 +03:00
LCD 47
6008371c11 Cleanup errorformat for tex/chktex. 2013-08-16 08:05:42 +03:00
LCD 47
10e4f91ae0 Merge branch 'master' into gcc_refactor 2013-08-16 01:52:56 +03:00
LCD 47
7dba68cffb Cleanup the python/pep257 checker. 2013-08-16 01:36:40 +03:00
LCD 47
37c9d118f8 Merge remote-tracking branch 'marc2982/master' 2013-08-15 23:46:33 +03:00
LCD 47
39dabc88af Yet more typescript/tsc errorformat contortions. 2013-08-15 23:00:48 +03:00
LCD 47
9e5319c9a1 More fiddling with typescript/tsc errorformat and args. 2013-08-15 21:41:50 +03:00
Marc Bryan
40229b1255 Add pep257 Python syntax_checker 2013-08-15 11:41:49 -06:00
Sebastien Badia
fab79e3ff6 [issue-767] Remove backslash in puppet-lint log format (refs: #767) 2013-08-15 17:27:17 +02:00
LCD 47
2fd1b4a7c4 Update errorformat for typescript/tsc. 2013-08-15 12:23:04 +03:00
LCD 47
1541e3092e Merge branch 'master' into gcc_refactor 2013-08-15 07:44:40 +03:00
Asa Ayers
5d123a3a6a Coffeelint: Fixed errorformat, last line is optional 2013-08-13 15:52:14 -04:00
LCD 47
7eda5de0ca Haskell cleanup.
Make the "compressWhitespace" filter kill \001 characters.
Make the ghc-mod checker use the "compressWhitespace" filter.
Minor formatting of the hlint checker.
2013-08-12 22:46:20 +03:00
LCD 47
561e2c9431 Minor bug fix in asciidoc checker. 2013-08-12 18:00:37 +03:00
LCD 47
90a199ada7 Merge branch 'master' into gcc_refactor 2013-08-12 17:58:48 +03:00
LCD 47
90dc8f3f8f Make expand special characters in g:syntastic_haml_interpreter. 2013-08-12 17:58:25 +03:00
LCD 47
e9118ca2aa Make jshint executable configurable. 2013-08-12 17:54:57 +03:00
LCD 47
e12217e7be Make csslint executable configurable. 2013-08-12 17:50:36 +03:00
LCD 47
e4a966a517 Pylint: ignore informational messages. 2013-08-12 11:22:12 +03:00
LCD 47
00dd154122 Add handling for coffeelint warnings. Minor fix for errorformat. 2013-08-11 22:48:40 +03:00
Asa Ayers
28d544fe7c Coffeelint: Added return code checking. refs #762 2013-08-11 15:35:17 -04:00
Asa Ayers
33c991dac9 Coffeelint: Added new formats for upcoming v0.5.7 release. fixes #762 2013-08-11 14:35:23 -04:00
LCD 47
1bc5ce6d4c Merge branch 'master' into gcc_refactor 2013-08-11 10:12:40 +03:00
LCD 47
c8bceb4ac3 New checker asciidoc, for (surprise!) asciidoc files. 2013-08-11 10:10:57 +03:00
LCD 47
9b3eab1cb9 Merge branch 'master' into gcc_refactor 2013-08-10 09:03:23 +03:00
LCD 47
5c75519bc8 Add verilator checker for verilog. 2013-08-07 20:41:50 +03:00
LCD 47
74cd2bd9c9 Merge branch 'master' into gcc_refactor 2013-08-07 12:03:13 +03:00
LCD 47
c8a05f4176 Merge branch 'master' into preprocess 2013-08-07 12:02:56 +03:00
LCD 47
755ecfe46b Catch up with the latest pylint contortions. 2013-08-07 12:01:45 +03:00
Steven Foote
6b2ae755a3 Add support for dustjs files
Check dustjs files using swiffer (https://github.com/smfoote/Swiffer.js)
2013-08-05 09:21:08 -07:00
LCD 47
65dbfa0895 Fix checkstyle error levels. Closes #709. 2013-08-01 18:35:08 +03:00
LCD 47
9913819255 Merge branch 'fix_checkstyle' into preprocess 2013-08-01 18:03:01 +03:00
LCD 47
4abed35797 Undo most of the changes to eruby/ruby.
The new proprocess option is not useful here.
2013-08-01 17:26:51 +03:00
LCD 47
af513ff680 Validator checker: check curl return status. 2013-08-01 13:50:50 +03:00
LCD 47
cc5ecf2bdb Replace lmake with equivalent system + lgetexpr.
It's now possible to deal with \0 characters in checkers' output.
Shell escaping is saner and safer.
SyntasticMake() has a new option 'preprocess'.
Checkers html/validator and eruby/ruby now use the new preprocess
option.  Auxilliary script validator_decode.awk is no longer needed.
2013-08-01 13:40:29 +03:00
LCD 47
e380a86180 Shell escaping is safer since commit a1e1108. 2013-07-31 16:32:36 +03:00
LCD 47
f66613e04e Merge branch 'master' into gcc_refactor 2013-07-29 18:51:51 +03:00
LCD 47
bcbc422d26 Merge pull request #741 from zenzike/master
Detangle ghc-mod and hlint
2013-07-29 08:41:14 -07:00
LCD 47
d82ee05a80 Add filetype maps for lhaskell and gentoo-metadata.
Remove checker for gentoo-metadata, since this is now an alias.
2013-07-29 18:16:54 +03:00
Nicolas Wu
ecb5a88026 Compress whitespace 2013-07-29 16:14:36 +01:00
Nicolas Wu
d92a4b79d9 Simplify errorformat 2013-07-29 16:06:09 +01:00
Nicolas Wu
fa0ef8427d Remove hlint option from ghc-mod 2013-07-29 13:02:29 +01:00
Nicolas Wu
8745794ea5 ghc-mod only does check phase 2013-07-29 12:55:38 +01:00
Nicolas Wu
f9302bbb32 Add hlint support 2013-07-29 12:52:22 +01:00
LCD 47
3288b3cddb Add more knobs to the html/tidy checker. 2013-07-28 21:59:23 +03:00
LCD 47
03429e69b6 More eRuby fun with encodings.
Ruby 1.8 doesn't support encodings when opening files.
2013-07-24 23:01:57 +03:00
LCD 47
a498934c4b Merge branch 'master' into gcc_refactor 2013-07-20 09:46:18 +03:00
LCD 47
bd67cec8c7 Scala checkers: minor cleanup. 2013-07-20 09:45:40 +03:00
LCD 47
7d913e7165 Merge branch 'master' into gcc_refactor 2013-07-20 09:28:27 +03:00
kongo2002
f68fb27270 scala fsc: use util#shexpand() instead 2013-07-19 01:05:19 +02:00
kongo2002
9e5c15f966 scala: add fsc syntax checker 2013-07-19 01:01:33 +02:00
LCD 47
d8d8a300d7 Rst2pseudoxml: minor adjustment of error levels. 2013-07-17 14:55:38 +03:00
LCD 47
366360dcc1 Typos in the puppetlint checker. 2013-07-16 22:30:28 +03:00
LCD 47
9d15f1f891 Merge branch 'master' into gcc_refactor 2013-07-15 18:38:57 +03:00
LCD 47
ba0f349dbf Pylama: pep8, pep257, and mccabe are style checkers. 2013-07-15 11:24:41 +03:00
LCD 47
4b9bf4405b Pylama: new checker for Python 2.
Minor refactoring.
2013-07-14 19:13:18 +03:00
LCD 47
dce4c76c21 Merge branch 'master' into gcc_refactor 2013-07-12 08:09:33 +03:00
LCD 47
8c05dbf16e A first attempt at checking the exit code from the checkers. 2013-07-12 08:08:41 +03:00
LCD 47
3e46bcf71a Version check for rubocop.
Only rubocop versions 0.9.0 or later are supported.
2013-07-12 07:01:16 +03:00
LCD 47
0f6dad6b4c Merge remote-tracking branch 'sds/fix-rubocop-errorformat' 2013-07-12 06:52:09 +03:00
Shane da Silva
baa95470b6 Change --emacs flag to --format emacs for RuboCop
The `--emacs` flag has been deprecated. Switch to specifying
`--format emacs` so that this doesn't break when RuboCop 1.0 is
released.
2013-07-11 12:30:01 -07:00
Shane da Silva
0975a2f948 Fix errorformat for RuboCop checker
The errorformat for the RuboCop checker was missing the capture group
for the column number of the error/warning, which resulted in the
location list attempting to jump to 'filename.rb:80', which would
attempt to open a new file.

The solution was to add the "%c" to capture the column number of the
error.
2013-07-11 12:22:38 -07:00
LCD 47
7335fa6e82 Merge branch 'master' into gcc_refactor 2013-07-11 09:35:13 +03:00
LCD 47
bc6ca26f68 Removed erb checker for eRuby.
Rationale: ruby.vim is functionally identical, and faster.
2013-07-11 09:31:19 +03:00
LCD 47
9f7d5d7447 Errorformat adjustments for podchecker.
Deal with error messages like this:

    *** ERROR: =over on line 7 without closing =back at line EOF in file ...
2013-07-10 14:29:24 +03:00
LCD 47
6bff80366a Merge branch 'master' into gcc_refactor 2013-07-10 11:21:22 +03:00
LCD 47
f4ccd312ee More shell escaping bugs. 2013-07-10 11:20:54 +03:00
LCD 47
a4a6dd6fcf Merge branch 'master' into gcc_refactor 2013-07-10 10:31:41 +03:00
LCD 47
a1e1108c8e Fix a bug related to shell escaping. 2013-07-10 10:30:41 +03:00
LCD 47
49e6d23168 Merge branch 'master' into gcc_refactor 2013-07-08 11:31:03 +03:00
LCD 47
69951dfe6e Cleanup. 2013-07-08 11:17:00 +03:00
Justin Donaldson
491f5a9e9b redirect output to dev null for syntax checking 2013-07-07 14:36:22 -07:00
Justin Donaldson
5ea175b6c5 ignore output by default 2013-07-07 14:29:59 -07:00
Justin Donaldson
21e38bc3bf add hss syntax checker 2013-07-07 13:36:35 -07:00
LCD 47
fd01b9091d Merge branch 'master' into gcc_refactor 2013-07-06 09:23:46 +03:00
LCD 47
3d614fb2bd Cleanup. 2013-07-06 09:08:07 +03:00
Thomas Holmes
e74843c941 Mix needs the cwd to be set to the mix file. 2013-07-05 22:32:55 -04:00
Thomas Holmes
8f363a4ecb Fix Elixir mix detection.
Syntax checker now looks up thorugh its parents to find if it is part
of a mix project.
2013-07-05 17:22:10 -04:00
Thomas Holmes
2d537305f6 Refactor FindInParent from haxe.vim to be a util function 2013-07-05 17:12:06 -04:00
LCD 47
fa961edac6 Merge branch 'master' into gcc_refactor 2013-07-04 21:30:52 +03:00
LCD 47
6ba8e651cb Make shell escaping less produce fewer useless quotes.
Function inspired by tpope's vim-dispatch.
2013-07-04 21:04:20 +03:00
LCD 47
0f1d451d96 Fix for Rails syntax.
There is now little point in running this checker rather than the plain
ruby one.
2013-07-03 21:36:14 +03:00
LCD 47
b2c6ac164d Merge branch 'master' into gcc_refactor 2013-07-03 10:49:50 +03:00
jvenant
aefae69985 re-add pom timestamp management 2013-07-01 18:57:21 +02:00
jvenant
882298ed02 correct test directory property name 2013-07-01 18:50:48 +02:00
jvenant
dc351c8d31 Add 4 features to maven management :
* Retrieve maven properties from help:effective-pom
    * Extract targets path from maven properties
    * Recursively search pom file in parents (using findfile)
    * Use a dictionary to cache classpath for each project pom
2013-07-01 18:23:56 +02:00
LCD 47
582a717ff8 Merge branch 'master' into gcc_refactor 2013-07-01 18:18:35 +03:00
LCD 47
cb71439de5 Make the haxe checker aware of g:vaxe_hxml. 2013-07-01 18:14:15 +03:00
LCD 47
b00b7a2cea Make the haxe checker aware of vaxe. 2013-07-01 10:37:52 +03:00
LCD 47
593cf4e123 Merge branch 'master' into gcc_refactor 2013-06-29 13:09:21 +03:00
LCD 47
8751e32710 Bug fix: incomplete registering of cloned checkers.
Scenario:

- a C file is recognized as having filetype cpp
- run :SyntasticInfo
- run :setf c
- run :SyntasticInfo again

The only checker recognized will be oclint.  The reason is, oclint is
registered as a c checker when called from cpp initialization, and that
prevents registering other c checkers when calling ':setf c'.

Solution: always initialize all checkers for a filetype.
2013-06-29 13:03:28 +03:00
LCD 47
24876abc32 More encoding problems in the eruby/ruby checker. 2013-06-29 10:55:43 +03:00
LCD 47
6cc0ed4003 Make checkstyle aware of message priorities.
Known bug: this breaks if the name of the file being checked contain one
of the characters <, >, ', ", &.
2013-06-28 21:24:38 +03:00
LCD 47
607ce98107 Checkstyle is (surprise!) a style checker. 2013-06-28 08:43:16 +03:00
LCD 47
344701c9c3 Change the gfortran checker to use syntastic#c#GetLocList(). 2013-06-26 16:58:27 +03:00
LCD 47
f48c500de9 Merge branch 'master' into gcc_refactor 2013-06-26 16:21:20 +03:00
LCD 47
6239284d16 Variable g:systastic_puppet_lint_arguments is deprecated. 2013-06-25 21:12:23 +03:00
LCD 47
3e4501c1ff More refactoring: add s:GetCheckerVar(). 2013-06-25 09:59:07 +03:00
LCD 47
907ef20e3c New preprocess function "filterForeignErrors". Cleanup. 2013-06-24 11:46:27 +03:00
LCD 47
5e196e67c5 Merge branch 'master' into gcc_refactor 2013-06-19 12:09:48 +03:00
LCD 47
9aef6b24ad Merge branch 'split_puppet' 2013-06-19 12:07:42 +03:00
LCD 47
05a3ca32ba Puppetlint doesn't produce useful results without puppet. 2013-06-19 12:07:20 +03:00
LCD 47
2cbcf7dcc7 Give up trying to set an encoding for erb. 2013-06-19 11:47:27 +03:00
LCD 47
48bb7bf816 Merge branch 'master' into gcc_refactor 2013-06-18 19:57:27 +03:00
LCD 47
c21f9e0f86 Rename eruby.vim -> erb.vim. 2013-06-18 19:47:26 +03:00
LCD 47
e7a3fd62a6 Clean erb checker. 2013-06-18 19:47:05 +03:00
Grzegorz Smajdor
d9d641fe0a provide a syntax check for eruby file
(cherry picked from commit e6ff3de83b9fee4f92dbc3042cf5fbcc48464f73)
2013-06-18 19:08:52 +03:00
LCD 47
a7243e87a6 Split the puppet checker into puppet and puppetlint. 2013-06-18 14:40:24 +03:00
LCD 47
f712fd959a New checker: cobol/cobc (OpenCOBOL). 2013-06-17 14:52:12 +03:00
LCD 47
ff2b615093 Merge branch 'master' into gcc_refactor 2013-06-17 14:02:44 +03:00
LCD 47
ede4127f13 eRuby: take into account &fileencoding. 2013-06-12 08:00:27 +03:00
Manic Chuang
73a83a3208 Let eruby checker can handle UTF-8 2013-06-12 12:08:42 +08:00
LCD 47
da7002516b Added option 'cwd' to SyntasticMake(). 2013-06-11 21:36:44 +03:00
LCD 47
4284fbf522 Merge branch 'master' into gcc_refactor 2013-06-10 23:25:21 +03:00
LCD 47
197ca09edd Bug fix: proper escaping in eruby. Fixes #29. 2013-06-08 21:08:45 +03:00
LCD 47
aa73921d30 Merge branch 'master' into gcc_refactor 2013-06-08 09:47:17 +03:00
LCD 47
4ae72576da Merge pull request #679 from orenhe/shell_dont_validate_archaic_posix
sh: do not enforce POSIX validation on bash/zsh scripts
2013-06-07 11:51:01 -07:00
LCD 47
b6f6abba86 Merge branch master. 2013-06-07 21:18:29 +03:00
LCD 47
fd38284b28 Cleanup. 2013-06-07 20:56:39 +03:00
LCD 47
6e90447a31 Cosmetic change: checkpatch is a style checker. 2013-06-07 19:27:48 +03:00
LCD 47
000f965409 Merge branch 'master' into gcc_refactor 2013-06-07 12:27:50 +03:00
LCD 47
e8579fc8c9 Update errorformat for sass. Fixes #42. 2013-06-07 11:50:54 +03:00
Oren Held
3859d89ad7 sh: do not enforce POSIX validation on bash/zsh scripts
The POSIX check warns about perfectly legal bash/zsh statements such as the 'local' keyword.
It's archaic and irrelevant nowadays.
2013-06-07 11:15:15 +03:00