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
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
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
b6f6abba86
Merge branch master.
2013-06-07 21:18:29 +03:00
LCD 47
6e90447a31
Cosmetic change: checkpatch is a style checker.
2013-06-07 19:27:48 +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
dfb8b4a0ad
Typo in OClint checker.
2013-05-30 19:45:33 +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
LCD 47
3c5323c103
More errorformar adjustments for OClint.
2013-05-30 18:40:37 +03:00
LCD 47
5393d3b040
Better handling of errorformat for OClint.
2013-05-30 13:01:37 +03:00
LCD 47
76b90995f5
Uniform naming for load guards.
2013-05-29 14:50:29 +03:00
LCD 47
a0aff0f436
OClint can check Objective-C files. Cleanup.
2013-05-29 14:25:33 +03:00
unc0
85cd84e5b0
add oclint syntax checker for c/c++
2013-05-29 16:10:46 +08:00
LCD 47
f4a5842d18
Small fixes.
2013-05-21 15:02:42 +03:00
LCD 47
ea827bfa06
GCC refactor.
2013-05-21 10:03:04 +03:00
LCD 47
3462105740
Splint: kip some assertion messages.
2013-05-20 21:52:49 +03:00
LCD 47
49166270fa
Bug fix.
2013-05-14 21:48:00 +03:00
Martin Grenfell
602bbe7b24
break down some error format strings
...
Most errorformats are now expressed 1 "clause" per line.
2013-05-14 17:36:20 +01:00
LCD 47
eca7c1e1a0
New C checker for Secure Programming Lint.
2013-04-21 22:21:13 +03:00
LCD 47
54cad3696e
Makes sparse aware of &tabstop.
2013-04-03 11:35:02 +03:00
LCD 47
b9dc0829ef
Fixes the sparse checker.
...
Also allows %v to be used in errorformat.
2013-03-27 16:06:47 +02:00
Gregor Uhlenheuer
c3615fb063
Merge pull request #571 from lcd047/cleanup_dupes
...
Checkers cleanup
2013-03-24 12:41:58 -07:00
Gregor Uhlenheuer
747fed932d
Merge pull request #536 from trprice/master
...
Make.vim - Check g:syntastic_c_errorformat so that users can provide their own error format
2013-03-24 11:23:43 -07:00
LCD 47
1cab34063a
Checkers cleanup.
...
Elliminates duplicate code.
Brings gcc cpp, objc, and ada checkers in synch with c.
Minor bug fixes.
2013-03-20 11:31:45 +02:00
Kévin Sztern
d1897fe482
Added documentation for the g:syntastic_c_checker option
2013-03-17 22:45:43 +01:00
Taylor Price
28adb9feb9
Add a check for the error messages variable so that users can specify their own error format.
2013-02-27 11:29:40 -08:00
Martin Grenfell
c41f2c8917
bugfix for c/ycm
2013-02-05 14:54:56 +00:00
Martin Grenfell
8f6dbbced4
Merge pull request #470 from Valloric/ycm_bad_merge_fix
...
Fixing the errors in the ycm files
2013-02-05 01:02:25 -08:00
kongo2002
e00627007d
add 'make' as a C syntax checker
2013-02-04 17:54:59 +01:00
Strahinja Val Markovic
03a81bdb31
Fixing the ycm files
...
The new Syntastic API was not correctly merged into these files. This commit
should fix this.
2013-01-31 18:39:05 -08:00
Martin Grenfell
05feca29d7
fix a couple of bugs in the c/gcc checker
...
(introduced in the epic refactor)
2013-01-31 16:56:29 +00:00
Martin Grenfell
79564f9847
fix a bug with the checkpatch checker
...
(introduced in the epic refactor)
2013-01-31 16:41:16 +00:00
Martin Grenfell
a06632a1ac
Merge branch 'refactor_checker_structure' into merge-with-refactor
...
Conflicts:
syntax_checkers/cpp/gpp.vim
syntax_checkers/objc/gcc.vim
2013-01-31 10:43:22 +00:00
Martin Grenfell
e0b8e87c93
refactor all the syntax checkers to use the new API and dir layout
2013-01-27 20:08:30 +00:00
kongo2002
59f7feb046
Merge remote-tracking branch 'valoric/ycm_support'
2013-01-24 21:10:19 +01:00
Strahinja Val Markovic
0fef368da2
Refactor ycm usage into separate files
2013-01-22 20:29:47 -08:00
Martin Grenfell
6a184f0e37
update checkers to use the new syntastic#makeprg#build()
...
Make all the easy updates. There are still quite a few to do, but in
doing these ones I can see that syntastic#makeprg#build() needs to
accept a few more options. Namely:
* "postargs" that appear after the filename
* "tail" that appears after everything - used for things like
redirecting output and piping to grep/sed/etc
* the filename itself - only the java checkers needed this since they
specify the directory of the file to check as well
There are still a few other things to do as well:
* remove the options from the checkers that are now provided by
syntastic#makeprg#build implicitly - i.e. the checker exe and args.
* also, we need to doc the above implicit checker options
2013-01-20 11:13:01 +00:00
Strahinja Val Markovic
b93e51e260
c, objc and objcpp support
2013-01-14 21:12:53 -08:00
Florent Bruneau
29d5b88e27
c/c++: force language in compiler invocation.
...
That way, the files are properly treated as C/C++ even when they don't
have the standard file extension
Signed-off-by: Florent Bruneau <florent.bruneau@intersec.com>
2012-12-16 18:44:20 +01:00
Florent Bruneau
4b0b81cddc
c/c++: add an option to ignore default include dirs.
...
Signed-off-by: Florent Bruneau <florent.bruneau@intersec.com>
2012-12-16 18:44:20 +01:00
Florent Bruneau
91f3af2862
c: allow using clang to check C.
...
Since clang as a interface compatible with gcc's, use the gcc backend for
both.
Signed-off-by: Florent Bruneau <florent.bruneau@intersec.com>
2012-12-15 13:41:23 +01:00
kongo2002
42279e29f2
add output redirection to null device for C as well
2012-10-09 23:10:35 +02:00
Daniel Walker
e6259f9010
Add sparse as a new C syntax checker.
2012-09-26 17:30:29 -07:00
kongo2002
d4ef5f7284
Merge remote-tracking branch 'daniel-walker/checkpatch-checker'
2012-09-23 23:24:50 +02:00
Daniel Walker
eef0180f8b
Add a syntax checker for the Linux kernel checkpatch.pl utility.
...
I modified the C checker so checkpatch could be given as an alternate
checker for C files.
2012-09-06 18:41:09 -07:00