Commit Graph

78 Commits

Author SHA1 Message Date
LCD 47
10788ac8d7 Javac checker: cleanup. 2015-11-26 11:37:44 +02:00
wsdjeg
094c3631c3 fix maven project which has set srcdir or testsrc dir 2015-11-26 01:15:20 +08:00
wsdjeg
3593d1697f fix maven project which has set srcdir or testsrc dir 2015-11-26 01:11:06 +08:00
LCD 47
ae7e00aad6 Revert "Javac checker: minor optimisation."
This reverts commit cfdcdfaa9f.
2015-11-05 20:21:42 +02:00
LCD 47
cfdcdfaa9f Javac checker: minor optimisation.
Allow g:syntastic_java_javac_delete_output to take effect regardless of
g:syntastic_java_javac_autoload_maven_classpat.
2015-11-05 19:47:40 +02:00
LCD 47
1885e867bf Checkstyle checker: make checkstyle_classpath an actual classpath. 2015-09-20 11:35:04 +03:00
LCD 47
1be907716e Javac checker: make checker-specific commands available at startup. 2015-09-06 19:39:17 +03:00
LCD 47
1ae5589f95 Javac checker: attempt at fixing errorformat. 2015-08-06 18:23:05 +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
Ryan Turner
8269ba278d Basic path substitution for g:syntastic_java_javac_custom_classpath_command
Allows '%FILE_PATH%', '%FILE_NAME%' and '%FILE_DIR%' to be used in the
Java custom classpath command to refer to the full file path, the file
basename, and the file directory, respectively.
2015-06-24 18:12:30 -07: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
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
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
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
a7841c869b Minor cleanup. 2015-02-13 11:56:09 +02:00
LCD 47
2d27fd93d0 Formatting: use the full name for execute. 2015-01-27 10:05:58 +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
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
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
7246fac6c0 Better handling of temporary directories.
New function syntastic#util#rmrf(), inspired by Marc Weber.  Cleanup.
2014-10-02 20:05:01 +03:00
LCD 47
f56742a48d Safer handling of temporary directories. 2014-10-02 10:05:24 +03:00
LCD 47
fe6003c3be Checkstyle checker: cleanup. 2014-09-26 15:02:11 +03:00
LCD 47
4c5ff42723 New option for SyntasticMake(): env.
Setting environment variables by prefixing commands with 'VARIABLE=value'
doesn't work under csh.  Solution: let Vim set the environment variables.
2014-07-07 19:04:22 +03:00
LCD 47
618b41428b Merge remote-tracking branch 'cww/master' 2014-04-19 10:14:05 +03:00
LCD 47
ebbcdd0c1a Cleanup for java/javac. 2014-04-19 10:03:53 +03:00
Colin Wetherbee
b1b16500af javac: Allow users to specify Maven options 2014-04-17 17:42:27 -04:00
LCD 47
4ded4f4047 Expand a few config parameters. 2014-03-20 07:18:30 +02:00
LCD 47
fb71514648 Move preprocess functions to their own file. 2014-02-26 10:31:38 +02:00
LCD 47
c10aa8d6d5 More shell escape fixes. 2014-02-13 17:38:47 +02:00
LCD 47
44d7ffd7e0 makeprgBuild() refactor: add *_before and *_after options. 2014-01-28 21:44:44 +02:00
hkbarton
2ab8486f07 bug fix for issue962 javac classpath resolve bug - add windows support 2014-01-27 12:52:24 -08:00
hkbarton
95d76b21c8 bug fix for issue962 javac classpath resolve bug 2014-01-27 12:19:28 -08:00
LCD 47
f3240e6001 Cleanup: shut up lint warnings, formatting, doc nit. 2014-01-26 09:10:26 +02:00
LCD 47
8151960ec5 More safety nets for java/checkstyle preprocessing. 2014-01-14 07:21:11 +02:00
LCD 47
600656abdf Slightly safer preprocessing for java/checkstyle. 2014-01-13 12:50:08 +02:00
troydm
0619f65ed5 javac checker custom classpath command added 2014-01-04 23:09:18 +04:00
troydm
4a7ca826b0 javac checker config file loading/editing added 2014-01-04 22:31:55 +04:00
LCD 47
b9accaa810 Minor cleanup: &cpo guards and formatting. 2014-01-03 11:29:08 +02:00
LCD 47
fa2e6b96d9 Minor cleanup: replace match() by stridx() when appropriate. 2013-11-26 23:19:01 +02:00
LCD 47
822639755d Javac: fix path munging under Cygwin. 2013-11-12 20:44:32 +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