Commit Graph

711 Commits

Author SHA1 Message Date
LCD 47
b1b79009e3 Manual: Fix filetype_map example. 2015-07-02 19:44:04 +03:00
LCD 47
4708cdd122 Add a mechanism for handling checkers disabled for security. 2015-07-01 10:56:09 +03:00
LCD 47
d75f3e5e8e Buffer-local security guards for perl/perl, elixirelixir, and r/svtools. 2015-07-01 01:22:41 +03:00
LCD 47
8e672780e7 Show checker output along with "checker returned abnormal status". 2015-06-26 08:01:20 +03:00
LCD 47
31cba018b3 Safety net: avoid suffixesadd interfering with findfile(). 2015-06-26 07:28:50 +03:00
LCD 47
176e32ca4d Cleanup. 2015-06-26 07:01:05 +03:00
LCD 47
c9fc0d41e7 Checker javac: _really_ fix shell escaping in custom_classpath_command. 2015-06-25 23:21:47 +03:00
LCD 47
dc15fa08c5 Checker javac: fix shell escaping in custom_classpath_command. 2015-06-25 19:09:46 +03:00
LCD 47
c39563d95b Checker javac: cleanup. 2015-06-25 16:27:58 +03:00
LCD 47
dbb28cd847 Ada checker: disable generation of intermediate files. 2015-06-25 10:59:00 +03:00
LCD 47
131ec84e61 New checker for reStructuredText: sphinx. 2015-06-24 11:00:58 +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
98e79d85f0 Nix checker: cleanup. 2015-06-20 12:32:55 +03:00
Tim Cuthbertson
c840655d13 Add support for .nix files 2015-06-20 19:06:53 +10:00
LCD 47
b609b3bdd3 Checker ghc-mod: attempt to fix filename encodings.
ghc-mod will always use UTF-8 encoding on output, regardless of the
current encoding.  This is a problem for syntastic because it mangles
the filenames.  The commit below is a (perhaps misguided) attempt to
fix that, by calling iconv() to re-encode output from ghc-mod to Vim's
encoding.
2015-06-18 13:27:41 +03:00
LCD 47
b8682c3029 Merge remote-tracking branch 'origin/pr/1447' 2015-06-12 13:29:56 +03:00
LCD 47
cb9424c9ec README: formatting. 2015-06-04 10:27:22 +03:00
LCD 47
0470fff0c5 Checker python/pylama: add option "--force". 2015-06-03 08:13:50 +03:00
LCD 47
e15ebd3367 Go checker: no longer attempt to redirect output of "go build".
Running "go build -o /dev/null" in a main package that lives in GOPATH
produces an error message:

build output "/dev/null" already exists and is not an object file

This issue won't be addressed on the Go side:

http://code.google.com/p/go/issues/detail?id=4851
https://github.com/golang/go/issues/4851

Consequently, syntastic leaves this to the user to resolve.  Set
g:syntastic_go_go_build_args to something including "-o /some/dir"
to redirect the output of "go build".
2015-06-03 07:42:19 +03:00
LCD 47
5c6e78a271 README: suggest a safer cabbrev in FAQ. 2015-05-29 20:36:23 +03:00
LCD 47
25ad02e12d README: add a link to the vim-eastwood plugin. 2015-05-20 10:39:51 +03:00
LCD 47
981196fdc3 Flow checker: use the "status" command. 2015-05-19 23:01:39 +03:00
LCD 47
ae405fed8d Manual: add a note about zsh and rvm with MacVim. 2015-05-14 09:49:57 +03:00
LCD 47
5dba05af4f Bashate: make errorformat more permissive. 2015-05-09 12:25:58 +03:00
LCD 47
48b75c455a Tslint is a style checker. 2015-05-09 07:27:20 +03:00
LCD 47
a8771fe6b7 Puppet-lint checker: --log-format now expects %{line}. 2015-05-06 16:14:58 +03:00
LCD 47
24bb293574 Minor comment fix. 2015-05-03 19:59:35 +03:00
LCD 47
4605886ea7 Safer opening of the error window (@blueyed). 2015-05-03 19:45:24 +03:00
LCD 47
3a30321fd0 Fix loclist timestamps for refresh (@blueyed). 2015-05-03 19:26:56 +03:00
LCD 47
9af644dace Remove comments from the tidy checker.
This is supposed to encourage people to go to the wiki when looking for
user-level documentation.  It also removes outdated links.
2015-04-24 23:40:17 +03:00
LCD 47
4fbe5f52c7 Flow checker: recover from negative end offsets. 2015-04-22 08:25:04 +03:00
LCD 47
48090a19f2 Updates to the manual.
Update section about powerline.
Remove section about vim-airline (it now works out of the box).
2015-04-17 13:28:54 +03:00
LCD 47
b152ac3db3 The gfortran checker now supports Intel Fortran.
It's now possible to set g:syntastic_fortran_compiler to 'ifort' to use
Intel Fortran instead of GNU Fortran.
2015-04-15 14:29:40 +03:00
LCD 47
80c5a047c0 Bug fix: b:cflags again. 2015-04-15 12:54:07 +03:00
LCD 47
2cf32d7be3 Bug fix: b:cflags applies only to C and C++ checkers. 2015-04-14 10:53:30 +03:00
LCD 47
fe436371b4 Checker tsc: version 1.5 has option "--noEmit". 2015-04-11 14:31:52 +03:00
Brandon Burnett
a17db15e7d In some cases vim will set the filetype of *.pp files to 'pe-puppet' instead of 'puppet'. There is no functional difference so lets map 'pe-puppet' to 'puppet' so we can use the same default checkers. 2015-04-06 19:13:57 +00:00
Scott Stevenson
710a854f6a Remove shellcheck checker for zsh
zsh support has been removed from ShellCheck as of
[v0.3.6](https://github.com/koalaman/shellcheck/releases/tag/v0.3.6).
2015-04-02 22:20:10 +01:00
LCD 47
ebfba7ec3d Puppet-lint no longer requires puppet. 2015-04-01 08:55:08 +03:00
LCD 47
2337c65b37 Keep track of b:changedtick. 2015-03-30 13:44:07 +03:00
LCD 47
dac07db617 Cleanup: shut up most vint warnings. 2015-03-25 18:44:34 +02:00
LCD 47
ac96ae4a27 Manual: add notes about powerline, vim-airline, and vim-go. 2015-03-23 08:23:30 +02:00
LCD 47
ebadf9aff5 Windows brain damage: executable('foo') doesn't mean 'foo' is executable. 2015-03-19 18:09:35 +02:00
LCD 47
b905f6d08a Mercury checker: cleanup. 2015-03-19 08:33:54 +02:00
LCD 47
84add5b7f9 Checkers using curl(1): allow redirections.
Unrelated: the main URL for validator's API is now HTTPS.
2015-03-15 19:43:50 +02:00
LCD 47
7b8526b966 Flow checker: bail out if there is no .flowconfig. 2015-03-15 07:30:50 +02:00
LCD 47
5b0d3dc8bc README: rephrase. 2015-03-14 07:32:43 +02:00
LCD 47
da1ecc0bb8 FAQ: add a note about $PATH. 2015-03-14 07:29:06 +02:00
LCD 47
231a78f5de Manual: update.
Add a note about tcsh.
Add a note about &shellslash.
Re-order a few sections.
2015-03-13 15:07:54 +02:00
LCD 47
67fc031e04 Manual: fix examples to use g:syntastic_shell. 2015-03-12 20:31:36 +02:00
LCD 47
47eabae37d New global option: "shell".
Undocumented option "bash_hack" is gone.
New function syntastic#util#system(), that sets up the environment and
is now used consistently everywhere.
Unrelated fix for the elixir checker (syntax).
2015-03-12 19:20:06 +02:00
LCD 47
869c5a726d Camlp4o checker: better error highlighting. 2015-03-12 10:40:00 +02:00
LCD 47
48812d8333 Cleanup: exit codes are meaningless for checkers without exec. 2015-03-11 10:04:13 +02:00
LCD 47
c297fbebbd README: update address of tidy-html5. 2015-03-10 15:58:56 +02:00
LCD 47
69d20efc62 Elixir: handle warnings. 2015-03-09 07:50:40 +02:00
LCD 47
fe3a48f33e Ruby checkers: make warning flags configurable. 2015-03-08 08:27:28 +02:00
LCD 47
272fc7df3a Manual: update the note about vim-auto-save. 2015-03-02 13:28:49 +02:00
LCD 47
413cdb354e Flow checker: make exe configurable. 2015-03-02 13:14:40 +02:00
LCD 47
5214f00a17 New checker for API Blueprint: snowcrash. 2015-02-24 15:42:01 +02:00
LCD 47
a7758aa188 New checker for Vim: vint. 2015-02-23 17:52:09 +02:00
LCD 47
b427af1e0f Cleanup: case-sensitive comparisons. 2015-02-23 17:09:00 +02:00
LCD 47
0e23cb0977 Cleanup.
Add the "abort" attribute to the core functions.
Undefined function s:CygwinPath() in autoload/syntastic/util.vim.
2015-02-23 16:40:53 +02:00
LCD 47
fc8f8e5006 RAEDME: minor rephrase. 2015-02-23 15:59:38 +02:00
LCD 47
2a07c4acd9 New checker for SML: smlnj. 2015-02-23 15:49:38 +02:00
LCD 47
c452935384 README: add a link syntastic-more. 2015-02-23 15:00:58 +02:00
LCD 47
399389c84e README: add links to a few third party checkers. 2015-02-23 14:33:29 +02:00
LCD 47
c233c9bbd5 README: update URL for the Rust checker. 2015-02-23 09:32:02 +02:00
LCD 47
f4b064e2de README: rephrase. 2015-02-23 09:06:01 +02:00
LCD 47
71aa71bc1b README: more details about enabling checkers. 2015-02-22 19:03:44 +02:00
LCD 47
bccfdea4e8 Handling redefinition of exec: minor optimisation. 2015-02-22 18:50:10 +02:00
LCD 47
8256e43510 Typo. 2015-02-20 22:20:24 +02:00
LCD 47
471ce96afe Remove the xcrun checker for Swift.
A better third-party checker is included in Kevin Ballard's plugin
[vim-swift](https://github.com/kballard/vim-swift).
2015-02-20 22:15:09 +02:00
LCD 47
d73546dd4a Java checker: more path fixes. 2015-02-20 16:15:44 +02:00
LCD 47
cf4e18d3f7 Java checker: fix path detection. 2015-02-20 09:47:43 +02:00
LCD 47
776d4175cd Handle redefinition of exec after the checker has run. 2015-02-19 11:43:35 +02:00
LCD 47
4782184020 Security: disable the swift/xcrun checker by default.
The checker executes the code in your files. This is probably fine if
you wrote the files yourself, but it can be a problem if you're trying
to check third party files. If you are 100% willing to let Vim run the
code in your files, set g:syntastic_enable_swift_xcrun_checker to 1 in
your vimrc.

Reference:

https://github.com/scrooloose/syntastic/issues/1326
2015-02-17 10:02:36 +02:00
LCD 47
372daff1a8 Reek checker: update.
Option "--quiet" is gone in reek 2.0.0.
Add return code checks.
2015-02-15 18:30:17 +02:00
LCD 47
157ad8d432 Minor cleanup. 2015-02-13 14:49:53 +02:00
LCD 47
a7841c869b Minor cleanup. 2015-02-13 11:56:09 +02:00
LCD 47
dde4a9be9c Formatting. 2015-02-13 11:05:04 +02:00
LCD 47
7cbb79b734 More detailed debug information. 2015-02-12 14:04:35 +02:00
LCD 47
c1a2098954 New checker for JavaScript: standard. 2015-02-11 23:53:46 +02:00
LCD 47
3ea613f539 Xmllint: make "--xinclude" and "--postvalid" optional. 2015-02-09 18:34:26 +02:00
LCD 47
7d9aec0bee Prospector no longer accepts option "--external-config". 2015-02-05 16:37:50 +02:00
LCD 47
6b76c26cba Puppet checker: don't redirect stderr when checking version. 2015-01-31 12:38:13 +02:00
LCD 47
b69efd0723 README: Swift is now supported. 2015-01-31 08:39:31 +02:00
LCD 47
cf012bdea8 Version logging: minor cleanup. 2015-01-31 08:19:15 +02:00
LCD 47
b9608e77be Xcrun: cleanup. 2015-01-31 08:12:23 +02:00
Tom Fogg
46fc1ec684 Merge branch 'master' of https://github.com/scrooloose/syntastic 2015-01-30 21:45:38 +00:00
LCD 47
106c772b05 More detailed logging for version operations. 2015-01-30 19:40:32 +02:00
Tom Fogg
a76370c14a add swift syntax checker support using xcrun 2015-01-30 15:09:31 +00:00
LCD 47
2d27fd93d0 Formatting: use the full name for execute. 2015-01-27 10:05:58 +02:00
LCD 47
cb64516d4d Version handling: deal with errors. 2015-01-23 11:49:08 +02:00
LCD 47
1ba96436c1 Cleanup: handling versions. Minor optimisation. 2015-01-23 11:39:42 +02:00
LCD 47
36ead6d75c Bump version number. 2015-01-19 08:48:35 +02:00
LCD 47
2073cee050 More safety checks. 2015-01-17 16:37:56 +02:00
LCD 47
38f46b6ac8 A (hopefully) safer "rm -rf".
Also remove javac option g:syntastic_java_javac_temp_dir, as it's way to
easy to make it trigger a disaster.
2015-01-17 14:26:24 +02:00
LCD 47
5359f7f4e1 Python checker: new option g:syntastic_python_python_use_codec (@delfick).
The new option tells the checket to load the file in memory and look for
a comment line "# coding: <codec>".  If found, the named codec is used
to decode the file before checking.  This makes sense only if said codec
doesn't change the line numbers of the initial file.  An example of such
codec is "spec" provided by the "Nose of Yeti" library:

https://github.com/delfick/nose-of-yeti
2015-01-17 11:17:35 +02:00
LCD 47
c60e440d00 Go checker: more contortions around "go_go_build_args" and "go_go_test_args". 2015-01-15 17:51:15 +02:00