Commit Graph

10109 Commits

Author SHA1 Message Date
Daniel Marjamäki b70d9196cb 1.62: Update version 2013-10-12 12:30:17 +02:00
Daniel Marjamäki 51f83fc772 1.62: Updated Makefile for release 2013-10-12 12:26:38 +02:00
Daniel Marjamäki ee325008c4 dmake: install htmlreport 2013-10-12 12:26:27 +02:00
Daniel Marjamäki 21c537e8d7 1.62: Set versions 2013-10-12 12:22:52 +02:00
Daniel Marjamäki a0326c33df updated AUTHORS 2013-10-12 12:09:04 +02:00
XhmikosR 1b7b3102ef cppcheck-htmlreport: PEP8 fixes. 2013-10-12 12:04:25 +03:00
Daniel Marjamäki d2d121ce2b Merge pull request #181 from myint/fix
Fix Travis tests
2013-10-12 01:53:29 -07:00
Robert Reif 1fccfd50eb Fixed #5080 ((error) Internal error. Token::Match called with varid 0. Please report this to Cppcheck developers) 2013-10-12 10:50:59 +02:00
Steven Myint 18402bf673 Fix Travis tests
This fixes a bug introduced in #180.
2013-10-11 23:43:07 -07:00
Daniel Marjamäki 783bb6eb0b Test that there is no segfault in CheckOther::checkZeroDivisionOrUselessCondition when the SymbolDatabase is invalid. Ticket: #5045 2013-10-10 22:23:52 +02:00
orbitcowboy 6eaa2f2444 Tokenizer:simplifyMathFunctions: added support for acos[f|l] functions. 2013-10-09 07:59:32 -07:00
orbitcowboy 58c09f80b6 Testother: split up a large testfunction, no functional change. 2013-10-09 07:48:46 -07:00
Daniel Marjamäki f4020b8838 Merge pull request #180 from matthiaskrgr/travis
travis: check cppcheck-htmlreport compatibility with --inconclusive and --verbose flags
2013-10-08 22:34:08 -07:00
Daniel Marjamäki 682e68b1b6 Fixed #5077 (False positive: Comparison of boolean result with relational operator ((X + (Y < 0)) <= b)) 2013-10-09 05:43:50 +02:00
Matthias Krüger 38290120c9 travis: add another check for xml2 + inconclusive + verbose. 2013-10-09 01:58:37 +02:00
Matthias Krüger d552da76ff travis: check if cppcheck-htmlreport works with xml2 + --inconclusive output. 2013-10-09 01:51:56 +02:00
Daniel Marjamäki 9dfb950776 Merge pull request #178 from matthiaskrgr/make_install
Make install: install cppcheck-htmlreport and cppcheck-gui (if binary is compiled), make travis also perform make install.
2013-10-08 11:43:57 -07:00
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