Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-11-24 | checksrc: add ASTERISKSPACE | Daniel Stenberg | |
Verifies a 'char *name' style, with no space after the asterisk. | |||
2016-09-07 | checksrc: detect strtok() use | Daniel Stenberg | |
... as that function slipped through once before. | |||
2016-06-05 | checksrc: Add LoadLibrary to the banned functions list | Jay Satiro | |
LoadLibrary was supplanted by Curl_load_library for security reasons in 6df916d. | |||
2016-05-23 | checksrc.pl: Added variants of strcat() & strncat() to banned function list | Steve Holme | |
Added support for checking the tchar, unicode and mbcs variants of strcat() and strncat() in the banned function list. | |||
2016-04-19 | checksrc: taught to skip comments | Daniel Stenberg | |
... but output non-stripped version of the line, even if that then can make the script identify the wrong position in the line at times. Showing the line stripped (ie without comments) is just too surprising. | |||
2016-04-03 | checksrc: check for more malplaced spaces | Daniel Stenberg | |
2016-04-03 | checksrc: remove debug crap | Daniel Stenberg | |
2016-04-03 | checksrc: allow ignore of specific warnings within a file (section) | Daniel Stenberg | |
2016-04-03 | checksrc: add warning names, explain on help output | Daniel Stenberg | |
2016-04-03 | checksrc: improve the fopen() parser somewhat | Daniel Stenberg | |
The quote scanner was too fragile, now look for a comma instead to find the mode argument. | |||
2016-02-03 | URLs: change all http:// URLs to https:// | Daniel Stenberg | |
2015-10-21 | checksrc: add crude // detection | Daniel Stenberg | |
2015-06-02 | checksrc: detect fopen() for text without the FOPEN_* macros | Daniel Stenberg | |
Follow-up to e8423f9ce150 with discussionis in https://github.com/bagder/curl/pull/258 This check scans for fopen() with a mode string without 'b' present, as it may indicate that an FOPEN_* define should rather be used. | |||
2015-03-30 | checksrc: Windows-specific input fixes | Jay Satiro | |
lib/config-win32ce.h - Fix whitespace for checksrc compliance. lib/checksrc.pl - Remove trailing carriage returns from input. projects/checksrc.bat - Ignore tool_hugehelp.c. | |||
2015-03-17 | checksrc: Fix whitelist on out-of-tree builds | Dan Fandrich | |
2015-03-17 | checksrc: detect and remove space before trailing semicolons | Daniel Stenberg | |
2015-03-17 | checksrc: introduce a whitelisting concept | Daniel Stenberg | |
2015-03-17 | checksrc: use space after comma | Daniel Stenberg | |
2015-03-17 | checksrc: use space before paren in "return (expr);" | Daniel Stenberg | |
2013-03-07 | checksrc: ban unsafe functions | Daniel Stenberg | |
The list of unsafe functions currently consists of sprintf, vsprintf, strcat, strncat and gets. Subsequently, some existing code needed updating to avoid warnings on this. | |||
2011-09-07 | checksrc: detect "}else" uses as well | Daniel Stenberg | |
2011-08-05 | checksrc.pl: add quotes to var | Yang Tse | |
2011-08-05 | keep a single copy of config-win32.h in version control repository - followup | Yang Tse | |
Allow configure builds to generate src/config-win32.h Skip checksrc on src/config-win32.h contents already checked at lib/config-win32.h Allow multiple -W in checksrc.pl | |||
2011-07-04 | checksrc: detect open brace without space | Daniel Stenberg | |
We use "if(condition) {" with a space between the close paren and the open brace. | |||
2011-05-26 | Make checksrc.pl work on more out-of-tree builds | Yang Tse | |
Source files given with relative paths do not have the -D directory specifier prepended. | |||
2011-05-16 | checksrc: trailing whitespace detection fix | Daniel Stenberg | |
2011-04-27 | Make checksrc.pl work on out-of-tree builds | Dan Fandrich | |
Source files given with absolute paths do not have the -D directory specifier prepended. | |||
2011-04-27 | checksrc: add -W to allow a file to be whitelisted | Daniel Stenberg | |
Useful when a known file just doesn't comply and there's no intention to make it do so. | |||
2011-04-27 | checksrc: scan many files, more checks | Daniel Stenberg | |
It now scans multiple files and outputs an error+warning count summary at the end in case at least one was detected. -D can be used to specify in which dir the files are located The script now scans for conditions that starts with a space for if/while/for lines. | |||
2011-04-27 | checksrc: exit error code if warnings or errors | Daniel Stenberg | |
2011-04-27 | source cleanup: unify look, style and indent levels | Daniel Stenberg | |
By the use of a the new lib/checksrc.pl script that checks that our basic source style rules are followed. |