Commit Graph

10492 Commits

Author SHA1 Message Date
Daniel Marjamäki ff89a08b8f Merge pull request #179 from matthiaskrgr/travis_speedup
travis: use -j 4 to build cppcheck, the testrunner and cppcheck-gui.
2013-10-08 11:42:50 -07:00
Matthias Krüger 891a85a553 travis: also check "make install" 2013-10-08 19:33:36 +02:00
Matthias Krüger 074f195f7b make install: install cppcheck-htmlreport as well. 2013-10-08 19:33:36 +02:00
Matthias Krüger ee1d37d100 travis: use -j 4 to build cppcheck, the testrunner and cppcheck-gui. 2013-10-08 19:25:12 +02:00
Martin Ettl f08325284c Tokenizer:simplifyMathFunctions: added support for acosh[f|l]() functions. 2013-10-07 22:10:58 +02:00
Daniel Marjamäki 9ce7efc6e4 commaSeparatedReturn: made checking experimental for now because there are false positives (#5076) 2013-10-08 18:05:07 +02:00
orbitcowboy 90b2c5ddce testtokenize: split up large testcases for simplifying math functions. 2013-10-08 07:05:05 -07:00
Daniel Marjamäki 4f88fdcf4a Check64Bit: Fixed false positive about returning integer for 'p+(n*80)' 2013-10-08 06:36:45 +02:00
Robert Reif 1959377423 Fixed #4963 (cppcheck and testrunner Visual Studio 2008 build failure) 2013-10-08 05:36:52 +02:00
Robert Reif 41b3ed788d CheckIO: fix crash 2013-10-08 05:33:37 +02:00
Daniel Marjamäki 9271286425 Merge pull request #175 from matthiaskrgr/htmlreport
mention --help in cppcheck-htmlreport readme & implement 2 tests for it into travis
2013-10-07 10:32:48 -07:00
Daniel Marjamäki a46a05cffa Merge pull request #176 from myint/cd
Allow running "test_htmlreport.py" from any path
2013-10-07 10:10:56 -07:00
Daniel Marjamäki a98460fd7e Merge pull request #177 from matthiaskrgr/travis
travis: build cppcheck-gui
2013-10-07 10:10:27 -07:00
Daniel Marjamäki f9cf148012 CheckBool: Skip 'bool' type checking in C code 2013-10-07 18:41:07 +02:00
Daniel Marjamäki b81de5494e CheckBool: Fixed false positive for calculation using bool result in rhs 2013-10-07 18:01:08 +02:00
Daniel Marjamäki d2025363d0 CheckBool: Fix false positive for '(a != boolexpr || c)' if a is a int 2013-10-07 17:44:19 +02:00
Matthias Krüger 1cbc8a5d6d travis: build cppcheck-gui 2013-10-07 16:58:53 +02:00
Daniel Marjamäki 83f9503839 CheckBool: Fixed false positives for non-bool expressions that contain ! operator 2013-10-07 16:37:51 +02:00
Steven Myint 9475a7d029 Allow running "test_htmlreport.py" from any path
This fixes a Travis CI failure.
2013-10-07 07:36:34 -07:00
Daniel Marjamäki 023d0e7cb8 Fixed #5072 (False positive: comparisonOfBoolWithInvalidComparator even without explicit bool type) 2013-10-07 16:16:07 +02:00
Matthias Krüger 717680fdd9 travis: run cppcheck-htmlreport on 2 xml files as test. 2013-10-07 16:15:21 +02:00
Matthias Krüger f324a1a736 htmlreport: mention the --help option in the readme. 2013-10-07 16:03:26 +02:00
Daniel Marjamäki a0015fc2f4 Travis: remove -q flag. It may avoid a timeout. 2013-10-07 16:00:26 +02:00
PKEuS 7435df91b8 Merge pull request #174 from myint/test
Fix typo in getting line number
2013-10-07 06:44:38 -07:00
Steven Myint e183a826c5 Fix typo in getting line number
The closing parenthesis was in the wrong place resulting in the default
value not getting set. This adds a test case.
2013-10-07 06:38:49 -07:00
Daniel Marjamäki f5593d5dd9 Merge pull request #173 from myint/master
Handle "--xml-version=2" in cppcheck-htmlreport
2013-10-06 22:47:42 -07:00
Steven Myint 6ad30a1c69 Handle "--xml-version=2"
This also adds "test_htmlreport.py" to the Travis CI tests.
2013-10-06 13:34:48 -07:00
Daniel Marjamäki 3f1e074846 reduce: Fixed compiler error (MathLib::longToString() doesnt exist) 2013-10-06 19:07:47 +02:00
Daniel Marjamäki 4cd0108b93 Fixed #4976 (False positive: (style) A pointer can not be negative (git/sha1_file.c)) 2013-10-06 16:52:27 +02:00
Daniel Marjamäki 0ef1529ba5 Fixed #5005 (false positive: (warning) Assignment of function parameter has no effect outside the function.) 2013-10-06 16:07:27 +02:00
Daniel Marjamäki 1234ec95f0 Fixed #4998 (False positive: Address of local auto-variable assigned to a function parameter) 2013-10-06 14:23:26 +02:00
Daniel Marjamäki 9f23b7a1b4 Fixed #5063 (False positive for comparisonOfBoolWithInvalidComparator) 2013-10-06 10:39:08 +02:00
Daniel Marjamäki c234cace6d Fixed #5064 (Tokenizer::simplifySizeof: Doesn't simplify 'sizeof !! (a==1);' properly) 2013-10-06 08:20:10 +02:00
Daniel Marjamäki 9cfc1030cd Tokenizer: Optimised loop 2013-10-06 07:46:35 +02:00
Daniel Marjamäki 33e69df6ae Fixed #5066 (buildman.sh fails) 2013-10-06 07:11:12 +02:00
Daniel Marjamäki 946722faf0 Fixed #4968 (False positive: Structure with 'read' member is confused with read() function.) 2013-10-05 18:25:44 +02:00
XhmikosR 564d36698b htdocs: run node make. 2013-10-05 18:16:21 +03:00
XhmikosR 8fd8398379 htdocs: add Google Analytics support.
Use IP Anonymization.
2013-10-05 18:15:44 +03:00
Robert Reif 7098fc6039 CheckIO: fixed handling of unknown types. Ticket #5051 2013-10-05 16:47:06 +02:00
Daniel Marjamäki 6830d5f7a4 Fixed #5042 (false positive: Redundant code (set filled in initialization list)) 2013-10-05 12:26:09 +02:00
PKEuS 53adafb1f2 Fixed htmlreport (#5068) 2013-10-05 12:20:25 +02:00
Daniel Marjamäki db4ca13184 CheckBool: refactoring isBoolExpr 2013-10-05 11:31:55 +02:00
Daniel Marjamäki f2fdd967f5 Fixed #5046 (False positive: Boolean value assigned to pointer) 2013-10-05 08:53:37 +02:00
Daniel Marjamäki 348f3fa97f Fixed #5058 (False positive: (warning) Comparison of a boolean expression with an integer.) 2013-10-05 08:33:33 +02:00
Robert Reif 5dbc02250f This patch adds pointer to format string support to printf. Ticket: #5051 2013-10-05 07:47:52 +02:00
Robert Reif 44559a1fb2 Fixed #5069 (sizeof(void) when variable name is override) 2013-10-05 07:40:59 +02:00
Daniel Marjamäki 5641833cdb Revert "Revert "Add a .mailmap file.""
This reverts commit 4968330c2c.
2013-10-04 18:03:18 +02:00
Daniel Marjamäki 4968330c2c Revert "Add a .mailmap file."
This reverts commit 002ec80181.

There was authors who don't want to get their email address published.
2013-10-04 17:49:50 +02:00
Daniel Marjamäki 0c77a710ab Merge pull request #172 from stefanbeller/master
Add a .mailmap file.
2013-10-04 08:34:55 -07:00
Robert Reif 6c06cdd24d CheckIO fixes. Ticket: #5051 2013-10-04 17:30:55 +02:00