Commit Graph

21 Commits

Author SHA1 Message Date
ivo c5bf6bb1bd 10l, forgot to make TAB global
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23956 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 07:49:24 +00:00
ivo 59e2d4d3c9 Test for reserved identifiers.
Identifiers with two initial underscores or an initial underscore followed by
an uppercase letter are reserved globally for use by the compiler.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23955 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 07:45:06 +00:00
ivo 4b2e3c4a82 Add test for GNUisms
It currently tests for case ... ranges only, but other tests (like GNU
extensions to libc) can be added later



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23947 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 18:08:26 +00:00
ivo 78443eecf2 test for tab characters
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23253 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 17:34:31 +00:00
ivo 10a128ac7b do not run stupid code checks if chfilelist is empty
(i.e. it is run on non-c code only)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23251 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 17:17:10 +00:00
ivo 5a649978dd fix forgotten \
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22527 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-12 17:16:45 +00:00
ivo b8da7b60a8 do not rely on svn internals and use svn info instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22379 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-28 14:55:34 +00:00
ivo 88c04a0308 also respond to --help, -h and -? command line options
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22377 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-28 11:50:23 +00:00
ivo 98df2cb095 fix printing of -(no)svn option
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22376 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-28 11:48:32 +00:00
ivo f2ef84573b clarify -none command line option
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22375 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-28 11:46:53 +00:00
diego 0dc1093469 Use = instead of == for extra portability.
patch from NetBSD pkgsrc proxied by Sergey Svishchev, svs+mplayer grep ru


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20210 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-14 15:28:33 +00:00
ivo 71b5d4f1ae added checks for stupid code like casting return value of malloc and friends,
sizeof(char) and similar 1 byte types, &&1, ||0, +0, -0, *1, *0

typical usage:  ./checktree.sh -none -stupid -showcont somefile.c



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19090 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 22:05:49 +00:00
ivo b01075190b remove useless comment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19088 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 21:38:20 +00:00
ivo 812a300c26 fix line >79 characters
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19085 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 15:12:05 +00:00
ivo 9cdd15595d fix matching of MSDOS line endings
The CVS-->Subversion conversion removed the ^M and it is impossible to
check one back in. Setting svn:eol-style to CRLF or CR is not an option
because it will change the whole file.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19084 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 15:08:31 +00:00
ivo 0928eb76d6 also omit configure.log and the generated help_mp.h from files to check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19083 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 13:34:44 +00:00
ivo eb85c86a2c CVS --> Subversion
Note: commandline option(s) -(no)cvs changed to -(no)svn



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19082 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 12:57:37 +00:00
reimar 0337e0f26f add check for non-ascii charsets used in code and simplify showcont switch handling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18088 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-14 10:47:40 +00:00
wanderer ec58ad4075 option to show the lines containing anomalies, patch by Ivo van Poorten
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17132 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-07 18:11:58 +00:00
ivo b7adc31f0a 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16406 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 15:30:12 +00:00
ivo f7bdbb18cd Script to check (CVS) source-tree for anomalies, like MSDOS line endings etc..
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16241 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-17 01:50:05 +00:00