Commit Graph

10820 Commits

Author SHA1 Message Date
Daniel Marjamäki 9e12bdf9cb Merge pull request #184 from felipensp/uninitialized_var_typeof
- Fixed false positive when using typeof/__alignof__
2013-10-13 01:43:18 -07:00
Daniel Marjamäki 9aee165650 daca2: catch exception when generating daca2 report 2013-10-13 10:40:01 +02:00
XhmikosR a42177c2e5 Update cppcheck-htmlreport.
* remove unneeded classes
* remove non-existent background images
* tweak properties
* use the proper capitalization for "Cppcheck" and "HTML"
2013-10-13 11:03:42 +03:00
PKEuS 4cd2fad2bf Set version to 1.63 dev 2013-10-13 09:53:56 +02:00
Daniel Marjamäki b1470dc36e daca2: choose folder from command line 2013-10-13 08:35:20 +02:00
Daniel Marjamäki 95138dbead daca2: generate report 2013-10-13 08:07:39 +02:00
Daniel Marjamäki aa1b77f45d daca2: removed -j2 to reduce cpu load 2013-10-12 20:40:04 +02:00
Felipe Pena ed565f1ab1 - Fix comment 2013-10-12 13:49:35 -03:00
Felipe Pena c37ba4cbcf - Fixed false positive when using typeof/__alignof__ 2013-10-12 13:46:14 -03:00
XhmikosR e6e6335473 Revert 568a49c409 and do the changes properly. 2013-10-12 19:44:07 +03:00
XhmikosR c59b9aabab Actually show the "by author" info when it's not null. 2013-10-12 18:50:54 +03:00
XhmikosR 5fa41f5873 htdocs/devinfo/index.php: fix error when there's no author info in Trac's rss item. 2013-10-12 18:50:54 +03:00
XhmikosR 2a2212043f htdocs/css: Add 0 to numbers.
Clean-css takes care of this.
2013-10-12 18:50:54 +03:00
XhmikosR 568a49c409 daca2.py: PEP8 fixes 2013-10-12 18:50:54 +03:00
Daniel Marjamäki d30ebe268a daca2: refactorings and fix of indentlevel that might have screwed up the script. 2013-10-12 16:49:37 +02:00
XhmikosR 911e1f9559 Revert "htdocs: move inline JS to a separate file."
This reverts commit 3a9740b110.

Conflicts:
	htdocs/archive/index.php
	htdocs/demo/index.php
	htdocs/make.js
	htdocs/run-tests.js
	htdocs/site/js/cppcheck.js
	htdocs/site/js/pack.js
2013-10-12 17:42:19 +03:00
Matthias Krüger 8397d99370 travis: move htmlreport checks into /htmlreport/checks.sh and make travis run it. 2013-10-12 15:49:42 +02:00
Matthias Krüger 7c1f6ab9dc travis: install deps as suggested by travis manual (via before_install) 2013-10-12 15:09:45 +02:00
Matthias Krüger 9d95200cb4 travis: check all xml files cppcheck generated during tests of htmlreport via xmllint as suggested in 'createrelease'. 2013-10-12 15:09:45 +02:00
Matthias Krüger a92e73dc18 travis: check htmlreport via --errorlist output 2013-10-12 15:09:45 +02: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