Commit Graph

9861 Commits

Author SHA1 Message Date
PKEuS 4efccc2c5d Fixed #4420: Prefix increment is only suspicious, if its return value is not used. 2013-06-10 13:02:02 -07:00
Zachary Blair 28c0045f36 Fixed #4173: New check: arithmetical usage of inf/nan result 2013-06-09 23:13:08 -07:00
Daniel Marjamäki f359bfca9c htdocs: changed link to mercurial pre-commit hook from forum post to wiki page 2013-06-10 06:51:38 +02:00
Daniel Marjamäki 6900d4fb76 Travis: Fixed cppcheck style warning 2013-06-09 20:17:26 +02:00
Daniel Marjamäki 4e816e2edf astyle formatting 2013-06-09 16:04:59 +02:00
Daniel Marjamäki 66f9e9b16f Rules: Allow that 'raw' tokens are checked. 2013-06-09 15:50:43 +02:00
Daniel Marjamäki 537166cf47 Rules: Make it possible run a rule on the 'normal' token list 2013-06-09 14:58:56 +02:00
Daniel Marjamäki 964b6cbd82 help: Improved help text for -D and -U 2013-06-09 13:00:08 +02:00
Daniel Marjamäki c65437c74c manual, help text: updates of --enable text. updates of 'Preprocessor configurations' section, the --force and --max-configs can be used together with -D. 2013-06-09 10:34:45 +02:00
Daniel Marjamäki 616a693f1f Merge pull request #139 from JustRamires/master
Ticket #4694
2013-06-08 07:46:08 -07:00
Daniel Marjamki 4e09b06bc1 Fixed #4827 (allow checking multiple configurations when using -D by also using --max-configs or --force) 2013-06-08 16:46:54 +02:00
Roman Zaytsev Borisovich 4610b135dc Fixed #4694 2013-06-07 10:37:33 +04:00
Daniel Marjamäki 10849e220b Fixed #4809 (Review CheckNullPointer::parseFunctionCall) 2013-06-07 06:37:53 +02:00
XhmikosR cbe4095326 htdocs/site/LICENSE.md: Fix copy paste error. 2013-06-06 14:37:19 +02:00
Daniel Marjamäki 9eac4489ac Fixed #4838 (False positive for ... seems to be invalid) 2013-06-06 12:44:19 +02:00
Frank Zingsheim f5a3492e3a astyle formatting 2013-06-05 22:19:37 +02:00
Frank Zingsheim aa25d1e0af Fixed #4837 (False positive: Assert statement calls a function which may have desired side effects (local variable)) 2013-06-05 22:10:43 +02:00
XhmikosR 8862864062 htdocs/site/css/all.css: clean up link styles 2013-06-05 17:27:49 +02:00
XhmikosR 400c96862a htdocs: update picnet table filter 2013-06-05 17:27:35 +02:00
XhmikosR 1e56b94311 htdocs: add a node.js method for minifying the files.
Run `node make` or `node make minify`.

Additionally, you can use `npm run check` or `npm run lint` to check our js and css files for errors with JSHint and csslint.
2013-06-05 17:27:21 +02:00
XhmikosR 2204bd89b2 htdocs/index.php: break very long line. 2013-06-05 17:27:04 +02:00
Daniel Marjamäki c42793b9b4 htdocs: clarify that mercurial commit hook script works in Linux 2013-06-05 17:25:23 +02:00
Daniel Marjamäki 127b844f00 htdocs: added info about commit hook scripts for TortoiseSvn and Mercurial to the clients section 2013-06-05 17:21:46 +02:00
Daniel Marjamäki dec520c507 Tokenizer::simplifyEnum: Fixed false positives 2013-06-04 21:18:20 +02:00
Daniel Marjamäki 8b5792a0f8 Tokenizer::simplifyEnum: Fixed internalErrors when building with compiled patterns. 2013-06-04 18:57:46 +02:00
Daniel Marjamäki fa1fd31667 Tokenizer::simplifyEnum: Improved handling of shadow variables 2013-06-04 06:51:01 +02:00
Andreas Bießmann 90a6472af9 dmake: fix for local includes
When building cppcheck we may pull in conflicting global definitions before
local ones, rearrange include order to prevent this.

Signed-off-by: Andreas Bießmann <andreas@biessmann.de>
2013-06-03 19:45:29 +02:00
Daniel Marjamäki 8954cc0984 Fixed #4280 (Tokenizer::simplifyEnum: don't simplify shadow variables) 2013-06-03 19:18:51 +02:00
Daniel Marjamäki e90a3c179f doc: minor tweaks of --doc output 2013-06-03 06:36:37 +02:00
Daniel Marjamäki 3393d35789 index.php: updated download link to version 1.60.1 2013-06-02 19:55:44 +02:00
Daniel Marjamäki 2d955bb9a6 Uninitvar: Added TODO test case for false negatives. Related with #4652 2013-06-02 18:26:03 +02:00
PKEuS ffb5317c61 Set version to 1.61 dev 2013-06-02 15:40:51 +02:00
Daniel Marjamki 45cf562212 matchcompiler: fixed find(simple)match compiler problems. 2013-06-02 13:57:25 +02:00
Daniel Marjamki 2b453e7a55 Makefile: Set debug mode 2013-06-02 13:18:30 +02:00
Daniel Marjamki ecb45042e6 Makefile: Set release mode 2013-06-02 13:14:07 +02:00
Daniel Marjamki c83bd7f00f 1.60.1: Set versions 2013-06-02 13:13:40 +02:00
Daniel Marjamki 35b13da3a5 matchcompiler: find(simple)match doesn't work well. the compiled functions are not static => the wrong function can be executed. this is a quick fix that just disable find(simple)match compiled patterns. 2013-06-02 12:41:34 +02:00
PKEuS b5a0ef478e Added chinese translation to installer 2013-06-02 11:11:42 +02:00
Daniel Marjamäki d2091f4bd3 Makefile: Set debug mode 2013-06-01 15:29:40 +02:00
Daniel Marjamäki 449b3bc7da 1.60: Updated Makefile 2013-06-01 15:28:25 +02:00
Daniel Marjamäki dae6bd9d46 1.60: Updated Changelog 2013-06-01 15:23:19 +02:00
Daniel Marjamäki d36d3d5469 1.60: set version 2013-06-01 15:17:07 +02:00
Daniel Marjamäki e3dd51dd2b Fixed Cppcheck warning. Method TokenList::createAst can be const 2013-06-01 15:04:37 +02:00
Daniel Marjamäki ca632bd771 Fixed Cppcheck warning. Made method const 2013-06-01 14:35:21 +02:00
Daniel Marjamäki 785d54046f Fixed Cppcheck warning, method can be static 2013-06-01 14:06:48 +02:00
Daniel Marjamäki a7da65a40b Fixed #4618 (Unmatched suppression: don't show this information message unless --enable=information or --check-cfg is used) 2013-05-31 15:20:58 +02:00
Daniel Marjamäki 065853a59a Fixed #4652 (False positive: variable value tracking into loop body) 2013-05-29 16:16:12 +02:00
Daniel Marjamäki a861817a01 Fixed #4751 (CheckBufferOverrun: better handling when struct member instance doesn't have same varid as struct member declaration) 2013-05-28 16:52:23 +02:00
Daniel Marjamäki ae7363fe54 Fixed #4599 (False positive with fopen/fclose test) 2013-05-23 06:34:22 +02:00
Daniel Marjamäki e6e69952da htdocs/index.php: refactoring text 2013-05-21 21:44:19 +02:00