James Zern
ba24b24aab
tools/patcheck: remove gcc-2.95 compat check
...
this conflicts with the current contributing guidance:
http://ffmpeg.org/developer.html#Contributing
FFmpeg is programmed in the ISO C90 language with a few additional
features from ISO C99, namely:
...
for loops with variable definition (‘for (int i = 0; i < 8; i++)’);
Signed-off-by: James Zern <jzern@google.com>
5 years ago
Kelly Ledford
309ddcbe61
patcheck: Add 'threshhold' to common typo list
...
Signed-off-by: Kelly Ledford <kelly.ledford@intel.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
James Almer
64d16fd7f5
tools/patcheck: add a couple more common typos
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Hagen Schmidt
59494863ff
patcheck: Fix false detection of 'mergeable calls' when line is removed
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Reimar Döffinger
be4aac302b
patcheck: check for pointer arrays that are not const.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
10 years ago
Lou Logan
88f2586adb
fix various typos
...
Signed-off-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
0fb7fef879
tools/patcheck: fix misdetection with stuff like const_names
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
a5f8873620
silly typo fixes
12 years ago
Diego Biurrun
88bd7fdc82
Drop DCTELEM typedef
...
It does not help as an abstraction and adds dsputil dependencies.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years ago
Paul B Mahol
d885cc41e5
Fix "knwon" typo and add a check in tools/patcheck
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Diego Biurrun
511cf612ac
miscellaneous typo fixes
12 years ago
Clément Bœsch
8b63744f48
Fix "bistream" typo and add a check in tools/patcheck.
12 years ago
Clément Bœsch
4390f8c28d
Fix two "skiping" typo.
12 years ago
Diego Biurrun
09f211987c
misc typo and wording fixes
13 years ago
Lou Logan
6851130fd6
cosmetics: minor libavcodec spelling errors
...
Also update some common misspelled words in patcheck
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
ffae713a5b
Fix a bunch of common typos.
13 years ago
Clément Bœsch
23b639c44f
Fix "ouput" typo and add a check.
13 years ago
Diego Biurrun
5ea20630b4
Fix a bunch of platform name and other typos.
13 years ago
Diego Biurrun
8fd35b1aac
Fix a bunch of typos.
13 years ago
Diego Biurrun
da9cea77e3
Fix a bunch of common typos.
13 years ago
Diego Biurrun
def5dc1260
doc: document preferred Doxygen syntax and make patcheck detect it
13 years ago
Lou Logan
a8e6d4d403
patcheck: spelling and grammar nits
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
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
Michael Niedermayer
2d2b5a1421
10l, commit that should have been stashed into the merge.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Diego Biurrun
14622ef05d
Replace references to ffmpeg-devel with libav-devel; fix roundup URL.
14 years ago
Peter Ross
a96c0059d8
patcheck: warn about assert usage
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
15 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