Peter Ross
c7d22c5d67
patcheck: warn about assert usage
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Diego Biurrun
6252040e77
Replace `` by $() syntax in shell scripts.
...
$() is easier to nest and POSIX, which we require in other places.
14 years ago
Brad
ff3be572ef
patcheck: Allow overiding grep program(s) through environment variables.
...
patcheck hardcodes the binary names for grep/egrep. This makes overriding the
binary names a pain, e.g. when calling a GNU version of grep on BSD systems.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Diego Biurrun
14622ef05d
Replace references to ffmpeg-devel with libav-devel; fix roundup URL.
14 years ago
Michael Niedermayer
54ce8a4c8b
Clarify whitespace nitpicks in patcheck.
...
Originally committed as revision 25435 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
f47d172f13
Check for more 'indent -kr' whitespace details.
...
Originally committed as revision 25417 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Benoit Fouet
3ea4d9423f
Issue a warning when fed with misformatted one-line doxygen comments.
...
Originally committed as revision 24660 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
78db142acb
Warn about "/** text" comments.
...
Originally committed as revision 24574 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Rafaël Carré
09d7da865f
Accept stdin as input for patcheck.
...
Patch by Rafaël Carré, rafael d carre a gmail
Originally committed as revision 24499 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Rafaël Carré
2543c7fb1a
grep Changelog entry from unified diffs
...
Patch by Rafaël Carré, rafael d carre a gmail
Originally committed as revision 24248 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
c4e12a9fa4
Check for doxy filetag with filename
...
Originally committed as revision 23975 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Eli Friedman
35614edb2d
Add patcheck checks for assignments that look like compound assignments
...
Patch by Eli Friedman, eli dot friedman at gmail
Originally committed as revision 23841 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benoit Fouet
b6c265ec2b
Improve rule for possibly never read variables.
...
Originally committed as revision 23578 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Daniel Verkamp
4a0cf686f8
patcheck: Escape parentheses in grep calls
...
Originally committed as revision 22563 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
260dfb1a3c
patcheck: check that pix_fmt etc. initializers are const
...
Originally committed as revision 20493 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
9e793a2462
Check for INIT_VLC_USE_STATIC
...
Originally committed as revision 18200 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
f11c9ee996
patcheck: Replace non-POSIX echo -e with printf.
...
Originally committed as revision 17943 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
70ec53a0bf
Detect static prototypes.
...
Originally committed as revision 17649 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
f55e1812d0
Improve detection of non doxy comments.
...
Originally committed as revision 17648 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
0f485a9c8b
Fix misdetection of #else in 'missing } prior to else'.
...
Originally committed as revision 17647 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
214ee5f556
Search for things like "int *src" without const.
...
Originally committed as revision 17529 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
6c25f34682
Fix @param[in/out] handling
...
Originally committed as revision 17395 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
be3e68b277
Check for duplicate const/static/inline.
...
Originally committed as revision 17101 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
74892f7a4e
Fix reserved identifer detection so it doesnt detect __asm and such.
...
Originally committed as revision 17057 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
3d8f9025b1
Factorize grep -v cases.
...
Originally committed as revision 17056 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
6c2dd77eb2
Patch check script.
...
Note, before you flame me that its dirty, i did post it to ffmpeg-dev and
asked for a review and threatened to commit.
Originally committed as revision 17055 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago