Commit Graph

90 Commits

Author SHA1 Message Date
LCD 47
7c638f6f70 Minor cleanup. 2013-11-11 22:14:05 +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
LCD 47
28bce98a68 Registry cleanup, stage 1.
Make SyntaxCheckers_*_GetLocList() dictionary functions.
Pass a reference to the current checker to syntastic#makeprg#build().
Add an optional 'redirect' argument to CreateAndRegisterChecker().
Change the sh checker to use the new dictionary functions.
Add a new registry method getLocListRaw() (needed for the sh checker).
2013-11-02 10:44:06 +02:00
LCD 47
cd1d1a2a55 Cleanup. 2013-11-01 11:51:04 +02:00
LCD 47
e67e5998da Moved initialization of g:syntastic_delayed_redraws to util.vim. 2013-10-30 07:21:46 +02:00
LCD 47
5827b6a416 Document g:syntastic_delayed_redraws. Minor cleanup. 2013-10-29 17:51:15 +02:00
LCD 47
f623d1ea05 Workaround for a Vim crash.
Older versions of Vim can crash if redraw is called while a popup is
visible.  This commit adds a variable g:syntastic_delayed_redraws that
instructs syntastic to move redraws to a CursorHold / CursorHoldI
handler if redraw is called while pumvisible() is true.
2013-10-29 09:09:34 +02:00
LCD 47
ccef916d48 More magic / nomagic fun. 2013-10-25 15:56:09 +03:00
LCD 47
95aab2530e Try to avoid fun with magic / nomagic by qualifying regexps. 2013-10-25 15:46:16 +03:00
LCD 47
d238665385 Fix unwanted filter() and map() side effects. Minor cleanup. 2013-10-23 12:59:23 +03:00
LCD 47
bedf88c184 Cleanup parsing versions. 2013-09-24 08:39:07 +03:00
LCD 47
1541e3092e Merge branch 'master' into gcc_refactor 2013-08-15 07:44:40 +03:00
LCD 47
7550c86016 Leftover from 7eda5de. How embarrasing. 2013-08-13 09:01:04 +03:00
LCD 47
9b3eab1cb9 Merge branch 'master' into gcc_refactor 2013-08-10 09:03:23 +03:00
LCD 47
05dea5febe Fix shell escaping. 2013-08-02 11:06:48 +03: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
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
77004ad0cb Merge branch 'master' into gcc_refactor 2013-07-30 23:19:03 +03:00
MasterLambaster
0f5363f6d2 Ruby header file detection should work with all ruby versions
* Config module generates warning in ruby >= 1.9 that generates error
* Ruby >= 1.9 have different header file config name
2013-07-29 23:38:16 +03:00
LCD 47
8aafac34d2 Cleanup. 2013-07-12 08:11:20 +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
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
fd01b9091d Merge branch 'master' into gcc_refactor 2013-07-06 09:23:46 +03: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
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
f641f68683 More refactoring: add s:GetCflags(). 2013-06-28 20:25:17 +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
f9c30c3215 Use default includes only with the C-like checkers. 2013-06-21 11:42:14 +03:00
LCD 47
ff2b615093 Merge branch 'master' into gcc_refactor 2013-06-17 14:02:44 +03:00
LCD 47
af9d6f627b Print a message if no active checkers are found. 2013-06-15 07:36:20 +03:00
LCD 47
4284fbf522 Merge branch 'master' into gcc_refactor 2013-06-10 23:25:21 +03:00
LCD 47
6574872b55 Preserve order in checker lists. Fixes #684.
Keep order from g:syntastic_[filetype]_checkers and s:defaultCheckers in
getActiveCheckers().  Keep order in syntastic#util#unique().
2013-06-10 23:14:59 +03:00
LCD 47
c5aa22f4e4 Remove leading and trailing spaces when reading C config files. 2013-06-08 11:33:18 +03:00
LCD 47
45f9e93b00 Bug fix: proper escaping in config files. 2013-06-08 11:09:39 +03:00
LCD 47
b6f6abba86 Merge branch master. 2013-06-07 21:18:29 +03:00
LCD 47
d3d4ff3935 Merge branch 'master' into gcc_refactor 2013-06-06 11:10:10 +03:00
LCD 47
31bed2d6cf Update description of syntastic#makeprg#build(). 2013-06-02 18:28:42 +03:00
LCD 47
63eceb6969 Merge branch 'master' into gcc_refactor 2013-05-31 21:15:55 +03:00
LCD 47
d3354f175c Make syntastic#makeprg#build() aware of filetypes. Fixes #667. 2013-05-31 21:05:45 +03:00
LCD 47
a8be73d113 Moved syntastic#gcc#GetLocList() to autoload/syntastic/c.vim. 2013-05-30 19:44:12 +03:00
LCD 47
4a6ece567a Merge branch 'master' into gcc_refactor 2013-05-30 19:29:12 +03:00