summaryrefslogtreecommitdiffstats
path: root/TOOLS/checktree.sh
Commit message (Collapse)AuthorAgeFilesLines
* build: Rename configure.log file to config.logdiego2010-11-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31415 b3059339-0415-0410-9bf9-f77b7e298cf2
* Run bash-specific shell scripts with bash, not sh.diego2008-07-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27231 b3059339-0415-0410-9bf9-f77b7e298cf2
* suppress silly messages when checktree is not called from the root of the treeivo2007-12-051-1/+1
| | | | | | | | but nevertheless has no specific arguments to work with. it will traverse the tree from there, but obviously cannot find our externals. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25312 b3059339-0415-0410-9bf9-f77b7e298cf2
* only check source code for gnuismsivo2007-12-051-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25311 b3059339-0415-0410-9bf9-f77b7e298cf2
* simpler and more easily expandable test whether we need a shortlist thativo2007-12-051-2/+4
| | | | | | | only contains .[ch] files git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25310 b3059339-0415-0410-9bf9-f77b7e298cf2
* test for presence of .svn directory if we are supposed to traverse the treeivo2007-12-051-0/+7
| | | | | | | | according to svn info .svn might be missing (i.e. after svn export) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25309 b3059339-0415-0410-9bf9-f77b7e298cf2
* when gathering the list of files to check via svn info, also includeivo2007-12-051-1/+1
| | | | | | | libpostproc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25305 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics/indentationivo2007-12-031-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25289 b3059339-0415-0410-9bf9-f77b7e298cf2
* when gathering the list of files to check via svn info, also includeivo2007-12-031-1/+3
| | | | | | | externals (libav*) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25288 b3059339-0415-0410-9bf9-f77b7e298cf2
* add functions that are not specifically marked as being deprecated or obsolete,ivo2007-12-031-1/+1
| | | | | | | | but which are dangerous to use (possible race conditions, undefined filemode, et cetera; use tmpfile(3) instead). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25287 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l for me. I should read my own comments just above it ;)ivo2007-11-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25220 b3059339-0415-0410-9bf9-f77b7e298cf2
* less code for initializing default settingsivo2007-11-301-21/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25219 b3059339-0415-0410-9bf9-f77b7e298cf2
* add test for deprecated and obsolete functionsivo2007-11-301-2/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25218 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make the printoption function take the default values from the variableivo2007-07-311-17/+17
| | | | | | | | | names related to the flag name, with the possibility to override it if the variable name is not the same as the flag name. This simplifies printing of the help message and reduces the possibility of future errors. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23971 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics, indentationivo2007-07-311-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23970 b3059339-0415-0410-9bf9-f77b7e298cf2
* Shorten (un)setting of all test flagsivo2007-07-311-29/+7
| | | | | | | | Now that we have a list of all flags, we can set them to yes or no with a for-loop. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23969 b3059339-0415-0410-9bf9-f77b7e298cf2
* Much smaller command line parserivo2007-07-311-90/+21
| | | | | | | | This removes all code duplication for setting and unsetting -(no)flags specified on the command line git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23968 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update copyright info and licenseivo2007-07-311-2/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23960 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics, break overly long linesivo2007-07-311-6/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23959 b3059339-0415-0410-9bf9-f77b7e298cf2
* replace ^I by $TAB now that TAB is globalivo2007-07-311-9/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23958 b3059339-0415-0410-9bf9-f77b7e298cf2
* only test for stupid code and reserved identifiers if there are any .c or .hivo2007-07-311-4/+2
| | | | | | | files git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23957 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, forgot to make TAB globalivo2007-07-311-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23956 b3059339-0415-0410-9bf9-f77b7e298cf2
* Test for reserved identifiers.ivo2007-07-311-3/+24
| | | | | | | | 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
* Add test for GNUismsivo2007-07-301-0/+17
| | | | | | | | | 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
* test for tab charactersivo2007-05-071-0/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23253 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not run stupid code checks if chfilelist is emptyivo2007-05-071-0/+2
| | | | | | | (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
* fix forgotten \ivo2007-03-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22527 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not rely on svn internals and use svn info insteadivo2007-02-281-19/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22379 b3059339-0415-0410-9bf9-f77b7e298cf2
* also respond to --help, -h and -? command line optionsivo2007-02-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22377 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix printing of -(no)svn optionivo2007-02-281-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22376 b3059339-0415-0410-9bf9-f77b7e298cf2
* clarify -none command line optionivo2007-02-281-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22375 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use = instead of == for extra portability.diego2006-10-141-11/+11
| | | | | | | 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
* added checks for stupid code like casting return value of malloc and friends,ivo2006-07-141-0/+54
| | | | | | | | | | 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
* remove useless commentivo2006-07-141-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19088 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix line >79 charactersivo2006-07-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19085 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix matching of MSDOS line endingsivo2006-07-141-2/+2
| | | | | | | | | | 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
* also omit configure.log and the generated help_mp.h from files to checkivo2006-07-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19083 b3059339-0415-0410-9bf9-f77b7e298cf2
* CVS --> Subversionivo2006-07-141-16/+23
| | | | | | | | 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
* add check for non-ascii charsets used in code and simplify showcont switch ↵reimar2006-04-141-16/+38
| | | | | | handling git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18088 b3059339-0415-0410-9bf9-f77b7e298cf2
* option to show the lines containing anomalies, patch by Ivo van Poortenwanderer2005-12-071-0/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17132 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10livo2005-09-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16406 b3059339-0415-0410-9bf9-f77b7e298cf2
* Script to check (CVS) source-tree for anomalies, like MSDOS line endings etc..ivo2005-08-171-0/+253
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16241 b3059339-0415-0410-9bf9-f77b7e298cf2