Commit Graph

29 Commits

Author SHA1 Message Date
Diego Biurrun
8fd35b1aac Fix a bunch of typos. 2012-01-02 16:41:25 +01:00
Diego Biurrun
da9cea77e3 Fix a bunch of common typos. 2011-12-11 00:32:25 +01:00
Diego Biurrun
def5dc1260 doc: document preferred Doxygen syntax and make patcheck detect it 2011-12-04 23:49:48 +01:00
Peter Ross
c7d22c5d67 patcheck: warn about assert usage
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-12 13:02:58 +02:00
Diego Biurrun
6252040e77 Replace `` by $() syntax in shell scripts.
$() is easier to nest and POSIX, which we require in other places.
2011-04-23 17:45:05 +02:00
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>
2011-04-23 17:31:39 +02:00
Diego Biurrun
14622ef05d Replace references to ffmpeg-devel with libav-devel; fix roundup URL. 2011-04-15 22:38:41 +02:00
Michael Niedermayer
54ce8a4c8b Clarify whitespace nitpicks in patcheck.
Originally committed as revision 25435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-10 19:35:17 +00:00
Michael Niedermayer
f47d172f13 Check for more 'indent -kr' whitespace details.
Originally committed as revision 25417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-08 19:11:36 +00:00
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
2010-08-02 07:23:47 +00:00
Michael Niedermayer
78db142acb Warn about "/** text" comments.
Originally committed as revision 24574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-28 15:03:05 +00:00
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
2010-07-25 15:02:27 +00:00
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
2010-07-15 12:05:53 +00:00
Michael Niedermayer
c4e12a9fa4 Check for doxy filetag with filename
Originally committed as revision 23975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 11:13:23 +00:00
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
2010-06-28 08:02:24 +00:00
Benoit Fouet
b6c265ec2b Improve rule for possibly never read variables.
Originally committed as revision 23578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-11 08:58:40 +00:00
Daniel Verkamp
4a0cf686f8 patcheck: Escape parentheses in grep calls
Originally committed as revision 22563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-15 23:32:20 +00:00
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
2009-11-09 23:12:44 +00:00
Michael Niedermayer
9e793a2462 Check for INIT_VLC_USE_STATIC
Originally committed as revision 18200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-27 03:03:50 +00:00
Alex Converse
f11c9ee996 patcheck: Replace non-POSIX echo -e with printf.
Originally committed as revision 17943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-11 19:13:15 +00:00
Michael Niedermayer
70ec53a0bf Detect static prototypes.
Originally committed as revision 17649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 21:11:49 +00:00
Michael Niedermayer
f55e1812d0 Improve detection of non doxy comments.
Originally committed as revision 17648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 21:08:32 +00:00
Michael Niedermayer
0f485a9c8b Fix misdetection of #else in 'missing } prior to else'.
Originally committed as revision 17647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 18:33:46 +00:00
Michael Niedermayer
214ee5f556 Search for things like "int *src" without const.
Originally committed as revision 17529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 14:29:48 +00:00
Michael Niedermayer
6c25f34682 Fix @param[in/out] handling
Originally committed as revision 17395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 18:20:06 +00:00
Michael Niedermayer
be3e68b277 Check for duplicate const/static/inline.
Originally committed as revision 17101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 18:37:29 +00:00
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
2009-02-08 13:34:22 +00:00
Michael Niedermayer
3d8f9025b1 Factorize grep -v cases.
Originally committed as revision 17056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 13:30:34 +00:00
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
2009-02-08 12:55:17 +00:00